Package com.hbm_m.network
Class HighlightBlocksPacket.OrphanedPhantomsPacket
java.lang.Object
com.hbm_m.network.HighlightBlocksPacket.OrphanedPhantomsPacket
- All Implemented Interfaces:
S2CPacket
- Enclosing class:
- HighlightBlocksPacket
-
Constructor Summary
ConstructorsConstructorDescriptionOrphanedPhantomsPacket(List<net.minecraft.core.BlockPos> addPositions, List<net.minecraft.core.BlockPos> removePositions) -
Method Summary
Modifier and TypeMethodDescriptionfromBytes(net.minecraft.network.FriendlyByteBuf buf) static voidhandle(HighlightBlocksPacket.OrphanedPhantomsPacket msg, dev.architectury.networking.NetworkManager.PacketContext context) static voidsendTo(net.minecraft.server.level.ServerPlayer player, List<net.minecraft.core.BlockPos> add, List<net.minecraft.core.BlockPos> remove) voidwrite(net.minecraft.network.FriendlyByteBuf buf)
-
Constructor Details
-
OrphanedPhantomsPacket
-
-
Method Details
-
fromBytes
public static HighlightBlocksPacket.OrphanedPhantomsPacket fromBytes(net.minecraft.network.FriendlyByteBuf buf) -
write
public void write(net.minecraft.network.FriendlyByteBuf buf) -
handle
public static void handle(HighlightBlocksPacket.OrphanedPhantomsPacket msg, dev.architectury.networking.NetworkManager.PacketContext context) -
sendTo
-