类 ParticleGroup
- java.lang.Object
-
- net.minecraft.client.particle.ParticleGroup
-
public class ParticleGroup extends Object
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.- 另请参阅:
Particle.getGroup()- Mappings:
Namespace Name official hnintermediary net/minecraft/class_5878named net/minecraft/client/particle/ParticleGroup
-
-
字段概要
字段 修饰符和类型 字段 说明 private intmaxCountstatic ParticleGroupSPORE_BLOSSOM_AIRThe group for the minecraft:spore_blossom_air particle type.
-
构造器概要
构造器 构造器 说明 ParticleGroup(int maxCount)Creates a particle group with a custommaxparticle count.
-
-
-
字段详细资料
-
SPORE_BLOSSOM_AIR
public static final ParticleGroup 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 official aLhn;a:Lhn;intermediary field_29077Lnet/minecraft/class_5878;field_29077:Lnet/minecraft/class_5878;named SPORE_BLOSSOM_AIRLnet/minecraft/client/particle/ParticleGroup;SPORE_BLOSSOM_AIR:Lnet/minecraft/client/particle/ParticleGroup;
-
maxCount
private final int maxCount
- Mappings:
Namespace Name Mixin selector official bLhn;b:Iintermediary field_29078Lnet/minecraft/class_5878;field_29078:Inamed maxCountLnet/minecraft/client/particle/ParticleGroup;maxCount:I
-
-
构造器详细资料
-
ParticleGroup
public ParticleGroup(int maxCount)
Creates a particle group with a custommaxparticle count.- 参数:
maxCount- the maximum number of a type of particle allowed- Mappings:
Namespace Name Mixin selector official <init>Lhn;<init>(I)Vintermediary <init>Lnet/minecraft/class_5878;<init>(I)Vnamed <init>Lnet/minecraft/client/particle/ParticleGroup;<init>(I)V
-
-
方法详细资料
-
getMaxCount
public int getMaxCount()
Returns the maximum count of particles from this group that can be rendered in a particle manager.- Mappings:
Namespace Name Mixin selector official aLhn;a()Iintermediary method_34045Lnet/minecraft/class_5878;method_34045()Inamed getMaxCountLnet/minecraft/client/particle/ParticleGroup;getMaxCount()I
-
-