Class SpellAction
java.lang.Object
com.binaris.wizardry.api.content.spell.SpellAction
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic SpellActionstatic SpellActionnet.minecraft.resources.ResourceLocationstatic SpellActionstatic final SpellActionstatic SpellActionstatic SpellActionstatic SpellActionstatic SpellAction -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable SpellActionget(net.minecraft.resources.ResourceLocation location) static voidregister()voidrenderArms(net.minecraft.world.entity.LivingEntity entity, net.minecraft.client.model.HumanoidModel<?> model, net.minecraft.world.InteractionHand hand) booleanshouldRender(net.minecraft.world.entity.LivingEntity entity, Spell spell, net.minecraft.world.item.ItemStack stack, net.minecraft.world.InteractionHand hand)
-
Field Details
-
POINT
-
POINT_UP
-
POINT_DOWN
-
SUMMON
-
THRUST
-
IMBUE
-
GRAPPLE
-
NONE
-
location
public net.minecraft.resources.ResourceLocation location
-
-
Constructor Details
-
SpellAction
public SpellAction(net.minecraft.resources.ResourceLocation location)
-
-
Method Details
-
register
public static void register() -
get
@Nullable public static @Nullable SpellAction get(net.minecraft.resources.ResourceLocation location) -
renderArms
public void renderArms(net.minecraft.world.entity.LivingEntity entity, net.minecraft.client.model.HumanoidModel<?> model, net.minecraft.world.InteractionHand hand) -
shouldRender
public boolean shouldRender(net.minecraft.world.entity.LivingEntity entity, Spell spell, net.minecraft.world.item.ItemStack stack, net.minecraft.world.InteractionHand hand)
-