mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-25 06:24:43 +00:00
New IForgeBlock#getToolModifiedState hook allow better control over tools interacting with blocks. (#7176)
This commit is contained in:
1 parent
97a2b9a448
commit
0984777c98
10 files changed
+214
-4
No files matched your search
@@ -33,9 +33,12 @@ import javax.annotation.Nonnull;
|
||||
* and damage the hoe.
|
||||
*
|
||||
* setResult(ALLOW) is the same as the old setHandled();
|
||||
*
|
||||
* TODO: 1.17 Remove
|
||||
*/
|
||||
@Cancelable
|
||||
@HasResult
|
||||
@Deprecated
|
||||
public class UseHoeEvent extends PlayerEvent
|
||||
{
|
||||
private final ItemUseContext context;;
|
||||
|
||||
Reference in new issue
Block a user