Class WorldParticleSystem
- All Implemented Interfaces:
AutoCloseable
Pooled fixed-tick local particle simulation rendered as billboards.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceleration(net.minecraft.world.phys.Vec3 value) intprotected voidextract(WorldRenderContext context) protected WorldBoundssoft(boolean value) spawn(WorldParticleSystem.Spawn value) Methods inherited from class WorldObject
animation, animationValue, close, closed, effectiveTransform, effects, effects, localBounds, material, material, pickable, pickable, pickable, pickId, position, position, releaseResources, self, transform, transform, updater, visible, visible
-
Constructor Details
-
WorldParticleSystem
public WorldParticleSystem() -
WorldParticleSystem
public WorldParticleSystem(int capacity)
-
-
Method Details
-
spawn
-
acceleration
-
soft
-
activeCount
public int activeCount() -
localBounds
- Overrides:
localBoundsin classWorldObject<WorldParticleSystem>
-
extract
- Specified by:
extractin classWorldObject<WorldParticleSystem>
-