Class FlashScaleParticleOptions

java.lang.Object
me.emafire003.dev.ohmymeteors.particles.meteor_flash.FlashScaleParticleOptions
All Implemented Interfaces:
net.minecraft.core.particles.ParticleOptions
Direct Known Subclasses:
MeteorSmokeScaledOptions

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

    • MIN_SCALE

      public static final float MIN_SCALE
      See Also:
    • MAX_SCALE

      public static final float MAX_SCALE
      See Also:
    • STREAM_CODEC

      public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, FlashScaleParticleOptions> STREAM_CODEC
    • SCALE

      public static final com.mojang.serialization.Codec<Float> SCALE
    • CODEC

      public static final com.mojang.serialization.MapCodec<FlashScaleParticleOptions> CODEC
  • Constructor Details

    • FlashScaleParticleOptions

      public FlashScaleParticleOptions(float scale)
  • Method Details

    • getScale

      public float getScale()
    • getType

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