Class ModelEntityBlock<T extends net.minecraft.world.level.block.entity.BlockEntity>

java.lang.Object
net.minecraft.client.model.Model
com.pixelmonmod.pixelmon.client.models.blocks.ModelEntityBlock<T>
Direct Known Subclasses:
ModelBrokenCloningMachine, ModelCloningMachine

public abstract class ModelEntityBlock<T extends net.minecraft.world.level.block.entity.BlockEntity> extends net.minecraft.client.model.Model
  • Field Summary

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

    renderType
  • Constructor Summary

    Constructors
    Constructor
    Description
    ModelEntityBlock(Function<net.minecraft.resources.ResourceLocation,net.minecraft.client.renderer.RenderType> renderTypeIn)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract void
    renderTileEntity(T tileEnt, 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)
     

    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
  • Constructor Details

    • ModelEntityBlock

      public ModelEntityBlock(Function<net.minecraft.resources.ResourceLocation,net.minecraft.client.renderer.RenderType> renderTypeIn)
  • Method Details

    • renderTileEntity

      public abstract void renderTileEntity(T tileEnt, com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha)
    • 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