Package net.minecraft.util
Record Class ActionResult.PassToDefaultBlockAction
java.lang.Object
java.lang.Record
net.minecraft.util.ActionResult.PassToDefaultBlockAction
- All Implemented Interfaces:
ActionResult
- Enclosing interface:
ActionResult
- Mappings:
Namespace Name named net/minecraft/util/ActionResult$PassToDefaultBlockAction
intermediary net/minecraft/class_1269$class_9862
official bti$f
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.ActionResult
ActionResult.Fail, ActionResult.ItemContext, ActionResult.Pass, ActionResult.PassToDefaultBlockAction, ActionResult.Success, ActionResult.SwingSource
-
Field Summary
Fields inherited from interface net.minecraft.util.ActionResult
CONSUME, FAIL, PASS, PASS_TO_DEFAULT_BLOCK_ACTION, SUCCESS, SUCCESS_SERVER
-
Constructor Summary
ConstructorDescriptionCreates an instance of aPassToDefaultBlockAction
record class. -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.util.ActionResult
isAccepted
-
Constructor Details
-
PassToDefaultBlockAction
public PassToDefaultBlockAction()Creates an instance of aPassToDefaultBlockAction
record 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.
-