ChestRenderState .java

net.minecraft.client.renderer.blockentity.state.ChestRenderState (class): members: ChestMaterialType, facing, material, open, type. imports: ChestType.

net.minecraft.client.renderer.blockentity.stateclass27 linesclientextends BlockEntityRenderState727 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Fields & Constants (4)

type
open
facing
material

Code Graph: Dependencies (3)

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

Full Source

ChestRenderState.java27 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.client.renderer.blockentity.state;
2
3
import net.fabricmc.api.EnvType;
4
import net.fabricmc.api.Environment;
5
import net.minecraft.core.Direction;
6
import net.minecraft.world.level.block.state.properties.ChestType;
7
8
@Environment(EnvType.CLIENT)
9
public class ChestRenderState extends BlockEntityRenderState {
10
	public ChestType type = ChestType.SINGLE;
11
	public float open;
12
	public Direction facing = Direction.SOUTH;
13
	public ChestRenderState.ChestMaterialType material = ChestRenderState.ChestMaterialType.REGULAR;
14
15
	@Environment(EnvType.CLIENT)
16
	public enum ChestMaterialType {
17
		ENDER_CHEST,
18
		CHRISTMAS,
19
		TRAPPED,
20
		COPPER_UNAFFECTED,
21
		COPPER_EXPOSED,
22
		COPPER_WEATHERED,
23
		COPPER_OXIDIZED,
24
		REGULAR;
25
	}
26
}
27

Decompiled Minecraft 26.3 source of ChestRenderState (net/minecraft/client/renderer/blockentity/state/ChestRenderState.java) with Mojang official mappings, stored verbatim on the site.