Class BedBlockEntityRenderer

java.lang.Object
net.minecraft.client.render.block.entity.BedBlockEntityRenderer
All Implemented Interfaces:
BlockEntityRenderer<BedBlockEntity,class_11952>

@Environment(CLIENT) public class BedBlockEntityRenderer extends Object implements BlockEntityRenderer<BedBlockEntity,class_11952>
Mappings:
Namespace Name
named net/minecraft/client/render/block/entity/BedBlockEntityRenderer
intermediary net/minecraft/class_825
official hhv
  • Field Details

    • field_61780

      private final SpriteHolder field_61780
      Mappings:
      Namespace Name Mixin selector
      named field_61780 Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;field_61780:Lnet/minecraft/client/texture/SpriteHolder;
      intermediary field_61780 Lnet/minecraft/class_825;field_61780:Lnet/minecraft/class_11701;
      official a Lhhv;a:Lido;
    • bedHead

      private final Model.SinglePartModel bedHead
      Mappings:
      Namespace Name Mixin selector
      named bedHead Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;bedHead:Lnet/minecraft/client/model/Model$SinglePartModel;
      intermediary field_27744 Lnet/minecraft/class_825;field_27744:Lnet/minecraft/class_3879$class_9948;
      official b Lhhv;b:Lgvi$a;
    • bedFoot

      private final Model.SinglePartModel bedFoot
      Mappings:
      Namespace Name Mixin selector
      named bedFoot Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;bedFoot:Lnet/minecraft/client/model/Model$SinglePartModel;
      intermediary field_27745 Lnet/minecraft/class_825;field_27745:Lnet/minecraft/class_3879$class_9948;
      official c Lhhv;c:Lgvi$a;
  • 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> Lhhv;<init>(Lhhz$a;)V
    • BedBlockEntityRenderer

      public BedBlockEntityRenderer(SpecialModelRenderer.BakeContext bakeContext)
    • BedBlockEntityRenderer

      public BedBlockEntityRenderer(SpriteHolder spriteHolder, LoadedEntityModels loadedEntityModels)
  • 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 a Lhhv;a()Lgxw;
    • 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 d Lhhv;d()Lgxw;
    • method_74335

      public class_11952 method_74335()
      Specified by:
      method_74335 in interface BlockEntityRenderer<BedBlockEntity,class_11952>
      Mappings:
      Namespace Name Mixin selector
      named method_74335 Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;method_74335()Lnet/minecraft/class_11952;
      intermediary method_74345 Lnet/minecraft/class_825;method_74345()Lnet/minecraft/class_11952;
      official f Lhhv;f()Lhja;
    • method_74331

      public void method_74331(BedBlockEntity bedBlockEntity, class_11952 class_11952, float float2, Vec3d vec3d, @Nullable ModelCommandRenderer.CrumblingOverlayCommand crumblingOverlayCommand)
      Specified by:
      method_74331 in interface BlockEntityRenderer<BedBlockEntity,class_11952>
      Mappings:
      Namespace Name Mixin selector
      named method_74331 Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;method_74331(Lnet/minecraft/block/entity/BedBlockEntity;Lnet/minecraft/class_11952;FLnet/minecraft/util/math/Vec3d;Lnet/minecraft/client/render/command/ModelCommandRenderer$CrumblingOverlayCommand;)V
      intermediary method_74344 Lnet/minecraft/class_825;method_74344(Lnet/minecraft/class_2587;Lnet/minecraft/class_11952;FLnet/minecraft/class_243;Lnet/minecraft/class_11683$class_11792;)V
      official a Lhhv;a(Leff;Lhja;FLfnk;Lhwt$a;)V
    • render

      public void render(class_11952 class_11952, MatrixStack matrixStack, OrderedRenderCommandQueue orderedRenderCommandQueue)
      Specified by:
      render in interface BlockEntityRenderer<BedBlockEntity,class_11952>
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;render(Lnet/minecraft/class_11952;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/command/OrderedRenderCommandQueue;)V
      intermediary method_3557 Lnet/minecraft/class_825;method_3557(Lnet/minecraft/class_11952;Lnet/minecraft/class_4587;Lnet/minecraft/class_11659;)V
      official a Lhhv;a(Lhja;Lftd;Lhge;)V
    • renderAsItem

      public void renderAsItem(MatrixStack matrices, OrderedRenderCommandQueue orderedRenderCommandQueue, int light, int overlay, SpriteIdentifier textureId)
      Mappings:
      Namespace Name Mixin selector
      named renderAsItem Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;renderAsItem(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/command/OrderedRenderCommandQueue;IILnet/minecraft/client/util/SpriteIdentifier;)V
      intermediary method_65557 Lnet/minecraft/class_825;method_65557(Lnet/minecraft/class_4587;Lnet/minecraft/class_11659;IILnet/minecraft/class_4730;)V
      official a Lhhv;a(Lftd;Lhge;IILidn;)V
    • renderPart

      private void renderPart(MatrixStack matrixStack, OrderedRenderCommandQueue orderedRenderCommandQueue, Model.SinglePartModel singlePartModel, Direction direction, SpriteIdentifier spriteIdentifier, int light, int overlay, boolean isFoot, @Nullable ModelCommandRenderer.CrumblingOverlayCommand crumblingOverlayCommand)
      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/command/OrderedRenderCommandQueue;Lnet/minecraft/client/model/Model$SinglePartModel;Lnet/minecraft/util/math/Direction;Lnet/minecraft/client/util/SpriteIdentifier;IIZLnet/minecraft/client/render/command/ModelCommandRenderer$CrumblingOverlayCommand;)V
      intermediary method_3558 Lnet/minecraft/class_825;method_3558(Lnet/minecraft/class_4587;Lnet/minecraft/class_11659;Lnet/minecraft/class_3879$class_9948;Lnet/minecraft/class_2350;Lnet/minecraft/class_4730;IIZLnet/minecraft/class_11683$class_11792;)V
      official a Lhhv;a(Lftd;Lhge;Lgvi$a;Ljg;Lidn;IIZLhwt$a;)V
    • setTransforms

      private static void setTransforms(MatrixStack matrices, boolean isFoot, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      named setTransforms Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;setTransforms(Lnet/minecraft/client/util/math/MatrixStack;ZLnet/minecraft/util/math/Direction;)V
      intermediary method_72159 Lnet/minecraft/class_825;method_72159(Lnet/minecraft/class_4587;ZLnet/minecraft/class_2350;)V
      official a Lhhv;a(Lftd;ZLjg;)V
    • collectVertices

      public void collectVertices(Set<Vector3f> vertices)
      Mappings:
      Namespace Name Mixin selector
      named collectVertices Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;collectVertices(Ljava/util/Set;)V
      intermediary method_72160 Lnet/minecraft/class_825;method_72160(Ljava/util/Set;)V
      official a Lhhv;a(Ljava/util/Set;)V