Class BedBlockEntityRenderer
java.lang.Object
net.minecraft.client.render.block.entity.BedBlockEntityRenderer
- All Implemented Interfaces:
BlockEntityRenderer<BedBlockEntity>
@Environment(CLIENT) public class BedBlockEntityRenderer extends Object implements BlockEntityRenderer<BedBlockEntity>
- Mappings:
Namespace Name official ejl
intermediary net/minecraft/class_825
named net/minecraft/client/render/block/entity/BedBlockEntityRenderer
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BedBlockEntityRenderer(BlockEntityRendererFactory.Context ctx)
-
Method Summary
Modifier and Type Method Description static TexturedModelData
getFootTexturedModelData()
static TexturedModelData
getHeadTexturedModelData()
void
render(BedBlockEntity bedBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3)
private void
renderPart(MatrixStack matrix, VertexConsumerProvider vertexConsumers, ModelPart modelPart, Direction direction, SpriteIdentifier sprite, int light, int overlay, boolean isFoot)
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.render.block.entity.BlockEntityRenderer
rendersOutsideBoundingBox
-
Field Details
-
bedHead
- Mappings:
Namespace Name Mixin selector official a
Lejl;a:Ledh;
intermediary field_27744
Lnet/minecraft/class_825;field_27744:Lnet/minecraft/class_630;
named bedHead
Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;bedHead:Lnet/minecraft/client/model/ModelPart;
-
bedFoot
- Mappings:
Namespace Name Mixin selector official b
Lejl;b:Ledh;
intermediary field_27745
Lnet/minecraft/class_825;field_27745:Lnet/minecraft/class_630;
named bedFoot
Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;bedFoot:Lnet/minecraft/client/model/ModelPart;
-
-
Constructor Details
-
BedBlockEntityRenderer
- Mappings:
Namespace Name Mixin selector official <init>
Lejl;<init>(Lejp$a;)V
intermediary <init>
Lnet/minecraft/class_825;<init>(Lnet/minecraft/class_5614$class_5615;)V
named <init>
Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;<init>(Lnet/minecraft/client/render/block/entity/BlockEntityRendererFactory$Context;)V
-
-
Method Details
-
getHeadTexturedModelData
- Mappings:
Namespace Name Mixin selector official a
Lejl;a()Ledn;
intermediary method_32136
Lnet/minecraft/class_825;method_32136()Lnet/minecraft/class_5607;
named getHeadTexturedModelData
Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;getHeadTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
-
getFootTexturedModelData
- Mappings:
Namespace Name Mixin selector official b
Lejl;b()Ledn;
intermediary method_32137
Lnet/minecraft/class_825;method_32137()Lnet/minecraft/class_5607;
named getFootTexturedModelData
Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;getFootTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
-
render
public void render(BedBlockEntity bedBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3)- Specified by:
render
in interfaceBlockEntityRenderer<BedBlockEntity>
- Mappings:
Namespace Name Mixin selector official a
Lejl;a(Lcfn;FLdlr;Lehq;II)V
intermediary method_3557
Lnet/minecraft/class_825;method_3557(Lnet/minecraft/class_2587;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;II)V
named render
Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;render(Lnet/minecraft/block/entity/BedBlockEntity;FLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;II)V
-
renderPart
private void renderPart(MatrixStack matrix, VertexConsumerProvider vertexConsumers, ModelPart modelPart, Direction direction, SpriteIdentifier sprite, int light, int overlay, boolean isFoot)- Mappings:
Namespace Name Mixin selector official a
Lejl;a(Ldlr;Lehq;Ledh;Lgc;Letj;IIZ)V
intermediary method_3558
Lnet/minecraft/class_825;method_3558(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_630;Lnet/minecraft/class_2350;Lnet/minecraft/class_4730;IIZ)V
named renderPart
Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;renderPart(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/model/ModelPart;Lnet/minecraft/util/math/Direction;Lnet/minecraft/client/util/SpriteIdentifier;IIZ)V
-