Class BedRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.BedRenderer
- All Implemented Interfaces:
BlockEntityRenderer<BedBlockEntity>
,IBlockEntityRendererExtension<BedBlockEntity>
-
Field Summary
Fields inherited from interface net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension
INFINITE_EXTENT_AABB
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LayerDefinition
static LayerDefinition
void
render
(BedBlockEntity p_112205_, float p_112206_, PoseStack p_112207_, MultiBufferSource p_112208_, int p_112209_, int p_112210_) private void
renderPiece
(PoseStack p_173542_, MultiBufferSource p_173543_, ModelPart p_173544_, Direction p_173545_, Material p_173546_, int p_173547_, int p_173548_, boolean p_173549_) 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
Methods inherited from interface net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension
getRenderBoundingBox
-
Field Details
-
headRoot
-
footRoot
-
-
Constructor Details
-
BedRenderer
-
-
Method Details
-
createHeadLayer
-
createFootLayer
-
render
public void render(BedBlockEntity p_112205_, float p_112206_, PoseStack p_112207_, MultiBufferSource p_112208_, int p_112209_, int p_112210_) - Specified by:
render
in interfaceBlockEntityRenderer<BedBlockEntity>
-
renderPiece
private void renderPiece(PoseStack p_173542_, MultiBufferSource p_173543_, ModelPart p_173544_, Direction p_173545_, Material p_173546_, int p_173547_, int p_173548_, boolean p_173549_)
-