net.minecraft.world.item

public class MobBucketItem

extends BucketItem

All mapped superinterfaces:

FeatureElement, ItemLike, DispensibleContainerItem

cxf
net.minecraft.world.item.MobBucketItem
net.minecraft.class_1785
net.minecraft.item.EntityBucketItem
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
TROPICAL_FISH_VARIANT_MAP_CODEC
private final EntityType<? extends Mob>
b
type
field_7991
entityType
private final SoundEvent
c
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(coy arg0, dgj arg1, cwq arg2, ji 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)
protected void
a(coy arg0, dgk arg1, ji arg2)
playEmptySound(Player arg0, LevelAccessor arg1, BlockPos arg2)
method_7727(class_1657 arg0, class_1936 arg1, class_2338 arg2)
playEmptyingSound(PlayerEntity arg0, WorldAccess arg1, BlockPos arg2)
private void
a(ard arg0, cwq arg1, ji 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)
public void
a(cwq arg0, cwm$b arg1, List<wp> arg2, cyi 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)
appendTooltip(ItemStack arg0, Item$TooltipContext arg1, List<Text> arg2, TooltipType arg3)