Class WindParticleOptions
java.lang.Object
net.frozenblock.wilderwild.particle.options.WindParticleOptions
- All Implemented Interfaces:
net.minecraft.core.particles.ParticleOptions
public class WindParticleOptions
extends Object
implements net.minecraft.core.particles.ParticleOptions
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<WindParticleOptions> static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, WindParticleOptions> -
Constructor Summary
ConstructorsConstructorDescriptionWindParticleOptions(int lifespan, double xVel, double yVel, double zVel) WindParticleOptions(int lifespan, net.minecraft.world.phys.Vec3 velocity) -
Method Summary
Modifier and TypeMethodDescriptionint@NotNull net.minecraft.core.particles.ParticleType<?> getType()net.minecraft.world.phys.Vec3
-
Field Details
-
CODEC
-
STREAM_CODEC
public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,WindParticleOptions> STREAM_CODEC
-
-
Constructor Details
-
WindParticleOptions
public WindParticleOptions(int lifespan, net.minecraft.world.phys.Vec3 velocity) -
WindParticleOptions
public WindParticleOptions(int lifespan, double xVel, double yVel, double zVel)
-
-
Method Details
-
getType
@NotNull public @NotNull net.minecraft.core.particles.ParticleType<?> getType()- Specified by:
getTypein interfacenet.minecraft.core.particles.ParticleOptions
-
getLifespan
public int getLifespan() -
getVelocity
public net.minecraft.world.phys.Vec3 getVelocity()
-