Package net.minecraft.item
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 bly
intermediary net/minecraft/class_1745
named net/minecraft/item/BannerPatternItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.Settings
-
Field Summary
Fields Modifier and Type Field Description private BannerPattern
pattern
Fields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_ID, ATTACK_SPEED_MODIFIER_ID, BLOCK_ITEMS, group
-
Constructor Summary
Constructors Constructor Description BannerPatternItem(BannerPattern pattern, Item.Settings settings)
-
Method Summary
Modifier and Type Method Description void
appendTooltip(ItemStack stack, World world, List<Text> tooltip, TooltipContext context)
MutableText
getDescription()
BannerPattern
getPattern()
Methods inherited from class net.minecraft.item.Item
appendStacks, asItem, byRawId, canMine, canRepair, damage, finishUsing, fromBlock, getAttributeModifiers, getDefaultStack, getDrinkSound, getEatSound, getEnchantability, getEquipSound, getFoodComponent, getGroup, getItemBarColor, getItemBarStep, getMaxCount, getMaxDamage, getMaxUseTime, getMiningSpeedMultiplier, getName, getName, getOrCreateTranslationKey, getRarity, getRawId, getRecipeRemainder, getTooltipData, getTranslationKey, getTranslationKey, getUseAction, hasGlint, hasRecipeRemainder, hasStoredInventory, inventoryTick, isDamageable, isEnchantable, isFireproof, isFood, isIn, isItemBarVisible, isNetworkSynced, isSuitableFor, isUsedOnRelease, onClicked, onCraft, onItemEntityDestroyed, onStackClicked, onStoppedUsing, postHit, postMine, postProcessTag, raycast, shouldSyncTagToClient, toString, usageTick, use, useOnBlock, useOnEntity
-
Field Details
-
pattern
- Mappings:
Namespace Name Mixin selector official a
Lbly;a:Lcfj;
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
- Mappings:
Namespace Name Mixin selector official <init>
Lbly;<init>(Lcfj;Lbnr$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
- Mappings:
Namespace Name Mixin selector official b
Lbly;b()Lcfj;
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
@Environment(CLIENT) public void appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)- Overrides:
appendTooltip
in classItem
- Mappings:
Namespace Name Mixin selector official a
Lbnr;a(Lbnv;Lbtv;Ljava/util/List;Lbpi;)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
- Mappings:
Namespace Name Mixin selector official d
Lbly;d()Loo;
intermediary method_7703
Lnet/minecraft/class_1745;method_7703()Lnet/minecraft/class_5250;
named getDescription
Lnet/minecraft/item/BannerPatternItem;getDescription()Lnet/minecraft/text/MutableText;
-