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 bsy
intermediary net/minecraft/class_1745
named net/minecraft/item/BannerPatternItem
  • Field Details

    • pattern

      private final BannerPattern pattern
      Mappings:
      Namespace Name Mixin selector
      official a Lbsy;a:Lcmj;
      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> Lbsy;<init>(Lcmj;Lbus$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 Lbsy;b()Lcmj;
      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 Lbus;a(Lbuw;Lcav;Ljava/util/List;Lbwj;)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 Lbsy;d()Lqq;
      intermediary method_7703 Lnet/minecraft/class_1745;method_7703()Lnet/minecraft/class_5250;
      named getDescription Lnet/minecraft/item/BannerPatternItem;getDescription()Lnet/minecraft/text/MutableText;