VillagerRenderState .java

net.minecraft.client.renderer.entity.state.VillagerRenderState (class): members: villagerData, isUnhappy, getVillagerData. imports: VillagerData, Nullable.

net.minecraft.client.renderer.entity.stateclass18 linesclientextends HoldingEntityRenderState533 B

Implements

API Surface (0)

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

Fields & Constants (2)

isUnhappy
villagerData

Code Graph: Dependencies (3)

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

Full Source

VillagerRenderState.java18 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.client.renderer.entity.state;
2
3
import net.fabricmc.api.EnvType;
4
import net.fabricmc.api.Environment;
5
import net.minecraft.world.entity.npc.villager.VillagerData;
6
import org.jspecify.annotations.Nullable;
7
8
@Environment(EnvType.CLIENT)
9
public class VillagerRenderState extends HoldingEntityRenderState implements VillagerDataHolderRenderState {
10
	public boolean isUnhappy;
11
	public @Nullable VillagerData villagerData;
12
13
	@Override
14
	public @Nullable VillagerData getVillagerData() {
15
		return this.villagerData;
16
	}
17
}
18

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