net.minecraft.client.particle

public class ParticleEngine

implements PreparableReloadListener

ele
net.minecraft.client.particle.ParticleEngine
net.minecraft.class_702
net.minecraft.client.particle.ParticleManager
net.minecraft.src.C_4024_

Field summary

Modifier and TypeField
private static final int
b
MAX_PARTICLES_PER_LAYER
field_32657
MAX_PARTICLE_COUNT
f_172264_
private static final List<ParticleRenderType>
c
RENDER_ORDER
field_17820
PARTICLE_TEXTURE_SHEETS
f_107288_
protected ClientLevel
a
level
field_3834
world
f_107287_
private final Map<ParticleRenderType, Queue<Particle>>
d
particles
field_3830
particles
f_107289_
private final Queue<TrackingEmitter>
e
trackingEmitters
field_3837
newEmitterParticles
f_107290_
private final TextureManager
f
textureManager
field_3831
textureManager
f_107291_
private final Random
g
random
field_3832
random
f_107292_
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<ParticleProvider<?>>
h
providers
field_3835
factories
f_107293_
private final Queue<Particle>
i
particlesToAdd
field_3836
newParticles
f_107294_
private final Map<ResourceLocation, ParticleEngine$MutableSpriteSet>
j
spriteSets
field_18300
spriteAwareFactories
f_107295_
private final TextureAtlas
k
textureAtlas
field_18301
particleAtlasTexture
f_107296_
private final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<ParticleGroup>
l
trackedParticleCounts
field_29072
groupCounts
f_172265_

Constructor summary

ModifierConstructor
public (ClientLevel world, TextureManager textureManager)

Method summary

