Class PixelmonModelBase<E extends net.minecraft.world.entity.Entity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<E>
com.pixelmonmod.pixelmon.client.models.PixelmonModelBase<E>
- Direct Known Subclasses:
PixelmonModelSmd
public abstract class PixelmonModelBase<E extends net.minecraft.world.entity.Entity>
extends net.minecraft.client.model.EntityModel<E>
-
Field Summary
FieldsModifier and TypeFieldDescriptionnet.minecraft.client.renderer.MultiBufferSourcefloatfloatnet.minecraft.resources.ResourceLocationFields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, youngFields inherited from class net.minecraft.client.model.Model
renderType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected floatfloatprotected voidvoidrender(net.minecraft.world.entity.Entity entity, com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, int color) voidrenderToBuffer(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, int color) voidsetBuffer(net.minecraft.client.renderer.MultiBufferSource buffer) voidsetScale(float scale) Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModel, setupAnimMethods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderType
-
Field Details
-
scale
public float scale -
movementThreshold
public float movementThreshold -
buffer
public net.minecraft.client.renderer.MultiBufferSource buffer -
texture
public net.minecraft.resources.ResourceLocation texture
-
-
Constructor Details
-
PixelmonModelBase
public PixelmonModelBase()
-
-
Method Details
-
setScale
public void setScale(float scale) -
setBuffer
public void setBuffer(net.minecraft.client.renderer.MultiBufferSource buffer) -
renderToBuffer
public void renderToBuffer(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, int color) - Specified by:
renderToBufferin classnet.minecraft.client.model.Model
-
render
public void render(net.minecraft.world.entity.Entity entity, com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, int color) -
getDefaultXRotation
protected float getDefaultXRotation() -
registerAnimationCounters
protected void registerAnimationCounters() -
getMovementThreshold
public float getMovementThreshold()
-