Class DirectionalBlockRenderer<T extends net.minecraft.world.level.block.entity.BlockEntity, S extends TransformingBlockRenderer.RenderState>

java.lang.Object
org.moddingx.libx.render.block.TransformingBlockRenderer<T,S>
org.moddingx.libx.render.block.DirectionalBlockRenderer<T,S>
All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T,S>, net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension<T>

public abstract class DirectionalBlockRenderer<T extends net.minecraft.world.level.block.entity.BlockEntity, S extends TransformingBlockRenderer.RenderState> extends TransformingBlockRenderer<T,S>
A BlockEntityRenderer that before calling the actual render code rotates the PoseStack depending on the facing. This may only be used with blocks that have the property BlockStateProperties.FACING. The block entity should be rendered as if it was facing up.