net.minecraft.world.item

public class MobBucketItem

extends BucketItem

All mapped superinterfaces:

FeatureElement, ItemLike, DispensibleContainerItem

daz
net.minecraft.world.item.MobBucketItem
net.minecraft.class_1785
net.minecraft.item.EntityBucketItem
net.minecraft.src.C_141172_

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(byf arg0, dkj arg1, dak arg2, iw arg3)
checkExtraContent(LivingEntity arg0, Level arg1, ItemStack arg2, BlockPos arg3)
method_7728(class_1309 arg0, class_1937 arg1, class_1799 arg2, class_2338 arg3)
onEmptied(LivingEntity arg0, World arg1, ItemStack arg2, BlockPos arg3)
m_142131_(C_524_ p_151147_, C_1596_ p_151148_, C_1391_ p_151149_, C_4675_ arg3)
protected void
a(byf arg0, dkk arg1, iw arg2)
playEmptySound(LivingEntity arg0, LevelAccessor arg1, BlockPos arg2)
method_7727(class_1309 arg0, class_1936 arg1, class_2338 arg2)
playEmptyingSound(LivingEntity arg0, WorldAccess arg1, BlockPos arg2)
m_7718_(C_524_ p_151152_, C_1598_ p_151153_, C_4675_ arg2)
private void
a(asb arg0, dak arg1, iw arg2)
spawn(ServerLevel arg0, ItemStack arg1, BlockPos arg2)
method_7824(class_3218 arg0, class_1799 arg1, class_2338 arg2)
spawnEntity(ServerWorld world, ItemStack stack, BlockPos pos)
m_151141_(C_12_ p_151143_, C_1391_ p_151144_, C_4675_ arg2)