Package net.minecraft.util
Record Class ActionResult.Pass
java.lang.Object
java.lang.Record
net.minecraft.util.ActionResult.Pass
- All Implemented Interfaces:
- ActionResult
- Enclosing interface:
- ActionResult
- Mappings:
- Namespace - Name - named - net/minecraft/util/ActionResult$Pass- intermediary - net/minecraft/class_1269$class_9859- official - bsl$c
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.util.ActionResultActionResult.Fail, ActionResult.ItemContext, ActionResult.Pass, ActionResult.PassToDefaultBlockAction, ActionResult.Success, ActionResult.SwingSource
- 
Field SummaryFields inherited from interface net.minecraft.util.ActionResultCONSUME, FAIL, PASS, PASS_TO_DEFAULT_BLOCK_ACTION, SUCCESS, SUCCESS_SERVER
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.util.ActionResultisAccepted
- 
Constructor Details- 
Passpublic Pass()Creates an instance of aPassrecord class.
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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.
 
-