Class SetRepeaterPacket

java.lang.Object
com.hammy275.immersivemc.common.network.packet.SetRepeaterPacket

public class SetRepeaterPacket extends Object
  • 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

      public static void encode(SetRepeaterPacket packet, net.minecraft.network.FriendlyByteBuf buffer)
    • decode

      public static SetRepeaterPacket decode(net.minecraft.network.FriendlyByteBuf buffer)
    • handle

      public static void handle(SetRepeaterPacket message, net.minecraft.server.level.ServerPlayer player)