net.minecraft.client.particle

public class ParticleEngine

implements PreparableReloadListener

fbp
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 org.slf4j.Logger
b
LOGGER
field_40505
LOGGER
f_243727_
private static final FileToIdConverter
c
PARTICLE_LISTER
field_40506
FINDER
f_243929_
private static final ResourceLocation
d
PARTICLES_ATLAS_INFO
field_41385
PARTICLES_PATH
f_260634_
private static final int
e
MAX_PARTICLES_PER_LAYER
field_32657
MAX_PARTICLE_COUNT
f_172264_
private static final List<ParticleRenderType>
f
RENDER_ORDER
field_17820
PARTICLE_TEXTURE_SHEETS
f_107288_
protected ClientLevel
a
level
field_3834
world
f_107287_
private final Map<ParticleRenderType, Queue<Particle>>
g
particles
field_3830
particles
f_107289_
private final Queue<TrackingEmitter>
h
trackingEmitters
field_3837
newEmitterParticles
f_107290_
private final TextureManager
i
textureManager
field_3831
textureManager
f_107291_
private final RandomSource
j
random
field_3832
random
f_107292_
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<ParticleProvider<?>>
k
providers
field_3835
factories
f_107293_
private final Queue<Particle>
l
particlesToAdd
field_3836
newParticles
f_107294_
private final Map<ResourceLocation, ParticleEngine$MutableSpriteSet>
m
spriteSets
field_18300
spriteAwareFactories
f_107295_
private final TextureAtlas
n
textureAtlas
field_18301
particleAtlasTexture
f_107296_
private final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<ParticleGroup>
o
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(ip<T> arg0, fbq<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(ip<T> arg0, fbp$c<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(ajy$a arg0, ake arg1, azc arg2, azc 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 Optional<List<ResourceLocation>>
a(acf arg0, akc arg1)
loadParticleDescription(ResourceLocation arg0, Resource arg1)
method_18836(class_2960 arg0, class_3298 arg1)
loadTextureList(Identifier id, Resource resource)
m_245118_(C_5265_ p_248793_, C_76_ arg1)
public void
a(bdr arg0, io 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(bdr arg0, io 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(io 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(fbn 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<fbn> arg0)
tickParticleList(Collection<Particle> arg0)
method_3048(Collection<class_703> arg0)
tickParticles(Collection<Particle> particles)
m_107384_(Collection<C_4022_> arg0)
private void
a(in 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(fbn arg0)
tickParticle(Particle arg0)
method_3059(class_703 arg0)
tickParticle(Particle particle)
m_107393_(C_4022_ arg0)
public void
a(eed arg0, fdv$a arg1, fdu arg2, eir 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 vertexConsumers, LightmapTextureManager lightmapTextureManager, Camera camera, float tickDelta)
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(eyz arg0)
setLevel(ClientLevel arg0)
method_3045(class_638 arg0)
setWorld(ClientWorld world)
m_107342_(C_3899_ arg0)
public void
a(gp arg0, cyt 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(gp arg0, gv 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(in arg0)
hasSpaceInParticleLimit(ParticleGroup arg0)
method_34021(class_5878 arg0)
canAdd(ParticleGroup group)
m_172279_(C_141791_ arg0)
private void
f()
clearParticles()
method_48015()
clearParticles()
m_263560_()