net.minecraft.client.particle

public class ParticleEngine

implements PreparableReloadListener

gbf
net.minecraft.client.particle.ParticleEngine
net.minecraft.class_702
net.minecraft.unmapped.C_ttbvlsde
net.minecraft.client.particle.ParticleManager
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
f_elnqhvzy
LOGGER
LOGGER
f_243727_
private static final FileToIdConverter
c
PARTICLE_LISTER
field_40506
f_ybkxsqho
FINDER
PARTICLE_IDS
f_243929_
private static final ResourceLocation
d
PARTICLES_ATLAS_INFO
field_41385
f_besuqplm
PARTICLES_PATH
NAMESPACE_ID
f_260634_
private static final int
e
MAX_PARTICLES_PER_LAYER
field_32657
f_xlfkzqpd
MAX_PARTICLE_COUNT
MAX_PARTICLE_COUNT
f_172264_
private static final List<ParticleRenderType>
f
RENDER_ORDER
field_17820
f_rasxzwym
PARTICLE_TEXTURE_SHEETS
PARTICLE_TEXTURE_SHEETS
f_107288_
protected ClientLevel
a
level
field_3834
f_dfuccwij
world
world
f_107287_
private final Map<ParticleRenderType, Queue<Particle>>
g
particles
field_3830
f_cctfepno
particles
particles
f_107289_
private final Queue<TrackingEmitter>
h
trackingEmitters
field_3837
f_kninfker
newEmitterParticles
newEmitterParticles
f_107290_
private final TextureManager
i
textureManager
field_3831
f_onqziugr
textureManager
textureManager
f_107291_
private final RandomSource
j
random
field_3832
f_foxfzdpj
random
random
f_107292_
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<ParticleProvider<?>>
k
providers
field_3835
f_tqpnpcpl
factories
factories
f_107293_
private final Queue<Particle>
l
particlesToAdd
field_3836
f_wselotia
newParticles
newParticles
f_107294_
private final Map<ResourceLocation, ParticleEngine$MutableSpriteSet>
m
spriteSets
field_18300
f_mxbpbfwz
spriteAwareFactories
spriteAwareFactories
f_107295_
private final TextureAtlas
n
textureAtlas
field_18301
f_okymkxbb
particleAtlasTexture
particleAtlasTexture
f_107296_
private final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<ParticleGroup>
o
trackedParticleCounts
field_29072
f_uurakyol
groupCounts
groupCounts
f_172265_

Constructor summary

ModifierConstructor
public (ClientLevel world, TextureManager textureManager)

Method summary

