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 flgintermediary net/minecraft/class_825named net/minecraft/client/render/block/entity/BedBlockEntityRenderer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TexturedModelDatastatic TexturedModelDatavoidrender(BedBlockEntity bedBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3) private voidrenderPart(MatrixStack matrices, VertexConsumerProvider vertexConsumers, ModelPart part, 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, waitMethods inherited from interface net.minecraft.client.render.block.entity.BlockEntityRenderer
getRenderDistance, isInRenderDistance, rendersOutsideBoundingBox
-
Field Details
-
bedHead
- Mappings:
Namespace Name Mixin selector official aLflg;a:Lfdt;intermediary field_27744Lnet/minecraft/class_825;field_27744:Lnet/minecraft/class_630;named bedHeadLnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;bedHead:Lnet/minecraft/client/model/ModelPart;
-
bedFoot
- Mappings:
Namespace Name Mixin selector official bLflg;b:Lfdt;intermediary field_27745Lnet/minecraft/class_825;field_27745:Lnet/minecraft/class_630;named bedFootLnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;bedFoot:Lnet/minecraft/client/model/ModelPart;
-
-
Constructor Details
-
BedBlockEntityRenderer
- Mappings:
Namespace Name Mixin selector official <init>Lflg;<init>(Lflk$a;)Vintermediary <init>Lnet/minecraft/class_825;<init>(Lnet/minecraft/class_5614$class_5615;)Vnamed <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 bLflg;b()Lfdz;intermediary method_32136Lnet/minecraft/class_825;method_32136()Lnet/minecraft/class_5607;named getHeadTexturedModelDataLnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;getHeadTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
-
getFootTexturedModelData
- Mappings:
Namespace Name Mixin selector official cLflg;c()Lfdz;intermediary method_32137Lnet/minecraft/class_825;method_32137()Lnet/minecraft/class_5607;named getFootTexturedModelDataLnet/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:
renderin interfaceBlockEntityRenderer<BedBlockEntity>- Mappings:
Namespace Name Mixin selector official aLflg;a(Lczg;FLeib;Lfjm;II)Vintermediary method_3557Lnet/minecraft/class_825;method_3557(Lnet/minecraft/class_2587;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;II)Vnamed renderLnet/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 matrices, VertexConsumerProvider vertexConsumers, ModelPart part, Direction direction, SpriteIdentifier sprite, int light, int overlay, boolean isFoot) - Mappings:
Namespace Name Mixin selector official aLflg;a(Leib;Lfjm;Lfdt;Lha;Lfwj;IIZ)Vintermediary method_3558Lnet/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)Vnamed renderPartLnet/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
-