Class SegmentedModel<E extends Entity>
- java.lang.Object
-
- net.minecraft.client.renderer.model.Model
-
- net.minecraft.client.renderer.entity.model.EntityModel<E>
-
- net.minecraft.client.renderer.entity.model.SegmentedModel<E>
-
- All Implemented Interfaces:
java.util.function.Consumer<ModelRenderer>
- Direct Known Subclasses:
AbstractTropicalFishModel
,BatModel
,BlazeModel
,BoatModel
,CodModel
,CreeperModel
,DolphinModel
,EndermiteModel
,EvokerFangsModel
,GhastModel
,GuardianModel
,IllagerModel
,IronGolemModel
,LeashKnotModel
,LlamaSpitModel
,MagmaCubeModel
,MinecartModel
,ParrotModel
,PhantomModel
,PufferFishBigModel
,PufferFishMediumModel
,PufferFishSmallModel
,RavagerModel
,SalmonModel
,ShulkerBulletModel
,ShulkerModel
,SilverfishModel
,SlimeModel
,SnowManModel
,SpiderModel
,SquidModel
,StriderModel
,VillagerModel
,WitherModel
public abstract class SegmentedModel<E extends Entity> extends EntityModel<E>
-
-
Field Summary
-
Fields inherited from class net.minecraft.client.renderer.entity.model.EntityModel
attackTime, riding, young
-
Fields inherited from class net.minecraft.client.renderer.model.Model
renderType, texHeight, texWidth
-
-
Constructor Summary
Constructors Constructor Description SegmentedModel()
SegmentedModel(java.util.function.Function<ResourceLocation,RenderType> p_i232335_1_)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.Iterable<ModelRenderer>
parts()
void
renderToBuffer(MatrixStack p_225598_1_, IVertexBuilder p_225598_2_, int p_225598_3_, int p_225598_4_, float p_225598_5_, float p_225598_6_, float p_225598_7_, float p_225598_8_)
-
Methods inherited from class net.minecraft.client.renderer.entity.model.EntityModel
copyPropertiesTo, prepareMobModel, setupAnim
-
Methods inherited from class net.minecraft.client.renderer.model.Model
accept, renderType
-
-
-
-
Constructor Detail
-
SegmentedModel
public SegmentedModel()
-
SegmentedModel
public SegmentedModel(java.util.function.Function<ResourceLocation,RenderType> p_i232335_1_)
-
-
Method Detail
-
renderToBuffer
public void renderToBuffer(MatrixStack p_225598_1_, IVertexBuilder p_225598_2_, int p_225598_3_, int p_225598_4_, float p_225598_5_, float p_225598_6_, float p_225598_7_, float p_225598_8_)
- Specified by:
renderToBuffer
in classModel
-
parts
public abstract java.lang.Iterable<ModelRenderer> parts()
-
-