Class VariableParticleEffect

java.lang.Object
com.pixelmonmod.pixelmon.api.attackAnimations.VariableParticleEffect

public class VariableParticleEffect extends Object
  • Field Details

    • dimension

      public net.minecraft.world.level.Level dimension
    • effectData

      public AttackAnimationData effectData
    • startEntityID

      public int startEntityID
    • startPos

      public net.minecraft.world.phys.Vec3 startPos
    • endEntityID

      public int endEntityID
    • endPos

      public net.minecraft.world.phys.Vec3 endPos
    • immutableAttack

      public ImmutableAttack immutableAttack
  • Constructor Details

    • VariableParticleEffect

      public VariableParticleEffect(net.minecraft.world.level.Level dimension, AttackAnimationData effectData)
  • Method Details

    • setStartPosition

      public VariableParticleEffect setStartPosition(net.minecraft.world.entity.LivingEntity entity)
    • setStartPosition

      public VariableParticleEffect setStartPosition(net.minecraft.world.phys.Vec3 vec)
    • setEndPosition

      public VariableParticleEffect setEndPosition(net.minecraft.world.entity.LivingEntity entity)
    • setEndPosition

      public VariableParticleEffect setEndPosition(net.minecraft.world.phys.Vec3 vec)
    • setAttackBase

      public VariableParticleEffect setAttackBase(ImmutableAttack immutableAttack)
    • showTo

      public void showTo(net.minecraft.server.level.ServerPlayer... players)
    • showAllWithin

      public void showAllWithin(int range)