net.minecraft.world.item

public class BucketItem

extends Item implements DispensibleContainerItem

All mapped superinterfaces:

ItemLike, DispensibleContainerItem

bze
net.minecraft.world.item.BucketItem
net.minecraft.class_1755
net.minecraft.item.BucketItem
net.minecraft.src.C_1332_
net.minecraft.world.item.ItemBucket

Field summary

Modifier and TypeField
private final Fluid
a
content
field_7905
fluid
f_40687_

Constructor summary

ModifierConstructor
public (Fluid fluid, Item$Properties settings)

Method summary

Modifier and TypeMethod
public InteractionResultHolder<ItemStack>
a(cgx arg0, buc arg1, bai 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_40704_, C_1141_ p_40705_, C_470_ arg2)
public static ItemStack
a(cax arg0, buc arg1)
getEmptySuccessItem(ItemStack arg0, Player arg1)
method_7732(class_1799 arg0, class_1657 arg1)
getEmptiedStack(ItemStack stack, PlayerEntity player)
m_40699_(C_1391_ p_40700_, C_1141_ p_40701_)
public void
a(buc arg0, cgx arg1, cax arg2, gt arg3)
checkExtraContent(Player arg0, Level arg1, ItemStack arg2, BlockPos arg3)
method_7728(class_1657 arg0, class_1937 arg1, class_1799 arg2, class_2338 arg3)
onEmptied(PlayerEntity arg0, World arg1, ItemStack arg2, BlockPos arg3)
m_142131_(C_1141_ p_150712_, C_1596_ p_150713_, C_1391_ p_150714_, C_4675_ arg3)
public boolean
a(buc arg0, cgx arg1, gt arg2, dwm arg3)
emptyContents(Player arg0, Level arg1, BlockPos arg2, BlockHitResult arg3)
method_7731(class_1657 arg0, class_1937 arg1, class_2338 arg2, class_3965 arg3)
placeFluid(PlayerEntity arg0, World arg1, BlockPos arg2, BlockHitResult arg3)
m_142073_(C_1141_ p_150717_, C_1596_ p_150718_, C_4675_ p_150719_, C_3041_ arg3)
protected void
a(buc arg0, cgy arg1, gt arg2)
playEmptySound(Player arg0, LevelAccessor arg1, BlockPos arg2)
method_7727(class_1657 arg0, class_1936 arg1, class_2338 arg2)
playEmptyingSound(PlayerEntity player, WorldAccess world, BlockPos pos)
m_7718_(C_1141_ p_40697_, C_1598_ p_40698_, C_4675_ arg2)