Class RotatedBlockRenderer<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.RotatedBlockRenderer<T,S>
All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T,S>, net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension<T>

public abstract class RotatedBlockRenderer<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 horizontal facing. This may only be used with blocks that have the property BlockStateProperties.HORIZONTAL_FACING. The block entity should be rendered as if it was facing north.