Record Class InteractionResult.Fail
java.lang.Object
java.lang.Record
net.minecraft.world.InteractionResult.Fail
- All Implemented Interfaces:
InteractionResult
- Enclosing interface:
InteractionResult
-
Nested Class Summary
Nested classes/interfaces inherited from interface InteractionResult
InteractionResult.Fail, InteractionResult.ItemContext, InteractionResult.Pass, InteractionResult.Success, InteractionResult.SwingSource, InteractionResult.TryEmptyHandInteraction -
Field Summary
Fields inherited from interface InteractionResult
CONSUME, FAIL, PASS, SUCCESS, SUCCESS_SERVER, TRY_WITH_EMPTY_HAND -
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface InteractionResult
consumesAction
-
Constructor Details
-
Fail
public Fail()Creates an instance of aFailrecord class.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal.
-