Record Class ModdedExceptionHandler.RegisterContext<C, S extends net.minecraft.commands.SharedSuggestionProvider>
java.lang.Object
java.lang.Record
org.incendo.cloud.minecraft.modded.internal.ModdedExceptionHandler.RegisterContext<C,S>
- Enclosing interface:
ModdedExceptionHandler<C, S extends net.minecraft.commands.SharedSuggestionProvider, T extends Throwable>
-
Constructor Summary
ConstructorsConstructorDescriptionRegisterContext(CommandManager<C> manager) Creates an instance of aRegisterContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.manager()Returns the value of themanagerrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RegisterContext
Creates an instance of aRegisterContextrecord class.- Parameters:
manager- the value for themanagerrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
manager
Returns the value of themanagerrecord component.- Returns:
- the value of the
managerrecord component
-