Class SetRepeaterPacket
java.lang.Object
com.hammy275.immersivemc.common.network.packet.SetRepeaterPacket
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SetRepeaterPacket
decode
(net.minecraft.network.FriendlyByteBuf buffer) static void
encode
(SetRepeaterPacket packet, net.minecraft.network.FriendlyByteBuf buffer) static void
handle
(SetRepeaterPacket message, net.minecraft.server.level.ServerPlayer player)
-
Field Details
-
pos
protected final net.minecraft.core.BlockPos pos -
newDelay
protected final int newDelay
-
-
Constructor Details
-
SetRepeaterPacket
public SetRepeaterPacket(net.minecraft.core.BlockPos pos, int newDelay)
-
-
Method Details
-
encode
-
decode
-
handle
public static void handle(SetRepeaterPacket message, net.minecraft.server.level.ServerPlayer player)
-