Class VillagerConfig
java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<VillagerConfig,net.minecraft.world.entity.npc.VillagerProfession,ModBase<?>>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<VillagerConfig,net.minecraft.world.entity.npc.VillagerProfession>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigForge<VillagerConfig,net.minecraft.world.entity.npc.VillagerProfession>
org.cyclops.cyclopscore.config.extendedconfig.VillagerConfig
- All Implemented Interfaces:
Comparable<org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<VillagerConfig,net.minecraft.world.entity.npc.VillagerProfession, ModBase<?>>>
@Deprecated
public abstract class VillagerConfig
extends ExtendedConfigForge<VillagerConfig,net.minecraft.world.entity.npc.VillagerProfession>
Deprecated.
Config for villagers.
- See Also:
-
Field Summary
Fields inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon
configProperties -
Constructor Summary
ConstructorsConstructorDescriptionVillagerConfig(ModBase<?> mod, String namedId, Function<VillagerConfig, ? extends net.minecraft.world.entity.npc.VillagerProfession> elementConstructor) Deprecated.Make a new instance. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.net.minecraft.core.Registry<? super net.minecraft.world.entity.npc.VillagerProfession> Deprecated.Deprecated.Methods inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigForge
getResourceKeyMethods inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig
getConfigPropertyPrefix, getConfigPropertyPrefix, getConfigPropertyPrefixPublic, getModMethods inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon
addInstanceTransformer, compareTo, downCast, getElementConstructor, getInstance, getNamedId, getSubUniqueName, initializeInstance, onConfigPropertyReload, onForgeRegistered, onRegistered, save, showDoubleInitError
-
Constructor Details
-
VillagerConfig
public VillagerConfig(ModBase<?> mod, String namedId, Function<VillagerConfig, ? extends net.minecraft.world.entity.npc.VillagerProfession> elementConstructor) Deprecated.Make a new instance.- Parameters:
mod- The mod instance.namedId- The unique name ID for the configurable.elementConstructor- The element constructor.
-
-
Method Details
-
getTranslationKey
Deprecated.- Specified by:
getTranslationKeyin classorg.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<VillagerConfig,net.minecraft.world.entity.npc.VillagerProfession, ModBase<?>>
-
getFullTranslationKey
Deprecated.- Overrides:
getFullTranslationKeyin classorg.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<VillagerConfig,net.minecraft.world.entity.npc.VillagerProfession, ModBase<?>>
-
getConfigurableType
Deprecated.- Specified by:
getConfigurableTypein classExtendedConfig<VillagerConfig,net.minecraft.world.entity.npc.VillagerProfession>
-
getRegistry
public net.minecraft.core.Registry<? super net.minecraft.world.entity.npc.VillagerProfession> getRegistry()Deprecated.- Specified by:
getRegistryin classExtendedConfigForge<VillagerConfig,net.minecraft.world.entity.npc.VillagerProfession> - Returns:
- The registry in which this should be registered.
-