Class DustParticleOptions

java.lang.Object
net.minecraft.core.particles.ScalableParticleOptionsBase
com.pixelmonmod.pixelmon.client.particle.particles.dust.DustParticleOptions
All Implemented Interfaces:
net.minecraft.core.particles.ParticleOptions

public class DustParticleOptions extends net.minecraft.core.particles.ScalableParticleOptionsBase
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.MapCodec<DustParticleOptions>
     
    static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,DustParticleOptions>
     

    Fields inherited from class net.minecraft.core.particles.ScalableParticleOptionsBase

    MAX_SCALE, MIN_SCALE, SCALE
  • Constructor Summary

    Constructors
    Constructor
    Description
    DustParticleOptions(org.joml.Vector3f color, float scale, int lifetime)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.joml.Vector3f
     
    int
     
    net.minecraft.core.particles.ParticleType<DustParticleOptions>
     

    Methods inherited from class net.minecraft.core.particles.ScalableParticleOptionsBase

    getScale

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<DustParticleOptions> CODEC
    • STREAM_CODEC

      public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,DustParticleOptions> STREAM_CODEC
  • Constructor Details

    • DustParticleOptions

      public DustParticleOptions(org.joml.Vector3f color, float scale, int lifetime)
  • Method Details

    • getType

      public net.minecraft.core.particles.ParticleType<DustParticleOptions> getType()
    • getColor

      public org.joml.Vector3f getColor()
    • getLifetime

      public int getLifetime()