Class BannerBlockEntity

java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.BannerBlockEntity
All Implemented Interfaces:
Nameable

public class BannerBlockEntity extends BlockEntity implements Nameable
Mappings:
Namespace Name
official cig
intermediary net/minecraft/class_2573
named net/minecraft/block/entity/BannerBlockEntity
  • Field Details

    • field_31296

      public static final int field_31296
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcig;a:I
      intermediary field_31296 Lnet/minecraft/class_2573;field_31296:I
      named field_31296 Lnet/minecraft/block/entity/BannerBlockEntity;field_31296:I
    • PATTERNS_KEY

      public static final String PATTERNS_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lcig;b:Ljava/lang/String;
      intermediary field_31297 Lnet/minecraft/class_2573;field_31297:Ljava/lang/String;
      named PATTERNS_KEY Lnet/minecraft/block/entity/BannerBlockEntity;PATTERNS_KEY:Ljava/lang/String;
    • PATTERN_KEY

      public static final String PATTERN_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lcig;c:Ljava/lang/String;
      intermediary field_31298 Lnet/minecraft/class_2573;field_31298:Ljava/lang/String;
      named PATTERN_KEY Lnet/minecraft/block/entity/BannerBlockEntity;PATTERN_KEY:Ljava/lang/String;
    • COLOR_KEY

      public static final String COLOR_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lcig;d:Ljava/lang/String;
      intermediary field_31299 Lnet/minecraft/class_2573;field_31299:Ljava/lang/String;
      named COLOR_KEY Lnet/minecraft/block/entity/BannerBlockEntity;COLOR_KEY:Ljava/lang/String;
    • customName

      @Nullable private @Nullable Text customName
      Mappings:
      Namespace Name Mixin selector
      official e Lcig;e:Los;
      intermediary field_11772 Lnet/minecraft/class_2573;field_11772:Lnet/minecraft/class_2561;
      named customName Lnet/minecraft/block/entity/BannerBlockEntity;customName:Lnet/minecraft/text/Text;
    • baseColor

      private DyeColor baseColor
      Mappings:
      Namespace Name Mixin selector
      official f Lcig;f:Lbpl;
      intermediary field_11774 Lnet/minecraft/class_2573;field_11774:Lnet/minecraft/class_1767;
      named baseColor Lnet/minecraft/block/entity/BannerBlockEntity;baseColor:Lnet/minecraft/util/DyeColor;
    • patternListTag

      @Nullable private @Nullable NbtList patternListTag
      Mappings:
      Namespace Name Mixin selector
      official g Lcig;g:Lng;
      intermediary field_11773 Lnet/minecraft/class_2573;field_11773:Lnet/minecraft/class_2499;
      named patternListTag Lnet/minecraft/block/entity/BannerBlockEntity;patternListTag:Lnet/minecraft/nbt/NbtList;
    • patternListTagRead

      private boolean patternListTagRead
      Mappings:
      Namespace Name Mixin selector
      official h Lcig;h:Z
      intermediary field_11770 Lnet/minecraft/class_2573;field_11770:Z
      named patternListTagRead Lnet/minecraft/block/entity/BannerBlockEntity;patternListTagRead:Z
    • patterns

      @Nullable private @Nullable List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> patterns
      Mappings:
      Namespace Name Mixin selector
      official i Lcig;i:Ljava/util/List;
      intermediary field_11769 Lnet/minecraft/class_2573;field_11769:Ljava/util/List;
      named patterns Lnet/minecraft/block/entity/BannerBlockEntity;patterns:Ljava/util/List;
  • Constructor Details

    • BannerBlockEntity

      public BannerBlockEntity(BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcig;<init>(Lgg;Lcks;)V
      intermediary <init> Lnet/minecraft/class_2573;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      named <init> Lnet/minecraft/block/entity/BannerBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • BannerBlockEntity

      public BannerBlockEntity(BlockPos pos, BlockState state, DyeColor baseColor)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcig;<init>(Lgg;Lcks;Lbpl;)V
      intermediary <init> Lnet/minecraft/class_2573;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1767;)V
      named <init> Lnet/minecraft/block/entity/BannerBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/DyeColor;)V
  • Method Details

    • getPatternListTag

      @Nullable public static @Nullable NbtList getPatternListTag(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lcig;a(Lbqp;)Lng;
      intermediary method_24281 Lnet/minecraft/class_2573;method_24281(Lnet/minecraft/class_1799;)Lnet/minecraft/class_2499;
      named getPatternListTag Lnet/minecraft/block/entity/BannerBlockEntity;getPatternListTag(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/nbt/NbtList;
    • readFrom

      public void readFrom(ItemStack stack, DyeColor baseColor)
      Mappings:
      Namespace Name Mixin selector
      official a Lcig;a(Lbqp;Lbpl;)V
      intermediary method_10913 Lnet/minecraft/class_2573;method_10913(Lnet/minecraft/class_1799;Lnet/minecraft/class_1767;)V
      named readFrom Lnet/minecraft/block/entity/BannerBlockEntity;readFrom(Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/DyeColor;)V
    • getName

      public Text getName()
      Specified by:
      getName in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official S Lase;S()Los;
      intermediary method_5477 Lnet/minecraft/class_1275;method_5477()Lnet/minecraft/class_2561;
      named getName Lnet/minecraft/util/Nameable;getName()Lnet/minecraft/text/Text;
    • getCustomName

      @Nullable public @Nullable Text getCustomName()
      Specified by:
      getCustomName in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official U Lase;U()Los;
      intermediary method_5797 Lnet/minecraft/class_1275;method_5797()Lnet/minecraft/class_2561;
      named getCustomName Lnet/minecraft/util/Nameable;getCustomName()Lnet/minecraft/text/Text;
    • setCustomName

      public void setCustomName(Text customName)
      Mappings:
      Namespace Name Mixin selector
      official a Lcig;a(Los;)V
      intermediary method_16842 Lnet/minecraft/class_2573;method_16842(Lnet/minecraft/class_2561;)V
      named setCustomName Lnet/minecraft/block/entity/BannerBlockEntity;setCustomName(Lnet/minecraft/text/Text;)V
    • writeNbt

      public NbtCompound writeNbt(NbtCompound nbt)
      Overrides:
      writeNbt in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lcip;b(Lna;)Lna;
      intermediary method_11007 Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
      named writeNbt Lnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
    • readNbt

      public void readNbt(NbtCompound nbt)
      Overrides:
      readNbt in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lcip;a(Lna;)V
      intermediary method_11014 Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)V
      named readNbt Lnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • toUpdatePacket

      Overrides:
      toUpdatePacket in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official Y_ Lcip;Y_()Lpy;
      intermediary method_16886 Lnet/minecraft/class_2586;method_16886()Lnet/minecraft/class_2622;
      named toUpdatePacket Lnet/minecraft/block/entity/BlockEntity;toUpdatePacket()Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
    • toInitialChunkDataNbt

      public NbtCompound toInitialChunkDataNbt()
      Overrides:
      toInitialChunkDataNbt in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official Z_ Lcip;Z_()Lna;
      intermediary method_16887 Lnet/minecraft/class_2586;method_16887()Lnet/minecraft/class_2487;
      named toInitialChunkDataNbt Lnet/minecraft/block/entity/BlockEntity;toInitialChunkDataNbt()Lnet/minecraft/nbt/NbtCompound;
    • getPatternCount

      public static int getPatternCount(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official b Lcig;b(Lbqp;)I
      intermediary method_10910 Lnet/minecraft/class_2573;method_10910(Lnet/minecraft/class_1799;)I
      named getPatternCount Lnet/minecraft/block/entity/BannerBlockEntity;getPatternCount(Lnet/minecraft/item/ItemStack;)I
    • getPatterns

      public List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> getPatterns()
      Mappings:
      Namespace Name Mixin selector
      official c Lcig;c()Ljava/util/List;
      intermediary method_10911 Lnet/minecraft/class_2573;method_10911()Ljava/util/List;
      named getPatterns Lnet/minecraft/block/entity/BannerBlockEntity;getPatterns()Ljava/util/List;
    • getPatternsFromNbt

      public static List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> getPatternsFromNbt(DyeColor baseColor, @Nullable @Nullable NbtList patternListTag)
      Mappings:
      Namespace Name Mixin selector
      official a Lcig;a(Lbpl;Lng;)Ljava/util/List;
      intermediary method_24280 Lnet/minecraft/class_2573;method_24280(Lnet/minecraft/class_1767;Lnet/minecraft/class_2499;)Ljava/util/List;
      named getPatternsFromNbt Lnet/minecraft/block/entity/BannerBlockEntity;getPatternsFromNbt(Lnet/minecraft/util/DyeColor;Lnet/minecraft/nbt/NbtList;)Ljava/util/List;
    • loadFromItemStack

      public static void loadFromItemStack(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official c Lcig;c(Lbqp;)V
      intermediary method_10905 Lnet/minecraft/class_2573;method_10905(Lnet/minecraft/class_1799;)V
      named loadFromItemStack Lnet/minecraft/block/entity/BannerBlockEntity;loadFromItemStack(Lnet/minecraft/item/ItemStack;)V
    • getPickStack

      public ItemStack getPickStack()
      Mappings:
      Namespace Name Mixin selector
      official f Lcig;f()Lbqp;
      intermediary method_10907 Lnet/minecraft/class_2573;method_10907()Lnet/minecraft/class_1799;
      named getPickStack Lnet/minecraft/block/entity/BannerBlockEntity;getPickStack()Lnet/minecraft/item/ItemStack;
    • getColorForState

      public DyeColor getColorForState()
      Mappings:
      Namespace Name Mixin selector
      official g Lcig;g()Lbpl;
      intermediary method_10908 Lnet/minecraft/class_2573;method_10908()Lnet/minecraft/class_1767;
      named getColorForState Lnet/minecraft/block/entity/BannerBlockEntity;getColorForState()Lnet/minecraft/util/DyeColor;