net.minecraft.client.particle

public class ParticleEngine

implements PreparableReloadListener

giu
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(lr<T> arg0, giv<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(lr<T> arg0, giv$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(lr<T> arg0, giu$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(avp$a arg0, avv 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(alz arg0, avt arg1)
loadParticleDescription(ResourceLocation arg0, Resource arg1)
method_18836(class_2960 arg0, class_3298 arg1)
loadTextureList(Identifier id, Resource resource)
public void
a(bvk arg0, lq arg1)
createTrackingEmitter(Entity arg0, ParticleOptions arg1)
method_3061(class_1297 arg0, class_2394 arg1)
addEmitter(Entity entity, ParticleEffect parameters)
public void
a(bvk arg0, lq 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(lq 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(gis arg0)
add(Particle arg0)
method_3058(class_703 arg0)
addParticle(Particle particle)
public void
b()
tick()
method_3057()
tick()
private void
a(Collection<gis> arg0)
tickParticleList(Collection<Particle> arg0)
method_3048(Collection<class_703> arg0)
tickParticles(Collection<Particle> particles)
private void
a(lp arg0, int arg1)
updateCount(ParticleGroup arg0, int arg1)
method_34022(class_5878 arg0, int arg1)
addTo(ParticleGroup group, int count)
private void
b(gis arg0)
tickParticle(Particle arg0)
method_3059(class_703 arg0)
tickParticle(Particle particle)
public void
a(glj arg0, flp arg1, float arg2)
render(LightTexture arg0, Camera arg1, float arg2)
method_3049(class_765 arg0, class_4184 arg1, float arg2)
renderParticles(LightmapTextureManager lightmapTextureManager, Camera camera, float tickDelta)
public void
a(gfk arg0)
setLevel(ClientLevel arg0)
method_3045(class_638 arg0)
setWorld(ClientWorld world)
public void
a(jh arg0, dxv arg1)
destroy(BlockPos arg0, BlockState arg1)
method_3046(class_2338 arg0, class_2680 arg1)
addBlockBreakParticles(BlockPos pos, BlockState state)
public void
a(jh arg0, jm 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(lp arg0)
hasSpaceInParticleLimit(ParticleGroup arg0)
method_34021(class_5878 arg0)
canAdd(ParticleGroup group)
private void
f()
clearParticles()
method_48015()
clearParticles()