BedRenderState .java

net.minecraft.client.renderer.blockentity.state.BedRenderState (class): members: part, facing, color. imports: BedPart, DyeColor, Direction, EnvType.

net.minecraft.client.renderer.blockentity.stateclass15 linesclientextends BlockEntityRenderState472 B

API Surface (0)

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

Fields & Constants (3)

color
facing
part

Code Graph: Dependencies (4)

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

Full Source

BedRenderState.java15 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.item.DyeColor;
7
import net.minecraft.world.level.block.state.properties.BedPart;
8
9
@Environment(EnvType.CLIENT)
10
public class BedRenderState extends BlockEntityRenderState {
11
	public DyeColor color = DyeColor.WHITE;
12
	public Direction facing = Direction.NORTH;
13
	public BedPart part;
14
}
15

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