Class WorldParticleOptions
java.lang.Object
team.lodestar.lodestone.systems.particle.SimpleParticleOptions
team.lodestar.lodestone.systems.particle.world.options.WorldParticleOptions
- All Implemented Interfaces:
net.minecraft.core.particles.ParticleOptions
- Direct Known Subclasses:
LodestoneItemCrumbsParticleOptions,LodestoneTerrainParticleOptions
public class WorldParticleOptions
extends SimpleParticleOptions
implements net.minecraft.core.particles.ParticleOptions
-
Nested Class Summary
Nested classes/interfaces inherited from class team.lodestar.lodestone.systems.particle.SimpleParticleOptions
SimpleParticleOptions.ParticleDiscardFunctionType, SimpleParticleOptions.ParticleSpritePicker -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanintfinal Collection<Consumer<LodestoneWorldParticle>> net.minecraft.client.particle.ParticleRenderTypebooleanfinal Collection<Consumer<LodestoneWorldParticle>> final Collection<Consumer<LodestoneWorldParticle>> final net.minecraft.core.particles.ParticleType<?> Fields inherited from class team.lodestar.lodestone.systems.particle.SimpleParticleOptions
colorData, DEFAULT_COLOR, DEFAULT_GENERIC, DEFAULT_SPIN, discardFunctionType, frictionStrengthSupplier, gravityStrengthSupplier, lifeDelaySupplier, lifetimeSupplier, scaleData, spinData, spritePicker, transparencyData -
Constructor Summary
ConstructorsConstructorDescriptionWorldParticleOptions(Supplier<? extends LodestoneWorldParticleType> type) WorldParticleOptions(net.minecraft.core.particles.ParticleType<?> type) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.core.particles.ParticleType<?> getType()setBehavior(LodestoneBehaviorComponent behaviorComponent) setBehaviorIfDefault(LodestoneBehaviorComponent behaviorComponent)
-
Field Details
-
type
public final net.minecraft.core.particles.ParticleType<?> type -
behavior
-
behaviorComponent
-
renderType
public net.minecraft.client.particle.ParticleRenderType renderType -
renderLayer
-
shouldCull
public boolean shouldCull -
tickActors
-
spawnActors
-
renderActors
-
particleLight
public int particleLight -
noClip
public boolean noClip
-
-
Constructor Details
-
WorldParticleOptions
public WorldParticleOptions(net.minecraft.core.particles.ParticleType<?> type) -
WorldParticleOptions
-
-
Method Details
-
setBehavior
-
setBehaviorIfDefault
-
getType
public net.minecraft.core.particles.ParticleType<?> getType()- Specified by:
getTypein interfacenet.minecraft.core.particles.ParticleOptions
-