Class PhantomEntityModel<T extends Entity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
net.minecraft.client.render.entity.model.SinglePartEntityModel<T>
net.minecraft.client.render.entity.model.PhantomEntityModel<T>
@Environment(CLIENT) public class PhantomEntityModel<T extends Entity> extends SinglePartEntityModel<T>
-
Field Summary
Fields Modifier and Type Field Description private ModelPart
leftWingBase
private ModelPart
leftWingTip
private ModelPart
rightWingBase
private ModelPart
rightWingTip
private ModelPart
root
private ModelPart
tailBase
private ModelPart
tailTip
Fields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, riding
Fields inherited from class net.minecraft.client.model.Model
layerFactory
-
Constructor Summary
Constructors Constructor Description PhantomEntityModel(ModelPart root)
-
Method Summary
Modifier and Type Method Description ModelPart
getPart()
static TexturedModelData
getTexturedModelData()
void
setAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)
Methods inherited from class net.minecraft.client.render.entity.model.SinglePartEntityModel
render
Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo
-
Field Details
-
root
-
leftWingBase
-
leftWingTip
-
rightWingBase
-
rightWingTip
-
tailBase
-
tailTip
-
-
Constructor Details
-
PhantomEntityModel
-
-
Method Details
-
getTexturedModelData
-
getPart
- Specified by:
getPart
in classSinglePartEntityModel<T extends Entity>
-
setAngles
public void setAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)- Specified by:
setAngles
in classEntityModel<T extends Entity>
-