Package net.minecraft.item
Class ThrowablePotionItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.PotionItem
net.minecraft.item.ThrowablePotionItem
- All Implemented Interfaces:
ItemConvertible
- Direct Known Subclasses:
LingeringPotionItem,SplashPotionItem
public class ThrowablePotionItem extends PotionItem
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_ID, ATTACK_SPEED_MODIFIER_ID, BLOCK_ITEMS, group, RANDOM -
Constructor Summary
Constructors Constructor Description ThrowablePotionItem(Item.Settings settings) -
Method Summary
Modifier and Type Method Description TypedActionResult<ItemStack>use(World world, PlayerEntity user, Hand hand)Methods inherited from class net.minecraft.item.PotionItem
appendStacks, appendTooltip, finishUsing, getMaxUseTime, getStackForRender, getTranslationKey, getUseAction, hasEnchantmentGlintMethods inherited from class net.minecraft.item.Item
asItem, byRawId, canMine, canRepair, damage, fromBlock, getAttributeModifiers, getDrinkSound, getEatSound, getEnchantability, getFoodComponent, getGroup, getMaxCount, getMaxDamage, getMiningSpeedMultiplier, getName, getName, getOrCreateTranslationKey, getRarity, getRawId, getRecipeRemainder, getTranslationKey, hasRecipeRemainder, inventoryTick, isDamageable, isEffectiveOn, isEnchantable, isFireproof, isFood, isIn, isIn, isNetworkSynced, isUsedOnRelease, onCraft, onStoppedUsing, postHit, postMine, postProcessTag, rayTrace, shouldSyncTagToClient, toString, usageTick, useOnBlock, useOnEntity
-
Constructor Details
-
Method Details
-
use
- Overrides:
usein classPotionItem
-