Record Class InteractionResult.TryEmptyHandInteraction
java.lang.Object
java.lang.Record
net.minecraft.world.InteractionResult.TryEmptyHandInteraction
- All Implemented Interfaces:
InteractionResult
- Enclosing interface:
InteractionResult
public static record InteractionResult.TryEmptyHandInteraction()
extends Record
implements 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
ConstructorsConstructorDescriptionCreates an instance of aTryEmptyHandInteractionrecord class. -
Method Summary
Methods inherited from interface InteractionResult
consumesAction
-
Constructor Details
-
TryEmptyHandInteraction
public TryEmptyHandInteraction()Creates an instance of aTryEmptyHandInteractionrecord 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.
-