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

    Fields
    Modifier and Type
    Field
    Description
    net.minecraft.client.renderer.MultiBufferSource
     
    float
     
    float
     
    net.minecraft.resources.ResourceLocation
     

    Fields inherited from class net.minecraft.client.model.EntityModel

    attackTime, riding, young

    Fields inherited from class net.minecraft.client.model.Model

    renderType
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected float
     
    float
     
    protected void
     
    void
    render(net.minecraft.world.entity.Entity entity, com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha)
     
    void
    renderToBuffer(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha)
     
    void
    setBuffer(net.minecraft.client.renderer.MultiBufferSource buffer)
     
    void
    setScale(float scale)
     

    Methods inherited from class net.minecraft.client.model.EntityModel

    copyPropertiesTo, prepareMobModel, setupAnim

    Methods inherited from class net.minecraft.client.model.Model

    renderType

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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, float red, float green, float blue, float alpha)
      Specified by:
      renderToBuffer in class net.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, float red, float green, float blue, float alpha)
    • getDefaultXRotation

      protected float getDefaultXRotation()
    • registerAnimationCounters

      protected void registerAnimationCounters()
    • getMovementThreshold

      public float getMovementThreshold()