ZombieModel .java

net.minecraft.client.model.monster.zombie.ZombieModel (class): members: setupAttackAnimation. imports: AnimationUtils, ZombieRenderState, HumanoidModel.

net.minecraft.client.model.monster.zombieclass21 linesclientextends ZombieRenderState>702 B

API Surface (1)

void setupAttackAnimation(final S state)

Code Graph: Dependencies (4)

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

Full Source

ZombieModel.java21 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.client.model.monster.zombie;
2
3
import net.fabricmc.api.EnvType;
4
import net.fabricmc.api.Environment;
5
import net.minecraft.client.model.AnimationUtils;
6
import net.minecraft.client.model.HumanoidModel;
7
import net.minecraft.client.model.geom.ModelPart;
8
import net.minecraft.client.renderer.entity.state.ZombieRenderState;
9
10
@Environment(EnvType.CLIENT)
11
public class ZombieModel<S extends ZombieRenderState> extends HumanoidModel<S> {
12
	public ZombieModel(final ModelPart root) {
13
		super(root);
14
	}
15
16
	protected void setupAttackAnimation(final S state) {
17
		super.setupAttackAnimation(state);
18
		AnimationUtils.animateZombieArms(this.leftArm, this.rightArm, state.isAggressive, state);
19
	}
20
}
21

Decompiled Minecraft 26.3 source of ZombieModel (net/minecraft/client/model/monster/zombie/ZombieModel.java) with Mojang official mappings, stored verbatim on the site.