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 ModelPartleftWingBaseprivate ModelPartleftWingTipprivate ModelPartrightWingBaseprivate ModelPartrightWingTipprivate ModelPartrootprivate ModelParttailBaseprivate ModelParttailTipFields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, ridingFields inherited from class net.minecraft.client.model.Model
layerFactory -
Constructor Summary
Constructors Constructor Description PhantomEntityModel(ModelPart root) -
Method Summary
Modifier and Type Method Description ModelPartgetPart()static TexturedModelDatagetTexturedModelData()voidsetAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)Methods inherited from class net.minecraft.client.render.entity.model.SinglePartEntityModel
renderMethods 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:
getPartin classSinglePartEntityModel<T extends Entity>
-
setAngles
public void setAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)- Specified by:
setAnglesin classEntityModel<T extends Entity>
-