ParticleRenderType .java

net.minecraft.client.particle.ParticleRenderType (record, 13 lines): members: shorthand, ELDER_GUARDIANS, SINGLE_QUADS, ITEM_PICKUP, NO_RENDER, name.

net.minecraft.client.particlerecord13 linesclient610 B

API Surface (1)

record ParticleRenderType(String name, String shorthand)

Fields & Constants (4)

SINGLE_QUADS
ITEM_PICKUP
ELDER_GUARDIANS
NO_RENDER

String literals (4)

"SINGLE_QUADS"
"ITEM_PICKUP"
"ELDER_GUARDIANS"
"NO_RENDER"

Full Source

ParticleRenderType.java13 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
6
@Environment(EnvType.CLIENT)
7
public record ParticleRenderType(String name, String shorthand) {
8
	public static final ParticleRenderType SINGLE_QUADS = new ParticleRenderType("SINGLE_QUADS", "SQ");
9
	public static final ParticleRenderType ITEM_PICKUP = new ParticleRenderType("ITEM_PICKUP", "IP");
10
	public static final ParticleRenderType ELDER_GUARDIANS = new ParticleRenderType("ELDER_GUARDIANS", "EG");
11
	public static final ParticleRenderType NO_RENDER = new ParticleRenderType("NO_RENDER", "NR");
12
}
13

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