Modifier and TypeMethod
private void
e()
registerProviders()
method_3062()
m_gomtljkw()
registerDefaultFactories()
registerDefaultFactories()
m_107404_()
private <T extends ParticleOptions> void
a(lh<T> arg0, gbg<T> arg1)
register(ParticleType<T> arg0, ParticleProvider<T> arg1)
method_3043(class_2396<T> arg0, class_707<T> arg1)
m_kkkzetkx(C_qlzoaopu<T> arg0, C_bpbcaqfb<T> arg1)
registerFactory(ParticleType<T> type, ParticleFactory<T> factory)
registerFactory(ParticleType<T> type, ParticleFactory<T> factory)
m_107381_(C_4758_<T> p_107383_, C_4028_<T> arg1)
private <T extends ParticleOptions> void
a(lh<T> arg0, gbg$a<T> arg1)
register(ParticleType<T> arg0, ParticleProvider$Sprite<T> arg1)
method_49338(class_2396<T> arg0, class_707$class_8187<T> arg1)
m_bkragvbq(C_qlzoaopu<T> arg0, C_bpbcaqfb$C_bhvhntoh<T> arg1)
registerBlockLeakFactory(ParticleType<T> type, ParticleFactory$BlockLeakParticleFactory<T> factory)
registerSpriteBillboardFactory(ParticleType<T> type, ParticleFactory$Sprite<T> factory)
m_272137_(C_4758_<T> p_273134_, C_4028_$C_271042_<T> arg1)
private <T extends ParticleOptions> void
a(lh<T> arg0, gbf$c<T> arg1)
register(ParticleType<T> arg0, ParticleEngine$SpriteParticleRegistration<T> arg1)
method_18834(class_2396<T> arg0, class_702$class_4091<T> arg1)
m_qaddjyul(C_qlzoaopu<T> arg0, C_ttbvlsde$C_fiwvxgvd<T> arg1)
registerFactory(ParticleType<T> type, ParticleManager$SpriteAwareFactory<T> factory)
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(auj$a arg0, aup arg1, bnj arg2, bnj 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)
m_vbnuicfd(C_msqwzogj$C_yodorvdw arg0, C_tmnrpasf arg1, C_eslcbfsq arg2, C_eslcbfsq arg3, Executor arg4, Executor arg5)
reload(ResourceReloader$Synchronizer arg0, ResourceManager arg1, Profiler arg2, Profiler 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()
m_cqwepeak()
clearAtlas()
clearAtlas()
m_107301_()
private Optional<List<ResourceLocation>>
a(alf arg0, aun arg1)
loadParticleDescription(ResourceLocation arg0, Resource arg1)
method_18836(class_2960 arg0, class_3298 arg1)
m_zvhcxvrb(C_ncpywfca arg0, C_tuynegco arg1)
loadTextureList(Identifier id, Resource resource)
loadTextureList(Identifier id, Resource resource)
m_245118_(C_5265_ p_248793_, C_76_ arg1)
public void
a(bsv arg0, lg arg1)
createTrackingEmitter(Entity arg0, ParticleOptions arg1)
method_3061(class_1297 arg0, class_2394 arg1)
m_sytiuime(C_astfners arg0, C_nqucohct arg1)
addEmitter(Entity entity, ParticleEffect parameters)
addEmitter(Entity entity, ParticleEffect parameters)
m_107329_(C_507_ p_107331_, C_4756_ arg1)
public void
a(bsv arg0, lg arg1, int arg2)
createTrackingEmitter(Entity arg0, ParticleOptions arg1, int arg2)
method_3051(class_1297 arg0, class_2394 arg1, int arg2)
m_sfhkkbji(C_astfners arg0, C_nqucohct arg1, int arg2)
addEmitter(Entity entity, ParticleEffect parameters, int maxAge)
addEmitter(Entity entity, ParticleEffect parameters, int maxAge)
m_107332_(C_507_ p_107334_, C_4756_ p_107335_, int arg2)
public Particle
a(lg 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)
m_xjuxwfcl(C_nqucohct 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)
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)
m_lcekycpk(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)
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(gbd arg0)
add(Particle arg0)
method_3058(class_703 arg0)
m_npappzxj(C_pfsoguef arg0)
addParticle(Particle particle)
addParticle(Particle particle)
m_107344_(C_4022_ arg0)
public void
b()
tick()
method_3057()
m_wlutqtle()
tick()
tick()
m_107388_()
private void
a(Collection<gbd> arg0)
tickParticleList(Collection<Particle> arg0)
method_3048(Collection<class_703> arg0)
m_laevbbto(Collection<C_pfsoguef> arg0)
tickParticles(Collection<Particle> particles)
tickParticles(Collection<Particle> particles)
m_107384_(Collection<C_4022_> arg0)
private void
a(lf arg0, int arg1)
updateCount(ParticleGroup arg0, int arg1)
method_34022(class_5878 arg0, int arg1)
m_pfplbwjm(C_girzongk arg0, int arg1)
addTo(ParticleGroup group, int count)
addTo(ParticleGroup group, int count)
m_172281_(C_141791_ p_172283_, int arg1)
private void
b(gbd arg0)
tickParticle(Particle arg0)
method_3059(class_703 arg0)
m_mvxddxkh(C_pfsoguef arg0)
tickParticle(Particle particle)
tickParticle(Particle particle)
m_107393_(C_4022_ arg0)
public void
a(gdo arg0, fer arg1, float arg2)
render(LightTexture arg0, Camera arg1, float arg2)
method_3049(class_765 arg0, class_4184 arg1, float arg2)
m_zziyhzvx(C_grwstqbm arg0, C_dcmtgrvm arg1, float arg2)
renderParticles(LightmapTextureManager lightmapTextureManager, Camera camera, float tickDelta)
renderParticles(LightmapTextureManager lightmap, Camera camera, float tickDelta)
m_107336_(C_4138_ p_107340_, C_3373_ p_107341_, float arg2)
public void
a(fxw arg0)
setLevel(ClientLevel arg0)
method_3045(class_638 arg0)
m_kwwbzcft(C_ghdnlrrw arg0)
setWorld(ClientWorld world)
setWorld(ClientWorld world)
m_107342_(C_3899_ arg0)
public void
a(iz arg0, dsd arg1)
destroy(BlockPos arg0, BlockState arg1)
method_3046(class_2338 arg0, class_2680 arg1)
m_gxgpjwxu(C_hynzadkk arg0, C_txtbiemp arg1)
addBlockBreakParticles(BlockPos pos, BlockState state)
addBlockBreakParticles(BlockPos pos, BlockState state)
m_107355_(C_4675_ p_107357_, C_2064_ arg1)
public void
a(iz arg0, je arg1)
crack(BlockPos arg0, Direction arg1)
method_3054(class_2338 arg0, class_2350 arg1)
m_tnmdyyer(C_hynzadkk arg0, C_xpuuihxf arg1)
addBlockBreakingParticles(BlockPos pos, Direction direction)
addBlockBreakingParticles(BlockPos pos, Direction direction)
m_107367_(C_4675_ p_107369_, C_4687_ arg1)
public String
d()
countParticles()
method_3052()
m_mollrpmv()
getDebugString()
getDebugString()
m_107403_()
private boolean
a(lf arg0)
hasSpaceInParticleLimit(ParticleGroup arg0)
method_34021(class_5878 arg0)
m_unruilwe(C_girzongk arg0)
canAdd(ParticleGroup group)
canAdd(ParticleGroup group)
m_172279_(C_141791_ arg0)
private void
f()
clearParticles()
method_48015()
m_ajauxvny()
clearParticles()
clear()
m_263560_()