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 gzy
  • Field Details

    • bedHead

      private final Model bedHead
      Mappings:
      Namespace Name Mixin selector
      named bedHead Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;bedHead:Lnet/minecraft/client/model/Model;
      intermediary field_27744 Lnet/minecraft/class_825;field_27744:Lnet/minecraft/class_3879;
      official a Lgzy;a:Lgoe;
    • bedFoot

      private final Model bedFoot
      Mappings:
      Namespace Name Mixin selector
      named bedFoot Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;bedFoot:Lnet/minecraft/client/model/Model;
      intermediary field_27745 Lnet/minecraft/class_825;field_27745:Lnet/minecraft/class_3879;
      official b Lgzy;b:Lgoe;
  • 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> Lgzy;<init>(Lhac$a;)V
    • BedBlockEntityRenderer

      public BedBlockEntityRenderer(LoadedEntityModels models)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/block/entity/BedBlockEntityRenderer;<init>(Lnet/minecraft/client/render/entity/model/LoadedEntityModels;)V
      intermediary <init> Lnet/minecraft/class_825;<init>(Lnet/minecraft/class_5599;)V
      official <init> Lgzy;<init>(Lgqi;)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 c Lgzy;c()Lgqs;
    • 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 Lgzy;d()Lgqs;
    • render

      public void render(BedBlockEntity bedBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3, Vec3d vec3d)
      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;IILnet/minecraft/util/math/Vec3d;)V
      intermediary method_3557 Lnet/minecraft/class_825;method_3557(Lnet/minecraft/class_2587;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;IILnet/minecraft/class_243;)V
      official a Lgzy;a(Leav;FLfoc;Lgxm;IILfis;)V
    • renderAsItem

      public void renderAsItem(MatrixStack matrices, VertexConsumerProvider vertexConsumers, 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/VertexConsumerProvider;IILnet/minecraft/client/util/SpriteIdentifier;)V
      intermediary method_65557 Lnet/minecraft/class_825;method_65557(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IILnet/minecraft/class_4730;)V
      official a Lgzy;a(Lfoc;Lgxm;IILhty;)V
    • renderPart

      private void renderPart(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Model model, 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/Model;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_3879;Lnet/minecraft/class_2350;Lnet/minecraft/class_4730;IIZ)V
      official a Lgzy;a(Lfoc;Lgxm;Lgoe;Ljh;Lhty;IIZ)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 Lgzy;a(Lfoc;ZLjh;)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 Lgzy;a(Ljava/util/Set;)V