Record Class InteractionResult.Pass
java.lang.Object
java.lang.Record
net.minecraft.world.InteractionResult.Pass
- 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
-
Pass
public Pass()Creates an instance of aPassrecord 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.
-