Class SpellCastS2C
java.lang.Object
com.binaris.wizardry.core.networking.s2c.SpellCastS2C
- All Implemented Interfaces:
Message
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSpellCastS2C(int casterID, net.minecraft.world.InteractionHand hand, Spell spell, SpellModifiers modifiers) SpellCastS2C(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
-
SpellCastS2C
public SpellCastS2C(int casterID, net.minecraft.world.InteractionHand hand, Spell spell, SpellModifiers modifiers) -
SpellCastS2C
public SpellCastS2C(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
-
getCasterID
public int getCasterID() -
getModifiers
-
getSpell
-
getHand
public net.minecraft.world.InteractionHand getHand()
-