Package com.binaris.wizardry.network
Class MinionSyncPacketS2C
java.lang.Object
com.binaris.wizardry.network.MinionSyncPacketS2C
- All Implemented Interfaces:
Message
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMinionSyncPacketS2C(int entityId, net.minecraft.nbt.CompoundTag data) MinionSyncPacketS2C(net.minecraft.network.FriendlyByteBuf buf) -
Method Summary
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
handleServer
-
Field Details
-
ID
public static final net.minecraft.resources.ResourceLocation ID
-
-
Constructor Details
-
MinionSyncPacketS2C
public MinionSyncPacketS2C(int entityId, net.minecraft.nbt.CompoundTag data) -
MinionSyncPacketS2C
public MinionSyncPacketS2C(net.minecraft.network.FriendlyByteBuf buf)
-
-
Method Details
-
encode
public void encode(net.minecraft.network.FriendlyByteBuf buf) -
handleClient
public void handleClient()- Specified by:
handleClientin interfaceMessage
-
getId
public net.minecraft.resources.ResourceLocation getId() -
getData
public net.minecraft.nbt.CompoundTag getData() -
getEntityId
public int getEntityId()
-