public class LingeringPotionItem extends ThrowablePotionItem
Item.SettingsATTACK_DAMAGE_MODIFIER_UUID, ATTACK_SPEED_MODIFIER_UUID, BLOCK_ITEMS, group, RANDOM| Constructor and Description |
|---|
LingeringPotionItem(Item.Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendTooltip(ItemStack stack,
World world,
List<Text> tooltip,
TooltipContext context) |
TypedActionResult<ItemStack> |
use(World world,
PlayerEntity user,
Hand hand) |
appendStacks, finishUsing, getMaxUseTime, getStackForRender, getTranslationKey, getUseAction, hasEnchantmentGlintaddPropertyGetter, asItem, byRawId, canMine, canRepair, damage, fromBlock, getDrinkSound, getEatSound, getEnchantability, getFoodComponent, getGroup, getMaxCount, getMaxDamage, getMiningSpeedMultiplier, getModifiers, getName, getName, getOrCreateTranslationKey, getPropertyGetter, getRarity, getRawId, getRecipeRemainder, getTranslationKey, hasPropertyGetters, hasRecipeRemainder, inventoryTick, isDamageable, isEffectiveOn, isEnchantable, isFireproof, isFood, isIn, isIn, isNetworkSynced, isUsedOnRelease, onCraft, onStoppedUsing, postHit, postMine, postProcessTag, rayTrace, shouldSyncTagToClient, toString, usageTick, useOnBlock, useOnEntitypublic LingeringPotionItem(Item.Settings settings)
@Environment(value=CLIENT) public void appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)
appendTooltip in class PotionItempublic TypedActionResult<ItemStack> use(World world, PlayerEntity user, Hand hand)
use in class ThrowablePotionItem