Class BedRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.BedRenderer
- All Implemented Interfaces:
BlockEntityRenderer<BedBlockEntity>
-
Field Summary
-
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
-
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_)
-