Class ParticleBlurData

java.lang.Object
org.cyclops.cyclopscore.client.particle.ParticleBlurData
All Implemented Interfaces:
net.minecraft.core.particles.ParticleOptions

public class ParticleBlurData extends Object implements net.minecraft.core.particles.ParticleOptions
Data for ParticleBlur.
  • Field Details

    • INSTANCE

      public static final ParticleBlurData INSTANCE
    • DESERIALIZER

      public static final net.minecraft.core.particles.ParticleOptions.Deserializer<ParticleBlurData> DESERIALIZER
    • CODEC

      public static final com.mojang.serialization.Codec<ParticleBlurData> CODEC
  • Constructor Details

    • ParticleBlurData

      public ParticleBlurData(float red, float green, float blue, float scale, float ageMultiplier)
  • Method Details

    • getType

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

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

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

      public float getRed()
    • getGreen

      public float getGreen()
    • getBlue

      public float getBlue()
    • getScale

      public float getScale()
    • getAgeMultiplier

      public float getAgeMultiplier()