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

    • bedHead

      private final ModelPart bedHead
      Mappings:
      Namespace Name Mixin selector
      named bedHead Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;bedHead:Lnet/minecraft/client/model/ModelPart;
      intermediary field_27744 Lnet/minecraft/class_825;field_27744:Lnet/minecraft/class_630;
      official a Lgfn;a:Lfxc;
    • bedFoot

      private final ModelPart bedFoot
      Mappings:
      Namespace Name Mixin selector
      named bedFoot Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;bedFoot:Lnet/minecraft/client/model/ModelPart;
      intermediary field_27745 Lnet/minecraft/class_825;field_27745:Lnet/minecraft/class_630;
      official b Lgfn;b:Lfxc;
  • Constructor Details

    • BedBlockEntityRenderer

      public BedBlockEntityRenderer(BlockEntityRendererFactory.Context ctx)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;<init>(Lnet/minecraft/client/render/block/entity/BlockEntityRendererFactory$Context;)V
      intermediary <init> Lnet/minecraft/class_825;<init>(Lnet/minecraft/class_5614$class_5615;)V
      official <init> Lgfn;<init>(Lgfr$a;)V
  • Method Details

    • getHeadTexturedModelData

      public static TexturedModelData getHeadTexturedModelData()
      Mappings:
      Namespace Name Mixin selector
      named getHeadTexturedModelData Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;getHeadTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
      intermediary method_32136 Lnet/minecraft/class_825;method_32136()Lnet/minecraft/class_5607;
      official b Lgfn;b()Lfxi;
    • getFootTexturedModelData

      public static TexturedModelData getFootTexturedModelData()
      Mappings:
      Namespace Name Mixin selector
      named getFootTexturedModelData Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;getFootTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
      intermediary method_32137 Lnet/minecraft/class_825;method_32137()Lnet/minecraft/class_5607;
      official c Lgfn;c()Lfxi;
    • 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
      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
      intermediary method_3557 Lnet/minecraft/class_825;method_3557(Lnet/minecraft/class_2587;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;II)V
      official a Lgfn;a(Ldpf;FLfaa;Lgdq;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
      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
      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
      official a Lgfn;a(Lfaa;Lgdq;Lfxc;Lje;Lgrf;IIZ)V