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:
  • ExtendedConfigCommon
  • Constructor Details

  • Method Details

    • getDefaultSpawnEggItemConfigConstructor

      public 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.
    • getDefaultSpawnEggItemConfigConstructor

      public 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, @Nullable Function<net.minecraft.world.item.Item.Properties,net.minecraft.world.item.Item.Properties> itemPropertiesModifier)
      Deprecated.
    • getTranslationKey

      public String getTranslationKey()
      Deprecated.
      Specified by:
      getTranslationKey in class org.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

      public ConfigurableType getConfigurableType()
      Deprecated.
      Specified by:
      getConfigurableType in class ExtendedConfig<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 class org.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

      public net.minecraft.core.Registry<? super net.minecraft.world.entity.EntityType<T>> getRegistry()
      Deprecated.
      Specified by:
      getRegistry in class ExtendedConfigForge<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

      public void setSpawnEggItemConfig(@Nullable ItemConfig spawnEggItemConfig)
      Deprecated.