Package com.hbm_m.network
Class SyncPointPacket
java.lang.Object
com.hbm_m.network.SyncPointPacket
- All Implemented Interfaces:
C2SPacket
-
Constructor Summary
ConstructorsConstructorDescriptionSyncPointPacket(int pointIndex, String pointName, int x, int y, int z, boolean hasTarget) -
Method Summary
Modifier and TypeMethodDescriptionstatic SyncPointPacketdecode(net.minecraft.network.FriendlyByteBuf buf) static voidhandle(SyncPointPacket msg, dev.architectury.networking.NetworkManager.PacketContext context) static voidsendToServer(int pointIndex, String pointName, int x, int y, int z, boolean hasTarget) voidwrite(net.minecraft.network.FriendlyByteBuf buf)
-
Constructor Details
-
SyncPointPacket
-
-
Method Details
-
decode
-
write
public void write(net.minecraft.network.FriendlyByteBuf buf) -
handle
public static void handle(SyncPointPacket msg, dev.architectury.networking.NetworkManager.PacketContext context) -
sendToServer
public static void sendToServer(int pointIndex, String pointName, int x, int y, int z, boolean hasTarget)
-