Package net.minecraft.client.model
Part 1/1
AbstractBoatModel
- Full name:
net.minecraft.client.model.AbstractBoatModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/AbstractBoatModel.java - Type:
class - Modifiers:
public abstract - Extends:
EntityModel<BoatRenderState>
net.minecraft.client.model.AbstractBoatModel#AbstractBoatModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AbstractBoatModel.java:14 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ AbstractBoatModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: leftPaddle, rightPaddle. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.AbstractBoatModel#setupAnim(BoatRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AbstractBoatModel.java:20 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ AbstractBoatModel
ทำงานยังไง
เรียกต่อ: animatePaddle().
Parameters
BoatRenderState boatRenderState
ตัวอย่างใช้งาน
AbstractBoatModel instance = ...;
BoatRenderState boatRenderState = ...;
instance.setupAnim(boatRenderState);
AbstractEquineModel
- Full name:
net.minecraft.client.model.AbstractEquineModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/AbstractEquineModel.java - Type:
class - Modifiers:
public abstract - Extends:
EntityModel<T>
net.minecraft.client.model.AbstractEquineModel#AbstractEquineModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AbstractEquineModel.java:42 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ AbstractEquineModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: body, headParts, rightHindLeg, leftHindLeg, rightFrontLeg, leftFrontLeg. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.AbstractEquineModel#createBabyMesh(CubeDeformation)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AbstractEquineModel.java:143 - Modifiers:
public static - Return:
MeshDefinition
คืออะไร
สร้าง Baby Mesh
ทำงานยังไง
เรียกต่อ: apply(), createFullScaleBabyMesh(). คืนค่า: BABY_TRANSFORMER.apply(createFullScaleBabyMesh(cubeDeformation)).
Parameters
CubeDeformation cubeDeformation
ตัวอย่างใช้งาน
CubeDeformation cubeDeformation = ...;
MeshDefinition result = AbstractEquineModel.createBabyMesh(cubeDeformation);
net.minecraft.client.model.AbstractEquineModel#createBodyMesh(CubeDeformation)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AbstractEquineModel.java:62 - Modifiers:
public static - Return:
MeshDefinition
คืออะไร
สร้าง Body Mesh
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(), mirror(). สร้างออบเจ็กต์: MeshDefinition, CubeDeformation. คืนค่า: meshDefinition.
Parameters
CubeDeformation cubeDeformation
ตัวอย่างใช้งาน
CubeDeformation cubeDeformation = ...;
MeshDefinition result = AbstractEquineModel.createBodyMesh(cubeDeformation);
net.minecraft.client.model.AbstractEquineModel#createFullScaleBabyMesh(CubeDeformation)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AbstractEquineModel.java:147 - Modifiers:
protected static - Return:
MeshDefinition
คืออะไร
สร้าง Full Scale Baby Mesh
ทำงานยังไง
เรียกต่อ: createBodyMesh(), getRoot(), extend(), addOrReplaceChild(), create(), texOffs(), mirror(), addBox(). คืนค่า: meshDefinition.
Parameters
CubeDeformation cubeDeformation
ตัวอย่างใช้งาน
CubeDeformation cubeDeformation = ...;
@Override
protected MeshDefinition createFullScaleBabyMesh(CubeDeformation cubeDeformation) {
return super.createFullScaleBabyMesh(cubeDeformation);
}
net.minecraft.client.model.AbstractEquineModel#setupAnim(T)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AbstractEquineModel.java:174 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ AbstractEquineModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการวนลูป. เรียกต่อ: clamp(), cos(), max(), sin(), lerp().
Parameters
T equineRenderState
ตัวอย่างใช้งาน
AbstractEquineModel instance = ...;
T equineRenderState = ...;
instance.setupAnim(equineRenderState);
AbstractPiglinModel
- Full name:
net.minecraft.client.model.AbstractPiglinModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/AbstractPiglinModel.java - Type:
class - Modifiers:
public - Extends:
HumanoidModel<S>
net.minecraft.client.model.AbstractPiglinModel#AbstractPiglinModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AbstractPiglinModel.java:29 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ AbstractPiglinModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.AbstractPiglinModel#addHead(CubeDeformation,MeshDefinition)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AbstractPiglinModel.java:44 - Modifiers:
public static - Return:
PartDefinition
คืออะไร
เพิ่ม Head
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offsetAndRotation(). คืนค่า: partDefinition2.
Parameters
CubeDeformation cubeDeformationMeshDefinition meshDefinition
ตัวอย่างใช้งาน
CubeDeformation cubeDeformation = ...;
MeshDefinition meshDefinition = ...;
PartDefinition result = AbstractPiglinModel.addHead(cubeDeformation, meshDefinition);
net.minecraft.client.model.AbstractPiglinModel#createMesh(CubeDeformation)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AbstractPiglinModel.java:33 - Modifiers:
public static - Return:
MeshDefinition
คืออะไร
สร้าง Mesh
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), addHead(), clearChild(). คืนค่า: meshDefinition.
Parameters
CubeDeformation cubeDeformation
ตัวอย่างใช้งาน
CubeDeformation cubeDeformation = ...;
MeshDefinition result = AbstractPiglinModel.createMesh(cubeDeformation);
net.minecraft.client.model.AbstractPiglinModel#setAllVisible(boolean)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AbstractPiglinModel.java:84 - Modifiers:
public - Return:
void
คืออะไร
กำหนดค่า All Visible
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 6 statement).
Parameters
boolean bl
ตัวอย่างใช้งาน
net.minecraft.client.model.AbstractPiglinModel#setupAnim(S)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AbstractPiglinModel.java:72 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ AbstractPiglinModel
ทำงานยังไง
เรียกต่อ: cos().
Parameters
S humanoidRenderState
ตัวอย่างใช้งาน
AbstractPiglinModel instance = ...;
S humanoidRenderState = ...;
instance.setupAnim(humanoidRenderState);
AbstractZombieModel
- Full name:
net.minecraft.client.model.AbstractZombieModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/AbstractZombieModel.java - Type:
class - Modifiers:
public abstract - Extends:
HumanoidModel<S>
net.minecraft.client.model.AbstractZombieModel#AbstractZombieModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AbstractZombieModel.java:10 - Modifiers:
protected - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ AbstractZombieModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.AbstractZombieModel#setupAnim(S)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AbstractZombieModel.java:14 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ AbstractZombieModel
ทำงานยังไง
เรียกต่อ: animateZombieArms().
Parameters
S zombieRenderState
ตัวอย่างใช้งาน
AbstractZombieModel instance = ...;
S zombieRenderState = ...;
instance.setupAnim(zombieRenderState);
AllayModel
- Full name:
net.minecraft.client.model.AllayModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/AllayModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<AllayRenderState> - Implements:
ArmedModel
net.minecraft.client.model.AllayModel#AllayModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AllayModel.java:31 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ AllayModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.AllayModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/AllayModel.java:35 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), offset(), texOffs(), addBox(). สร้างออบเจ็กต์: MeshDefinition, CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 32, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.AllayModel#setupAnim(AllayRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AllayModel.java:74 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ AllayModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: cos(), min(), lerp().
Parameters
AllayRenderState allayRenderState
ตัวอย่างใช้งาน
AllayModel instance = ...;
AllayRenderState allayRenderState = ...;
instance.setupAnim(allayRenderState);
net.minecraft.client.model.AllayModel#translateToHand(HumanoidArm,PoseStack)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AllayModel.java:116 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ translateToHand ตาม implementation ของ AllayModel
ทำงานยังไง
เรียกต่อ: translateAndRotate(), translate(), mulPose(), rotation(), scale().
Parameters
HumanoidArm humanoidArmPoseStack poseStack
ตัวอย่างใช้งาน
AllayModel instance = ...;
HumanoidArm humanoidArm = ...;
PoseStack poseStack = ...;
instance.translateToHand(humanoidArm, poseStack);
AnimationUtils
- Full name:
net.minecraft.client.model.AnimationUtils - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/AnimationUtils.java - Type:
class - Modifiers:
public
net.minecraft.client.model.AnimationUtils#animateCrossbowCharge(ModelPart,ModelPart,float,int,boolean)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AnimationUtils.java:20 - Modifiers:
public static - Return:
void
คืออะไร
ดำเนินการ animateCrossbowCharge ตาม implementation ของ AnimationUtils
ทำงานยังไง
เรียกต่อ: clamp(), lerp().
Parameters
ModelPart modelPartModelPart modelPart2float fint iboolean bl
ตัวอย่างใช้งาน
ModelPart modelPart = ...;
ModelPart modelPart2 = ...;
AnimationUtils.animateCrossbowCharge(modelPart, modelPart2, 0.0F, 0, true);
net.minecraft.client.model.AnimationUtils#animateCrossbowHold(ModelPart,ModelPart,ModelPart,boolean)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AnimationUtils.java:11 - Modifiers:
public static - Return:
void
คืออะไร
ดำเนินการ animateCrossbowHold ตาม implementation ของ AnimationUtils
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 6 statement).
Parameters
ModelPart modelPartModelPart modelPart2ModelPart modelPart3boolean bl
ตัวอย่างใช้งาน
ModelPart modelPart = ...;
ModelPart modelPart2 = ...;
ModelPart modelPart3 = ...;
AnimationUtils.animateCrossbowHold(modelPart, modelPart2, modelPart3, true);
net.minecraft.client.model.AnimationUtils#animateZombieArms(ModelPart,ModelPart,boolean,float,float)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AnimationUtils.java:64 - Modifiers:
public static - Return:
void
คืออะไร
ดำเนินการ animateZombieArms ตาม implementation ของ AnimationUtils
ทำงานยังไง
เรียกต่อ: sin(), bobArms().
Parameters
ModelPart modelPartModelPart modelPart2boolean blfloat ffloat g
ตัวอย่างใช้งาน
ModelPart modelPart = ...;
ModelPart modelPart2 = ...;
AnimationUtils.animateZombieArms(modelPart, modelPart2, true, 0.0F, 0.0F);
net.minecraft.client.model.AnimationUtils#bobArms(ModelPart,ModelPart,float)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AnimationUtils.java:59 - Modifiers:
public static - Return:
void
คืออะไร
ดำเนินการ bobArms ตาม implementation ของ AnimationUtils
ทำงานยังไง
เรียกต่อ: bobModelPart().
Parameters
ModelPart modelPartModelPart modelPart2float f
ตัวอย่างใช้งาน
ModelPart modelPart = ...;
ModelPart modelPart2 = ...;
AnimationUtils.bobArms(modelPart, modelPart2, 0.0F);
net.minecraft.client.model.AnimationUtils#bobModelPart(ModelPart,float,float)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AnimationUtils.java:54 - Modifiers:
public static - Return:
void
คืออะไร
ดำเนินการ bobModelPart ตาม implementation ของ AnimationUtils
ทำงานยังไง
เรียกต่อ: cos(), sin().
Parameters
ModelPart modelPartfloat ffloat g
ตัวอย่างใช้งาน
net.minecraft.client.model.AnimationUtils#swingWeaponDown(ModelPart,ModelPart,HumanoidArm,float,float)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AnimationUtils.java:32 - Modifiers:
public static - Return:
void
คืออะไร
ดำเนินการ swingWeaponDown ตาม implementation ของ AnimationUtils
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: sin(), cos(), bobArms().
Parameters
ModelPart modelPartModelPart modelPart2HumanoidArm humanoidArmfloat ffloat g
ตัวอย่างใช้งาน
ModelPart modelPart = ...;
ModelPart modelPart2 = ...;
HumanoidArm humanoidArm = ...;
AnimationUtils.swingWeaponDown(modelPart, modelPart2, humanoidArm, 0.0F, 0.0F);
ArmadilloModel
- Full name:
net.minecraft.client.model.ArmadilloModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/ArmadilloModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<ArmadilloRenderState>
net.minecraft.client.model.ArmadilloModel#ArmadilloModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ArmadilloModel.java:34 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ArmadilloModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: body, rightHindLeg, leftHindLeg, head, tail, cube. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.ArmadilloModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/ArmadilloModel.java:44 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition, CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.ArmadilloModel#setupAnim(ArmadilloRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ArmadilloModel.java:107 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ ArmadilloModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: clamp(), animateWalk(), animate().
Parameters
ArmadilloRenderState armadilloRenderState
ตัวอย่างใช้งาน
ArmadilloModel instance = ...;
ArmadilloRenderState armadilloRenderState = ...;
instance.setupAnim(armadilloRenderState);
ArmedModel
- Full name:
net.minecraft.client.model.ArmedModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/ArmedModel.java - Type:
interface - Modifiers:
public
net.minecraft.client.model.ArmedModel#translateToHand(HumanoidArm,PoseStack)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ArmedModel.java:10 - Modifiers: ``
- Return:
void
คืออะไร
ดำเนินการ translateToHand ตาม implementation ของ ArmedModel
ทำงานยังไง
ไม่มี body ใน source declaration นี้
Parameters
HumanoidArm humanoidArmPoseStack poseStack
ตัวอย่างใช้งาน
ArmedModel instance = ...;
HumanoidArm humanoidArm = ...;
PoseStack poseStack = ...;
instance.translateToHand(humanoidArm, poseStack);
ArmorStandArmorModel
- Full name:
net.minecraft.client.model.ArmorStandArmorModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/ArmorStandArmorModel.java - Type:
class - Modifiers:
public - Extends:
HumanoidModel<ArmorStandRenderState>
net.minecraft.client.model.ArmorStandArmorModel#ArmorStandArmorModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ArmorStandArmorModel.java:16 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ArmorStandArmorModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.ArmorStandArmorModel#createBodyLayer(CubeDeformation)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ArmorStandArmorModel.java:20 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: createMesh(), getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), extend(). คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
CubeDeformation cubeDeformation
ตัวอย่างใช้งาน
CubeDeformation cubeDeformation = ...;
LayerDefinition result = ArmorStandArmorModel.createBodyLayer(cubeDeformation);
net.minecraft.client.model.ArmorStandArmorModel#setupAnim(ArmorStandRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ArmorStandArmorModel.java:42 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ ArmorStandArmorModel
ทำงานยังไง
เรียกต่อ: getX(), getY(), getZ().
Parameters
ArmorStandRenderState armorStandRenderState
ตัวอย่างใช้งาน
ArmorStandArmorModel instance = ...;
ArmorStandRenderState armorStandRenderState = ...;
instance.setupAnim(armorStandRenderState);
ArmorStandModel
- Full name:
net.minecraft.client.model.ArmorStandModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/ArmorStandModel.java - Type:
class - Modifiers:
public - Extends:
ArmorStandArmorModel
net.minecraft.client.model.ArmorStandModel#ArmorStandModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ArmorStandModel.java:27 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ArmorStandModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: rightBodyStick, leftBodyStick, shoulderStick, basePlate. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.ArmorStandModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/ArmorStandModel.java:36 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: createMesh(), getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), mirror(). คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.ArmorStandModel#setupAnim(ArmorStandRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ArmorStandModel.java:64 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ ArmorStandModel
ทำงานยังไง
เรียกต่อ: getX(), getY(), getZ().
Parameters
ArmorStandRenderState armorStandRenderState
ตัวอย่างใช้งาน
ArmorStandModel instance = ...;
ArmorStandRenderState armorStandRenderState = ...;
instance.setupAnim(armorStandRenderState);
net.minecraft.client.model.ArmorStandModel#translateToHand(HumanoidArm,PoseStack)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ArmorStandModel.java:82 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ translateToHand ตาม implementation ของ ArmorStandModel
ทำงานยังไง
เรียกต่อ: getArm().
Parameters
HumanoidArm humanoidArmPoseStack poseStack
ตัวอย่างใช้งาน
ArmorStandModel instance = ...;
HumanoidArm humanoidArm = ...;
PoseStack poseStack = ...;
instance.translateToHand(humanoidArm, poseStack);
ArrowModel
- Full name:
net.minecraft.client.model.ArrowModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/ArrowModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<ArrowRenderState>
net.minecraft.client.model.ArrowModel#ArrowModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ArrowModel.java:18 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ArrowModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.ArrowModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/ArrowModel.java:22 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offsetAndRotation(), withScale(), rotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition.transformed(partPose -> partPose.scaled(0.9F)), 32, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.ArrowModel#setupAnim(ArrowRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ArrowModel.java:36 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ ArrowModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: sin().
Parameters
ArrowRenderState arrowRenderState
ตัวอย่างใช้งาน
ArrowModel instance = ...;
ArrowRenderState arrowRenderState = ...;
instance.setupAnim(arrowRenderState);
AxolotlModel
- Full name:
net.minecraft.client.model.AxolotlModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/AxolotlModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<AxolotlRenderState>
net.minecraft.client.model.AxolotlModel#AxolotlModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AxolotlModel.java:31 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ AxolotlModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: body, head, rightHindLeg, leftHindLeg, rightFrontLeg, leftFrontLeg. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.AxolotlModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/AxolotlModel.java:45 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(). สร้างออบเจ็กต์: MeshDefinition, CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.AxolotlModel#setupAnim(AxolotlRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/AxolotlModel.java:75 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ AxolotlModel
ทำงานยังไง
เรียกต่อ: min(), setupSwimmingAnimation(), setupWaterHoveringAnimation(), setupGroundCrawlingAnimation(), setupLayStillOnGroundAnimation(), setupPlayDeadAnimation(), applyMirrorLegRotations().
Parameters
AxolotlRenderState axolotlRenderState
ตัวอย่างใช้งาน
AxolotlModel instance = ...;
AxolotlRenderState axolotlRenderState = ...;
instance.setupAnim(axolotlRenderState);
BabyModelTransform
- Full name:
net.minecraft.client.model.BabyModelTransform - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/BabyModelTransform.java - Type:
record - Modifiers:
public - Implements:
MeshTransformer
net.minecraft.client.model.BabyModelTransform#apply(MeshDefinition)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BabyModelTransform.java:25 - Modifiers:
public - Return:
MeshDefinition
คืออะไร
นำไปใช้ apply
ทำงานยังไง
มีการวนลูป. เรียกต่อ: translated(), scaled(), getRoot(), getChildren(), getKey(), getValue(), addOrReplaceChild(), transformed(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: meshDefinition2.
Parameters
MeshDefinition meshDefinition
ตัวอย่างใช้งาน
BabyModelTransform instance = ...;
MeshDefinition meshDefinition = ...;
MeshDefinition result = instance.apply(meshDefinition);
net.minecraft.client.model.BabyModelTransform#BabyModelTransform(boolean,float,float,Set<String>)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BabyModelTransform.java:21 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ BabyModelTransform ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
boolean blfloat ffloat gSet<String> set
ตัวอย่างใช้งาน
net.minecraft.client.model.BabyModelTransform#BabyModelTransform(Set<String>)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BabyModelTransform.java:17 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ BabyModelTransform ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
Set<String> set
ตัวอย่างใช้งาน
BannerFlagModel
- Full name:
net.minecraft.client.model.BannerFlagModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/BannerFlagModel.java - Type:
class - Modifiers:
public - Extends:
Model
net.minecraft.client.model.BannerFlagModel#BannerFlagModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BannerFlagModel.java:18 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ BannerFlagModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: flag. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.BannerFlagModel#createFlagLayer(boolean)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BannerFlagModel.java:23 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Flag Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
boolean bl
ตัวอย่างใช้งาน
net.minecraft.client.model.BannerFlagModel#setupAnim(float)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BannerFlagModel.java:34 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ BannerFlagModel
ทำงานยังไง
เรียกต่อ: cos().
Parameters
float f
ตัวอย่างใช้งาน
BannerModel
- Full name:
net.minecraft.client.model.BannerModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/BannerModel.java - Type:
class - Modifiers:
public - Extends:
Model
net.minecraft.client.model.BannerModel#BannerModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BannerModel.java:21 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ BannerModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.BannerModel#createBodyLayer(boolean)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BannerModel.java:25 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
boolean bl
ตัวอย่างใช้งาน
BatModel
- Full name:
net.minecraft.client.model.BatModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/BatModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<BatRenderState>
net.minecraft.client.model.BatModel#BatModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BatModel.java:25 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ BatModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: body, head, rightWing, rightWingTip, leftWing, leftWingTip. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.BatModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/BatModel.java:36 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 32, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.BatModel#setupAnim(BatRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BatModel.java:69 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ BatModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: applyHeadRotation(), animate().
Parameters
BatRenderState batRenderState
ตัวอย่างใช้งาน
BeeModel
- Full name:
net.minecraft.client.model.BeeModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/BeeModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<BeeRenderState>
net.minecraft.client.model.BeeModel#BeeModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BeeModel.java:37 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ BeeModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: bone, stinger, leftAntenna, rightAntenna, rightWing, leftWing. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.BeeModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/BeeModel.java:51 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), offset(), texOffs(), addBox(), offsetAndRotation(), mirror(). สร้างออบเจ็กต์: MeshDefinition, CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.BeeModel#setupAnim(BeeRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BeeModel.java:88 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ BeeModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. แก้ state: rollAmount. เรียกต่อ: cos(), rotLerpRad().
Parameters
BeeRenderState beeRenderState
ตัวอย่างใช้งาน
BeeStingerModel
- Full name:
net.minecraft.client.model.BeeStingerModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/BeeStingerModel.java - Type:
class - Modifiers:
public - Extends:
Model
net.minecraft.client.model.BeeStingerModel#BeeStingerModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BeeStingerModel.java:15 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ BeeStingerModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.BeeStingerModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/BeeStingerModel.java:19 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), create(), texOffs(), addBox(), addOrReplaceChild(), rotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 16, 16).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
BellModel
- Full name:
net.minecraft.client.model.BellModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/BellModel.java - Type:
class - Modifiers:
public - Extends:
Model
net.minecraft.client.model.BellModel#BellModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BellModel.java:21 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ BellModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: bellBody. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.BellModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/BellModel.java:26 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 32, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.BellModel#setupAnim(BellBlockEntity,float)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BellModel.java:38 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ BellModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: sin().
Parameters
BellBlockEntity bellBlockEntityfloat f
ตัวอย่างใช้งาน
BellModel instance = ...;
BellBlockEntity bellBlockEntity = ...;
instance.setupAnim(bellBlockEntity, 0.0F);
BlazeModel
- Full name:
net.minecraft.client.model.BlazeModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/BlazeModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<LivingEntityRenderState>
net.minecraft.client.model.BlazeModel#BlazeModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BlazeModel.java:20 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ BlazeModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: head, upperBodyParts. เรียกต่อ: getChild(), setAll(), getPartName().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.BlazeModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/BlazeModel.java:31 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
มีการวนลูป. เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), cos(), sin(), getPartName(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.BlazeModel#setupAnim(LivingEntityRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BlazeModel.java:69 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ BlazeModel
ทำงานยังไง
มีการวนลูป. เรียกต่อ: cos(), sin().
Parameters
LivingEntityRenderState livingEntityRenderState
ตัวอย่างใช้งาน
BlazeModel instance = ...;
LivingEntityRenderState livingEntityRenderState = ...;
instance.setupAnim(livingEntityRenderState);
BoatModel
- Full name:
net.minecraft.client.model.BoatModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/BoatModel.java - Type:
class - Modifiers:
public - Extends:
AbstractBoatModel
net.minecraft.client.model.BoatModel#BoatModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BoatModel.java:25 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ BoatModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.BoatModel#createBoatModel()
- Origin:
clientOnly - Source:
net/minecraft/client/model/BoatModel.java:72 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Boat Model
ทำงานยังไง
เรียกต่อ: getRoot(), addCommonParts(), create(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 128, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.BoatModel#createChestBoatModel()
- Origin:
clientOnly - Source:
net/minecraft/client/model/BoatModel.java:79 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Chest Boat Model
ทำงานยังไง
เรียกต่อ: getRoot(), addCommonParts(), addOrReplaceChild(), create(), texOffs(), addBox(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 128, 128).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.BoatModel#createWaterPatch()
- Origin:
clientOnly - Source:
net/minecraft/client/model/BoatModel.java:101 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Water Patch
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 0, 0).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
BoggedModel
- Full name:
net.minecraft.client.model.BoggedModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/BoggedModel.java - Type:
class - Modifiers:
public - Extends:
SkeletonModel<BoggedRenderState>
net.minecraft.client.model.BoggedModel#BoggedModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BoggedModel.java:18 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ BoggedModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: mushrooms. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.BoggedModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/BoggedModel.java:23 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: createMesh(), getRoot(), createDefaultSkeletonMesh(), getChild(), clearChild(), addOrReplaceChild(), create(), texOffs(). คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.BoggedModel#setupAnim(BoggedRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BoggedModel.java:61 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ BoggedModel
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 2 statement).
Parameters
BoggedRenderState boggedRenderState
ตัวอย่างใช้งาน
BoggedModel instance = ...;
BoggedRenderState boggedRenderState = ...;
instance.setupAnim(boggedRenderState);
BookModel
- Full name:
net.minecraft.client.model.BookModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/BookModel.java - Type:
class - Modifiers:
public - Extends:
Model
net.minecraft.client.model.BookModel#BookModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BookModel.java:27 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ BookModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: leftLid, rightLid, leftPages, rightPages, flipPage1, flipPage2. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.BookModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/BookModel.java:37 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), rotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.BookModel#setupAnim(float,float,float,float)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BookModel.java:57 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ BookModel
ทำงานยังไง
เรียกต่อ: sin().
Parameters
float ffloat gfloat hfloat i
ตัวอย่างใช้งาน
BreezeModel
- Full name:
net.minecraft.client.model.BreezeModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/BreezeModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<BreezeRenderState>
net.minecraft.client.model.BreezeModel#BreezeModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BreezeModel.java:29 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ BreezeModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: wind, windBottom, windMid, windTop, head, eyes. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.BreezeModel#createBodyLayer(int,int)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BreezeModel.java:40 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), offset(), texOffs(), addBox(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition, CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, i, j).
Parameters
int iint j
ตัวอย่างใช้งาน
net.minecraft.client.model.BreezeModel#eyes()
- Origin:
clientOnly - Source:
net/minecraft/client/model/BreezeModel.java:123 - Modifiers:
public - Return:
ModelPart
คืออะไร
ดำเนินการ eyes ตาม implementation ของ BreezeModel
ทำงานยังไง
คืนค่า: this.eyes.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.BreezeModel#head()
- Origin:
clientOnly - Source:
net/minecraft/client/model/BreezeModel.java:119 - Modifiers:
public - Return:
ModelPart
คืออะไร
ดำเนินการ head ตาม implementation ของ BreezeModel
ทำงานยังไง
คืนค่า: this.head.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.BreezeModel#rods()
- Origin:
clientOnly - Source:
net/minecraft/client/model/BreezeModel.java:127 - Modifiers:
public - Return:
ModelPart
คืออะไร
ดำเนินการ rods ตาม implementation ของ BreezeModel
ทำงานยังไง
คืนค่า: this.rods.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.BreezeModel#setupAnim(BreezeRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/BreezeModel.java:109 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ BreezeModel
ทำงานยังไง
เรียกต่อ: animate().
Parameters
BreezeRenderState breezeRenderState
ตัวอย่างใช้งาน
BreezeModel instance = ...;
BreezeRenderState breezeRenderState = ...;
instance.setupAnim(breezeRenderState);
net.minecraft.client.model.BreezeModel#wind()
- Origin:
clientOnly - Source:
net/minecraft/client/model/BreezeModel.java:131 - Modifiers:
public - Return:
ModelPart
คืออะไร
ดำเนินการ wind ตาม implementation ของ BreezeModel
ทำงานยังไง
คืนค่า: this.wind.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
CamelModel
- Full name:
net.minecraft.client.model.CamelModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/CamelModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<CamelRenderState>
net.minecraft.client.model.CamelModel#CamelModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/CamelModel.java:29 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ CamelModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: head, saddleParts, ridingParts. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.CamelModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/CamelModel.java:37 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), mirror(). สร้างออบเจ็กต์: MeshDefinition, CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 128, 128).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.CamelModel#setupAnim(CamelRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/CamelModel.java:120 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ CamelModel
ทำงานยังไง
เรียกต่อ: applyHeadRotation(), toggleInvisibleParts(), animateWalk(), animate().
Parameters
CamelRenderState camelRenderState
ตัวอย่างใช้งาน
CamelModel instance = ...;
CamelRenderState camelRenderState = ...;
instance.setupAnim(camelRenderState);
CatModel
- Full name:
net.minecraft.client.model.CatModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/CatModel.java - Type:
class - Modifiers:
public - Extends:
FelineModel<CatRenderState>
net.minecraft.client.model.CatModel#CatModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/CatModel.java:13 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ CatModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
ChestModel
- Full name:
net.minecraft.client.model.ChestModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/ChestModel.java - Type:
class - Modifiers:
public - Extends:
Model
net.minecraft.client.model.ChestModel#ChestModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ChestModel.java:21 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ChestModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: lid, lock. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.ChestModel#createDoubleBodyLeftLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/ChestModel.java:53 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Double Body Left Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.ChestModel#createDoubleBodyRightLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/ChestModel.java:40 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Double Body Right Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.ChestModel#createSingleBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/ChestModel.java:27 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Single Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.ChestModel#setupAnim(float)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ChestModel.java:66 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ ChestModel
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 2 statement).
Parameters
float f
ตัวอย่างใช้งาน
ChickenModel
- Full name:
net.minecraft.client.model.ChickenModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/ChickenModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<ChickenRenderState>
net.minecraft.client.model.ChickenModel#ChickenModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ChickenModel.java:26 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ChickenModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: head, rightLeg, leftLeg, rightWing, leftWing. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.ChickenModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/ChickenModel.java:35 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.ChickenModel#setupAnim(ChickenRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ChickenModel.java:61 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ ChickenModel
ทำงานยังไง
เรียกต่อ: sin(), cos().
Parameters
ChickenRenderState chickenRenderState
ตัวอย่างใช้งาน
ChickenModel instance = ...;
ChickenRenderState chickenRenderState = ...;
instance.setupAnim(chickenRenderState);
CodModel
- Full name:
net.minecraft.client.model.CodModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/CodModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<LivingEntityRenderState>
net.minecraft.client.model.CodModel#CodModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/CodModel.java:18 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ CodModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: tailFin. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.CodModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/CodModel.java:23 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 32, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.CodModel#setupAnim(LivingEntityRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/CodModel.java:55 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ CodModel
ทำงานยังไง
เรียกต่อ: sin().
Parameters
LivingEntityRenderState livingEntityRenderState
ตัวอย่างใช้งาน
CodModel instance = ...;
LivingEntityRenderState livingEntityRenderState = ...;
instance.setupAnim(livingEntityRenderState);
CowModel
- Full name:
net.minecraft.client.model.CowModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/CowModel.java - Type:
class - Modifiers:
public - Extends:
QuadrupedModel<LivingEntityRenderState>
net.minecraft.client.model.CowModel#CowModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/CowModel.java:19 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ CowModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.CowModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/CowModel.java:23 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.CowModel#getHead()
- Origin:
clientOnly - Source:
net/minecraft/client/model/CowModel.java:51 - Modifiers:
public - Return:
ModelPart
คืออะไร
อ่านค่า Head
ทำงานยังไง
คืนค่า: this.head.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
CreakingModel
- Full name:
net.minecraft.client.model.CreakingModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/CreakingModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<CreakingRenderState>
net.minecraft.client.model.CreakingModel#CreakingModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/CreakingModel.java:21 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ CreakingModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: head, headParts. เรียกต่อ: getChild(), of().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.CreakingModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/CreakingModel.java:87 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: createMesh(), create(). คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.CreakingModel#getHeadModelParts(CreakingRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/CreakingModel.java:105 - Modifiers:
public - Return:
List<ModelPart>
คืออะไร
อ่านค่า Head Model Parts
ทำงานยังไง
คืนค่า: !creakingRenderState.eyesGlowing ? NO_PARTS : this.headParts.
Parameters
CreakingRenderState creakingRenderState
ตัวอย่างใช้งาน
CreakingModel instance = ...;
CreakingRenderState creakingRenderState = ...;
List<ModelPart> result = instance.getHeadModelParts(creakingRenderState);
net.minecraft.client.model.CreakingModel#setupAnim(CreakingRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/CreakingModel.java:92 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ CreakingModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: animateWalk(), animate().
Parameters
CreakingRenderState creakingRenderState
ตัวอย่างใช้งาน
CreakingModel instance = ...;
CreakingRenderState creakingRenderState = ...;
instance.setupAnim(creakingRenderState);
CreeperModel
- Full name:
net.minecraft.client.model.CreeperModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/CreeperModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<CreeperRenderState>
net.minecraft.client.model.CreeperModel#createBodyLayer(CubeDeformation)
- Origin:
clientOnly - Source:
net/minecraft/client/model/CreeperModel.java:33 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
CubeDeformation cubeDeformation
ตัวอย่างใช้งาน
CubeDeformation cubeDeformation = ...;
LayerDefinition result = CreeperModel.createBodyLayer(cubeDeformation);
net.minecraft.client.model.CreeperModel#CreeperModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/CreeperModel.java:24 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ CreeperModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: head, leftHindLeg, rightHindLeg, leftFrontLeg, rightFrontLeg. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.CreeperModel#setupAnim(CreeperRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/CreeperModel.java:50 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ CreeperModel
ทำงานยังไง
เรียกต่อ: cos().
Parameters
CreeperRenderState creeperRenderState
ตัวอย่างใช้งาน
CreeperModel instance = ...;
CreeperRenderState creeperRenderState = ...;
instance.setupAnim(creeperRenderState);
DolphinModel
- Full name:
net.minecraft.client.model.DolphinModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/DolphinModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<DolphinRenderState>
net.minecraft.client.model.DolphinModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/DolphinModel.java:29 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), rotation(), mirror(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.DolphinModel#DolphinModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/DolphinModel.java:22 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ DolphinModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: body, tail, tailFin. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.DolphinModel#setupAnim(DolphinRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/DolphinModel.java:65 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ DolphinModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: cos().
Parameters
DolphinRenderState dolphinRenderState
ตัวอย่างใช้งาน
DolphinModel instance = ...;
DolphinRenderState dolphinRenderState = ...;
instance.setupAnim(dolphinRenderState);
DonkeyModel
- Full name:
net.minecraft.client.model.DonkeyModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/DonkeyModel.java - Type:
class - Modifiers:
public - Extends:
AbstractEquineModel<DonkeyRenderState>
net.minecraft.client.model.DonkeyModel#createBabyLayer(float)
- Origin:
clientOnly - Source:
net/minecraft/client/model/DonkeyModel.java:32 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Baby Layer
ทำงานยังไง
เรียกต่อ: createFullScaleBabyMesh(), modifyMesh(), getRoot(), create(), apply(), scaling(). คืนค่า: LayerDefinition.create(AbstractEquineModel.BABY_TRANSFORMER.apply(meshDefinition), 64, 64).apply(MeshTransformer.scaling(f)).
Parameters
float f
ตัวอย่างใช้งาน
net.minecraft.client.model.DonkeyModel#createBodyLayer(float)
- Origin:
clientOnly - Source:
net/minecraft/client/model/DonkeyModel.java:26 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: createBodyMesh(), modifyMesh(), getRoot(), create(), apply(), scaling(). คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).apply(MeshTransformer.scaling(f)).
Parameters
float f
ตัวอย่างใช้งาน
net.minecraft.client.model.DonkeyModel#DonkeyModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/DonkeyModel.java:22 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ DonkeyModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.DonkeyModel#setupAnim(DonkeyRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/DonkeyModel.java:53 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ DonkeyModel
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 3 statement).
Parameters
DonkeyRenderState donkeyRenderState
ตัวอย่างใช้งาน
DonkeyModel instance = ...;
DonkeyRenderState donkeyRenderState = ...;
instance.setupAnim(donkeyRenderState);
DrownedModel
- Full name:
net.minecraft.client.model.DrownedModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/DrownedModel.java - Type:
class - Modifiers:
public - Extends:
ZombieModel<ZombieRenderState>
net.minecraft.client.model.DrownedModel#createBodyLayer(CubeDeformation)
- Origin:
clientOnly - Source:
net/minecraft/client/model/DrownedModel.java:21 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: createMesh(), getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(). คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
CubeDeformation cubeDeformation
ตัวอย่างใช้งาน
CubeDeformation cubeDeformation = ...;
LayerDefinition result = DrownedModel.createBodyLayer(cubeDeformation);
net.minecraft.client.model.DrownedModel#DrownedModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/DrownedModel.java:17 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ DrownedModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.DrownedModel#setupAnim(ZombieRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/DrownedModel.java:33 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ DrownedModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: rotLerpRad(), sin().
Parameters
ZombieRenderState zombieRenderState
ตัวอย่างใช้งาน
DrownedModel instance = ...;
ZombieRenderState zombieRenderState = ...;
instance.setupAnim(zombieRenderState);
ElytraModel
- Full name:
net.minecraft.client.model.ElytraModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/ElytraModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<HumanoidRenderState>
net.minecraft.client.model.ElytraModel#createLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/ElytraModel.java:27 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offsetAndRotation(), mirror(). สร้างออบเจ็กต์: MeshDefinition, CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.ElytraModel#ElytraModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ElytraModel.java:21 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ElytraModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: leftWing, rightWing. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.ElytraModel#setupAnim(HumanoidRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ElytraModel.java:44 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ ElytraModel
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 9 statement).
Parameters
HumanoidRenderState humanoidRenderState
ตัวอย่างใช้งาน
ElytraModel instance = ...;
HumanoidRenderState humanoidRenderState = ...;
instance.setupAnim(humanoidRenderState);
EndCrystalModel
- Full name:
net.minecraft.client.model.EndCrystalModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/EndCrystalModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<EndCrystalRenderState>
net.minecraft.client.model.EndCrystalModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/EndCrystalModel.java:35 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), create(), texOffs(), addBox(), addOrReplaceChild(), offset(), withScale(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.EndCrystalModel#EndCrystalModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/EndCrystalModel.java:27 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ EndCrystalModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: base, outerGlass, innerGlass, cube. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.EndCrystalModel#setupAnim(EndCrystalRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/EndCrystalModel.java:49 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ EndCrystalModel
ทำงานยังไง
เรียกต่อ: getY(), rotateBy(), rotationDegrees(), rotateAxis(), setAngleAxis(), rotateY(). สร้างออบเจ็กต์: Quaternionf.
Parameters
EndCrystalRenderState endCrystalRenderState
ตัวอย่างใช้งาน
EndCrystalModel instance = ...;
EndCrystalRenderState endCrystalRenderState = ...;
instance.setupAnim(endCrystalRenderState);
EndermanModel
- Full name:
net.minecraft.client.model.EndermanModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/EndermanModel.java - Type:
class - Modifiers:
public - Extends:
HumanoidModel<T>
net.minecraft.client.model.EndermanModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/EndermanModel.java:21 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: createMesh(), getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), mirror(). สร้างออบเจ็กต์: CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.EndermanModel#EndermanModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/EndermanModel.java:17 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ EndermanModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.EndermanModel#setupAnim(T)
- Origin:
clientOnly - Source:
net/minecraft/client/model/EndermanModel.java:49 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ EndermanModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: clamp().
Parameters
T endermanRenderState
ตัวอย่างใช้งาน
EndermiteModel
- Full name:
net.minecraft.client.model.EndermiteModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/EndermiteModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<EntityRenderState>
net.minecraft.client.model.EndermiteModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/EndermiteModel.java:33 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการวนลูป. เรียกต่อ: getRoot(), addOrReplaceChild(), createSegmentName(), create(), texOffs(), addBox(), offset(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.EndermiteModel#EndermiteModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/EndermiteModel.java:21 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ EndermiteModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
มีการวนลูป. เรียกต่อ: getChild(), createSegmentName().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.EndermiteModel#setupAnim(EntityRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/EndermiteModel.java:54 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ EndermiteModel
ทำงานยังไง
มีการวนลูป. เรียกต่อ: cos(), abs(), sin().
Parameters
EntityRenderState entityRenderState
ตัวอย่างใช้งาน
EndermiteModel instance = ...;
EntityRenderState entityRenderState = ...;
instance.setupAnim(entityRenderState);
EntityModel
- Full name:
net.minecraft.client.model.EntityModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/EntityModel.java - Type:
class - Modifiers:
public abstract - Extends:
Model
net.minecraft.client.model.EntityModel#EntityModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/EntityModel.java:15 - Modifiers:
protected - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ EntityModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.EntityModel#EntityModel(ModelPart,Function<ResourceLocation, RenderType>)
- Origin:
clientOnly - Source:
net/minecraft/client/model/EntityModel.java:19 - Modifiers:
protected - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ EntityModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPartFunction<ResourceLocation, RenderType> function
ตัวอย่างใช้งาน
ModelPart modelPart = ...;
Function<ResourceLocation, RenderType> function = ...;
EntityModel instance = new EntityModel(modelPart, function);
net.minecraft.client.model.EntityModel#setupAnim(T)
- Origin:
clientOnly - Source:
net/minecraft/client/model/EntityModel.java:23 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ EntityModel
ทำงานยังไง
เรียกต่อ: resetPose().
Parameters
T entityRenderState
ตัวอย่างใช้งาน
EvokerFangsModel
- Full name:
net.minecraft.client.model.EvokerFangsModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/EvokerFangsModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<EvokerFangsRenderState>
net.minecraft.client.model.EvokerFangsModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/EvokerFangsModel.java:30 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.EvokerFangsModel#EvokerFangsModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/EvokerFangsModel.java:23 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ EvokerFangsModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: base, upperJaw, lowerJaw. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.EvokerFangsModel#setupAnim(EvokerFangsRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/EvokerFangsModel.java:42 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ EvokerFangsModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: min(), sin().
Parameters
EvokerFangsRenderState evokerFangsRenderState
ตัวอย่างใช้งาน
EvokerFangsModel instance = ...;
EvokerFangsRenderState evokerFangsRenderState = ...;
instance.setupAnim(evokerFangsRenderState);
FelineModel
- Full name:
net.minecraft.client.model.FelineModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/FelineModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<T>
net.minecraft.client.model.FelineModel#createBodyMesh(CubeDeformation)
- Origin:
clientOnly - Source:
net/minecraft/client/model/FelineModel.java:49 - Modifiers:
public static - Return:
MeshDefinition
คืออะไร
สร้าง Body Mesh
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), addBox(), offset(), texOffs(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition, CubeDeformation. คืนค่า: meshDefinition.
Parameters
CubeDeformation cubeDeformation
ตัวอย่างใช้งาน
CubeDeformation cubeDeformation = ...;
MeshDefinition result = FelineModel.createBodyMesh(cubeDeformation);
net.minecraft.client.model.FelineModel#FelineModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/FelineModel.java:37 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ FelineModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: head, body, tail1, tail2, leftHindLeg, rightHindLeg. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.FelineModel#setupAnim(T)
- Origin:
clientOnly - Source:
net/minecraft/client/model/FelineModel.java:84 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ FelineModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: cos(), rotLerp().
Parameters
T felineRenderState
ตัวอย่างใช้งาน
FoxModel
- Full name:
net.minecraft.client.model.FoxModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/FoxModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<FoxRenderState>
net.minecraft.client.model.FoxModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/FoxModel.java:43 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition, CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 48, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.FoxModel#FoxModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/FoxModel.java:32 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ FoxModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: head, body, rightHindLeg, leftHindLeg, rightFrontLeg, leftFrontLeg. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.FoxModel#setupAnim(FoxRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/FoxModel.java:72 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ FoxModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. แก้ state: legMotionPos. เรียกต่อ: cos().
Parameters
FoxRenderState foxRenderState
ตัวอย่างใช้งาน
FrogModel
- Full name:
net.minecraft.client.model.FrogModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/FrogModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<FrogRenderState>
net.minecraft.client.model.FrogModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/FrogModel.java:34 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), offset(), texOffs(), addBox(). สร้างออบเจ็กต์: MeshDefinition, CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 48, 48).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.FrogModel#FrogModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/FrogModel.java:30 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ FrogModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.FrogModel#setupAnim(FrogRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/FrogModel.java:90 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ FrogModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: animate(), animateWalk(), isStarted().
Parameters
FrogRenderState frogRenderState
ตัวอย่างใช้งาน
FrogModel instance = ...;
FrogRenderState frogRenderState = ...;
instance.setupAnim(frogRenderState);
GhastModel
- Full name:
net.minecraft.client.model.GhastModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/GhastModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<GhastRenderState>
net.minecraft.client.model.GhastModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/GhastModel.java:32 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
มีการวนลูป. เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), nextInt(), createTentacleName(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).apply(MeshTransformer.scaling(4.5F)).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.GhastModel#GhastModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/GhastModel.java:20 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ GhastModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
มีการวนลูป. เรียกต่อ: getChild(), createTentacleName().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.GhastModel#setupAnim(GhastRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/GhastModel.java:52 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ GhastModel
ทำงานยังไง
มีการวนลูป. เรียกต่อ: sin().
Parameters
GhastRenderState ghastRenderState
ตัวอย่างใช้งาน
GhastModel instance = ...;
GhastRenderState ghastRenderState = ...;
instance.setupAnim(ghastRenderState);
GiantZombieModel
- Full name:
net.minecraft.client.model.GiantZombieModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/GiantZombieModel.java - Type:
class - Modifiers:
public - Extends:
AbstractZombieModel<ZombieRenderState>
net.minecraft.client.model.GiantZombieModel#GiantZombieModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/GiantZombieModel.java:10 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ GiantZombieModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
GoatModel
- Full name:
net.minecraft.client.model.GoatModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/GoatModel.java - Type:
class - Modifiers:
public - Extends:
QuadrupedModel<GoatRenderState>
net.minecraft.client.model.GoatModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/GoatModel.java:23 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), mirror(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.GoatModel#GoatModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/GoatModel.java:19 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ GoatModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.GoatModel#setupAnim(GoatRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/GoatModel.java:69 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ GoatModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: getChild().
Parameters
GoatRenderState goatRenderState
ตัวอย่างใช้งาน
GoatModel instance = ...;
GoatRenderState goatRenderState = ...;
instance.setupAnim(goatRenderState);
GuardianModel
- Full name:
net.minecraft.client.model.GuardianModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/GuardianModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<GuardianRenderState>
net.minecraft.client.model.GuardianModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/GuardianModel.java:53 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
มีการวนลูป. เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), getSpikeX(), getSpikeY(), getSpikeZ(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.GuardianModel#createElderGuardianLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/GuardianModel.java:100 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Elder Guardian Layer
ทำงานยังไง
เรียกต่อ: createBodyLayer(), apply(). คืนค่า: createBodyLayer().apply(ELDER_GUARDIAN_SCALE).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.GuardianModel#GuardianModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/GuardianModel.java:34 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ GuardianModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
มีการวนลูป. แก้ state: head, eye, tailParts. เรียกต่อ: getChild(), createSpikeName().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.GuardianModel#setupAnim(GuardianRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/GuardianModel.java:104 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ GuardianModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: setupSpikes(), normalize(), yRot(), dot(), sqrt(), abs(), signum(), sin(). สร้างออบเจ็กต์: Vec3.
Parameters
GuardianRenderState guardianRenderState
ตัวอย่างใช้งาน
GuardianModel instance = ...;
GuardianRenderState guardianRenderState = ...;
instance.setupAnim(guardianRenderState);
HeadedModel
- Full name:
net.minecraft.client.model.HeadedModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/HeadedModel.java - Type:
interface - Modifiers:
public
net.minecraft.client.model.HeadedModel#getHead()
- Origin:
clientOnly - Source:
net/minecraft/client/model/HeadedModel.java:9 - Modifiers: ``
- Return:
ModelPart
คืออะไร
อ่านค่า Head
ทำงานยังไง
ไม่มี body ใน source declaration นี้
Parameters
- ไม่มี
ตัวอย่างใช้งาน
HoglinModel
- Full name:
net.minecraft.client.model.HoglinModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/HoglinModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<HoglinRenderState>
net.minecraft.client.model.HoglinModel#createBabyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/HoglinModel.java:99 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Baby Layer
ทำงานยังไง
เรียกต่อ: createMesh(), getRoot(), getChild(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(). สร้างออบเจ็กต์: CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 128, 64).apply(BABY_TRANSFORMER).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.HoglinModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/HoglinModel.java:94 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: createMesh(), create(). คืนค่า: LayerDefinition.create(meshDefinition, 128, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.HoglinModel#HoglinModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/HoglinModel.java:32 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ HoglinModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: body, mane, head, rightEar, leftEar, rightFrontLeg. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.HoglinModel#setupAnim(HoglinRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/HoglinModel.java:110 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ HoglinModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: sin(), abs(), lerp(), cos().
Parameters
HoglinRenderState hoglinRenderState
ตัวอย่างใช้งาน
HoglinModel instance = ...;
HoglinRenderState hoglinRenderState = ...;
instance.setupAnim(hoglinRenderState);
HorseModel
- Full name:
net.minecraft.client.model.HorseModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/HorseModel.java - Type:
class - Modifiers:
public - Extends:
AbstractEquineModel<EquineRenderState>
net.minecraft.client.model.HorseModel#HorseModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/HorseModel.java:10 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ HorseModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
HumanoidArmorModel
- Full name:
net.minecraft.client.model.HumanoidArmorModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/HumanoidArmorModel.java - Type:
class - Modifiers:
public - Extends:
HumanoidModel<S>
net.minecraft.client.model.HumanoidArmorModel#createBodyLayer(CubeDeformation)
- Origin:
clientOnly - Source:
net/minecraft/client/model/HumanoidArmorModel.java:19 - Modifiers:
public static - Return:
MeshDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: createMesh(), getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), extend(), offset(). คืนค่า: meshDefinition.
Parameters
CubeDeformation cubeDeformation
ตัวอย่างใช้งาน
CubeDeformation cubeDeformation = ...;
MeshDefinition result = HumanoidArmorModel.createBodyLayer(cubeDeformation);
net.minecraft.client.model.HumanoidArmorModel#HumanoidArmorModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/HumanoidArmorModel.java:15 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ HumanoidArmorModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
HumanoidModel
- Full name:
net.minecraft.client.model.HumanoidModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/HumanoidModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<T> - Implements:
ArmedModel,HeadedModel
net.minecraft.client.model.HumanoidModel#copyPropertiesTo(HumanoidModel<T>)
- Origin:
clientOnly - Source:
net/minecraft/client/model/HumanoidModel.java:331 - Modifiers:
public - Return:
void
คืออะไร
คัดลอก Properties To
ทำงานยังไง
เรียกต่อ: copyFrom().
Parameters
HumanoidModel<T> humanoidModel
ตัวอย่างใช้งาน
HumanoidModel instance = ...;
HumanoidModel<T> humanoidModel = ...;
instance.copyPropertiesTo(humanoidModel);
net.minecraft.client.model.HumanoidModel#createMesh(CubeDeformation,float)
- Origin:
clientOnly - Source:
net/minecraft/client/model/HumanoidModel.java:60 - Modifiers:
public static - Return:
MeshDefinition
คืออะไร
สร้าง Mesh
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), extend(), mirror(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: meshDefinition.
Parameters
CubeDeformation cubeDeformationfloat f
ตัวอย่างใช้งาน
CubeDeformation cubeDeformation = ...;
MeshDefinition result = HumanoidModel.createMesh(cubeDeformation, 0.0F);
net.minecraft.client.model.HumanoidModel#getArm(HumanoidArm)
- Origin:
clientOnly - Source:
net/minecraft/client/model/HumanoidModel.java:356 - Modifiers:
protected - Return:
ModelPart
คืออะไร
อ่านค่า Arm
ทำงานยังไง
คืนค่า: humanoidArm == HumanoidArm.LEFT ? this.leftArm : this.rightArm.
Parameters
HumanoidArm humanoidArm
ตัวอย่างใช้งาน
HumanoidArm humanoidArm = ...;
@Override
protected ModelPart getArm(HumanoidArm humanoidArm) {
return super.getArm(humanoidArm);
}
net.minecraft.client.model.HumanoidModel#getHead()
- Origin:
clientOnly - Source:
net/minecraft/client/model/HumanoidModel.java:360 - Modifiers:
public - Return:
ModelPart
คืออะไร
อ่านค่า Head
ทำงานยังไง
คืนค่า: this.head.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.HumanoidModel#HumanoidModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/HumanoidModel.java:45 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ HumanoidModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.HumanoidModel#HumanoidModel(ModelPart,Function<ResourceLocation, RenderType>)
- Origin:
clientOnly - Source:
net/minecraft/client/model/HumanoidModel.java:49 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ HumanoidModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: head, hat, body, rightArm, leftArm, rightLeg. เรียกต่อ: getChild().
Parameters
ModelPart modelPartFunction<ResourceLocation, RenderType> function
ตัวอย่างใช้งาน
ModelPart modelPart = ...;
Function<ResourceLocation, RenderType> function = ...;
HumanoidModel instance = new HumanoidModel(modelPart, function);
net.minecraft.client.model.HumanoidModel#setAllVisible(boolean)
- Origin:
clientOnly - Source:
net/minecraft/client/model/HumanoidModel.java:340 - Modifiers:
public - Return:
void
คืออะไร
กำหนดค่า All Visible
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 7 statement).
Parameters
boolean bl
ตัวอย่างใช้งาน
net.minecraft.client.model.HumanoidModel#setupAnim(T)
- Origin:
clientOnly - Source:
net/minecraft/client/model/HumanoidModel.java:93 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ HumanoidModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: rotLerpRad(), cos(), poseRightArm(), poseLeftArm(), isTwoHanded(), setupAttackAnimation(), bobModelPart(), lerp().
Parameters
T humanoidRenderState
ตัวอย่างใช้งาน
net.minecraft.client.model.HumanoidModel#setupAttackAnimation(T,float)
- Origin:
clientOnly - Source:
net/minecraft/client/model/HumanoidModel.java:296 - Modifiers:
protected - Return:
void
คืออะไร
ดำเนินการ setupAttackAnimation ตาม implementation ของ HumanoidModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: getArm(), sin(), sqrt(), cos().
Parameters
T humanoidRenderStatefloat f
ตัวอย่างใช้งาน
T humanoidRenderState = ...;
@Override
protected void setupAttackAnimation(T humanoidRenderState, float f) {
super.setupAttackAnimation(humanoidRenderState, f);
}
net.minecraft.client.model.HumanoidModel#translateToHand(HumanoidArm,PoseStack)
- Origin:
clientOnly - Source:
net/minecraft/client/model/HumanoidModel.java:350 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ translateToHand ตาม implementation ของ HumanoidModel
ทำงานยังไง
เรียกต่อ: translateAndRotate(), getArm().
Parameters
HumanoidArm humanoidArmPoseStack poseStack
ตัวอย่างใช้งาน
HumanoidModel instance = ...;
HumanoidArm humanoidArm = ...;
PoseStack poseStack = ...;
instance.translateToHand(humanoidArm, poseStack);
HumanoidModel$ArmPose
- Full name:
net.minecraft.client.model.HumanoidModel$ArmPose - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/HumanoidModel.java - Type:
enum - Modifiers:
public
net.minecraft.client.model.HumanoidModel$ArmPose#isTwoHanded()
- Origin:
clientOnly - Source:
net/minecraft/client/model/HumanoidModel.java:384 - Modifiers:
public - Return:
boolean
คืออะไร
ตรวจสอบสถานะ Two Handed
ทำงานยังไง
คืนค่า: this.twoHanded.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
IllagerModel
- Full name:
net.minecraft.client.model.IllagerModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/IllagerModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<S> - Implements:
ArmedModel,HeadedModel
net.minecraft.client.model.IllagerModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/IllagerModel.java:40 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(), mirror(). สร้างออบเจ็กต์: MeshDefinition, CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.IllagerModel#getHat()
- Origin:
clientOnly - Source:
net/minecraft/client/model/IllagerModel.java:169 - Modifiers:
public - Return:
ModelPart
คืออะไร
อ่านค่า Hat
ทำงานยังไง
คืนค่า: this.hat.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.IllagerModel#getHead()
- Origin:
clientOnly - Source:
net/minecraft/client/model/IllagerModel.java:173 - Modifiers:
public - Return:
ModelPart
คืออะไร
อ่านค่า Head
ทำงานยังไง
คืนค่า: this.head.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.IllagerModel#IllagerModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/IllagerModel.java:28 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ IllagerModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: head, hat, arms, leftLeg, rightLeg, leftArm. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.IllagerModel#setupAnim(S)
- Origin:
clientOnly - Source:
net/minecraft/client/model/IllagerModel.java:84 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ IllagerModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: cos(), getMainHandItem(), isEmpty(), animateZombieArms(), swingWeaponDown(), animateCrossbowHold(), animateCrossbowCharge().
Parameters
S illagerRenderState
ตัวอย่างใช้งาน
net.minecraft.client.model.IllagerModel#translateToHand(HumanoidArm,PoseStack)
- Origin:
clientOnly - Source:
net/minecraft/client/model/IllagerModel.java:178 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ translateToHand ตาม implementation ของ IllagerModel
ทำงานยังไง
เรียกต่อ: translateAndRotate(), getArm().
Parameters
HumanoidArm humanoidArmPoseStack poseStack
ตัวอย่างใช้งาน
IllagerModel instance = ...;
HumanoidArm humanoidArm = ...;
PoseStack poseStack = ...;
instance.translateToHand(humanoidArm, poseStack);
IronGolemModel
- Full name:
net.minecraft.client.model.IronGolemModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/IronGolemModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<IronGolemRenderState>
net.minecraft.client.model.IronGolemModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/IronGolemModel.java:32 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), mirror(). สร้างออบเจ็กต์: MeshDefinition, CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 128, 128).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.IronGolemModel#getFlowerHoldingArm()
- Origin:
clientOnly - Source:
net/minecraft/client/model/IronGolemModel.java:91 - Modifiers:
public - Return:
ModelPart
คืออะไร
อ่านค่า Flower Holding Arm
ทำงานยังไง
คืนค่า: this.rightArm.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.IronGolemModel#IronGolemModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/IronGolemModel.java:23 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ IronGolemModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: head, rightArm, leftArm, rightLeg, leftLeg. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.IronGolemModel#setupAnim(IronGolemRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/IronGolemModel.java:64 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ IronGolemModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: triangleWave().
Parameters
IronGolemRenderState ironGolemRenderState
ตัวอย่างใช้งาน
IronGolemModel instance = ...;
IronGolemRenderState ironGolemRenderState = ...;
instance.setupAnim(ironGolemRenderState);
LavaSlimeModel
- Full name:
net.minecraft.client.model.LavaSlimeModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/LavaSlimeModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<SlimeRenderState>
net.minecraft.client.model.LavaSlimeModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/LavaSlimeModel.java:28 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการวนลูป. เรียกต่อ: getRoot(), addOrReplaceChild(), getSegmentName(), create(), texOffs(), addBox(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.LavaSlimeModel#LavaSlimeModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/LavaSlimeModel.java:19 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ LavaSlimeModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
เรียกต่อ: setAll(), getChild(), getSegmentName().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.LavaSlimeModel#setupAnim(SlimeRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/LavaSlimeModel.java:49 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ LavaSlimeModel
ทำงานยังไง
มีการวนลูป. เรียกต่อ: max().
Parameters
SlimeRenderState slimeRenderState
ตัวอย่างใช้งาน
LavaSlimeModel instance = ...;
SlimeRenderState slimeRenderState = ...;
instance.setupAnim(slimeRenderState);
LeashKnotModel
- Full name:
net.minecraft.client.model.LeashKnotModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/LeashKnotModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<EntityRenderState>
net.minecraft.client.model.LeashKnotModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/LeashKnotModel.java:23 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 32, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.LeashKnotModel#LeashKnotModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/LeashKnotModel.java:18 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ LeashKnotModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: knot. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
LlamaModel
- Full name:
net.minecraft.client.model.LlamaModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/LlamaModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<LlamaRenderState>
net.minecraft.client.model.LlamaModel#createBodyLayer(CubeDeformation)
- Origin:
clientOnly - Source:
net/minecraft/client/model/LlamaModel.java:40 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 128, 64).
Parameters
CubeDeformation cubeDeformation
ตัวอย่างใช้งาน
CubeDeformation cubeDeformation = ...;
LayerDefinition result = LlamaModel.createBodyLayer(cubeDeformation);
net.minecraft.client.model.LlamaModel#LlamaModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/LlamaModel.java:29 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ LlamaModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: head, rightChest, leftChest, rightHindLeg, leftHindLeg, rightFrontLeg. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.LlamaModel#setupAnim(LlamaRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/LlamaModel.java:105 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ LlamaModel
ทำงานยังไง
เรียกต่อ: cos().
Parameters
LlamaRenderState llamaRenderState
ตัวอย่างใช้งาน
LlamaModel instance = ...;
LlamaRenderState llamaRenderState = ...;
instance.setupAnim(llamaRenderState);
LlamaSpitModel
- Full name:
net.minecraft.client.model.LlamaSpitModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/LlamaSpitModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<EntityRenderState>
net.minecraft.client.model.LlamaSpitModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/LlamaSpitModel.java:21 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.LlamaSpitModel#LlamaSpitModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/LlamaSpitModel.java:17 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ LlamaSpitModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
MinecartModel
- Full name:
net.minecraft.client.model.MinecartModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/MinecartModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<MinecartRenderState>
net.minecraft.client.model.MinecartModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/MinecartModel.java:19 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offsetAndRotation(), offset(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.MinecartModel#MinecartModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/MinecartModel.java:15 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ MinecartModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
Model
- Full name:
net.minecraft.client.model.Model - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/Model.java - Type:
class - Modifiers:
public abstract
net.minecraft.client.model.Model#allParts()
- Origin:
clientOnly - Source:
net/minecraft/client/model/Model.java:53 - Modifiers:
public final - Return:
List<ModelPart>
คืออะไร
ดำเนินการ allParts ตาม implementation ของ Model
ทำงานยังไง
คืนค่า: this.allParts.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.Model#animate(AnimationState,AnimationDefinition,float)
- Origin:
clientOnly - Source:
net/minecraft/client/model/Model.java:63 - Modifiers:
protected - Return:
void
คืออะไร
ดำเนินการ animate ตาม implementation ของ Model
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
AnimationState animationStateAnimationDefinition animationDefinitionfloat f
ตัวอย่างใช้งาน
AnimationState animationState = ...;
AnimationDefinition animationDefinition = ...;
@Override
protected void animate(AnimationState animationState, AnimationDefinition animationDefinition, float f) {
super.animate(animationState, animationDefinition, f);
}
net.minecraft.client.model.Model#animate(AnimationState,AnimationDefinition,float,float)
- Origin:
clientOnly - Source:
net/minecraft/client/model/Model.java:73 - Modifiers:
protected - Return:
void
คืออะไร
ดำเนินการ animate ตาม implementation ของ Model
ทำงานยังไง
เรียกต่อ: ifStarted(), getTimeInMillis().
Parameters
AnimationState animationStateAnimationDefinition animationDefinitionfloat ffloat g
ตัวอย่างใช้งาน
AnimationState animationState = ...;
AnimationDefinition animationDefinition = ...;
@Override
protected void animate(AnimationState animationState, AnimationDefinition animationDefinition, float f, float g) {
super.animate(animationState, animationDefinition, f, g);
}
net.minecraft.client.model.Model#animateWalk(AnimationDefinition,float,float,float,float)
- Origin:
clientOnly - Source:
net/minecraft/client/model/Model.java:67 - Modifiers:
protected - Return:
void
คืออะไร
ดำเนินการ animateWalk ตาม implementation ของ Model
ทำงานยังไง
เรียกต่อ: min(), animate().
Parameters
AnimationDefinition animationDefinitionfloat ffloat gfloat hfloat i
ตัวอย่างใช้งาน
AnimationDefinition animationDefinition = ...;
@Override
protected void animateWalk(AnimationDefinition animationDefinition, float f, float g, float h, float i) {
super.animateWalk(animationDefinition, f, g, h, i);
}
net.minecraft.client.model.Model#applyStatic(AnimationDefinition)
- Origin:
clientOnly - Source:
net/minecraft/client/model/Model.java:79 - Modifiers:
protected - Return:
void
คืออะไร
นำไปใช้ Static
ทำงานยังไง
เรียกต่อ: animate().
Parameters
AnimationDefinition animationDefinition
ตัวอย่างใช้งาน
AnimationDefinition animationDefinition = ...;
@Override
protected void applyStatic(AnimationDefinition animationDefinition) {
super.applyStatic(animationDefinition);
}
net.minecraft.client.model.Model#getAnyDescendantWithName(String)
- Origin:
clientOnly - Source:
net/minecraft/client/model/Model.java:47 - Modifiers:
public - Return:
Optional<ModelPart>
คืออะไร
อ่านค่า Any Descendant With Name
ทำงานยังไง
เรียกต่อ: equals(), of(), root(), getAllParts(), filter(), hasChild(), findFirst(), map().
Parameters
String string
ตัวอย่างใช้งาน
net.minecraft.client.model.Model#Model(ModelPart,Function<ResourceLocation, RenderType>)
- Origin:
clientOnly - Source:
net/minecraft/client/model/Model.java:25 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ Model ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: root, renderType, allParts. เรียกต่อ: getAllParts(), toList().
Parameters
ModelPart modelPartFunction<ResourceLocation, RenderType> function
ตัวอย่างใช้งาน
ModelPart modelPart = ...;
Function<ResourceLocation, RenderType> function = ...;
Model instance = new Model(modelPart, function);
net.minecraft.client.model.Model#renderToBuffer(PoseStack,VertexConsumer,int,int)
- Origin:
clientOnly - Source:
net/minecraft/client/model/Model.java:39 - Modifiers:
public final - Return:
void
คืออะไร
เรนเดอร์ To Buffer
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
PoseStack poseStackVertexConsumer vertexConsumerint iint j
ตัวอย่างใช้งาน
Model instance = ...;
PoseStack poseStack = ...;
VertexConsumer vertexConsumer = ...;
instance.renderToBuffer(poseStack, vertexConsumer, 0, 0);
net.minecraft.client.model.Model#renderToBuffer(PoseStack,VertexConsumer,int,int,int)
- Origin:
clientOnly - Source:
net/minecraft/client/model/Model.java:35 - Modifiers:
public final - Return:
void
คืออะไร
เรนเดอร์ To Buffer
ทำงานยังไง
เรียกต่อ: root(), render().
Parameters
PoseStack poseStackVertexConsumer vertexConsumerint iint jint k
ตัวอย่างใช้งาน
Model instance = ...;
PoseStack poseStack = ...;
VertexConsumer vertexConsumer = ...;
instance.renderToBuffer(poseStack, vertexConsumer, 0, 0, 0);
net.minecraft.client.model.Model#renderType(ResourceLocation)
- Origin:
clientOnly - Source:
net/minecraft/client/model/Model.java:31 - Modifiers:
public final - Return:
RenderType
คืออะไร
เรนเดอร์ Type
ทำงานยังไง
เรียกต่อ: apply(). คืนค่า: this.renderType.apply(resourceLocation).
Parameters
ResourceLocation resourceLocation
ตัวอย่างใช้งาน
Model instance = ...;
ResourceLocation resourceLocation = ...;
RenderType result = instance.renderType(resourceLocation);
net.minecraft.client.model.Model#resetPose()
- Origin:
clientOnly - Source:
net/minecraft/client/model/Model.java:57 - Modifiers:
public final - Return:
void
คืออะไร
รีเซ็ต Pose
ทำงานยังไง
มีการวนลูป.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.Model#root()
- Origin:
clientOnly - Source:
net/minecraft/client/model/Model.java:43 - Modifiers:
public final - Return:
ModelPart
คืออะไร
ดำเนินการ root ตาม implementation ของ Model
ทำงานยังไง
คืนค่า: this.root.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
Model$Simple
- Full name:
net.minecraft.client.model.Model$Simple - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/Model.java - Type:
class - Modifiers:
public static - Extends:
Model
net.minecraft.client.model.Model$Simple#Simple(ModelPart,Function<ResourceLocation, RenderType>)
- Origin:
clientOnly - Source:
net/minecraft/client/model/Model.java:85 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ Model.Simple ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPartFunction<ResourceLocation, RenderType> function
ตัวอย่างใช้งาน
ModelPart modelPart = ...;
Function<ResourceLocation, RenderType> function = ...;
Model.Simple instance = new Model.Simple(modelPart, function);
OcelotModel
- Full name:
net.minecraft.client.model.OcelotModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/OcelotModel.java - Type:
class - Modifiers:
public - Extends:
FelineModel<FelineRenderState>
net.minecraft.client.model.OcelotModel#OcelotModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/OcelotModel.java:10 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ OcelotModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
PandaModel
- Full name:
net.minecraft.client.model.PandaModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/PandaModel.java - Type:
class - Modifiers:
public - Extends:
QuadrupedModel<PandaRenderState>
net.minecraft.client.model.PandaModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/PandaModel.java:24 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.PandaModel#PandaModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PandaModel.java:20 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ PandaModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.PandaModel#setupAnim(PandaRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PandaModel.java:55 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ PandaModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: sin(), rotLerpRad().
Parameters
PandaRenderState pandaRenderState
ตัวอย่างใช้งาน
PandaModel instance = ...;
PandaRenderState pandaRenderState = ...;
instance.setupAnim(pandaRenderState);
ParrotModel
- Full name:
net.minecraft.client.model.ParrotModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/ParrotModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<ParrotRenderState>
net.minecraft.client.model.ParrotModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/ParrotModel.java:37 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offsetAndRotation(), offset(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 32, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.ParrotModel#getPose(Parrot)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ParrotModel.java:160 - Modifiers:
public static - Return:
ParrotModel.Pose
คืออะไร
อ่านค่า Pose
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: isPartyParrot(), isInSittingPose(), isFlying(). มีจุด return อย่างน้อย 3 จุด.
Parameters
Parrot parrot
ตัวอย่างใช้งาน
net.minecraft.client.model.ParrotModel#ParrotModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ParrotModel.java:26 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ParrotModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: body, tail, leftWing, rightWing, head, leftLeg. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.ParrotModel#setupAnim(ParrotRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ParrotModel.java:83 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ ParrotModel
ทำงานยังไง
แยกกรณีด้วย switch. เรียกต่อ: prepare(), cos(), sin().
Parameters
ParrotRenderState parrotRenderState
ตัวอย่างใช้งาน
ParrotModel instance = ...;
ParrotRenderState parrotRenderState = ...;
instance.setupAnim(parrotRenderState);
PhantomModel
- Full name:
net.minecraft.client.model.PhantomModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/PhantomModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<PhantomRenderState>
net.minecraft.client.model.PhantomModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/PhantomModel.java:36 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), rotation(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.PhantomModel#PhantomModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PhantomModel.java:25 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ PhantomModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: tailBase, tailTip, leftWingBase, leftWingTip, rightWingBase, rightWingTip. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.PhantomModel#setupAnim(PhantomRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PhantomModel.java:76 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ PhantomModel
ทำงานยังไง
เรียกต่อ: cos().
Parameters
PhantomRenderState phantomRenderState
ตัวอย่างใช้งาน
PhantomModel instance = ...;
PhantomRenderState phantomRenderState = ...;
instance.setupAnim(phantomRenderState);
PiglinHeadModel
- Full name:
net.minecraft.client.model.PiglinHeadModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/PiglinHeadModel.java - Type:
class - Modifiers:
public - Extends:
SkullModelBase
net.minecraft.client.model.PiglinHeadModel#createHeadModel()
- Origin:
clientOnly - Source:
net/minecraft/client/model/PiglinHeadModel.java:22 - Modifiers:
public static - Return:
MeshDefinition
คืออะไร
สร้าง Head Model
ทำงานยังไง
เรียกต่อ: addHead(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: meshDefinition.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.PiglinHeadModel#PiglinHeadModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PiglinHeadModel.java:15 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ PiglinHeadModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: head, leftEar, rightEar. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.PiglinHeadModel#setupAnim(float,float,float)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PiglinHeadModel.java:28 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ PiglinHeadModel
ทำงานยังไง
เรียกต่อ: cos().
Parameters
float ffloat gfloat h
ตัวอย่างใช้งาน
PiglinModel
- Full name:
net.minecraft.client.model.PiglinModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/PiglinModel.java - Type:
class - Modifiers:
public - Extends:
AbstractPiglinModel<PiglinRenderState>
net.minecraft.client.model.PiglinModel#PiglinModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PiglinModel.java:13 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ PiglinModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.PiglinModel#setAllVisible(boolean)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PiglinModel.java:71 - Modifiers:
public - Return:
void
คืออะไร
กำหนดค่า All Visible
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 6 statement).
Parameters
boolean bl
ตัวอย่างใช้งาน
net.minecraft.client.model.PiglinModel#setupAnim(PiglinRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PiglinModel.java:17 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ PiglinModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: sin(), cos(), holdWeaponHigh(), animateCrossbowHold(), animateCrossbowCharge().
Parameters
PiglinRenderState piglinRenderState
ตัวอย่างใช้งาน
PiglinModel instance = ...;
PiglinRenderState piglinRenderState = ...;
instance.setupAnim(piglinRenderState);
net.minecraft.client.model.PiglinModel#setupAttackAnimation(PiglinRenderState,float)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PiglinModel.java:54 - Modifiers:
protected - Return:
void
คืออะไร
ดำเนินการ setupAttackAnimation ตาม implementation ของ PiglinModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: swingWeaponDown().
Parameters
PiglinRenderState piglinRenderStatefloat f
ตัวอย่างใช้งาน
PiglinRenderState piglinRenderState = ...;
@Override
protected void setupAttackAnimation(PiglinRenderState piglinRenderState, float f) {
super.setupAttackAnimation(piglinRenderState, f);
}
PigModel
- Full name:
net.minecraft.client.model.PigModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/PigModel.java - Type:
class - Modifiers:
public - Extends:
QuadrupedModel<LivingEntityRenderState>
net.minecraft.client.model.PigModel#createBodyLayer(CubeDeformation)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PigModel.java:24 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: createBodyMesh(), getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(). คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
CubeDeformation cubeDeformation
ตัวอย่างใช้งาน
CubeDeformation cubeDeformation = ...;
LayerDefinition result = PigModel.createBodyLayer(cubeDeformation);
net.minecraft.client.model.PigModel#PigModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PigModel.java:20 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ PigModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
PlayerCapeModel
- Full name:
net.minecraft.client.model.PlayerCapeModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/PlayerCapeModel.java - Type:
class - Modifiers:
public - Extends:
HumanoidModel<T>
net.minecraft.client.model.PlayerCapeModel#createCapeLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/PlayerCapeModel.java:24 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Cape Layer
ทำงานยังไง
เรียกต่อ: createMesh(), getRoot(), clearChild(), addOrReplaceChild(), create(), texOffs(), addBox(), offsetAndRotation(). คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.PlayerCapeModel#PlayerCapeModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PlayerCapeModel.java:20 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ PlayerCapeModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.PlayerCapeModel#setupAnim(T)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PlayerCapeModel.java:42 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ PlayerCapeModel
ทำงานยังไง
เรียกต่อ: rotateBy(), rotateY(), rotateX(), rotateZ(). สร้างออบเจ็กต์: Quaternionf.
Parameters
T playerRenderState
ตัวอย่างใช้งาน
PlayerEarsModel
- Full name:
net.minecraft.client.model.PlayerEarsModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/PlayerEarsModel.java - Type:
class - Modifiers:
public - Extends:
HumanoidModel<PlayerRenderState>
net.minecraft.client.model.PlayerEarsModel#createEarsLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/PlayerEarsModel.java:20 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Ears Layer
ทำงานยังไง
เรียกต่อ: createMesh(), getRoot(), clearChild(), create(), texOffs(), addBox(), addOrReplaceChild(), offset(). สร้างออบเจ็กต์: CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.PlayerEarsModel#PlayerEarsModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PlayerEarsModel.java:16 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ PlayerEarsModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
PlayerModel
- Full name:
net.minecraft.client.model.PlayerModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/PlayerModel.java - Type:
class - Modifiers:
public - Extends:
HumanoidModel<PlayerRenderState>
net.minecraft.client.model.PlayerModel#createMesh(CubeDeformation,boolean)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PlayerModel.java:44 - Modifiers:
public static - Return:
MeshDefinition
คืออะไร
สร้าง Mesh
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), extend(), getChild(). คืนค่า: meshDefinition.
Parameters
CubeDeformation cubeDeformationboolean bl
ตัวอย่างใช้งาน
CubeDeformation cubeDeformation = ...;
MeshDefinition result = PlayerModel.createMesh(cubeDeformation, true);
net.minecraft.client.model.PlayerModel#getRandomBodyPart(RandomSource)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PlayerModel.java:131 - Modifiers:
public - Return:
ModelPart
คืออะไร
อ่านค่า Random Body Part
ทำงานยังไง
เรียกต่อ: getRandom(). คืนค่า: (ModelPart)Util.getRandom(this.bodyParts, randomSource).
Parameters
RandomSource randomSource
ตัวอย่างใช้งาน
PlayerModel instance = ...;
RandomSource randomSource = ...;
ModelPart result = instance.getRandomBodyPart(randomSource);
net.minecraft.client.model.PlayerModel#PlayerModel(ModelPart,boolean)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PlayerModel.java:33 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ PlayerModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: slim, leftSleeve, rightSleeve, leftPants, rightPants, jacket. เรียกต่อ: getChild(), of().
Parameters
ModelPart modelPartboolean bl
ตัวอย่างใช้งาน
net.minecraft.client.model.PlayerModel#setAllVisible(boolean)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PlayerModel.java:107 - Modifiers:
public - Return:
void
คืออะไร
กำหนดค่า All Visible
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 6 statement).
Parameters
boolean bl
ตัวอย่างใช้งาน
net.minecraft.client.model.PlayerModel#setupAnim(PlayerRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PlayerModel.java:91 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ PlayerModel
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 13 statement).
Parameters
PlayerRenderState playerRenderState
ตัวอย่างใช้งาน
PlayerModel instance = ...;
PlayerRenderState playerRenderState = ...;
instance.setupAnim(playerRenderState);
net.minecraft.client.model.PlayerModel#translateToHand(HumanoidArm,PoseStack)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PlayerModel.java:117 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ translateToHand ตาม implementation ของ PlayerModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: root(), translateAndRotate(), getArm().
Parameters
HumanoidArm humanoidArmPoseStack poseStack
ตัวอย่างใช้งาน
PlayerModel instance = ...;
HumanoidArm humanoidArm = ...;
PoseStack poseStack = ...;
instance.translateToHand(humanoidArm, poseStack);
PolarBearModel
- Full name:
net.minecraft.client.model.PolarBearModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/PolarBearModel.java - Type:
class - Modifiers:
public - Extends:
QuadrupedModel<PolarBearRenderState>
net.minecraft.client.model.PolarBearModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/PolarBearModel.java:24 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), mirror(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 128, 64).apply(MeshTransformer.scaling(1.2F)).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.PolarBearModel#PolarBearModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PolarBearModel.java:20 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ PolarBearModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.PolarBearModel#setupAnim(PolarBearRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PolarBearModel.java:56 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ PolarBearModel
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 15 statement).
Parameters
PolarBearRenderState polarBearRenderState
ตัวอย่างใช้งาน
PolarBearModel instance = ...;
PolarBearRenderState polarBearRenderState = ...;
instance.setupAnim(polarBearRenderState);
PufferfishBigModel
- Full name:
net.minecraft.client.model.PufferfishBigModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/PufferfishBigModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<EntityRenderState>
net.minecraft.client.model.PufferfishBigModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/PufferfishBigModel.java:25 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 32, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.PufferfishBigModel#PufferfishBigModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PufferfishBigModel.java:19 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ PufferfishBigModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: leftBlueFin, rightBlueFin. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.PufferfishBigModel#setupAnim(EntityRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PufferfishBigModel.java:87 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ PufferfishBigModel
ทำงานยังไง
เรียกต่อ: sin().
Parameters
EntityRenderState entityRenderState
ตัวอย่างใช้งาน
PufferfishBigModel instance = ...;
EntityRenderState entityRenderState = ...;
instance.setupAnim(entityRenderState);
PufferfishMidModel
- Full name:
net.minecraft.client.model.PufferfishMidModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/PufferfishMidModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<EntityRenderState>
net.minecraft.client.model.PufferfishMidModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/PufferfishMidModel.java:25 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 32, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.PufferfishMidModel#PufferfishMidModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PufferfishMidModel.java:19 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ PufferfishMidModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: leftBlueFin, rightBlueFin. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.PufferfishMidModel#setupAnim(EntityRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PufferfishMidModel.java:81 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ PufferfishMidModel
ทำงานยังไง
เรียกต่อ: sin().
Parameters
EntityRenderState entityRenderState
ตัวอย่างใช้งาน
PufferfishMidModel instance = ...;
EntityRenderState entityRenderState = ...;
instance.setupAnim(entityRenderState);
PufferfishSmallModel
- Full name:
net.minecraft.client.model.PufferfishSmallModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/PufferfishSmallModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<EntityRenderState>
net.minecraft.client.model.PufferfishSmallModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/PufferfishSmallModel.java:25 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 32, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.PufferfishSmallModel#PufferfishSmallModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PufferfishSmallModel.java:19 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ PufferfishSmallModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: leftFin, rightFin. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.PufferfishSmallModel#setupAnim(EntityRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/PufferfishSmallModel.java:50 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ PufferfishSmallModel
ทำงานยังไง
เรียกต่อ: sin().
Parameters
EntityRenderState entityRenderState
ตัวอย่างใช้งาน
PufferfishSmallModel instance = ...;
EntityRenderState entityRenderState = ...;
instance.setupAnim(entityRenderState);
QuadrupedModel
- Full name:
net.minecraft.client.model.QuadrupedModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/QuadrupedModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<T>
net.minecraft.client.model.QuadrupedModel#createBodyMesh(int,CubeDeformation)
- Origin:
clientOnly - Source:
net/minecraft/client/model/QuadrupedModel.java:33 - Modifiers:
public static - Return:
MeshDefinition
คืออะไร
สร้าง Body Mesh
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: meshDefinition.
Parameters
int iCubeDeformation cubeDeformation
ตัวอย่างใช้งาน
CubeDeformation cubeDeformation = ...;
MeshDefinition result = QuadrupedModel.createBodyMesh(0, cubeDeformation);
net.minecraft.client.model.QuadrupedModel#QuadrupedModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/QuadrupedModel.java:23 - Modifiers:
protected - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ QuadrupedModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: head, body, rightHindLeg, leftHindLeg, rightFrontLeg, leftFrontLeg. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.QuadrupedModel#setupAnim(T)
- Origin:
clientOnly - Source:
net/minecraft/client/model/QuadrupedModel.java:52 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ QuadrupedModel
ทำงานยังไง
เรียกต่อ: cos().
Parameters
T livingEntityRenderState
ตัวอย่างใช้งาน
QuadrupedModel instance = ...;
T livingEntityRenderState = ...;
instance.setupAnim(livingEntityRenderState);
RabbitModel
- Full name:
net.minecraft.client.model.RabbitModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/RabbitModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<RabbitRenderState>
net.minecraft.client.model.RabbitModel#createBodyLayer(boolean)
- Origin:
clientOnly - Source:
net/minecraft/client/model/RabbitModel.java:42 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offsetAndRotation(), rotation(), offset(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).apply(bl ? BABY_TRANSFORMER : ADULT_TRANSFORMER).
Parameters
boolean bl
ตัวอย่างใช้งาน
net.minecraft.client.model.RabbitModel#RabbitModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/RabbitModel.java:33 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ RabbitModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: leftHaunch, rightHaunch, leftFrontLeg, rightFrontLeg, head. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.RabbitModel#setupAnim(RabbitRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/RabbitModel.java:98 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ RabbitModel
ทำงานยังไง
เรียกต่อ: sin().
Parameters
RabbitRenderState rabbitRenderState
ตัวอย่างใช้งาน
RabbitModel instance = ...;
RabbitRenderState rabbitRenderState = ...;
instance.setupAnim(rabbitRenderState);
RaftModel
- Full name:
net.minecraft.client.model.RaftModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/RaftModel.java - Type:
class - Modifiers:
public - Extends:
AbstractBoatModel
net.minecraft.client.model.RaftModel#createChestRaftModel()
- Origin:
clientOnly - Source:
net/minecraft/client/model/RaftModel.java:47 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Chest Raft Model
ทำงานยังไง
เรียกต่อ: getRoot(), addCommonParts(), addOrReplaceChild(), create(), texOffs(), addBox(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 128, 128).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.RaftModel#createRaftModel()
- Origin:
clientOnly - Source:
net/minecraft/client/model/RaftModel.java:40 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Raft Model
ทำงานยังไง
เรียกต่อ: getRoot(), addCommonParts(), create(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 128, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.RaftModel#RaftModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/RaftModel.java:14 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ RaftModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
RavagerModel
- Full name:
net.minecraft.client.model.RavagerModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/RavagerModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<RavagerRenderState>
net.minecraft.client.model.RavagerModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/RavagerModel.java:35 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(), mirror(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 128, 128).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.RavagerModel#RavagerModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/RavagerModel.java:24 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ RavagerModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: neck, head, mouth, rightHindLeg, leftHindLeg, rightFrontLeg. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.RavagerModel#setupAnim(RavagerRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/RavagerModel.java:80 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ RavagerModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: triangleWave(), sin(), cos().
Parameters
RavagerRenderState ravagerRenderState
ตัวอย่างใช้งาน
RavagerModel instance = ...;
RavagerRenderState ravagerRenderState = ...;
instance.setupAnim(ravagerRenderState);
SalmonModel
- Full name:
net.minecraft.client.model.SalmonModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/SalmonModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<SalmonRenderState>
net.minecraft.client.model.SalmonModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/SalmonModel.java:29 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 32, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.SalmonModel#SalmonModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SalmonModel.java:24 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ SalmonModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: bodyBack. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.SalmonModel#setupAnim(SalmonRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SalmonModel.java:64 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ SalmonModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: sin().
Parameters
SalmonRenderState salmonRenderState
ตัวอย่างใช้งาน
SalmonModel instance = ...;
SalmonRenderState salmonRenderState = ...;
instance.setupAnim(salmonRenderState);
SheepFurModel
- Full name:
net.minecraft.client.model.SheepFurModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/SheepFurModel.java - Type:
class - Modifiers:
public - Extends:
QuadrupedModel<SheepRenderState>
net.minecraft.client.model.SheepFurModel#createFurLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/SheepFurModel.java:20 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Fur Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition, CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.SheepFurModel#setupAnim(SheepRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SheepFurModel.java:39 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ SheepFurModel
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 3 statement).
Parameters
SheepRenderState sheepRenderState
ตัวอย่างใช้งาน
SheepFurModel instance = ...;
SheepRenderState sheepRenderState = ...;
instance.setupAnim(sheepRenderState);
net.minecraft.client.model.SheepFurModel#SheepFurModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SheepFurModel.java:16 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ SheepFurModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
SheepModel
- Full name:
net.minecraft.client.model.SheepModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/SheepModel.java - Type:
class - Modifiers:
public - Extends:
QuadrupedModel<SheepRenderState>
net.minecraft.client.model.SheepModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/SheepModel.java:24 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: createBodyMesh(), getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(). คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.SheepModel#setupAnim(SheepRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SheepModel.java:38 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ SheepModel
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 3 statement).
Parameters
SheepRenderState sheepRenderState
ตัวอย่างใช้งาน
SheepModel instance = ...;
SheepRenderState sheepRenderState = ...;
instance.setupAnim(sheepRenderState);
net.minecraft.client.model.SheepModel#SheepModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SheepModel.java:20 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ SheepModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
ShieldModel
- Full name:
net.minecraft.client.model.ShieldModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/ShieldModel.java - Type:
class - Modifiers:
public - Extends:
Model
net.minecraft.client.model.ShieldModel#createLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/ShieldModel.java:28 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.ShieldModel#handle()
- Origin:
clientOnly - Source:
net/minecraft/client/model/ShieldModel.java:40 - Modifiers:
public - Return:
ModelPart
คืออะไร
จัดการ handle
ทำงานยังไง
คืนค่า: this.handle.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.ShieldModel#plate()
- Origin:
clientOnly - Source:
net/minecraft/client/model/ShieldModel.java:36 - Modifiers:
public - Return:
ModelPart
คืออะไร
ดำเนินการ plate ตาม implementation ของ ShieldModel
ทำงานยังไง
คืนค่า: this.plate.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.ShieldModel#ShieldModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ShieldModel.java:22 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ShieldModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: plate, handle. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
ShulkerBulletModel
- Full name:
net.minecraft.client.model.ShulkerBulletModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/ShulkerBulletModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<ShulkerBulletRenderState>
net.minecraft.client.model.ShulkerBulletModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/ShulkerBulletModel.java:23 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.ShulkerBulletModel#setupAnim(ShulkerBulletRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ShulkerBulletModel.java:40 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ ShulkerBulletModel
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 3 statement).
Parameters
ShulkerBulletRenderState shulkerBulletRenderState
ตัวอย่างใช้งาน
ShulkerBulletModel instance = ...;
ShulkerBulletRenderState shulkerBulletRenderState = ...;
instance.setupAnim(shulkerBulletRenderState);
net.minecraft.client.model.ShulkerBulletModel#ShulkerBulletModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ShulkerBulletModel.java:18 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ShulkerBulletModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: main. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
ShulkerModel
- Full name:
net.minecraft.client.model.ShulkerModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/ShulkerModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<ShulkerRenderState>
net.minecraft.client.model.ShulkerModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/ShulkerModel.java:40 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: createShellMesh(), getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(). คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.ShulkerModel#createBoxLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/ShulkerModel.java:47 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Box Layer
ทำงานยังไง
เรียกต่อ: createShellMesh(), create(). คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.ShulkerModel#setupAnim(ShulkerRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ShulkerModel.java:52 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ ShulkerModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: sin(), setPos().
Parameters
ShulkerRenderState shulkerRenderState
ตัวอย่างใช้งาน
ShulkerModel instance = ...;
ShulkerRenderState shulkerRenderState = ...;
instance.setupAnim(shulkerRenderState);
net.minecraft.client.model.ShulkerModel#ShulkerModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ShulkerModel.java:22 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ShulkerModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: lid, head. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
SilverfishModel
- Full name:
net.minecraft.client.model.SilverfishModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/SilverfishModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<EntityRenderState>
net.minecraft.client.model.SilverfishModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/SilverfishModel.java:37 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการวนลูป. เรียกต่อ: getRoot(), addOrReplaceChild(), getSegmentName(), create(), texOffs(), addBox(), offset(), getLayerName(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.SilverfishModel#setupAnim(EntityRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SilverfishModel.java:75 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ SilverfishModel
ทำงานยังไง
มีการวนลูป. เรียกต่อ: cos(), abs(), sin().
Parameters
EntityRenderState entityRenderState
ตัวอย่างใช้งาน
SilverfishModel instance = ...;
EntityRenderState entityRenderState = ...;
instance.setupAnim(entityRenderState);
net.minecraft.client.model.SilverfishModel#SilverfishModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SilverfishModel.java:23 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ SilverfishModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
เรียกต่อ: setAll(), getChild(), getSegmentName(), getLayerName().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
SkeletonModel
- Full name:
net.minecraft.client.model.SkeletonModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/SkeletonModel.java - Type:
class - Modifiers:
public - Extends:
HumanoidModel<S>
net.minecraft.client.model.SkeletonModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/SkeletonModel.java:23 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: createMesh(), getRoot(), createDefaultSkeletonMesh(), create(). คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.SkeletonModel#createDefaultSkeletonMesh(PartDefinition)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SkeletonModel.java:30 - Modifiers:
protected static - Return:
void
คืออะไร
สร้าง Default Skeleton Mesh
ทำงานยังไง
เรียกต่อ: addOrReplaceChild(), create(), texOffs(), addBox(), offset(), mirror().
Parameters
PartDefinition partDefinition
ตัวอย่างใช้งาน
PartDefinition partDefinition = ...;
@Override
protected void createDefaultSkeletonMesh(PartDefinition partDefinition) {
super.createDefaultSkeletonMesh(partDefinition);
}
net.minecraft.client.model.SkeletonModel#setupAnim(S)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SkeletonModel.java:45 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ SkeletonModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: sin(), bobArms().
Parameters
S skeletonRenderState
ตัวอย่างใช้งาน
net.minecraft.client.model.SkeletonModel#SkeletonModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SkeletonModel.java:19 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ SkeletonModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
net.minecraft.client.model.SkeletonModel#translateToHand(HumanoidArm,PoseStack)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SkeletonModel.java:63 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ translateToHand ตาม implementation ของ SkeletonModel
ทำงานยังไง
เรียกต่อ: root(), translateAndRotate(), getArm().
Parameters
HumanoidArm humanoidArmPoseStack poseStack
ตัวอย่างใช้งาน
SkeletonModel instance = ...;
HumanoidArm humanoidArm = ...;
PoseStack poseStack = ...;
instance.translateToHand(humanoidArm, poseStack);
SkullModel
- Full name:
net.minecraft.client.model.SkullModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/SkullModel.java - Type:
class - Modifiers:
public - Extends:
SkullModelBase
net.minecraft.client.model.SkullModel#createHeadModel()
- Origin:
clientOnly - Source:
net/minecraft/client/model/SkullModel.java:22 - Modifiers:
public static - Return:
MeshDefinition
คืออะไร
สร้าง Head Model
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: meshDefinition.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.SkullModel#createHumanoidHeadLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/SkullModel.java:29 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Humanoid Head Layer
ทำงานยังไง
เรียกต่อ: createHeadModel(), getRoot(), getChild(), addOrReplaceChild(), create(), texOffs(), addBox(). สร้างออบเจ็กต์: CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.SkullModel#createMobHeadLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/SkullModel.java:37 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Mob Head Layer
ทำงานยังไง
เรียกต่อ: createHeadModel(), create(). คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.SkullModel#setupAnim(float,float,float)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SkullModel.java:42 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ SkullModel
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 2 statement).
Parameters
float ffloat gfloat h
ตัวอย่างใช้งาน
net.minecraft.client.model.SkullModel#SkullModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SkullModel.java:17 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ SkullModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: head. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
SkullModelBase
- Full name:
net.minecraft.client.model.SkullModelBase - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/SkullModelBase.java - Type:
class - Modifiers:
public abstract - Extends:
Model
net.minecraft.client.model.SkullModelBase#setupAnim(float,float,float)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SkullModelBase.java:14 - Modifiers:
public abstract - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ SkullModelBase
ทำงานยังไง
ไม่มี implementation ใน declaration นี้; คลาสลูก/implementation เป็นผู้กำหนดพฤติกรรมจริง
Parameters
float ffloat gfloat h
ตัวอย่างใช้งาน
net.minecraft.client.model.SkullModelBase#SkullModelBase(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SkullModelBase.java:10 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ SkullModelBase ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
SlimeModel
- Full name:
net.minecraft.client.model.SlimeModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/SlimeModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<EntityRenderState>
net.minecraft.client.model.SlimeModel#createInnerBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/SlimeModel.java:26 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Inner Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.SlimeModel#createOuterBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/SlimeModel.java:19 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Outer Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.SlimeModel#SlimeModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SlimeModel.java:15 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ SlimeModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
SnifferModel
- Full name:
net.minecraft.client.model.SnifferModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/SnifferModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<SnifferRenderState>
net.minecraft.client.model.SnifferModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/SnifferModel.java:28 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), offset(), texOffs(), addBox(). สร้างออบเจ็กต์: MeshDefinition, CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 192, 192).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.SnifferModel#setupAnim(SnifferRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SnifferModel.java:105 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ SnifferModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: animateWalk(), animate(), applyStatic().
Parameters
SnifferRenderState snifferRenderState
ตัวอย่างใช้งาน
SnifferModel instance = ...;
SnifferRenderState snifferRenderState = ...;
instance.setupAnim(snifferRenderState);
net.minecraft.client.model.SnifferModel#SnifferModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SnifferModel.java:23 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ SnifferModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: head. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
SnowGolemModel
- Full name:
net.minecraft.client.model.SnowGolemModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/SnowGolemModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<LivingEntityRenderState>
net.minecraft.client.model.SnowGolemModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/SnowGolemModel.java:31 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition, CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.SnowGolemModel#getHead()
- Origin:
clientOnly - Source:
net/minecraft/client/model/SnowGolemModel.java:66 - Modifiers:
public - Return:
ModelPart
คืออะไร
อ่านค่า Head
ทำงานยังไง
คืนค่า: this.head.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.SnowGolemModel#setupAnim(LivingEntityRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SnowGolemModel.java:51 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ SnowGolemModel
ทำงานยังไง
เรียกต่อ: sin(), cos().
Parameters
LivingEntityRenderState livingEntityRenderState
ตัวอย่างใช้งาน
SnowGolemModel instance = ...;
LivingEntityRenderState livingEntityRenderState = ...;
instance.setupAnim(livingEntityRenderState);
net.minecraft.client.model.SnowGolemModel#SnowGolemModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SnowGolemModel.java:23 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ SnowGolemModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: head, leftArm, rightArm, upperBody. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
SpiderModel
- Full name:
net.minecraft.client.model.SpiderModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/SpiderModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<LivingEntityRenderState>
net.minecraft.client.model.SpiderModel#createSpiderBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/SpiderModel.java:45 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Spider Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), mirror(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.SpiderModel#setupAnim(LivingEntityRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SpiderModel.java:89 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ SpiderModel
ทำงานยังไง
เรียกต่อ: cos(), abs(), sin().
Parameters
LivingEntityRenderState livingEntityRenderState
ตัวอย่างใช้งาน
SpiderModel instance = ...;
LivingEntityRenderState livingEntityRenderState = ...;
instance.setupAnim(livingEntityRenderState);
net.minecraft.client.model.SpiderModel#SpiderModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SpiderModel.java:32 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ SpiderModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: head, rightHindLeg, leftHindLeg, rightMiddleHindLeg, leftMiddleHindLeg, rightMiddleFrontLeg. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
SpinAttackEffectModel
- Full name:
net.minecraft.client.model.SpinAttackEffectModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/SpinAttackEffectModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<PlayerRenderState>
net.minecraft.client.model.SpinAttackEffectModel#createLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/SpinAttackEffectModel.java:31 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Layer
ทำงานยังไง
มีการวนลูป. เรียกต่อ: getRoot(), addOrReplaceChild(), boxName(), create(), texOffs(), addBox(), withScale(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.SpinAttackEffectModel#setupAnim(PlayerRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SpinAttackEffectModel.java:46 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ SpinAttackEffectModel
ทำงานยังไง
มีการวนลูป. เรียกต่อ: wrapDegrees().
Parameters
PlayerRenderState playerRenderState
ตัวอย่างใช้งาน
SpinAttackEffectModel instance = ...;
PlayerRenderState playerRenderState = ...;
instance.setupAnim(playerRenderState);
net.minecraft.client.model.SpinAttackEffectModel#SpinAttackEffectModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SpinAttackEffectModel.java:19 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ SpinAttackEffectModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
มีการวนลูป. เรียกต่อ: getChild(), boxName().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
SquidModel
- Full name:
net.minecraft.client.model.SquidModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/SquidModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<SquidRenderState>
net.minecraft.client.model.SquidModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/SquidModel.java:30 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
มีการวนลูป. เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), cos(), sin(). สร้างออบเจ็กต์: MeshDefinition, CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.SquidModel#setupAnim(SquidRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SquidModel.java:54 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ SquidModel
ทำงานยังไง
มีการวนลูป.
Parameters
SquidRenderState squidRenderState
ตัวอย่างใช้งาน
SquidModel instance = ...;
SquidRenderState squidRenderState = ...;
instance.setupAnim(squidRenderState);
net.minecraft.client.model.SquidModel#SquidModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/SquidModel.java:21 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ SquidModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
เรียกต่อ: setAll(), getChild(), createTentacleName().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
StriderModel
- Full name:
net.minecraft.client.model.StriderModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/StriderModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<StriderRenderState>
net.minecraft.client.model.StriderModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/StriderModel.java:47 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 128).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.StriderModel#setupAnim(StriderRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/StriderModel.java:92 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ StriderModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: min(), sin(), cos().
Parameters
StriderRenderState striderRenderState
ตัวอย่างใช้งาน
StriderModel instance = ...;
StriderRenderState striderRenderState = ...;
instance.setupAnim(striderRenderState);
net.minecraft.client.model.StriderModel#StriderModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/StriderModel.java:34 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ StriderModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: rightLeg, leftLeg, body, rightBottomBristle, rightMiddleBristle, rightTopBristle. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
TadpoleModel
- Full name:
net.minecraft.client.model.TadpoleModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/TadpoleModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<LivingEntityRenderState>
net.minecraft.client.model.TadpoleModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/TadpoleModel.java:24 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 16, 16).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.TadpoleModel#setupAnim(LivingEntityRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/TadpoleModel.java:39 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ TadpoleModel
ทำงานยังไง
เรียกต่อ: sin().
Parameters
LivingEntityRenderState livingEntityRenderState
ตัวอย่างใช้งาน
TadpoleModel instance = ...;
LivingEntityRenderState livingEntityRenderState = ...;
instance.setupAnim(livingEntityRenderState);
net.minecraft.client.model.TadpoleModel#TadpoleModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/TadpoleModel.java:19 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ TadpoleModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: tail. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
TridentModel
- Full name:
net.minecraft.client.model.TridentModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/TridentModel.java - Type:
class - Modifiers:
public - Extends:
Model
net.minecraft.client.model.TridentModel#createLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/TridentModel.java:22 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), mirror(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 32, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.TridentModel#TridentModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/TridentModel.java:18 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ TridentModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
TropicalFishModelA
- Full name:
net.minecraft.client.model.TropicalFishModelA - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/TropicalFishModelA.java - Type:
class - Modifiers:
public - Extends:
EntityModel<TropicalFishRenderState>
net.minecraft.client.model.TropicalFishModelA#createBodyLayer(CubeDeformation)
- Origin:
clientOnly - Source:
net/minecraft/client/model/TropicalFishModelA.java:24 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 32, 32).
Parameters
CubeDeformation cubeDeformation
ตัวอย่างใช้งาน
CubeDeformation cubeDeformation = ...;
LayerDefinition result = TropicalFishModelA.createBodyLayer(cubeDeformation);
net.minecraft.client.model.TropicalFishModelA#setupAnim(TropicalFishRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/TropicalFishModelA.java:50 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ TropicalFishModelA
ทำงานยังไง
เรียกต่อ: sin().
Parameters
TropicalFishRenderState tropicalFishRenderState
ตัวอย่างใช้งาน
TropicalFishModelA instance = ...;
TropicalFishRenderState tropicalFishRenderState = ...;
instance.setupAnim(tropicalFishRenderState);
net.minecraft.client.model.TropicalFishModelA#TropicalFishModelA(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/TropicalFishModelA.java:19 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ TropicalFishModelA ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: tail. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
TropicalFishModelB
- Full name:
net.minecraft.client.model.TropicalFishModelB - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/TropicalFishModelB.java - Type:
class - Modifiers:
public - Extends:
EntityModel<TropicalFishRenderState>
net.minecraft.client.model.TropicalFishModelB#createBodyLayer(CubeDeformation)
- Origin:
clientOnly - Source:
net/minecraft/client/model/TropicalFishModelB.java:24 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 32, 32).
Parameters
CubeDeformation cubeDeformation
ตัวอย่างใช้งาน
CubeDeformation cubeDeformation = ...;
LayerDefinition result = TropicalFishModelB.createBodyLayer(cubeDeformation);
net.minecraft.client.model.TropicalFishModelB#setupAnim(TropicalFishRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/TropicalFishModelB.java:53 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ TropicalFishModelB
ทำงานยังไง
เรียกต่อ: sin().
Parameters
TropicalFishRenderState tropicalFishRenderState
ตัวอย่างใช้งาน
TropicalFishModelB instance = ...;
TropicalFishRenderState tropicalFishRenderState = ...;
instance.setupAnim(tropicalFishRenderState);
net.minecraft.client.model.TropicalFishModelB#TropicalFishModelB(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/TropicalFishModelB.java:19 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ TropicalFishModelB ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: tail. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
TurtleModel
- Full name:
net.minecraft.client.model.TurtleModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/TurtleModel.java - Type:
class - Modifiers:
public - Extends:
QuadrupedModel<TurtleRenderState>
net.minecraft.client.model.TurtleModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/TurtleModel.java:27 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 128, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.TurtleModel#setupAnim(TurtleRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/TurtleModel.java:63 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ TurtleModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: cos().
Parameters
TurtleRenderState turtleRenderState
ตัวอย่างใช้งาน
TurtleModel instance = ...;
TurtleRenderState turtleRenderState = ...;
instance.setupAnim(turtleRenderState);
net.minecraft.client.model.TurtleModel#TurtleModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/TurtleModel.java:22 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ TurtleModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: eggBelly. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
VexModel
- Full name:
net.minecraft.client.model.VexModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/VexModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<VexRenderState> - Implements:
ArmedModel
net.minecraft.client.model.VexModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/VexModel.java:31 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), offset(), texOffs(), addBox(), mirror(). สร้างออบเจ็กต์: MeshDefinition, CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 32, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.VexModel#setupAnim(VexRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/VexModel.java:70 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ VexModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: cos(), setArmsCharging(), isEmpty().
Parameters
VexRenderState vexRenderState
ตัวอย่างใช้งาน
net.minecraft.client.model.VexModel#translateToHand(HumanoidArm,PoseStack)
- Origin:
clientOnly - Source:
net/minecraft/client/model/VexModel.java:115 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ translateToHand ตาม implementation ของ VexModel
ทำงานยังไง
เรียกต่อ: translateAndRotate(), scale(), offsetStackPosition().
Parameters
HumanoidArm humanoidArmPoseStack poseStack
ตัวอย่างใช้งาน
VexModel instance = ...;
HumanoidArm humanoidArm = ...;
PoseStack poseStack = ...;
instance.translateToHand(humanoidArm, poseStack);
net.minecraft.client.model.VexModel#VexModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/VexModel.java:27 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ VexModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
VillagerLikeModel
- Full name:
net.minecraft.client.model.VillagerLikeModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/VillagerLikeModel.java - Type:
interface - Modifiers:
public
net.minecraft.client.model.VillagerLikeModel#hatVisible(boolean)
- Origin:
clientOnly - Source:
net/minecraft/client/model/VillagerLikeModel.java:9 - Modifiers: ``
- Return:
void
คืออะไร
ดำเนินการ hatVisible ตาม implementation ของ VillagerLikeModel
ทำงานยังไง
ไม่มี body ใน source declaration นี้
Parameters
boolean bl
ตัวอย่างใช้งาน
net.minecraft.client.model.VillagerLikeModel#translateToArms(PoseStack)
- Origin:
clientOnly - Source:
net/minecraft/client/model/VillagerLikeModel.java:11 - Modifiers: ``
- Return:
void
คืออะไร
ดำเนินการ translateToArms ตาม implementation ของ VillagerLikeModel
ทำงานยังไง
ไม่มี body ใน source declaration นี้
Parameters
PoseStack poseStack
ตัวอย่างใช้งาน
VillagerModel
- Full name:
net.minecraft.client.model.VillagerModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/VillagerModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<VillagerRenderState> - Implements:
HeadedModel,VillagerLikeModel
net.minecraft.client.model.VillagerModel#createBodyModel()
- Origin:
clientOnly - Source:
net/minecraft/client/model/VillagerModel.java:36 - Modifiers:
public static - Return:
MeshDefinition
คืออะไร
สร้าง Body Model
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), rotation(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition, CubeDeformation. คืนค่า: meshDefinition.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.VillagerModel#getHead()
- Origin:
clientOnly - Source:
net/minecraft/client/model/VillagerModel.java:95 - Modifiers:
public - Return:
ModelPart
คืออะไร
อ่านค่า Head
ทำงานยังไง
คืนค่า: this.head.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.VillagerModel#hatVisible(boolean)
- Origin:
clientOnly - Source:
net/minecraft/client/model/VillagerModel.java:100 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ hatVisible ตาม implementation ของ VillagerModel
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 3 statement).
Parameters
boolean bl
ตัวอย่างใช้งาน
net.minecraft.client.model.VillagerModel#setupAnim(VillagerRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/VillagerModel.java:78 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ VillagerModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: sin(), cos().
Parameters
VillagerRenderState villagerRenderState
ตัวอย่างใช้งาน
VillagerModel instance = ...;
VillagerRenderState villagerRenderState = ...;
instance.setupAnim(villagerRenderState);
net.minecraft.client.model.VillagerModel#translateToArms(PoseStack)
- Origin:
clientOnly - Source:
net/minecraft/client/model/VillagerModel.java:107 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ translateToArms ตาม implementation ของ VillagerModel
ทำงานยังไง
เรียกต่อ: translateAndRotate().
Parameters
PoseStack poseStack
ตัวอย่างใช้งาน
net.minecraft.client.model.VillagerModel#VillagerModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/VillagerModel.java:26 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ VillagerModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: head, hat, hatRim, rightLeg, leftLeg, arms. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
WardenModel
- Full name:
net.minecraft.client.model.WardenModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/WardenModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<WardenRenderState>
net.minecraft.client.model.WardenModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/WardenModel.java:57 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), offset(), texOffs(), addBox(), mirror(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 128, 128).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.WardenModel#getBioluminescentLayerModelParts(WardenRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/WardenModel.java:169 - Modifiers:
public - Return:
List<ModelPart>
คืออะไร
อ่านค่า Bioluminescent Layer Model Parts
ทำงานยังไง
คืนค่า: this.bioluminescentLayerModelParts.
Parameters
WardenRenderState wardenRenderState
ตัวอย่างใช้งาน
WardenModel instance = ...;
WardenRenderState wardenRenderState = ...;
List<ModelPart> result = instance.getBioluminescentLayerModelParts(wardenRenderState);
net.minecraft.client.model.WardenModel#getHeartLayerModelParts(WardenRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/WardenModel.java:165 - Modifiers:
public - Return:
List<ModelPart>
คืออะไร
อ่านค่า Heart Layer Model Parts
ทำงานยังไง
คืนค่า: this.heartLayerModelParts.
Parameters
WardenRenderState wardenRenderState
ตัวอย่างใช้งาน
WardenModel instance = ...;
WardenRenderState wardenRenderState = ...;
List<ModelPart> result = instance.getHeartLayerModelParts(wardenRenderState);
net.minecraft.client.model.WardenModel#getPulsatingSpotsLayerModelParts(WardenRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/WardenModel.java:173 - Modifiers:
public - Return:
List<ModelPart>
คืออะไร
อ่านค่า Pulsating Spots Layer Model Parts
ทำงานยังไง
คืนค่า: this.pulsatingSpotsLayerModelParts.
Parameters
WardenRenderState wardenRenderState
ตัวอย่างใช้งาน
WardenModel instance = ...;
WardenRenderState wardenRenderState = ...;
List<ModelPart> result = instance.getPulsatingSpotsLayerModelParts(wardenRenderState);
net.minecraft.client.model.WardenModel#getTendrilsLayerModelParts(WardenRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/WardenModel.java:161 - Modifiers:
public - Return:
List<ModelPart>
คืออะไร
อ่านค่า Tendrils Layer Model Parts
ทำงานยังไง
คืนค่า: this.tendrilsLayerModelParts.
Parameters
WardenRenderState wardenRenderState
ตัวอย่างใช้งาน
WardenModel instance = ...;
WardenRenderState wardenRenderState = ...;
List<ModelPart> result = instance.getTendrilsLayerModelParts(wardenRenderState);
net.minecraft.client.model.WardenModel#setupAnim(WardenRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/WardenModel.java:96 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ WardenModel
ทำงานยังไง
เรียกต่อ: animateHeadLookTarget(), animateWalk(), animateIdlePose(), animateTendrils(), animate().
Parameters
WardenRenderState wardenRenderState
ตัวอย่างใช้งาน
WardenModel instance = ...;
WardenRenderState wardenRenderState = ...;
instance.setupAnim(wardenRenderState);
net.minecraft.client.model.WardenModel#WardenModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/WardenModel.java:38 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ WardenModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: bone, body, head, rightLeg, leftLeg, rightArm. เรียกต่อ: getChild(), of().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
WindChargeModel
- Full name:
net.minecraft.client.model.WindChargeModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/WindChargeModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<EntityRenderState>
net.minecraft.client.model.WindChargeModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/WindChargeModel.java:29 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), offset(), texOffs(), addBox(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition, CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.WindChargeModel#setupAnim(EntityRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/WindChargeModel.java:50 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ WindChargeModel
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 3 statement).
Parameters
EntityRenderState entityRenderState
ตัวอย่างใช้งาน
WindChargeModel instance = ...;
EntityRenderState entityRenderState = ...;
instance.setupAnim(entityRenderState);
net.minecraft.client.model.WindChargeModel#WindChargeModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/WindChargeModel.java:22 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ WindChargeModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: bone, wind, windCharge. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
WitchModel
- Full name:
net.minecraft.client.model.WitchModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/WitchModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<WitchRenderState> - Implements:
HeadedModel,VillagerLikeModel
net.minecraft.client.model.WitchModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/WitchModel.java:37 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: createBodyModel(), getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offset(), offsetAndRotation(). สร้างออบเจ็กต์: CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 64, 128).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.WitchModel#getHead()
- Origin:
clientOnly - Source:
net/minecraft/client/model/WitchModel.java:87 - Modifiers:
public - Return:
ModelPart
คืออะไร
อ่านค่า Head
ทำงานยังไง
คืนค่า: this.head.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.WitchModel#getNose()
- Origin:
clientOnly - Source:
net/minecraft/client/model/WitchModel.java:83 - Modifiers:
public - Return:
ModelPart
คืออะไร
อ่านค่า Nose
ทำงานยังไง
คืนค่า: this.nose.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.WitchModel#hatVisible(boolean)
- Origin:
clientOnly - Source:
net/minecraft/client/model/WitchModel.java:92 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ hatVisible ตาม implementation ของ WitchModel
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 3 statement).
Parameters
boolean bl
ตัวอย่างใช้งาน
net.minecraft.client.model.WitchModel#setupAnim(WitchRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/WitchModel.java:68 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ WitchModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: cos(), sin(), setPos().
Parameters
WitchRenderState witchRenderState
ตัวอย่างใช้งาน
WitchModel instance = ...;
WitchRenderState witchRenderState = ...;
instance.setupAnim(witchRenderState);
net.minecraft.client.model.WitchModel#translateToArms(PoseStack)
- Origin:
clientOnly - Source:
net/minecraft/client/model/WitchModel.java:99 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ translateToArms ตาม implementation ของ WitchModel
ทำงานยังไง
เรียกต่อ: translateAndRotate().
Parameters
PoseStack poseStack
ตัวอย่างใช้งาน
net.minecraft.client.model.WitchModel#WitchModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/WitchModel.java:26 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ WitchModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: head, hat, hatRim, nose, rightLeg, leftLeg. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
WitherBossModel
- Full name:
net.minecraft.client.model.WitherBossModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/WitherBossModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<WitherRenderState>
net.minecraft.client.model.WitherBossModel#createBodyLayer(CubeDeformation)
- Origin:
clientOnly - Source:
net/minecraft/client/model/WitherBossModel.java:38 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), offsetAndRotation(), cos(), sin(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
CubeDeformation cubeDeformation
ตัวอย่างใช้งาน
CubeDeformation cubeDeformation = ...;
LayerDefinition result = WitherBossModel.createBodyLayer(cubeDeformation);
net.minecraft.client.model.WitherBossModel#setupAnim(WitherRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/WitherBossModel.java:72 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ WitherBossModel
ทำงานยังไง
เรียกต่อ: setupHeadRotation(), cos(), setPos(), sin().
Parameters
WitherRenderState witherRenderState
ตัวอย่างใช้งาน
WitherBossModel instance = ...;
WitherRenderState witherRenderState = ...;
instance.setupAnim(witherRenderState);
net.minecraft.client.model.WitherBossModel#WitherBossModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/WitherBossModel.java:29 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ WitherBossModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: ribcage, tail, centerHead, rightHead, leftHead. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
WolfModel
- Full name:
net.minecraft.client.model.WolfModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/WolfModel.java - Type:
class - Modifiers:
public - Extends:
EntityModel<WolfRenderState>
net.minecraft.client.model.WolfModel#createMeshDefinition(CubeDeformation)
- Origin:
clientOnly - Source:
net/minecraft/client/model/WolfModel.java:48 - Modifiers:
public static - Return:
MeshDefinition
คืออะไร
สร้าง Mesh Definition
ทำงานยังไง
เรียกต่อ: getRoot(), addOrReplaceChild(), create(), offset(), texOffs(), addBox(), offsetAndRotation(). สร้างออบเจ็กต์: MeshDefinition. คืนค่า: meshDefinition.
Parameters
CubeDeformation cubeDeformation
ตัวอย่างใช้งาน
CubeDeformation cubeDeformation = ...;
MeshDefinition result = WolfModel.createMeshDefinition(cubeDeformation);
net.minecraft.client.model.WolfModel#setupAnim(WolfRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/WolfModel.java:90 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ WolfModel
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: cos(), getBodyRollAngle().
Parameters
WolfRenderState wolfRenderState
ตัวอย่างใช้งาน
WolfModel instance = ...;
WolfRenderState wolfRenderState = ...;
instance.setupAnim(wolfRenderState);
net.minecraft.client.model.WolfModel#WolfModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/WolfModel.java:34 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ WolfModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
แก้ state: head, realHead, body, upperBody, rightHindLeg, leftHindLeg. เรียกต่อ: getChild().
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
ZombieModel
- Full name:
net.minecraft.client.model.ZombieModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/ZombieModel.java - Type:
class - Modifiers:
public - Extends:
AbstractZombieModel<S>
net.minecraft.client.model.ZombieModel#ZombieModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ZombieModel.java:10 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ZombieModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
ZombieVillagerModel
- Full name:
net.minecraft.client.model.ZombieVillagerModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/ZombieVillagerModel.java - Type:
class - Modifiers:
public - Extends:
HumanoidModel<S> - Implements:
VillagerLikeModel
net.minecraft.client.model.ZombieVillagerModel#createArmorLayer(CubeDeformation)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ZombieVillagerModel.java:62 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Armor Layer
ทำงานยังไง
เรียกต่อ: createMesh(), getRoot(), addOrReplaceChild(), create(), texOffs(), addBox(), extend(), offset(). คืนค่า: LayerDefinition.create(meshDefinition, 64, 32).
Parameters
CubeDeformation cubeDeformation
ตัวอย่างใช้งาน
CubeDeformation cubeDeformation = ...;
LayerDefinition result = ZombieVillagerModel.createArmorLayer(cubeDeformation);
net.minecraft.client.model.ZombieVillagerModel#createBodyLayer()
- Origin:
clientOnly - Source:
net/minecraft/client/model/ZombieVillagerModel.java:24 - Modifiers:
public static - Return:
LayerDefinition
คืออะไร
สร้าง Body Layer
ทำงานยังไง
เรียกต่อ: createMesh(), getRoot(), addOrReplaceChild(), texOffs(), addBox(), create(), rotation(), offset(). สร้างออบเจ็กต์: CubeListBuilder, CubeDeformation. คืนค่า: LayerDefinition.create(meshDefinition, 64, 64).
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.client.model.ZombieVillagerModel#hatVisible(boolean)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ZombieVillagerModel.java:91 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ hatVisible ตาม implementation ของ ZombieVillagerModel
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 3 statement).
Parameters
boolean bl
ตัวอย่างใช้งาน
net.minecraft.client.model.ZombieVillagerModel#setupAnim(S)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ZombieVillagerModel.java:85 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ ZombieVillagerModel
ทำงานยังไง
เรียกต่อ: animateZombieArms().
Parameters
S zombieVillagerRenderState
ตัวอย่างใช้งาน
ZombieVillagerModel instance = ...;
S zombieVillagerRenderState = ...;
instance.setupAnim(zombieVillagerRenderState);
net.minecraft.client.model.ZombieVillagerModel#translateToArms(PoseStack)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ZombieVillagerModel.java:98 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ translateToArms ตาม implementation ของ ZombieVillagerModel
ทำงานยังไง
เรียกต่อ: translateToHand().
Parameters
PoseStack poseStack
ตัวอย่างใช้งาน
net.minecraft.client.model.ZombieVillagerModel#ZombieVillagerModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ZombieVillagerModel.java:20 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ZombieVillagerModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart
ตัวอย่างใช้งาน
ZombifiedPiglinModel
- Full name:
net.minecraft.client.model.ZombifiedPiglinModel - Package:
net.minecraft.client.model - Source:
clientOnly—net/minecraft/client/model/ZombifiedPiglinModel.java - Type:
class - Modifiers:
public - Extends:
AbstractPiglinModel<ZombifiedPiglinRenderState>
net.minecraft.client.model.ZombifiedPiglinModel#setAllVisible(boolean)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ZombifiedPiglinModel.java:21 - Modifiers:
public - Return:
void
คืออะไร
กำหนดค่า All Visible
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 6 statement).
Parameters
boolean bl
ตัวอย่างใช้งาน
net.minecraft.client.model.ZombifiedPiglinModel#setupAnim(ZombifiedPiglinRenderState)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ZombifiedPiglinModel.java:14 - Modifiers:
public - Return:
void
คืออะไร
ดำเนินการ setupAnim ตาม implementation ของ ZombifiedPiglinModel
ทำงานยังไง
เรียกต่อ: animateZombieArms().
Parameters
ZombifiedPiglinRenderState zombifiedPiglinRenderState
ตัวอย่างใช้งาน
ZombifiedPiglinModel instance = ...;
ZombifiedPiglinRenderState zombifiedPiglinRenderState = ...;
instance.setupAnim(zombifiedPiglinRenderState);
net.minecraft.client.model.ZombifiedPiglinModel#ZombifiedPiglinModel(ModelPart)
- Origin:
clientOnly - Source:
net/minecraft/client/model/ZombifiedPiglinModel.java:10 - Modifiers:
public - Kind: constructor
คืออะไร
สร้างออบเจ็กต์ ZombifiedPiglinModel ด้วยพารามิเตอร์ที่ระบุ
ทำงานยังไง
ทำงานตาม body โดยตรง (ประมาณ 1 statement).
Parameters
ModelPart modelPart