Modifier and TypeMethod
private void
e()
registerProviders()
method_3062()
registerDefaultFactories()
m_107404_()
private <T extends ParticleOptions> void
a(hu<T> arg0, elf<T> arg1)
register(ParticleType<T> arg0, ParticleProvider<T> arg1)
method_3043(class_2396<T> arg0, class_707<T> arg1)
registerFactory(ParticleType<T> type, ParticleFactory<T> factory)
m_107381_(C_4758_<T> p_107383_, C_4028_<T> arg1)
private <T extends ParticleOptions> void
a(hu<T> arg0, ele$b<T> arg1)
register(ParticleType<T> arg0, ParticleEngine$SpriteParticleRegistration<T> arg1)
method_18834(class_2396<T> arg0, class_702$class_4091<T> arg1)
registerFactory(ParticleType<T> type, ParticleManager$SpriteAwareFactory<T> factory)
m_107378_(C_4758_<T> p_107380_, C_4024_$C_4027_<T> arg1)
public CompletableFuture<Void>
a(ado$a arg0, adt arg1, apu arg2, apu arg3, Executor arg4, Executor arg5)
reload(PreparableReloadListener$PreparationBarrier arg0, ResourceManager arg1, ProfilerFiller arg2, ProfilerFiller arg3, Executor arg4, Executor arg5)
method_25931(class_3302$class_4045 arg0, class_3300 arg1, class_3695 arg2, class_3695 arg3, Executor arg4, Executor arg5)
reload(ResourceReloader$Synchronizer arg0, ResourceManager arg1, Profiler arg2, Profiler arg3, Executor arg4, Executor arg5)
m_5540_(C_69_$C_70_ p_107306_, C_77_ p_107307_, C_442_ p_107308_, C_442_ p_107309_, Executor p_107310_, Executor arg5)
public void
a()
close()
method_18829()
clearAtlas()
m_107301_()
private void
a(adt arg0, ww arg1, Map<ww, List<ww>> arg2)
loadParticleDescription(ResourceManager arg0, ResourceLocation arg1, Map<ResourceLocation, List<ResourceLocation>> arg2)
method_18836(class_3300 arg0, class_2960 arg1, Map<class_2960, List<class_2960>> arg2)
loadTextureList(ResourceManager resourceManager, Identifier id, Map<Identifier, List<Identifier>> result)
m_107316_(C_77_ p_107318_, C_5265_ p_107319_, Map<C_5265_, List<C_5265_>> arg2)
public void
a(atf arg0, ht arg1)
createTrackingEmitter(Entity arg0, ParticleOptions arg1)
method_3061(class_1297 arg0, class_2394 arg1)
addEmitter(Entity entity, ParticleEffect parameters)
m_107329_(C_507_ p_107331_, C_4756_ arg1)
public void
a(atf arg0, ht arg1, int arg2)
createTrackingEmitter(Entity arg0, ParticleOptions arg1, int arg2)
method_3051(class_1297 arg0, class_2394 arg1, int arg2)
addEmitter(Entity entity, ParticleEffect parameters, int maxAge)
m_107332_(C_507_ p_107334_, C_4756_ p_107335_, int arg2)
public Particle
a(ht arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
createParticle(ParticleOptions arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
method_3056(class_2394 arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
addParticle(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
m_107370_(C_4756_ p_107372_, double p_107373_, double p_107375_, double p_107377_, double arg4, double arg5, double arg6)
private <T extends ParticleOptions> Particle
b(T arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
makeParticle(T arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
method_3055(T arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
createParticle(T parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
m_107395_(T p_107397_, double p_107398_, double p_107400_, double p_107402_, double arg4, double arg5, double arg6)
public void
a(elc arg0)
add(Particle arg0)
method_3058(class_703 arg0)
addParticle(Particle particle)
m_107344_(C_4022_ arg0)
public void
b()
tick()
method_3057()
tick()
m_107388_()
private void
a(Collection<elc> arg0)
tickParticleList(Collection<Particle> arg0)
method_3048(Collection<class_703> arg0)
tickParticles(Collection<Particle> particles)
m_107384_(Collection<C_4022_> arg0)
private void
a(hs arg0, int arg1)
updateCount(ParticleGroup arg0, int arg1)
method_34022(class_5878 arg0, int arg1)
addTo(ParticleGroup group, int count)
m_172281_(C_141791_ p_172283_, int arg1)
private void
b(elc arg0)
tickParticle(Particle arg0)
method_3059(class_703 arg0)
tickParticle(Particle particle)
m_107393_(C_4022_ arg0)
public void
a(dqk arg0, enh$a arg1, eng arg2, duz arg3, float arg4)
render(PoseStack arg0, MultiBufferSource$BufferSource arg1, LightTexture arg2, Camera arg3, float arg4)
method_3049(class_4587 arg0, class_4597$class_4598 arg1, class_765 arg2, class_4184 arg3, float arg4)
renderParticles(MatrixStack matrices, VertexConsumerProvider$Immediate arg1, LightmapTextureManager arg2, Camera camera, float arg4)
m_107336_(C_3181_ p_107338_, C_4139_$C_4140_ p_107339_, C_4138_ p_107340_, C_3373_ p_107341_, float arg4)
public void
a(ejh arg0)
setLevel(ClientLevel arg0)
method_3045(class_638 arg0)
setWorld(ClientWorld world)
m_107342_(C_3899_ arg0)
public void
a(gg arg0, cks arg1)
destroy(BlockPos arg0, BlockState arg1)
method_3046(class_2338 arg0, class_2680 arg1)
addBlockBreakParticles(BlockPos pos, BlockState state)
m_107355_(C_4675_ p_107357_, C_2064_ arg1)
public void
a(gg arg0, gl arg1)
crack(BlockPos arg0, Direction arg1)
method_3054(class_2338 arg0, class_2350 arg1)
addBlockBreakingParticles(BlockPos pos, Direction direction)
m_107367_(C_4675_ p_107369_, C_4687_ arg1)
public String
d()
countParticles()
method_3052()
getDebugString()
m_107403_()
private boolean
a(hs arg0)
hasSpaceInParticleLimit(ParticleGroup arg0)
method_34021(class_5878 arg0)
canAdd(ParticleGroup group)
m_172279_(C_141791_ arg0)