Class BannerPatternItem

java.lang.Object
net.minecraft.item.Item
net.minecraft.item.BannerPatternItem
All Implemented Interfaces:
ItemConvertible

public class BannerPatternItem extends Item
Mappings:
Namespace Name
official bsg
intermediary net/minecraft/class_1745
named net/minecraft/item/BannerPatternItem
  • Field Details

    • pattern

      private final BannerPattern pattern
      Mappings:
      Namespace Name Mixin selector
      official a Lbsg;a:Lclr;
      intermediary field_7900 Lnet/minecraft/class_1745;field_7900:Lnet/minecraft/class_2582;
      named pattern Lnet/minecraft/item/BannerPatternItem;pattern:Lnet/minecraft/block/entity/BannerPattern;
  • Constructor Details

    • BannerPatternItem

      public BannerPatternItem(BannerPattern pattern, Item.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbsg;<init>(Lclr;Lbua$a;)V
      intermediary <init> Lnet/minecraft/class_1745;<init>(Lnet/minecraft/class_2582;Lnet/minecraft/class_1792$class_1793;)V
      named <init> Lnet/minecraft/item/BannerPatternItem;<init>(Lnet/minecraft/block/entity/BannerPattern;Lnet/minecraft/item/Item$Settings;)V
  • Method Details

    • getPattern

      public BannerPattern getPattern()
      Mappings:
      Namespace Name Mixin selector
      official b Lbsg;b()Lclr;
      intermediary method_7704 Lnet/minecraft/class_1745;method_7704()Lnet/minecraft/class_2582;
      named getPattern Lnet/minecraft/item/BannerPatternItem;getPattern()Lnet/minecraft/block/entity/BannerPattern;
    • appendTooltip

      public void appendTooltip(ItemStack stack, @Nullable @Nullable World world, List<Text> tooltip, TooltipContext context)
      Overrides:
      appendTooltip in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lbua;a(Lbue;Lcad;Ljava/util/List;Lbvr;)V
      intermediary method_7851 Lnet/minecraft/class_1792;method_7851(Lnet/minecraft/class_1799;Lnet/minecraft/class_1937;Ljava/util/List;Lnet/minecraft/class_1836;)V
      named appendTooltip Lnet/minecraft/item/Item;appendTooltip(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Ljava/util/List;Lnet/minecraft/client/item/TooltipContext;)V
    • getDescription

      public MutableText getDescription()
      Mappings:
      Namespace Name Mixin selector
      official d Lbsg;d()Lqf;
      intermediary method_7703 Lnet/minecraft/class_1745;method_7703()Lnet/minecraft/class_5250;
      named getDescription Lnet/minecraft/item/BannerPatternItem;getDescription()Lnet/minecraft/text/MutableText;