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
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.client.resources.model.Materialstatic final net.minecraft.client.resources.model.Materialstatic final net.minecraft.client.resources.model.Materialstatic final net.minecraft.client.resources.model.Materialstatic final net.minecraft.client.resources.model.Materialstatic final net.minecraft.client.resources.model.Material -
Constructor Summary
ConstructorsConstructorDescriptionStoneChestBlockEntityRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context ctx) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull net.minecraft.client.model.geom.builders.LayerDefinitionstatic @NotNull net.minecraft.client.model.geom.builders.LayerDefinitionstatic @NotNull net.minecraft.client.model.geom.builders.LayerDefinitionstatic @NotNull net.minecraft.client.resources.model.MaterialgetChestTexture(@NotNull net.minecraft.world.level.block.state.properties.ChestType type, boolean sculk) static @NotNull net.minecraft.client.resources.model.MaterialgetChestTextureId(@NotNull String variant) voidrender(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, waitMethods 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:
renderin interfacenet.minecraft.client.renderer.blockentity.BlockEntityRenderer<T extends StoneChestBlockEntity & net.minecraft.world.level.block.entity.LidBlockEntity>- Overrides:
renderin classnet.minecraft.client.renderer.blockentity.ChestRenderer<T extends StoneChestBlockEntity & net.minecraft.world.level.block.entity.LidBlockEntity>
-