NoRenderParticleGroup .java

net.minecraft.client.particle.NoRenderParticleGroup (class): members: EMPTY_RENDER_STATE, extractRenderState. imports: ParticleGroupRenderState, Camera.

net.minecraft.client.particleclass22 linesclientextends ParticleGroup<NoRenderParticle>730 B

API Surface (1)

ParticleGroupRenderState extractRenderState(final Frustum frustum, final Camera camera, final float partialTickTime)

Fields & Constants (1)

EMPTY_RENDER_STATE

Code Graph: Dependencies (6)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

NoRenderParticleGroup.java22 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.client.particle;
2
3
import net.fabricmc.api.EnvType;
4
import net.fabricmc.api.Environment;
5
import net.minecraft.client.Camera;
6
import net.minecraft.client.renderer.culling.Frustum;
7
import net.minecraft.client.renderer.state.level.ParticleGroupRenderState;
8
9
@Environment(EnvType.CLIENT)
10
public class NoRenderParticleGroup extends ParticleGroup<NoRenderParticle> {
11
	private static final ParticleGroupRenderState EMPTY_RENDER_STATE = (ignored, camera) -> {};
12
13
	public NoRenderParticleGroup(final ParticleEngine engine) {
14
		super(engine);
15
	}
16
17
	@Override
18
	public ParticleGroupRenderState extractRenderState(final Frustum frustum, final Camera camera, final float partialTickTime) {
19
		return EMPTY_RENDER_STATE;
20
	}
21
}
22

Decompiled Minecraft 26.3 source of NoRenderParticleGroup (net/minecraft/client/particle/NoRenderParticleGroup.java) with Mojang official mappings, stored verbatim on the site.