net.minecraft.world.item

public class MobBucketItem

extends BucketItem

All mapped superinterfaces:

FeatureElement, ItemLike, DispensibleContainerItem

czh
net.minecraft.world.item.MobBucketItem
net.minecraft.class_1785
net.minecraft.item.EntityBucketItem

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(bwz arg0, dip arg1, cys arg2, iu 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)
protected void
a(bwz arg0, diq arg1, iu 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)
private void
a(aro arg0, cys arg1, iu 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)