PistonHeadRenderState .java

net.minecraft.client.renderer.blockentity.state.PistonHeadRenderState (class): members: zOffset, yOffset, xOffset, base, block. imports: Nullable, EnvType.

net.minecraft.client.renderer.blockentity.stateclass16 linesclientextends BlockEntityRenderState501 B

API Surface (0)

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

Fields & Constants (5)

block
base
xOffset
yOffset
zOffset

Code Graph: Dependencies (2)

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

Full Source

PistonHeadRenderState.java16 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.client.renderer.block.MovingBlockRenderState;
6
import org.jspecify.annotations.Nullable;
7
8
@Environment(EnvType.CLIENT)
9
public class PistonHeadRenderState extends BlockEntityRenderState {
10
	public @Nullable MovingBlockRenderState block;
11
	public @Nullable MovingBlockRenderState base;
12
	public float xOffset;
13
	public float yOffset;
14
	public float zOffset;
15
}
16

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