Package net.minecraft.util
Record Class ActionResult.class_9857
java.lang.Object
java.lang.Record
net.minecraft.util.ActionResult.class_9857
- All Implemented Interfaces:
ActionResult
- Enclosing interface:
ActionResult
- Mappings:
Namespace Name named net/minecraft/util/ActionResult$class_9857intermediary net/minecraft/class_1269$class_9857official brk$a
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.ActionResult
ActionResult.class_9857, ActionResult.class_9858, ActionResult.class_9859, ActionResult.class_9860, ActionResult.class_9861, ActionResult.class_9862 -
Field Summary
Fields inherited from interface net.minecraft.util.ActionResult
field_21466, field_52422, field_52423, field_5811, field_5812, field_5814 -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.util.ActionResult
isAccepted
-
Constructor Details
-
class_9857
public class_9857()Creates an instance of aclass_9857record class.
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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.
-