Class CurseOfSoulbinding


public class CurseOfSoulbinding extends RaySpell
  • Field Details

    • UUID_SET_CODEC

      public static final com.mojang.serialization.Codec<Set<UUID>> UUID_SET_CODEC
    • TARGETS_KEY

      public static final IStoredSpellVar<Set<UUID>> TARGETS_KEY
  • Constructor Details

    • CurseOfSoulbinding

      public CurseOfSoulbinding()
  • Method Details

    • getSoulboundCreatures

      public static Set<UUID> getSoulboundCreatures(SpellManagerData data)
    • onLivingHurt

      public static void onLivingHurt(EBLivingHurtEvent event)
    • onEntityHit

      protected boolean onEntityHit(CastContext ctx, net.minecraft.world.phys.EntityHitResult entityHit, net.minecraft.world.phys.Vec3 origin)
      Specified by:
      onEntityHit 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
    • onBlockHit

      protected boolean onBlockHit(CastContext ctx, net.minecraft.world.phys.BlockHitResult blockHit, net.minecraft.world.phys.Vec3 origin)
      Specified by:
      onBlockHit 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