类 AnimalModel<E extends Entity>
- java.lang.Object
-
- net.minecraft.client.model.Model
-
- net.minecraft.client.render.entity.model.EntityModel<E>
-
- net.minecraft.client.render.entity.model.AnimalModel<E>
-
- 直接已知子类:
AxolotlEntityModel,BeeEntityModel,BipedEntityModel,ChickenEntityModel,ElytraEntityModel,FoxEntityModel,HoglinEntityModel,HorseEntityModel,OcelotEntityModel,QuadrupedEntityModel,TintableAnimalModel
@Environment(CLIENT) public abstract class AnimalModel<E extends Entity> extends EntityModel<E>
- Mappings:
Namespace Name official edrintermediary net/minecraft/class_4592named net/minecraft/client/render/entity/model/AnimalModel
-
-
字段概要
字段 修饰符和类型 字段 说明 private floatchildBodyYOffsetprivate floatchildHeadYOffsetprivate floatchildHeadZOffsetprivate booleanheadScaledprivate floatinvertedChildBodyScaleprivate floatinvertedChildHeadScale-
从类继承的字段 net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, riding
-
从类继承的字段 net.minecraft.client.model.Model
layerFactory
-
-
构造器概要
构造器 限定符 构造器 说明 protectedAnimalModel()protectedAnimalModel(boolean headScaled, float childHeadYOffset, float childHeadZOffset)protectedAnimalModel(boolean headScaled, float childHeadYOffset, float childHeadZOffset, float invertedChildHeadScale, float invertedChildBodyScale, float childBodyYOffset)protectedAnimalModel(Function<Identifier,RenderLayer> renderLayerFactory, boolean headScaled, float childHeadYOffset, float childHeadZOffset, float invertedChildHeadScale, float invertedChildBodyScale, float childBodyYOffset)
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 protected abstract Iterable<ModelPart>getBodyParts()protected abstract Iterable<ModelPart>getHeadParts()voidrender(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)-
从类继承的方法 net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo, setAngles
-
-
-
-
字段详细资料
-
headScaled
private final boolean headScaled
- Mappings:
Namespace Name Mixin selector official aLedr;a:Zintermediary field_20915Lnet/minecraft/class_4592;field_20915:Znamed headScaledLnet/minecraft/client/render/entity/model/AnimalModel;headScaled:Z
-
childHeadYOffset
private final float childHeadYOffset
- Mappings:
Namespace Name Mixin selector official bLedr;b:Fintermediary field_20916Lnet/minecraft/class_4592;field_20916:Fnamed childHeadYOffsetLnet/minecraft/client/render/entity/model/AnimalModel;childHeadYOffset:F
-
childHeadZOffset
private final float childHeadZOffset
- Mappings:
Namespace Name Mixin selector official fLedr;f:Fintermediary field_20917Lnet/minecraft/class_4592;field_20917:Fnamed childHeadZOffsetLnet/minecraft/client/render/entity/model/AnimalModel;childHeadZOffset:F
-
invertedChildHeadScale
private final float invertedChildHeadScale
- Mappings:
Namespace Name Mixin selector official gLedr;g:Fintermediary field_20918Lnet/minecraft/class_4592;field_20918:Fnamed invertedChildHeadScaleLnet/minecraft/client/render/entity/model/AnimalModel;invertedChildHeadScale:F
-
invertedChildBodyScale
private final float invertedChildBodyScale
- Mappings:
Namespace Name Mixin selector official hLedr;h:Fintermediary field_20919Lnet/minecraft/class_4592;field_20919:Fnamed invertedChildBodyScaleLnet/minecraft/client/render/entity/model/AnimalModel;invertedChildBodyScale:F
-
childBodyYOffset
private final float childBodyYOffset
- Mappings:
Namespace Name Mixin selector official iLedr;i:Fintermediary field_20920Lnet/minecraft/class_4592;field_20920:Fnamed childBodyYOffsetLnet/minecraft/client/render/entity/model/AnimalModel;childBodyYOffset:F
-
-
构造器详细资料
-
AnimalModel
protected AnimalModel(boolean headScaled, float childHeadYOffset, float childHeadZOffset)- Mappings:
Namespace Name Mixin selector official <init>Ledr;<init>(ZFF)Vintermediary <init>Lnet/minecraft/class_4592;<init>(ZFF)Vnamed <init>Lnet/minecraft/client/render/entity/model/AnimalModel;<init>(ZFF)V
-
AnimalModel
protected AnimalModel(boolean headScaled, float childHeadYOffset, float childHeadZOffset, float invertedChildHeadScale, float invertedChildBodyScale, float childBodyYOffset)- Mappings:
Namespace Name Mixin selector official <init>Ledr;<init>(ZFFFFF)Vintermediary <init>Lnet/minecraft/class_4592;<init>(ZFFFFF)Vnamed <init>Lnet/minecraft/client/render/entity/model/AnimalModel;<init>(ZFFFFF)V
-
AnimalModel
protected AnimalModel(Function<Identifier,RenderLayer> renderLayerFactory, boolean headScaled, float childHeadYOffset, float childHeadZOffset, float invertedChildHeadScale, float invertedChildBodyScale, float childBodyYOffset)
- Mappings:
Namespace Name Mixin selector official <init>Ledr;<init>(Ljava/util/function/Function;ZFFFFF)Vintermediary <init>Lnet/minecraft/class_4592;<init>(Ljava/util/function/Function;ZFFFFF)Vnamed <init>Lnet/minecraft/client/render/entity/model/AnimalModel;<init>(Ljava/util/function/Function;ZFFFFF)V
-
AnimalModel
protected AnimalModel()
-
-
方法详细资料
-
render
public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)
- 指定者:
render在类中Model- Mappings:
Namespace Name Mixin selector official aLefj;a(Ldpi;Ldpm;IIFFFF)Vintermediary method_2828Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)Vnamed renderLnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V
-
getHeadParts
protected abstract Iterable<ModelPart> getHeadParts()
- Mappings:
Namespace Name Mixin selector official aLedr;a()Ljava/lang/Iterable;intermediary method_22946Lnet/minecraft/class_4592;method_22946()Ljava/lang/Iterable;named getHeadPartsLnet/minecraft/client/render/entity/model/AnimalModel;getHeadParts()Ljava/lang/Iterable;
-
getBodyParts
protected abstract Iterable<ModelPart> getBodyParts()
- Mappings:
Namespace Name Mixin selector official bLedr;b()Ljava/lang/Iterable;intermediary method_22948Lnet/minecraft/class_4592;method_22948()Ljava/lang/Iterable;named getBodyPartsLnet/minecraft/client/render/entity/model/AnimalModel;getBodyParts()Ljava/lang/Iterable;
-
-