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
ConstructorDescriptionVillagerConfig
(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
getResourceKey
Methods inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig
getConfigPropertyPrefix, getConfigPropertyPrefix, getConfigPropertyPrefixPublic, getMod
Methods 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:
getTranslationKey
in classorg.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<VillagerConfig,
net.minecraft.world.entity.npc.VillagerProfession, ModBase<?>>
-
getFullTranslationKey
Deprecated.- Overrides:
getFullTranslationKey
in classorg.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<VillagerConfig,
net.minecraft.world.entity.npc.VillagerProfession, ModBase<?>>
-
getConfigurableType
Deprecated.- Specified by:
getConfigurableType
in 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:
getRegistry
in classExtendedConfigForge<VillagerConfig,
net.minecraft.world.entity.npc.VillagerProfession> - Returns:
- The registry in which this should be registered.
-