net.minecraft.world.item

public class MilkBucketItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cng
net.minecraft.world.item.MilkBucketItem
net.minecraft.class_1805
net.minecraft.item.MilkBucketItem
net.minecraft.src.C_1399_
net.minecraft.world.item.ItemMilkBucket

Field summary

Modifier and TypeField
private static final int
a
DRINK_DURATION
field_30911
MAX_USE_TIME
f_151133_

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public ItemStack
a(cmy arg0, ctp arg1, bml arg2)
finishUsingItem(ItemStack arg0, Level arg1, LivingEntity arg2)
method_7861(class_1799 arg0, class_1937 arg1, class_1309 arg2)
finishUsing(ItemStack arg0, World arg1, LivingEntity arg2)
m_5922_(C_1391_ p_42924_, C_1596_ p_42925_, C_524_ arg2)
public int
b(cmy arg0)
getUseDuration(ItemStack arg0)
method_7881(class_1799 arg0)
getMaxUseTime(ItemStack arg0)
m_8105_(C_1391_ arg0)
public UseAnim
c(cmy arg0)
getUseAnimation(ItemStack arg0)
method_7853(class_1799 arg0)
getUseAction(ItemStack arg0)
m_6164_(C_1391_ arg0)
public InteractionResultHolder<ItemStack>
a(ctp arg0, cfi arg1, bka arg2)
use(Level arg0, Player arg1, InteractionHand arg2)
method_7836(class_1937 arg0, class_1657 arg1, class_1268 arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
m_7203_(C_1596_ p_42928_, C_1141_ p_42929_, C_470_ arg2)