net.minecraft.client.particle

public class ParticleEngine

implements PreparableReloadListener

gjk
net.minecraft.client.particle.ParticleEngine
net.minecraft.class_702
net.minecraft.client.particle.ParticleManager

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
b
LOGGER
field_40505
LOGGER
private static final FileToIdConverter
c
PARTICLE_LISTER
field_40506
FINDER
private static final ResourceLocation
d
PARTICLES_ATLAS_INFO
field_41385
PARTICLES_PATH
private static final int
e
MAX_PARTICLES_PER_LAYER
field_32657
MAX_PARTICLE_COUNT
private static final List<ParticleRenderType>
f
RENDER_ORDER
field_17820
PARTICLE_TEXTURE_SHEETS
protected ClientLevel
a
level
field_3834
world
private final Map<ParticleRenderType, Queue<Particle>>
g
particles
field_3830
particles
private final Queue<TrackingEmitter>
h
trackingEmitters
field_3837
newEmitterParticles
private final TextureManager
i
textureManager
field_3831
textureManager
private final RandomSource
j
random
field_3832
random
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<ParticleProvider<?>>
k
providers
field_3835
factories
private final Queue<Particle>
l
particlesToAdd
field_3836
newParticles
private final Map<ResourceLocation, ParticleEngine$MutableSpriteSet>
m
spriteSets
field_18300
spriteAwareFactories
private final TextureAtlas
n
textureAtlas
field_18301
particleAtlasTexture
private final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<ParticleGroup>
o
trackedParticleCounts
field_29072
groupCounts

Constructor summary

ModifierConstructor
public (ClientLevel world, TextureManager textureManager)

Method summary

Modifier and TypeMethod
private void
e()
registerProviders()
method_3062()
registerDefaultFactories()
private <T extends ParticleOptions> void
a(ls<T> arg0, gjl<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)
private <T extends ParticleOptions> void
a(ls<T> arg0, gjl$a<T> arg1)
register(ParticleType<T> arg0, ParticleProvider$Sprite<T> arg1)
method_49338(class_2396<T> arg0, class_707$class_8187<T> arg1)
registerBlockLeakFactory(ParticleType<T> type, ParticleFactory$BlockLeakParticleFactory<T> factory)
private <T extends ParticleOptions> void
a(ls<T> arg0, gjk$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)
public CompletableFuture<Void>
a(auj$a arg0, aup arg1, Executor arg2, Executor arg3)
reload(PreparableReloadListener$PreparationBarrier arg0, ResourceManager arg1, Executor arg2, Executor arg3)
method_25931(class_3302$class_4045 arg0, class_3300 arg1, Executor arg2, Executor arg3)
reload(ResourceReloader$Synchronizer arg0, ResourceManager arg1, Executor arg2, Executor arg3)
public void
a()
close()
method_18829()
clearAtlas()
private Optional<List<ResourceLocation>>
a(akv arg0, aun arg1)
loadParticleDescription(ResourceLocation arg0, Resource arg1)
method_18836(class_2960 arg0, class_3298 arg1)
loadTextureList(Identifier id, Resource resource)
public void
a(bum arg0, lr arg1)
createTrackingEmitter(Entity arg0, ParticleOptions arg1)
method_3061(class_1297 arg0, class_2394 arg1)
addEmitter(Entity entity, ParticleEffect parameters)
public void
a(bum arg0, lr 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)
public Particle
a(lr 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)
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)
public void
a(gji arg0)
add(Particle arg0)
method_3058(class_703 arg0)
addParticle(Particle particle)
public void
b()
tick()
method_3057()
tick()
private void
a(Collection<gji> arg0)
tickParticleList(Collection<Particle> arg0)
method_3048(Collection<class_703> arg0)
tickParticles(Collection<Particle> particles)
private void
a(lq arg0, int arg1)
updateCount(ParticleGroup arg0, int arg1)
method_34022(class_5878 arg0, int arg1)
addTo(ParticleGroup group, int count)
private void
b(gji arg0)
tickParticle(Particle arg0)
method_3059(class_703 arg0)
tickParticle(Particle particle)
public void
a(fks arg0, float arg1, glz$a arg2)
render(Camera arg0, float arg1, MultiBufferSource$BufferSource arg2)
method_3049(class_4184 arg0, float arg1, class_4597$class_4598 arg2)
renderParticles(Camera camera, float tickDelta, VertexConsumerProvider$Immediate vertexConsumers)
private static void
a(fks arg0, float arg1, glz$a arg2, gjm arg3, Queue<gji> arg4)
renderParticleType(Camera arg0, float arg1, MultiBufferSource$BufferSource arg2, ParticleRenderType arg3, Queue<Particle> arg4)
method_65199(class_4184 arg0, float arg1, class_4597$class_4598 arg2, class_3999 arg3, Queue<class_703> arg4)
renderParticles(Camera camera, float tickDelta, VertexConsumerProvider$Immediate vertexConsumers, ParticleTextureSheet sheet, Queue<Particle> particles)
private static void
a(fks arg0, float arg1, glz$a arg2, Queue<gji> arg3)
renderCustomParticles(Camera arg0, float arg1, MultiBufferSource$BufferSource arg2, Queue<Particle> arg3)
method_65200(class_4184 arg0, float arg1, class_4597$class_4598 arg2, Queue<class_703> arg3)
renderCustomParticles(Camera camera, float tickDelta, VertexConsumerProvider$Immediate vertexConsumers, Queue<Particle> particles)
public void
a(gga arg0)
setLevel(ClientLevel arg0)
method_3045(class_638 arg0)
setWorld(ClientWorld world)
public void
a(ji arg0, dwy arg1)
destroy(BlockPos arg0, BlockState arg1)
method_3046(class_2338 arg0, class_2680 arg1)
addBlockBreakParticles(BlockPos pos, BlockState state)
public void
a(ji arg0, jn arg1)
crack(BlockPos arg0, Direction arg1)
method_3054(class_2338 arg0, class_2350 arg1)
addBlockBreakingParticles(BlockPos pos, Direction direction)
public String
d()
countParticles()
method_3052()
getDebugString()
private boolean
a(lq arg0)
hasSpaceInParticleLimit(ParticleGroup arg0)
method_34021(class_5878 arg0)
canAdd(ParticleGroup group)
private void
f()
clearParticles()
method_48015()
clearParticles()