Class EntityConfig<T extends net.minecraft.world.entity.Entity>
java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<EntityConfig<T>,net.minecraft.world.entity.EntityType<T>,ModBase<?>>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<EntityConfig<T>,net.minecraft.world.entity.EntityType<T>>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigForge<EntityConfig<T>,net.minecraft.world.entity.EntityType<T>>
org.cyclops.cyclopscore.config.extendedconfig.EntityConfig<T>
- Type Parameters:
T
- The entity type
- All Implemented Interfaces:
Comparable<org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<EntityConfig<T>,
net.minecraft.world.entity.EntityType<T>, ModBase<?>>>
@Deprecated
public abstract class EntityConfig<T extends net.minecraft.world.entity.Entity>
extends ExtendedConfigForge<EntityConfig<T>,net.minecraft.world.entity.EntityType<T>>
Deprecated.
Config for entities.
- See Also:
-
Field Summary
Fields inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon
configProperties
-
Constructor Summary
ConstructorDescriptionEntityConfig
(ModBase<?> mod, String namedId, Function<EntityConfig<T>, net.minecraft.world.entity.EntityType.Builder<T>> elementConstructor) Deprecated.EntityConfig
(ModBase<?> mod, String namedId, Function<EntityConfig<T>, net.minecraft.world.entity.EntityType.Builder<T>> elementConstructor, BiFunction<EntityConfig<T>, Supplier<net.minecraft.world.entity.EntityType<T>>, ItemConfig> spawnEggItemConstructor) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.static <T extends net.minecraft.world.entity.Mob>
BiFunction<EntityConfig<T>, Supplier<net.minecraft.world.entity.EntityType<T>>, ItemConfig> getDefaultSpawnEggItemConfigConstructor
(ModBase<?> mod, String itemName, int primaryColorIn, int secondaryColorIn) Deprecated.static <T extends net.minecraft.world.entity.Mob>
BiFunction<EntityConfig<T>, Supplier<net.minecraft.world.entity.EntityType<T>>, ItemConfig> getDefaultSpawnEggItemConfigConstructor
(ModBase<?> mod, String itemName, int primaryColorIn, int secondaryColorIn, Function<net.minecraft.world.item.Item.Properties, net.minecraft.world.item.Item.Properties> itemPropertiesModifier) Deprecated.net.minecraft.core.Registry
<? super net.minecraft.world.entity.EntityType<T>> Deprecated.abstract net.minecraft.client.renderer.entity.EntityRenderer
<? super T> getRender
(net.minecraft.client.renderer.entity.EntityRendererProvider.Context renderContext, net.minecraft.client.renderer.entity.ItemRenderer renderItem) Deprecated.Get the render for this configurable.Deprecated.void
Deprecated.void
setSpawnEggItemConfig
(ItemConfig spawnEggItemConfig) 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, getFullTranslationKey, getInstance, getNamedId, getSubUniqueName, initializeInstance, onConfigPropertyReload, onForgeRegistered, save, showDoubleInitError
-
Constructor Details
-
EntityConfig
public EntityConfig(ModBase<?> mod, String namedId, Function<EntityConfig<T>, net.minecraft.world.entity.EntityType.Builder<T>> elementConstructor) Deprecated. -
EntityConfig
public EntityConfig(ModBase<?> mod, String namedId, Function<EntityConfig<T>, net.minecraft.world.entity.EntityType.Builder<T>> elementConstructor, @Nullable BiFunction<EntityConfig<T>, Supplier<net.minecraft.world.entity.EntityType<T>>, ItemConfig> spawnEggItemConstructor) Deprecated.
-
-
Method Details
-
getDefaultSpawnEggItemConfigConstructor
public static <T extends net.minecraft.world.entity.Mob> BiFunction<EntityConfig<T>,Supplier<net.minecraft.world.entity.EntityType<T>>, getDefaultSpawnEggItemConfigConstructorItemConfig> (ModBase<?> mod, String itemName, int primaryColorIn, int secondaryColorIn) Deprecated. -
getDefaultSpawnEggItemConfigConstructor
public static <T extends net.minecraft.world.entity.Mob> BiFunction<EntityConfig<T>,Supplier<net.minecraft.world.entity.EntityType<T>>, getDefaultSpawnEggItemConfigConstructorItemConfig> (ModBase<?> mod, String itemName, int primaryColorIn, int secondaryColorIn, @Nullable Function<net.minecraft.world.item.Item.Properties, net.minecraft.world.item.Item.Properties> itemPropertiesModifier) Deprecated. -
getTranslationKey
Deprecated.- Specified by:
getTranslationKey
in classorg.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<EntityConfig<T extends net.minecraft.world.entity.Entity>,
net.minecraft.world.entity.EntityType<T extends net.minecraft.world.entity.Entity>, ModBase<?>>
-
getConfigurableType
Deprecated.- Specified by:
getConfigurableType
in classExtendedConfig<EntityConfig<T extends net.minecraft.world.entity.Entity>,
net.minecraft.world.entity.EntityType<T extends net.minecraft.world.entity.Entity>>
-
onRegistered
public void onRegistered()Deprecated.- Overrides:
onRegistered
in classorg.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<EntityConfig<T extends net.minecraft.world.entity.Entity>,
net.minecraft.world.entity.EntityType<T extends net.minecraft.world.entity.Entity>, ModBase<?>>
-
getRender
public abstract net.minecraft.client.renderer.entity.EntityRenderer<? super T> getRender(net.minecraft.client.renderer.entity.EntityRendererProvider.Context renderContext, net.minecraft.client.renderer.entity.ItemRenderer renderItem) Deprecated.Get the render for this configurable.- Parameters:
renderContext
- The render context.renderItem
- The render item instance.- Returns:
- Get the render.
-
getRegistry
Deprecated.- Specified by:
getRegistry
in classExtendedConfigForge<EntityConfig<T extends net.minecraft.world.entity.Entity>,
net.minecraft.world.entity.EntityType<T extends net.minecraft.world.entity.Entity>> - Returns:
- The registry in which this should be registered.
-
setSpawnEggItemConfig
Deprecated.
-