Class BannerBlockEntityRenderer

java.lang.Object
net.minecraft.client.render.block.entity.BannerBlockEntityRenderer
All Implemented Interfaces:
BlockEntityRenderer<BannerBlockEntity>

@Environment(CLIENT) public class BannerBlockEntityRenderer extends Object implements BlockEntityRenderer<BannerBlockEntity>
Mappings:
Namespace Name
official flp
intermediary net/minecraft/class_823
named net/minecraft/client/render/block/entity/BannerBlockEntityRenderer
  • Field Details

    • WIDTH

      private static final int WIDTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lflp;b:I
      intermediary field_32817 Lnet/minecraft/class_823;field_32817:I
      named WIDTH Lnet/minecraft/client/render/block/entity/BannerBlockEntityRenderer;WIDTH:I
    • HEIGHT

      private static final int HEIGHT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lflp;c:I
      intermediary field_32818 Lnet/minecraft/class_823;field_32818:I
      named HEIGHT Lnet/minecraft/client/render/block/entity/BannerBlockEntityRenderer;HEIGHT:I
    • ROTATIONS

      private static final int ROTATIONS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lflp;d:I
      intermediary field_32819 Lnet/minecraft/class_823;field_32819:I
      named ROTATIONS Lnet/minecraft/client/render/block/entity/BannerBlockEntityRenderer;ROTATIONS:I
    • PILLAR

      private static final String PILLAR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lflp;e:Ljava/lang/String;
      intermediary field_32820 Lnet/minecraft/class_823;field_32820:Ljava/lang/String;
      named PILLAR Lnet/minecraft/client/render/block/entity/BannerBlockEntityRenderer;PILLAR:Ljava/lang/String;
    • CROSSBAR

      private static final String CROSSBAR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lflp;f:Ljava/lang/String;
      intermediary field_32821 Lnet/minecraft/class_823;field_32821:Ljava/lang/String;
      named CROSSBAR Lnet/minecraft/client/render/block/entity/BannerBlockEntityRenderer;CROSSBAR:Ljava/lang/String;
    • pillar

      private final ModelPart pillar
      Mappings:
      Namespace Name Mixin selector
      official h Lflp;h:Lfee;
      intermediary field_20811 Lnet/minecraft/class_823;field_20811:Lnet/minecraft/class_630;
      named pillar Lnet/minecraft/client/render/block/entity/BannerBlockEntityRenderer;pillar:Lnet/minecraft/client/model/ModelPart;
    • crossbar

      private final ModelPart crossbar
      Mappings:
      Namespace Name Mixin selector
      official i Lflp;i:Lfee;
      intermediary field_20812 Lnet/minecraft/class_823;field_20812:Lnet/minecraft/class_630;
      named crossbar Lnet/minecraft/client/render/block/entity/BannerBlockEntityRenderer;crossbar:Lnet/minecraft/client/model/ModelPart;
  • Constructor Details

    • BannerBlockEntityRenderer

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

    • getTexturedModelData

      public static TexturedModelData getTexturedModelData()
      Mappings:
      Namespace Name Mixin selector
      official a Lflp;a()Lfek;
      intermediary method_32135 Lnet/minecraft/class_823;method_32135()Lnet/minecraft/class_5607;
      named getTexturedModelData Lnet/minecraft/client/render/block/entity/BannerBlockEntityRenderer;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
    • render

      public void render(BannerBlockEntity bannerBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3)
      Specified by:
      render in interface BlockEntityRenderer<BannerBlockEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lflp;a(Lczd;FLeij;Lfjx;II)V
      intermediary method_3546 Lnet/minecraft/class_823;method_3546(Lnet/minecraft/class_2573;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;II)V
      named render Lnet/minecraft/client/render/block/entity/BannerBlockEntityRenderer;render(Lnet/minecraft/block/entity/BannerBlockEntity;FLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;II)V
    • renderCanvas

      public static void renderCanvas(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, ModelPart canvas, SpriteIdentifier baseSprite, boolean isBanner, List<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,DyeColor>> patterns)
      Mappings:
      Namespace Name Mixin selector
      official a Lflp;a(Leij;Lfjx;IILfee;Lfwu;ZLjava/util/List;)V
      intermediary method_29999 Lnet/minecraft/class_823;method_29999(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IILnet/minecraft/class_630;Lnet/minecraft/class_4730;ZLjava/util/List;)V
      named renderCanvas Lnet/minecraft/client/render/block/entity/BannerBlockEntityRenderer;renderCanvas(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IILnet/minecraft/client/model/ModelPart;Lnet/minecraft/client/util/SpriteIdentifier;ZLjava/util/List;)V
    • renderCanvas

      public static void renderCanvas(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, ModelPart canvas, SpriteIdentifier baseSprite, boolean isBanner, List<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,DyeColor>> patterns, boolean glint)
      Mappings:
      Namespace Name Mixin selector
      official a Lflp;a(Leij;Lfjx;IILfee;Lfwu;ZLjava/util/List;Z)V
      intermediary method_23802 Lnet/minecraft/class_823;method_23802(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IILnet/minecraft/class_630;Lnet/minecraft/class_4730;ZLjava/util/List;Z)V
      named renderCanvas Lnet/minecraft/client/render/block/entity/BannerBlockEntityRenderer;renderCanvas(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IILnet/minecraft/client/model/ModelPart;Lnet/minecraft/client/util/SpriteIdentifier;ZLjava/util/List;Z)V