minecraft-src/net/minecraft/world/item/DispensibleContainerItem.java
2025-07-04 01:41:11 +03:00

14 lines
523 B
Java

package net.minecraft.world.item;
import net.minecraft.core.BlockPos;
import net.minecraft.world.entity.player.Player;
import net.minecraft.world.level.Level;
import net.minecraft.world.phys.BlockHitResult;
import org.jetbrains.annotations.Nullable;
public interface DispensibleContainerItem {
default void checkExtraContent(@Nullable Player player, Level level, ItemStack containerStack, BlockPos pos) {
}
boolean emptyContents(@Nullable Player player, Level level, BlockPos pos, @Nullable BlockHitResult result);
}