mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
23 lines
593 B
Java
23 lines
593 B
Java
package api.hbm.item;
|
|
|
|
import net.minecraft.block.Block;
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.world.World;
|
|
|
|
public interface IDepthRockTool {
|
|
|
|
/**
|
|
* Whether our item can break depthrock, has a couple of params so we can restrict mining for certain blocks, dimensions or positions
|
|
* @param world
|
|
* @param player
|
|
* @param tool
|
|
* @param block
|
|
* @param x
|
|
* @param y
|
|
* @param z
|
|
* @return
|
|
*/
|
|
public boolean canBreakRock(World world, EntityPlayer player, ItemStack tool, Block block, int x, int y, int z);
|
|
}
|