Class PlayerCastContext
java.lang.Object
com.binaris.wizardry.api.content.spell.internal.CastContext
com.binaris.wizardry.api.content.spell.internal.PlayerCastContext
-
Field Summary
Fields inherited from class com.binaris.wizardry.api.content.spell.internal.CastContext
caster, castingTicks, modifiers, world -
Constructor Summary
ConstructorsConstructorDescriptionPlayerCastContext(net.minecraft.world.level.Level world, net.minecraft.world.entity.player.Player caster, net.minecraft.world.InteractionHand hand, int castingTicks, SpellModifiers modifiers) -
Method Summary
Methods inherited from class com.binaris.wizardry.api.content.spell.internal.CastContext
castingTicks, castingTicks, modifiers, modifiers, world
-
Constructor Details
-
PlayerCastContext
public PlayerCastContext(net.minecraft.world.level.Level world, net.minecraft.world.entity.player.Player caster, net.minecraft.world.InteractionHand hand, int castingTicks, SpellModifiers modifiers)
-
-
Method Details
-
caster
public net.minecraft.world.entity.player.Player caster()- Overrides:
casterin classCastContext
-
hand
public net.minecraft.world.InteractionHand hand()
-