New IForgeBlock#getToolModifiedState hook allow better control over tools interacting with blocks. (#7176)

This commit is contained in:
ChampionAsh5357 authored and GitHub committed 2020-08-03 16:49:26 -07:00
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;;