CopperGolemStatueModel.java

net.minecraft.client.model.object.statue.CopperGolemStatueModel

信息

  • 全限定名:net.minecraft.client.model.object.statue.CopperGolemStatueModel
  • 类型:public class
  • 包:net.minecraft.client.model.object.statue
  • 源码路径:src/main/java/net/minecraft/client/model/object/statue/CopperGolemStatueModel.java
  • 起始行号:L11
  • 继承:Model
  • 职责:

    TODO

字段/常量

内部类/嵌套类型

构造器

public CopperGolemStatueModel(ModelPart root) @ L12

  • 构造器名:CopperGolemStatueModel
  • 源码定位:L12
  • 修饰符:public

参数:

  • root: ModelPart

说明:

TODO

方法

下面的方法块按源码顺序生成。

public void setupAnim(Unit ignored) @ L16

  • 方法名:setupAnim
  • 源码定位:L16
  • 返回类型:void
  • 修饰符:public

参数:

  • ignored: Unit

说明:

TODO

代码

@OnlyIn(Dist.CLIENT)
public class CopperGolemStatueModel extends Model<Unit> {
    public CopperGolemStatueModel(ModelPart root) {
        super(root, RenderTypes::entityCutout);
    }
 
    public void setupAnim(Unit ignored) {
        this.root.y = 0.0F;
        this.root.zRot = (float) Math.PI;
    }
}

引用的其他类