UndeadRenderState .java

net.minecraft.client.renderer.entity.state.UndeadRenderState (class, 15 lines): members: getUseItemStackForArm. imports: HumanoidArm, ItemStack, EnvType.

net.minecraft.client.renderer.entity.stateclass15 linesclientextends HumanoidRenderState423 B

API Surface (1)

ItemStack getUseItemStackForArm(final HumanoidArm arm)

Code Graph: Dependencies (3)

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

Full Source

UndeadRenderState.java15 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.HumanoidArm;
6
import net.minecraft.world.item.ItemStack;
7
8
@Environment(EnvType.CLIENT)
9
public class UndeadRenderState extends HumanoidRenderState {
10
	@Override
11
	public ItemStack getUseItemStackForArm(final HumanoidArm arm) {
12
		return this.getMainHandItemStack();
13
	}
14
}
15

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