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

java.lang.Object
com.pixelmonmod.pixelmon.client.render.tileEntities.TileEntityRenderer<T>
All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T>
Direct Known Subclasses:
BattleControllerTileEntityRenderer, EssenceJarTileEntityRenderer, RenderTileEntityArcChalice, RenderTileEntityBell, RenderTileEntityCloningMachine, RenderTileEntityCookingPot, RenderTileEntityDecorativeBase, RenderTileEntityFossilCleaner, RenderTileEntityFossilDisplay, RenderTileEntityFossilMachine, RenderTileEntityGeneric, RenderTileEntityGenericSMD, RenderTileEntityGymSign, RenderTileEntityHealer, RenderTileEntityInfuser, RenderTileEntityMysteryBox, RenderTileEntityOrb, RenderTileEntityPokeChest, RenderTileEntityPokeDisplay, RenderTileEntityPokeGift, RenderTileEntityReassemblyUnit, RenderTileEntityScroll, RenderTileEntityTimespaceAltar, RenderTileEntityTree, RenderTileEntityTV, RenderTileEntityZygardeCell

public abstract class TileEntityRenderer<T extends net.minecraft.world.level.block.entity.BlockEntity> extends Object implements net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T>
Created by Jay113355 on 5/14/2017
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static boolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    TileEntityRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.blaze3d.vertex.VertexConsumer
    bindModelBuffer(net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.model.Model model, net.minecraft.resources.ResourceLocation texture)
     
    com.mojang.blaze3d.vertex.VertexConsumer
    bindSMDBuffer(net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.resources.ResourceLocation texture)
     
    void
    bindTexture(net.minecraft.resources.ResourceLocation texture)
    Deprecated.
    protected int
    getRotation(net.minecraft.world.level.block.state.BlockState state)
     
    boolean
    hasProperty(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.state.properties.Property<?> property)
     
    void
    render(T te, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int combinedLight, int combinedOverlay)
     
    abstract void
    render(T te, net.minecraft.world.level.block.state.BlockState state, double x, double y, double z, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int combinedLight, int combinedOverlay)
     
    void
    renderModel(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.model.Model model, net.minecraft.resources.ResourceLocation texture, int light, int overlay)
     
    void
    renderModel(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.model.Model model, net.minecraft.resources.ResourceLocation texture, int light, int overlay, float r, float g, float b, float a)
     
    void
    renderOBJ(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.model.Model model, net.minecraft.resources.ResourceLocation texture, int light, int overlay)
     
    void
    renderOBJ(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.model.Model model, net.minecraft.resources.ResourceLocation texture, int light, int overlay, float r, float g, float b, float a)
     
    void
    renderSMD(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.model.Model model, net.minecraft.resources.ResourceLocation texture, int light, int overlay)
     
    void
    renderSMD(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.model.Model model, net.minecraft.resources.ResourceLocation texture, int light, int overlay, float r, float g, float b, float a)
     
    void
    renderTransparentSMD(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.model.Model model, net.minecraft.resources.ResourceLocation texture, int light, int overlay, float r, float g, float b, float a)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer

    getViewDistance, shouldRender, shouldRenderOffScreen
  • Field Details

    • profileTileEntityRender

      public static boolean profileTileEntityRender
  • Constructor Details

    • TileEntityRenderer

      public TileEntityRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context)
  • Method Details

    • render

      public void render(T te, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int combinedLight, int combinedOverlay)
      Specified by:
      render in interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T extends net.minecraft.world.level.block.entity.BlockEntity>
    • render

      public abstract void render(T te, net.minecraft.world.level.block.state.BlockState state, double x, double y, double z, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int combinedLight, int combinedOverlay)
    • getRotation

      protected int getRotation(net.minecraft.world.level.block.state.BlockState state)
    • hasProperty

      public boolean hasProperty(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.state.properties.Property<?> property)
    • bindTexture

      @Deprecated public void bindTexture(net.minecraft.resources.ResourceLocation texture)
      Deprecated.
    • bindModelBuffer

      public com.mojang.blaze3d.vertex.VertexConsumer bindModelBuffer(net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.model.Model model, net.minecraft.resources.ResourceLocation texture)
    • renderModel

      public void renderModel(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.model.Model model, net.minecraft.resources.ResourceLocation texture, int light, int overlay)
    • renderModel

      public void renderModel(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.model.Model model, net.minecraft.resources.ResourceLocation texture, int light, int overlay, float r, float g, float b, float a)
    • bindSMDBuffer

      public com.mojang.blaze3d.vertex.VertexConsumer bindSMDBuffer(net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.resources.ResourceLocation texture)
    • renderSMD

      public void renderSMD(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.model.Model model, net.minecraft.resources.ResourceLocation texture, int light, int overlay)
    • renderSMD

      public void renderSMD(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.model.Model model, net.minecraft.resources.ResourceLocation texture, int light, int overlay, float r, float g, float b, float a)
    • renderTransparentSMD

      public void renderTransparentSMD(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.model.Model model, net.minecraft.resources.ResourceLocation texture, int light, int overlay, float r, float g, float b, float a)
    • renderOBJ

      public void renderOBJ(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.model.Model model, net.minecraft.resources.ResourceLocation texture, int light, int overlay)
    • renderOBJ

      public void renderOBJ(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.model.Model model, net.minecraft.resources.ResourceLocation texture, int light, int overlay, float r, float g, float b, float a)