Class ParticleConfig<T extends net.minecraft.core.particles.ParticleOptions>

java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<ParticleConfig<T>,net.minecraft.core.particles.ParticleType<T>,ModBase<?>>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<ParticleConfig<T>,net.minecraft.core.particles.ParticleType<T>>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigForge<ParticleConfig<T>,net.minecraft.core.particles.ParticleType<T>>
org.cyclops.cyclopscore.config.extendedconfig.ParticleConfig<T>
All Implemented Interfaces:
Comparable<org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<ParticleConfig<T>,net.minecraft.core.particles.ParticleType<T>,ModBase<?>>>

@Deprecated public abstract class ParticleConfig<T extends net.minecraft.core.particles.ParticleOptions> extends ExtendedConfigForge<ParticleConfig<T>,net.minecraft.core.particles.ParticleType<T>>
Deprecated.
Config for recipe serializers.
See Also:
  • ExtendedConfigCommon
  • Constructor Details

    • ParticleConfig

      public ParticleConfig(ModBase<?> mod, String namedId, Function<ParticleConfig<T>,? extends net.minecraft.core.particles.ParticleType<T>> elementConstructor)
      Deprecated.
      Create a new config
      Parameters:
      mod - The mod instance.
      namedId - A unique name id
      elementConstructor - The element constructor.
  • Method Details

    • getTranslationKey

      public String getTranslationKey()
      Deprecated.
      Specified by:
      getTranslationKey in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<ParticleConfig<T extends net.minecraft.core.particles.ParticleOptions>,net.minecraft.core.particles.ParticleType<T extends net.minecraft.core.particles.ParticleOptions>,ModBase<?>>
    • getFullTranslationKey

      public String getFullTranslationKey()
      Deprecated.
      Overrides:
      getFullTranslationKey in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<ParticleConfig<T extends net.minecraft.core.particles.ParticleOptions>,net.minecraft.core.particles.ParticleType<T extends net.minecraft.core.particles.ParticleOptions>,ModBase<?>>
    • getConfigurableType

      public ConfigurableType getConfigurableType()
      Deprecated.
      Specified by:
      getConfigurableType in class ExtendedConfig<ParticleConfig<T extends net.minecraft.core.particles.ParticleOptions>,net.minecraft.core.particles.ParticleType<T extends net.minecraft.core.particles.ParticleOptions>>
    • getRegistry

      public net.minecraft.core.Registry<? super net.minecraft.core.particles.ParticleType<T>> getRegistry()
      Deprecated.
      Specified by:
      getRegistry in class ExtendedConfigForge<ParticleConfig<T extends net.minecraft.core.particles.ParticleOptions>,net.minecraft.core.particles.ParticleType<T extends net.minecraft.core.particles.ParticleOptions>>
      Returns:
      The registry in which this should be registered.
    • getParticleFactory

      @Nullable public abstract net.minecraft.client.particle.ParticleProvider<T> getParticleFactory()
      Deprecated.
    • getParticleMetaFactory

      @Nullable public abstract net.minecraft.client.particle.ParticleEngine.SpriteParticleRegistration<T> getParticleMetaFactory()
      Deprecated.
    • onParticleFactoryRegister

      public void onParticleFactoryRegister(net.neoforged.neoforge.client.event.RegisterParticleProvidersEvent event)
      Deprecated.