Class ArgumentTypeConfig<A extends com.mojang.brigadier.arguments.ArgumentType<?>,T extends net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<A>>
java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<C,I>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigForge<ArgumentTypeConfig<A,T>,net.minecraft.commands.synchronization.ArgumentTypeInfo<A,T>>
org.cyclops.cyclopscore.config.extendedconfig.ArgumentTypeConfig<A,T>
- All Implemented Interfaces:
Comparable<ExtendedConfig<ArgumentTypeConfig<A,
T>, net.minecraft.commands.synchronization.ArgumentTypeInfo<A, T>>>
- Direct Known Subclasses:
ArgumentTypeConfigPropertyConfig
,ArgumentTypeDebugPacketConfig
,ArgumentTypeEnumConfig
public class ArgumentTypeConfig<A extends com.mojang.brigadier.arguments.ArgumentType<?>,T extends net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<A>>
extends ExtendedConfigForge<ArgumentTypeConfig<A,T>,net.minecraft.commands.synchronization.ArgumentTypeInfo<A,T>>
Config for argument types.
- See Also:
-
Field Summary
Fields inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig
configProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the configurable type for which this config holds dataGet the full unlocalized name for this configurable.Get the unlocalized name (must be unique!) for this configurable.void
Overridable method that is immediately called after this element has been registered into a Forge registry.Methods inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigForge
getResourceKey
Methods inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig
compareTo, downCast, getConfigPropertyPrefix, getInstance, getSubUniqueName, initializeInstance, onConfigPropertyReload, onRegistered, save, showDoubleInitError
-
Constructor Details
-
ArgumentTypeConfig
-
-
Method Details
-
getInfoClass
-
getTranslationKey
Description copied from class:ExtendedConfig
Get the unlocalized name (must be unique!) for this configurable.- Specified by:
getTranslationKey
in classExtendedConfig<ArgumentTypeConfig<A extends com.mojang.brigadier.arguments.ArgumentType<?>,
T extends net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<A>>, net.minecraft.commands.synchronization.ArgumentTypeInfo<A extends com.mojang.brigadier.arguments.ArgumentType<?>, T extends net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<A>>> - Returns:
- The unlocalized name.
-
getFullTranslationKey
Description copied from class:ExtendedConfig
Get the full unlocalized name for this configurable.- Overrides:
getFullTranslationKey
in classExtendedConfig<ArgumentTypeConfig<A extends com.mojang.brigadier.arguments.ArgumentType<?>,
T extends net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<A>>, net.minecraft.commands.synchronization.ArgumentTypeInfo<A extends com.mojang.brigadier.arguments.ArgumentType<?>, T extends net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<A>>> - Returns:
- The unlocalized name.
-
getConfigurableType
Description copied from class:ExtendedConfig
Return the configurable type for which this config holds data- Specified by:
getConfigurableType
in classExtendedConfig<ArgumentTypeConfig<A extends com.mojang.brigadier.arguments.ArgumentType<?>,
T extends net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<A>>, net.minecraft.commands.synchronization.ArgumentTypeInfo<A extends com.mojang.brigadier.arguments.ArgumentType<?>, T extends net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<A>>> - Returns:
- the type of the configurable to where the config belongs
-
getRegistry
public net.minecraft.core.Registry<? super net.minecraft.commands.synchronization.ArgumentTypeInfo<A,T>> getRegistry()- Specified by:
getRegistry
in classExtendedConfigForge<ArgumentTypeConfig<A extends com.mojang.brigadier.arguments.ArgumentType<?>,
T extends net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<A>>, net.minecraft.commands.synchronization.ArgumentTypeInfo<A extends com.mojang.brigadier.arguments.ArgumentType<?>, T extends net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<A>>> - Returns:
- The registry in which this should be registered.
-
onForgeRegistered
public void onForgeRegistered()Description copied from class:ExtendedConfig
Overridable method that is immediately called after this element has been registered into a Forge registry.- Overrides:
onForgeRegistered
in classExtendedConfig<ArgumentTypeConfig<A extends com.mojang.brigadier.arguments.ArgumentType<?>,
T extends net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<A>>, net.minecraft.commands.synchronization.ArgumentTypeInfo<A extends com.mojang.brigadier.arguments.ArgumentType<?>, T extends net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<A>>>
-