Class TrapSlime


public class TrapSlime extends RaySpell
  • Constructor Details

    • TrapSlime

      public TrapSlime()
  • 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
    • spawnParticle

      protected void spawnParticle(CastContext ctx, double x, double y, double z, double vx, double vy, double vz)
      Overrides:
      spawnParticle in class RaySpell
    • properties

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