Add use context and simulate flag to getToolModifiedState, enabled HOE_TILL action. (#8557)

This commit is contained in:
SizableShrimp authored and GitHub committed 2022-04-12 09:43:20 -07:00
1 parent 94ce098056
commit 7d79f0d581
12 files changed
+268 -74

No files matched your search

@@ -19,12 +19,11 @@ import javax.annotation.Nonnull;
* and damage the hoe.
*
* setResult(ALLOW) is the same as the old setHandled();
*
* TODO: 1.17 Remove
*/
@Cancelable
@HasResult
@Deprecated
// TODO 1.19: Remove
@Deprecated(forRemoval = true, since = "1.18.2")
public class UseHoeEvent extends PlayerEvent
{
private final UseOnContext context;;