Package net.minecraft.particle
Class ParticleGroup
java.lang.Object
net.minecraft.particle.ParticleGroup
A group for particles. This group imposes a limit on the numbers of
particles from this group rendered in a particle manager. Additional
particles will be discarded when attempted to be rendered.
- See Also:
- Mappings:
Namespace Name named net/minecraft/particle/ParticleGroup
intermediary net/minecraft/class_5878
official lj
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
static final ParticleGroup
The group for the minecraft:spore_blossom_air particle type. -
Constructor Summary
ConstructorDescriptionParticleGroup
(int maxCount) Creates a particle group with a custommax
particle count. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the maximum count of particles from this group that can be rendered in a particle manager.
-
Field Details
-
SPORE_BLOSSOM_AIR
The group for the minecraft:spore_blossom_air particle type. It has a count limit of 1000.- Mappings:
Namespace Name Mixin selector named SPORE_BLOSSOM_AIR
Lnet/minecraft/particle/ParticleGroup;SPORE_BLOSSOM_AIR:Lnet/minecraft/particle/ParticleGroup;
intermediary field_29077
Lnet/minecraft/class_5878;field_29077:Lnet/minecraft/class_5878;
official a
Llj;a:Llj;
-
maxCount
private final int maxCount- Mappings:
Namespace Name Mixin selector named maxCount
Lnet/minecraft/particle/ParticleGroup;maxCount:I
intermediary field_29078
Lnet/minecraft/class_5878;field_29078:I
official b
Llj;b:I
-
-
Constructor Details
-
ParticleGroup
public ParticleGroup(int maxCount) Creates a particle group with a custommax
particle count.- Parameters:
maxCount
- the maximum number of a type of particle allowed- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/particle/ParticleGroup;<init>(I)V
intermediary <init>
Lnet/minecraft/class_5878;<init>(I)V
official <init>
Llj;<init>(I)V
-
-
Method Details
-
getMaxCount
public int getMaxCount()Returns the maximum count of particles from this group that can be rendered in a particle manager.- Returns:
- the maximum count of particles from this group that can be rendered in a particle manager
- Mappings:
Namespace Name Mixin selector named getMaxCount
Lnet/minecraft/particle/ParticleGroup;getMaxCount()I
intermediary method_34045
Lnet/minecraft/class_5878;method_34045()I
official a
Llj;a()I
-