Class StoneChestBlockEntityRenderer<T extends StoneChestBlockEntity & net.minecraft.world.level.block.entity.LidBlockEntity>

java.lang.Object
net.minecraft.client.renderer.blockentity.ChestRenderer<T>
net.frozenblock.wilderwild.entity.render.blockentity.StoneChestBlockEntityRenderer<T>
All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T>

public class StoneChestBlockEntityRenderer<T extends StoneChestBlockEntity & net.minecraft.world.level.block.entity.LidBlockEntity> extends net.minecraft.client.renderer.blockentity.ChestRenderer<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.client.resources.model.Material
     
    static final net.minecraft.client.resources.model.Material
     
    static final net.minecraft.client.resources.model.Material
     
    static final net.minecraft.client.resources.model.Material
     
    static final net.minecraft.client.resources.model.Material
     
    static final net.minecraft.client.resources.model.Material
     
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    static @NotNull net.minecraft.client.model.geom.builders.LayerDefinition
     
    static @NotNull net.minecraft.client.model.geom.builders.LayerDefinition
     
    static @NotNull net.minecraft.client.model.geom.builders.LayerDefinition
     
    static @NotNull net.minecraft.client.resources.model.Material
    getChestTexture(@NotNull net.minecraft.world.level.block.state.properties.ChestType type, boolean sculk)
     
    static @NotNull net.minecraft.client.resources.model.Material
    getChestTextureId(@NotNull String variant)
     
    void
    render(T entity, float partialTick, @NotNull com.mojang.blaze3d.vertex.PoseStack poseStack, @NotNull net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay)
     

    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

    • STONE

      public static final net.minecraft.client.resources.model.Material STONE
    • STONE_LEFT

      public static final net.minecraft.client.resources.model.Material STONE_LEFT
    • STONE_RIGHT

      public static final net.minecraft.client.resources.model.Material STONE_RIGHT
    • STONE_SCULK

      public static final net.minecraft.client.resources.model.Material STONE_SCULK
    • STONE_LEFT_SCULK

      public static final net.minecraft.client.resources.model.Material STONE_LEFT_SCULK
    • STONE_RIGHT_SCULK

      public static final net.minecraft.client.resources.model.Material STONE_RIGHT_SCULK
  • Constructor Details

    • StoneChestBlockEntityRenderer

      public StoneChestBlockEntityRenderer(@NotNull net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context ctx)
  • Method Details

    • createSingleBodyLayer

      @NotNull public static @NotNull net.minecraft.client.model.geom.builders.LayerDefinition createSingleBodyLayer()
    • createDoubleBodyRightLayer

      @NotNull public static @NotNull net.minecraft.client.model.geom.builders.LayerDefinition createDoubleBodyRightLayer()
    • createDoubleBodyLeftLayer

      @NotNull public static @NotNull net.minecraft.client.model.geom.builders.LayerDefinition createDoubleBodyLeftLayer()
    • getChestTexture

      @NotNull public static @NotNull net.minecraft.client.resources.model.Material getChestTexture(@NotNull @NotNull net.minecraft.world.level.block.state.properties.ChestType type, boolean sculk)
    • getChestTextureId

      @NotNull public static @NotNull net.minecraft.client.resources.model.Material getChestTextureId(@NotNull @NotNull String variant)
    • render

      public void render(@NotNull T entity, float partialTick, @NotNull @NotNull com.mojang.blaze3d.vertex.PoseStack poseStack, @NotNull @NotNull net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay)
      Specified by:
      render in interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T extends StoneChestBlockEntity & net.minecraft.world.level.block.entity.LidBlockEntity>
      Overrides:
      render in class net.minecraft.client.renderer.blockentity.ChestRenderer<T extends StoneChestBlockEntity & net.minecraft.world.level.block.entity.LidBlockEntity>