net.minecraft.world.item

public class MobBucketItem

extends BucketItem

All mapped superinterfaces:

ItemLike, DispensibleContainerItem

caj
net.minecraft.world.item.MobBucketItem
net.minecraft.class_1785
net.minecraft.unmapped.C_mjklbswc
net.minecraft.item.EntityBucketItem
net.minecraft.item.EntityBucketItem
net.minecraft.src.C_141172_
net.minecraft.world.item.MobBucketItem

Field summary

Modifier and TypeField
private final EntityType<?>
a
type
field_7991
f_oilkrpgh
entityType
entityType
f_151134_
private final SoundEvent
b
emptySound
field_28356
f_xstiiqvw
emptyingSound
emptyingSound
f_151135_

Constructor summary

ModifierConstructor
public (EntityType<?> type, Fluid fluid, SoundEvent emptyingSound, Item$Properties settings)

Method summary

Modifier and TypeMethod
public void
a(btf arg0, cga arg1, caa 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)
m_sdcmhlhy(C_jzrpycqo arg0, C_cdctfzbn arg1, C_sddaxwyk arg2, C_hynzadkk arg3)
onEmptied(PlayerEntity arg0, World arg1, ItemStack arg2, BlockPos arg3)
onEmptied(PlayerEntity arg0, World arg1, ItemStack arg2, BlockPos arg3)
m_142131_(C_1141_ p_151147_, C_1596_ p_151148_, C_1391_ p_151149_, C_4675_ arg3)
protected void
a(btf arg0, cgb arg1, gt arg2)
playEmptySound(Player arg0, LevelAccessor arg1, BlockPos arg2)
method_7727(class_1657 arg0, class_1936 arg1, class_2338 arg2)
m_ykxerxqo(C_jzrpycqo arg0, C_vdvbsyle arg1, C_hynzadkk arg2)
playEmptyingSound(PlayerEntity arg0, WorldAccess arg1, BlockPos arg2)
playEmptyingSound(PlayerEntity arg0, WorldAccess arg1, BlockPos arg2)
m_7718_(C_1141_ p_151152_, C_1598_ p_151153_, C_4675_ arg2)
private void
a(afo arg0, caa arg1, gt arg2)
spawn(ServerLevel arg0, ItemStack arg1, BlockPos arg2)
method_7824(class_3218 arg0, class_1799 arg1, class_2338 arg2)
m_vccnuzhn(C_bdwnwhiu arg0, C_sddaxwyk arg1, C_hynzadkk arg2)
spawnEntity(ServerWorld world, ItemStack stack, BlockPos pos)
spawnEntity(ServerWorld world, ItemStack stack, BlockPos pos)
m_151141_(C_12_ p_151143_, C_1391_ p_151144_, C_4675_ arg2)
public void
a(caa arg0, cga arg1, List<rm> arg2, cbo arg3)
appendHoverText(ItemStack arg0, Level arg1, List<Component> arg2, TooltipFlag arg3)
method_7851(class_1799 arg0, class_1937 arg1, List<class_2561> arg2, class_1836 arg3)
m_vlpdhsgt(C_sddaxwyk arg0, C_cdctfzbn arg1, List<C_rdaqiwdt> arg2, C_taebrtdw arg3)
appendTooltip(ItemStack arg0, World arg1, List<Text> arg2, TooltipContext arg3)
appendTooltip(ItemStack arg0, World arg1, List<Text> arg2, TooltipContext arg3)
m_7373_(C_1391_ p_151156_, C_1596_ p_151157_, List<C_4996_> p_151158_, C_1431_ arg3)