Class BoatModel
- java.lang.Object
-
- net.minecraft.client.renderer.model.Model
-
- net.minecraft.client.renderer.entity.model.EntityModel<E>
-
- net.minecraft.client.renderer.entity.model.SegmentedModel<BoatEntity>
-
- net.minecraft.client.renderer.entity.model.BoatModel
-
- All Implemented Interfaces:
java.util.function.Consumer<ModelRenderer>
public class BoatModel extends SegmentedModel<BoatEntity>
-
-
Field Summary
Fields Modifier and Type Field Description private ModelRenderer[]
paddles
private com.google.common.collect.ImmutableList<ModelRenderer>
parts
private ModelRenderer
waterPatch
-
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 BoatModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
animatePaddle(BoatEntity p_228244_1_, int p_228244_2_, float p_228244_3_)
protected ModelRenderer
makePaddle(boolean p_187056_1_)
com.google.common.collect.ImmutableList<ModelRenderer>
parts()
void
setupAnim(BoatEntity p_225597_1_, float p_225597_2_, float p_225597_3_, float p_225597_4_, float p_225597_5_, float p_225597_6_)
ModelRenderer
waterPatch()
-
Methods inherited from class net.minecraft.client.renderer.entity.model.SegmentedModel
renderToBuffer
-
Methods inherited from class net.minecraft.client.renderer.entity.model.EntityModel
copyPropertiesTo, prepareMobModel
-
Methods inherited from class net.minecraft.client.renderer.model.Model
accept, renderType
-
-
-
-
Field Detail
-
paddles
private final ModelRenderer[] paddles
-
waterPatch
private final ModelRenderer waterPatch
-
parts
private final com.google.common.collect.ImmutableList<ModelRenderer> parts
-
-
Method Detail
-
setupAnim
public void setupAnim(BoatEntity p_225597_1_, float p_225597_2_, float p_225597_3_, float p_225597_4_, float p_225597_5_, float p_225597_6_)
- Specified by:
setupAnim
in classEntityModel<BoatEntity>
-
parts
public com.google.common.collect.ImmutableList<ModelRenderer> parts()
- Specified by:
parts
in classSegmentedModel<BoatEntity>
-
waterPatch
public ModelRenderer waterPatch()
-
makePaddle
protected ModelRenderer makePaddle(boolean p_187056_1_)
-
animatePaddle
protected void animatePaddle(BoatEntity p_228244_1_, int p_228244_2_, float p_228244_3_)
-
-