Package net.minecraftforge.fml
Record Class NoopTransition
java.lang.Object
java.lang.Record
net.minecraftforge.fml.NoopTransition
- All Implemented Interfaces:
IModStateTransition
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraftforge.fml.IModStateTransition
IModStateTransition.EventGenerator<T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.BiFunction<Executor,
? extends IModStateTransition.EventGenerator<?>, CompletableFuture<Void>> BiFunction<Executor,
? extends IModStateTransition.EventGenerator<?>, CompletableFuture<Void>> final String
toString()
Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraftforge.fml.IModStateTransition
build, nextModLoadingStage
-
Constructor Details
-
NoopTransition
NoopTransition()Creates an instance of aNoopTransition
record class.
-
-
Method Details
-
eventFunctionStream
- Specified by:
eventFunctionStream
in interfaceIModStateTransition
-
threadSelector
- Specified by:
threadSelector
in interfaceIModStateTransition
-
finalActivityGenerator
public BiFunction<Executor,CompletableFuture<Void>, finalActivityGenerator()CompletableFuture<Void>> - Specified by:
finalActivityGenerator
in interfaceIModStateTransition
-
preDispatchHook
public BiFunction<Executor,? extends IModStateTransition.EventGenerator<?>, preDispatchHook()CompletableFuture<Void>> - Specified by:
preDispatchHook
in interfaceIModStateTransition
-
postDispatchHook
public BiFunction<Executor,? extends IModStateTransition.EventGenerator<?>, postDispatchHook()CompletableFuture<Void>> - Specified by:
postDispatchHook
in interfaceIModStateTransition
-
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.
-