java.lang.Object
com.hammy275.immersivemc.common.network.packet.BeaconConfirmPacket
public class BeaconConfirmPacket
extends Object
-
Field Summary
Fields
final net.minecraft.core.BlockPos
final int
final int
-
Constructor Summary
Constructors
-
Method Summary
decode(net.minecraft.network.FriendlyByteBuf buffer)
static void
static void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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)
-
-
handle
public static void handle(BeaconConfirmPacket message,
net.minecraft.server.level.ServerPlayer player)