Class BeaconConfirmPacket

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

public class BeaconConfirmPacket extends Object
  • Field Details

    • pos

      public final net.minecraft.core.BlockPos pos
    • primaryId

      public final int primaryId
    • secondaryId

      public final int secondaryId
  • Constructor Details

    • BeaconConfirmPacket

      public BeaconConfirmPacket(net.minecraft.core.BlockPos beaconPos, int primaryId, int secondaryId)
  • Method Details

    • encode

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

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

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