Class NPCSpellCastS2C
java.lang.Object
com.binaris.wizardry.core.networking.s2c.NPCSpellCastS2C
- All Implemented Interfaces:
Message
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNPCSpellCastS2C(int casterID, int targetID, net.minecraft.world.InteractionHand hand, Spell spell, SpellModifiers modifiers) NPCSpellCastS2C(net.minecraft.network.FriendlyByteBuf pBuf) -
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
-
NPCSpellCastS2C
public NPCSpellCastS2C(int casterID, int targetID, net.minecraft.world.InteractionHand hand, Spell spell, SpellModifiers modifiers) -
NPCSpellCastS2C
public NPCSpellCastS2C(net.minecraft.network.FriendlyByteBuf pBuf)
-
-
Method Details
-
getId
public net.minecraft.resources.ResourceLocation getId() -
encode
public void encode(net.minecraft.network.FriendlyByteBuf pBuf) -
handleClient
public void handleClient()- Specified by:
handleClientin interfaceMessage
-
getHand
public net.minecraft.world.InteractionHand getHand() -
getSpell
-
getModifiers
-
getCasterID
public int getCasterID() -
getTargetID
public int getTargetID()
-