AbstractFelineModel.java

net.minecraft.client.model.animal.feline.AbstractFelineModel

信息

  • 全限定名:net.minecraft.client.model.animal.feline.AbstractFelineModel
  • 类型:public abstract class
  • 包:net.minecraft.client.model.animal.feline
  • 源码路径:src/main/java/net/minecraft/client/model/animal/feline/AbstractFelineModel.java
  • 起始行号:L10
  • 继承:EntityModel
  • 职责:

    TODO

字段/常量

  • TAIL_1

    • 类型: String
    • 修饰符: protected static final
    • 源码定位: L11
    • 说明:

      TODO

  • TAIL_2

    • 类型: String
    • 修饰符: protected static final
    • 源码定位: L12
    • 说明:

      TODO

  • leftHindLeg

    • 类型: ModelPart
    • 修饰符: protected final
    • 源码定位: L13
    • 说明:

      TODO

  • rightHindLeg

    • 类型: ModelPart
    • 修饰符: protected final
    • 源码定位: L14
    • 说明:

      TODO

  • leftFrontLeg

    • 类型: ModelPart
    • 修饰符: protected final
    • 源码定位: L15
    • 说明:

      TODO

  • rightFrontLeg

    • 类型: ModelPart
    • 修饰符: protected final
    • 源码定位: L16
    • 说明:

      TODO

  • tail1

    • 类型: ModelPart
    • 修饰符: protected final
    • 源码定位: L17
    • 说明:

      TODO

  • tail2

    • 类型: ModelPart
    • 修饰符: protected final
    • 源码定位: L18
    • 说明:

      TODO

  • head

    • 类型: ModelPart
    • 修饰符: protected final
    • 源码定位: L19
    • 说明:

      TODO

  • body

    • 类型: ModelPart
    • 修饰符: protected final
    • 源码定位: L20
    • 说明:

      TODO

内部类/嵌套类型

构造器

protected AbstractFelineModel(ModelPart root) @ L22

  • 构造器名:AbstractFelineModel
  • 源码定位:L22
  • 修饰符:protected

参数:

  • root: ModelPart

说明:

TODO

方法

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

代码

@OnlyIn(Dist.CLIENT)
public abstract class AbstractFelineModel<S extends FelineRenderState> extends EntityModel<S> {
    protected static final String TAIL_1 = "tail1";
    protected static final String TAIL_2 = "tail2";
    protected final ModelPart leftHindLeg;
    protected final ModelPart rightHindLeg;
    protected final ModelPart leftFrontLeg;
    protected final ModelPart rightFrontLeg;
    protected final ModelPart tail1;
    protected final ModelPart tail2;
    protected final ModelPart head;
    protected final ModelPart body;
 
    protected AbstractFelineModel(ModelPart root) {
        super(root);
        this.head = root.getChild("head");
        this.body = root.getChild("body");
        this.tail1 = root.getChild("tail1");
        this.tail2 = root.getChild("tail2");
        this.leftHindLeg = root.getChild("left_hind_leg");
        this.rightHindLeg = root.getChild("right_hind_leg");
        this.leftFrontLeg = root.getChild("left_front_leg");
        this.rightFrontLeg = root.getChild("right_front_leg");
    }
}

引用的其他类