net.minecraft.world.item

public class MobBucketItem

extends BucketItem

All mapped superinterfaces:

FeatureElement, ItemLike, DispensibleContainerItem

cvf
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 static final com.mojang.serialization.MapCodec<TropicalFish$Variant>
a
VARIANT_FIELD_CODEC
field_49272
f_suvuaxux
TROPICAL_FISH_VARIANT_MAP_CODEC
CODEC
f_315322_
private final EntityType<?>
b
type
field_7991
f_oilkrpgh
entityType
entityType
f_151134_
private final SoundEvent
c
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(cmx arg0, dcw arg1, cuq arg2, jd 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(cmx arg0, dcx arg1, jd 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(aqu arg0, cuq arg1, jd 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(cuq arg0, cul$b arg1, List<wz> arg2, cwm arg3)
appendHoverText(ItemStack arg0, Item$TooltipContext arg1, List<Component> arg2, TooltipFlag arg3)
method_7851(class_1799 arg0, class_1792$class_9635 arg1, List<class_2561> arg2, class_1836 arg3)
m_vlpdhsgt(C_sddaxwyk arg0, C_vorddnax$C_rdhfmrgz arg1, List<C_rdaqiwdt> arg2, C_taebrtdw arg3)
appendTooltip(ItemStack arg0, Item$TooltipContext arg1, List<Text> arg2, TooltipType arg3)
appendTooltip(ItemStack arg0, Item$TooltipContext arg1, List<Text> arg2, TooltipConfig arg3)
m_7373_(C_1391_ p_329546_, C_1381_$C_313602_ p_151157_, List<C_4996_> p_151158_, C_1431_ arg3)