Class Telekinesis


public class Telekinesis extends RaySpell
  • Constructor Details

    • Telekinesis

      public Telekinesis()
  • Method Details

    • onEntityHit

      protected boolean onEntityHit(CastContext ctx, net.minecraft.world.phys.EntityHitResult entityHit, net.minecraft.world.phys.Vec3 origin)
      Specified by:
      onEntityHit in class RaySpell
    • onBlockHit

      protected boolean onBlockHit(CastContext ctx, net.minecraft.world.phys.BlockHitResult blockHit, net.minecraft.world.phys.Vec3 origin)
      Specified by:
      onBlockHit in class RaySpell
    • onMiss

      protected boolean onMiss(CastContext ctx, net.minecraft.world.phys.Vec3 origin, net.minecraft.world.phys.Vec3 direction)
      Specified by:
      onMiss in class RaySpell
    • canCastByEntity

      public boolean canCastByEntity()
      Overrides:
      canCastByEntity in class RaySpell
    • canCastByLocation

      public boolean canCastByLocation()
      Overrides:
      canCastByLocation in class RaySpell
    • requiresPacket

      public boolean requiresPacket()
      Overrides:
      requiresPacket in class Spell
    • properties

      @NotNull protected @NotNull SpellProperties properties()
      Specified by:
      properties in class Spell