AbstractZombieModel.java
net.minecraft.client.model.monster.zombie.AbstractZombieModel
信息
- 全限定名:net.minecraft.client.model.monster.zombie.AbstractZombieModel
- 类型:public abstract class
- 包:net.minecraft.client.model.monster.zombie
- 源码路径:src/main/java/net/minecraft/client/model/monster/zombie/AbstractZombieModel.java
- 起始行号:L11
- 继承:HumanoidModel
- 职责:
TODO
字段/常量
- 无
内部类/嵌套类型
- 无
构造器
protected AbstractZombieModel(ModelPart root) @ L12
- 构造器名:AbstractZombieModel
- 源码定位:L12
- 修饰符:protected
参数:
- root: ModelPart
说明:
TODO
方法
下面的方法块按源码顺序生成。
public void setupAnim(S state) @ L16
- 方法名:setupAnim
- 源码定位:L16
- 返回类型:void
- 修饰符:public
参数:
- state: S
说明:
TODO
代码
@OnlyIn(Dist.CLIENT)
public abstract class AbstractZombieModel<S extends ZombieRenderState> extends HumanoidModel<S> {
protected AbstractZombieModel(ModelPart root) {
super(root);
}
public void setupAnim(S state) {
super.setupAnim(state);
AnimationUtils.animateZombieArms(this.leftArm, this.rightArm, state.isAggressive, state);
}
}引用的其他类
-
- 引用位置:
方法调用 - 关联成员:
AnimationUtils.animateZombieArms()
- 引用位置:
-
- 引用位置:
继承
- 引用位置:
-
- 引用位置:
参数
- 引用位置: