Interface ISpellParticleSpawner

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ISpellParticleSpawner
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    spawnParticles(ISpell spell, net.minecraft.world.entity.LivingEntity caster, net.minecraft.world.phys.HitResult hit, net.minecraft.util.RandomSource random, int color)
    Spawns spell particles.
  • Method Details

    • spawnParticles

      void spawnParticles(ISpell spell, net.minecraft.world.entity.LivingEntity caster, net.minecraft.world.phys.HitResult hit, net.minecraft.util.RandomSource random, int color)
      Spawns spell particles. Only called on the client.
      Parameters:
      spell - The spell that spawned the particles.
      hit - The hit result to use.
      color - The color to use. May be -1, which indicates that no color should be used.