public class Cobwebs extends RaySpell
  • Constructor Details

    • Cobwebs

      public Cobwebs()
  • Method Details

    • 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
    • onEntityHit

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

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

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