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 TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.int
hashCode()
Returns a hash code value for this object.BiFunction<Executor,? extends IModStateTransition.EventGenerator<?>,CompletableFuture<List<Throwable>>>
BiFunction<Executor,? extends IModStateTransition.EventGenerator<?>,CompletableFuture<List<Throwable>>>
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<List<Throwable>>,CompletableFuture<List<Throwable>>> finalActivityGenerator()- Specified by:
finalActivityGenerator
in interfaceIModStateTransition
-
preDispatchHook
public BiFunction<Executor,? extends IModStateTransition.EventGenerator<?>,CompletableFuture<List<Throwable>>> preDispatchHook()- Specified by:
preDispatchHook
in interfaceIModStateTransition
-
postDispatchHook
public BiFunction<Executor,? extends IModStateTransition.EventGenerator<?>,CompletableFuture<List<Throwable>>> postDispatchHook()- 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.
-