mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-25 06:24:43 +00:00
Remove dead ForgeHooks.canToolHarvestBlock function. (#7262)
This commit is contained in:
1 parent
05480843cd
commit
47ba5b7a89
2 files changed
+4
-14
No files matched your search
@@ -94,10 +94,9 @@ public interface IForgeItemStack extends ICapabilitySerializable<CompoundNBT>
|
||||
* Queries the harvest level of this item stack for the specified tool class,
|
||||
* Returns -1 if this tool is not of the specified type
|
||||
*
|
||||
* @param stack This item stack instance
|
||||
* @param toolClass Tool Class
|
||||
* @param player The player trying to harvest the given blockstate
|
||||
* @param state The block to harvest
|
||||
* @param tool the tool type of the item
|
||||
* @param player The player trying to harvest the given blockstate
|
||||
* @param state The block to harvest
|
||||
* @return Harvest level, or -1 if not the specified tool type.
|
||||
*/
|
||||
default int getHarvestLevel(ToolType tool, @Nullable PlayerEntity player, @Nullable BlockState state)
|
||||
|
||||
Reference in new issue
Block a user