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
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.core.particles.ParticleOptions
net.minecraft.core.particles.ParticleOptions.Deserializer<T extends net.minecraft.core.particles.ParticleOptions> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<FlashScaleParticleOptions> static net.minecraft.core.particles.ParticleOptions.Deserializer<FlashScaleParticleOptions> static final floatstatic final float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetScale()@NotNull net.minecraft.core.particles.ParticleType<?> getType()voidwriteToNetwork(net.minecraft.network.FriendlyByteBuf friendlyByteBuf) @NotNull String
-
Field Details
-
MIN_SCALE
public static final float MIN_SCALE- See Also:
-
MAX_SCALE
public static final float MAX_SCALE- See Also:
-
CODEC
-
DESERIALIZER
public static net.minecraft.core.particles.ParticleOptions.Deserializer<FlashScaleParticleOptions> DESERIALIZER
-
-
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:
getTypein interfacenet.minecraft.core.particles.ParticleOptions
-
writeToNetwork
public void writeToNetwork(net.minecraft.network.FriendlyByteBuf friendlyByteBuf) - Specified by:
writeToNetworkin interfacenet.minecraft.core.particles.ParticleOptions
-
writeToString
- Specified by:
writeToStringin interfacenet.minecraft.core.particles.ParticleOptions
-