java.lang.Object
com.pixelmonmod.pixelmon.client.particle.particles.magic.blue.BlueMagicParticleData
All Implemented Interfaces:
net.minecraft.core.particles.ParticleOptions

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

    • CODEC

      public static final com.mojang.serialization.Codec<BlueMagicParticleData> CODEC
    • DESERIALIZER

      public static final net.minecraft.core.particles.ParticleOptions.Deserializer<BlueMagicParticleData> DESERIALIZER
  • Constructor Details

    • BlueMagicParticleData

      public BlueMagicParticleData(Color tint, double diameter, int lifetime)
    • BlueMagicParticleData

      public BlueMagicParticleData(int tintRGB, double diameter, int lifetime)
  • Method Details

    • getTint

      public Color getTint()
    • getDiameter

      public double getDiameter()
    • getLifetime

      public int getLifetime()
    • getType

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

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

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