Package com.hbm_m.network
Class SetActivePointPacket
java.lang.Object
com.hbm_m.network.SetActivePointPacket
- All Implemented Interfaces:
C2SPacket
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SetActivePointPacketdecode(net.minecraft.network.FriendlyByteBuf buf) static voidhandle(SetActivePointPacket msg, dev.architectury.networking.NetworkManager.PacketContext context) static voidsendToServer(int pointIndex) voidwrite(net.minecraft.network.FriendlyByteBuf buf)
-
Constructor Details
-
SetActivePointPacket
public SetActivePointPacket(int pointIndex)
-
-
Method Details
-
decode
-
write
public void write(net.minecraft.network.FriendlyByteBuf buf) -
handle
public static void handle(SetActivePointPacket msg, dev.architectury.networking.NetworkManager.PacketContext context) -
sendToServer
public static void sendToServer(int pointIndex)
-