Class ControlInputPacketC2S
java.lang.Object
com.binaris.wizardry.core.networking.c2s.ControlInputPacketC2S
- All Implemented Interfaces:
Message
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(net.minecraft.network.FriendlyByteBuf pBuf) net.minecraft.resources.ResourceLocationgetId()voidhandleServer(net.minecraft.server.MinecraftServer server, net.minecraft.server.level.ServerPlayer player) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.binaris.wizardry.core.networking.abst.Message
handleClient
-
Field Details
-
ID
public static final net.minecraft.resources.ResourceLocation ID
-
-
Constructor Details
-
ControlInputPacketC2S
-
ControlInputPacketC2S
public ControlInputPacketC2S(net.minecraft.network.FriendlyByteBuf buf)
-
-
Method Details
-
encode
public void encode(net.minecraft.network.FriendlyByteBuf pBuf) -
getId
public net.minecraft.resources.ResourceLocation getId() -
handleServer
public void handleServer(net.minecraft.server.MinecraftServer server, net.minecraft.server.level.ServerPlayer player) - Specified by:
handleServerin interfaceMessage
-