Class ElectricChainParticleOption

java.lang.Object
nokunami.floral_warfare.client.particles.ElectricChainParticleOption
All Implemented Interfaces:
net.minecraft.core.particles.ParticleOptions

public class ElectricChainParticleOption extends Object implements net.minecraft.core.particles.ParticleOptions
  • Field Details

  • Constructor Details

    • ElectricChainParticleOption

      public ElectricChainParticleOption(net.minecraft.world.phys.Vec3 endPos)
    • ElectricChainParticleOption

      public ElectricChainParticleOption(net.minecraft.world.phys.Vec3 color, net.minecraft.world.phys.Vec3 endPos, int offset, int speed, int lifeTime)
    • ElectricChainParticleOption

      public ElectricChainParticleOption(net.minecraft.world.phys.Vec3 endPos, int offset, int speed, int lifeTime)
    • ElectricChainParticleOption

      public ElectricChainParticleOption(double redC, double blueC, double greenC, double endX, double endY, double endZ, float startingWidth, float endingWidth, int offset, int particleSpeed, int lifetime, double timeTofade)
  • Method Details

    • getType

      @NotNull public @NotNull net.minecraft.core.particles.ParticleType<?> getType()
      Specified by:
      getType in interface net.minecraft.core.particles.ParticleOptions
    • writeToNetwork

      public void writeToNetwork(@NotNull @NotNull net.minecraft.network.FriendlyByteBuf buf)
      Specified by:
      writeToNetwork in interface net.minecraft.core.particles.ParticleOptions
    • writeToString

      @NotNull public @NotNull String writeToString()
      Specified by:
      writeToString in interface net.minecraft.core.particles.ParticleOptions
    • getRed

      public float getRed()
    • getGreen

      public float getGreen()
    • getBlue

      public float getBlue()
    • getEndPos

      public net.minecraft.world.phys.Vec3 getEndPos()
    • getInitialWidth

      public float getInitialWidth()
    • getWidth

      public float getWidth()
    • getRandomOffset

      public int getRandomOffset()
    • getSpeed

      public int getSpeed()
    • getLife

      public int getLife()
    • getFade

      public float getFade()