Package net.minecraft.item
Class LingeringPotionItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.PotionItem
net.minecraft.item.LingeringPotionItem
- Mappings:
Namespace Name official afointermediary net/minecraft/class_2689named net/minecraft/item/LingeringPotionItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.ToolMaterialType -
Field Summary
Fields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, ATTACK_SPEED_MODIFIER, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced) getDisplayName(ItemStack stack) method_13649(World world, PlayerEntity player, Hand hand) Methods inherited from class net.minecraft.item.PotionItem
getDefaultStack, getMaxUseTime, getUseAction, hasEnchantmentGlint, method_13648, method_3367Methods inherited from class net.minecraft.item.Item
addProperty, byRawId, canRepair, fromBlock, getBlockBreakingSpeed, getEnchantability, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMeta, getProperty, getRarity, getRawId, getRecipeRemainder, getTranslationKey, getTranslationKey, hasProperties, hasSubTypes, inventoryTick, isDamageable, isEnchantable, isFood, isHandheld, isNetworkSynced, isUnbreakable, method_3346, method_3353, method_3356, method_3359, method_6326, onCraft, onEntityHit, onHit, postProcessNbt, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncNbtToClient, use
-
Constructor Details
-
LingeringPotionItem
public LingeringPotionItem()- Mappings:
Namespace Name Mixin selector official <init>Lafh;<init>()Vintermediary <init>Lnet/minecraft/class_1069;<init>()Vnamed <init>Lnet/minecraft/item/Item;<init>()V
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classPotionItem- Mappings:
Namespace Name Mixin selector official bLafh;b(Lafj;)Ljava/lang/String;intermediary method_3383Lnet/minecraft/class_1069;method_3383(Lnet/minecraft/class_1071;)Ljava/lang/String;named getDisplayNameLnet/minecraft/item/Item;getDisplayName(Lnet/minecraft/item/ItemStack;)Ljava/lang/String;
-
appendTooltip
@Environment(CLIENT) public void appendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced) - Overrides:
appendTooltipin classPotionItem- Mappings:
Namespace Name Mixin selector official aLafh;a(Lafj;Laay;Ljava/util/List;Z)Vintermediary method_3352Lnet/minecraft/class_1069;method_3352(Lnet/minecraft/class_1071;Lnet/minecraft/class_988;Ljava/util/List;Z)Vnamed appendTooltipLnet/minecraft/item/Item;appendTooltip(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;Ljava/util/List;Z)V
-
method_13649
- Overrides:
method_13649in classPotionItem- Mappings:
Namespace Name Mixin selector official aLafh;a(Lajs;Laay;Lri;)Lrl;intermediary method_13649Lnet/minecraft/class_1069;method_13649(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;Lnet/minecraft/class_2961;)Lnet/minecraft/class_2963;named method_13649Lnet/minecraft/item/Item;method_13649(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/TypedActionResult;
-