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 blyintermediary net/minecraft/class_1745named 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 BannerPatternpatternFields 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 voidappendTooltip(ItemStack stack, World world, List<Text> tooltip, TooltipContext context)MutableTextgetDescription()BannerPatterngetPattern()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 aLbly;a:Lcfj;intermediary field_7900Lnet/minecraft/class_1745;field_7900:Lnet/minecraft/class_2582;named patternLnet/minecraft/item/BannerPatternItem;pattern:Lnet/minecraft/block/entity/BannerPattern;
-
-
Constructor Details
-
BannerPatternItem
- Mappings:
Namespace Name Mixin selector official <init>Lbly;<init>(Lcfj;Lbnr$a;)Vintermediary <init>Lnet/minecraft/class_1745;<init>(Lnet/minecraft/class_2582;Lnet/minecraft/class_1792$class_1793;)Vnamed <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 bLbly;b()Lcfj;intermediary method_7704Lnet/minecraft/class_1745;method_7704()Lnet/minecraft/class_2582;named getPatternLnet/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:
appendTooltipin classItem- Mappings:
Namespace Name Mixin selector official aLbnr;a(Lbnv;Lbtv;Ljava/util/List;Lbpi;)Vintermediary method_7851Lnet/minecraft/class_1792;method_7851(Lnet/minecraft/class_1799;Lnet/minecraft/class_1937;Ljava/util/List;Lnet/minecraft/class_1836;)Vnamed appendTooltipLnet/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 dLbly;d()Loo;intermediary method_7703Lnet/minecraft/class_1745;method_7703()Lnet/minecraft/class_5250;named getDescriptionLnet/minecraft/item/BannerPatternItem;getDescription()Lnet/minecraft/text/MutableText;
-