Class BrushableBlockRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.BrushableBlockRenderer
- All Implemented Interfaces:
- BlockEntityRenderer<BrushableBlockEntity>,- IBlockEntityRendererExtension<BrushableBlockEntity>
public class BrushableBlockRenderer
extends Object
implements BlockEntityRenderer<BrushableBlockEntity>
- 
Field SummaryFieldsFields inherited from interface net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtensionINFINITE_EXTENT_AABB
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetRenderBoundingBox(BrushableBlockEntity blockEntity) Return anAABBthat controls the visible scope of thisBlockEntityRenderer.voidrender(BrushableBlockEntity p_277712_, float p_277981_, PoseStack p_277490_, MultiBufferSource p_278015_, int p_277463_, int p_277346_) private float[]translations(Direction p_278030_, int p_277997_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.renderer.blockentity.BlockEntityRenderergetViewDistance, shouldRender, shouldRenderOffScreen
- 
Field Details- 
itemRenderer
 
- 
- 
Constructor Details- 
BrushableBlockRenderer
 
- 
- 
Method Details- 
renderpublic void render(BrushableBlockEntity p_277712_, float p_277981_, PoseStack p_277490_, MultiBufferSource p_278015_, int p_277463_, int p_277346_) - Specified by:
- renderin interface- BlockEntityRenderer<BrushableBlockEntity>
 
- 
translations
- 
getRenderBoundingBoxDescription copied from interface:IBlockEntityRendererExtensionReturn anAABBthat controls the visible scope of thisBlockEntityRenderer. Defaults to the unit cube at the given position.- Specified by:
- getRenderBoundingBoxin interface- IBlockEntityRendererExtension<BrushableBlockEntity>
- Returns:
- an appropriately sized AABBfor theBlockEntityRenderer
 
 
-