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 flr
intermediary net/minecraft/class_825
named net/minecraft/client/render/block/entity/BedBlockEntityRenderer
  • Field Details

    • bedHead

      private final ModelPart bedHead
      Mappings:
      Namespace Name Mixin selector
      official a Lflr;a:Lfee;
      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

      private final ModelPart bedFoot
      Mappings:
      Namespace Name Mixin selector
      official b Lflr;b:Lfee;
      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

      public BedBlockEntityRenderer(BlockEntityRendererFactory.Context ctx)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lflr;<init>(Lflv$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

      public static TexturedModelData getHeadTexturedModelData()
      Mappings:
      Namespace Name Mixin selector
      official b Lflr;b()Lfek;
      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

      public static TexturedModelData getFootTexturedModelData()
      Mappings:
      Namespace Name Mixin selector
      official c Lflr;c()Lfek;
      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 interface BlockEntityRenderer<BedBlockEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lflr;a(Lczj;FLeij;Lfjx;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 matrices, VertexConsumerProvider vertexConsumers, ModelPart part, Direction direction, SpriteIdentifier sprite, int light, int overlay, boolean isFoot)
      Mappings:
      Namespace Name Mixin selector
      official a Lflr;a(Leij;Lfjx;Lfee;Lha;Lfwu;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