Class BlueprintChestBlockEntityRenderer<T extends net.minecraft.world.level.block.entity.BlockEntity & net.minecraft.world.level.block.entity.LidBlockEntity>

java.lang.Object
io.github.vampirestudios.vampirelib.client.BlueprintChestBlockEntityRenderer<T>
Type Parameters:
T - The type of LidBlockEntity the renderer is for.
All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T>

public class BlueprintChestBlockEntityRenderer<T extends net.minecraft.world.level.block.entity.BlockEntity & net.minecraft.world.level.block.entity.LidBlockEntity> extends Object implements net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T>
The BlockEntityRenderer responsible for the rendering of Blueprint's chests.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
     
    static net.minecraft.world.level.block.Block
     
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    net.minecraft.client.resources.model.Material
    getChestMaterial(T t, net.minecraft.world.level.block.state.properties.ChestType type)
     
    void
    render(com.mojang.blaze3d.vertex.PoseStack matrixStack, com.mojang.blaze3d.vertex.VertexConsumer builder, net.minecraft.client.model.geom.ModelPart chestLid, net.minecraft.client.model.geom.ModelPart chestLatch, net.minecraft.client.model.geom.ModelPart chestBottom, float lidAngle, int combinedLightIn, int combinedOverlayIn)
     
    void
    render(T tileEntityIn, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrixStackIn, net.minecraft.client.renderer.MultiBufferSource bufferIn, int combinedLightIn, int combinedOverlayIn)
     

    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

    • itemBlock

      public static net.minecraft.world.level.block.Block itemBlock
    • isChristmas

      public boolean isChristmas
  • Constructor Details

    • BlueprintChestBlockEntityRenderer

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

    • render

      public void render(T tileEntityIn, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrixStackIn, net.minecraft.client.renderer.MultiBufferSource bufferIn, int combinedLightIn, int combinedOverlayIn)
      Specified by:
      render in interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T extends net.minecraft.world.level.block.entity.BlockEntity & net.minecraft.world.level.block.entity.LidBlockEntity>
    • getChestMaterial

      public net.minecraft.client.resources.model.Material getChestMaterial(T t, net.minecraft.world.level.block.state.properties.ChestType type)
    • render

      public void render(com.mojang.blaze3d.vertex.PoseStack matrixStack, com.mojang.blaze3d.vertex.VertexConsumer builder, net.minecraft.client.model.geom.ModelPart chestLid, net.minecraft.client.model.geom.ModelPart chestLatch, net.minecraft.client.model.geom.ModelPart chestBottom, float lidAngle, int combinedLightIn, int combinedOverlayIn)