Package net.minecraft.world.item
Interface DispensibleContainerItem
- All Superinterfaces:
IDispensibleContainerItemExtension
- All Known Implementing Classes:
BucketItem,MobBucketItem,SolidBucketItem
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidcheckExtraContent(LivingEntity entity, Level level, ItemStack stack, BlockPos pos) booleanemptyContents(LivingEntity entity, Level level, BlockPos pos, BlockHitResult hitResult) Deprecated.Methods inherited from interface net.neoforged.neoforge.common.extensions.IDispensibleContainerItemExtension
emptyContents
-
Method Details
-
checkExtraContent
default void checkExtraContent(@Nullable LivingEntity entity, Level level, ItemStack stack, BlockPos pos) -
emptyContents
@Deprecated boolean emptyContents(@Nullable LivingEntity entity, Level level, BlockPos pos, @Nullable BlockHitResult hitResult) Deprecated.
-