mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-25 06:24:43 +00:00
Add use context and simulate flag to getToolModifiedState, enabled HOE_TILL action. (#8557)
This commit is contained in:
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;;
|
||||
|
||||
Reference in new issue
Block a user