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:
-
Field Summary
Fields inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon
configProperties -
Constructor Summary
ConstructorsConstructorDescriptionParticleConfig(ModBase<?> mod, String namedId, Function<ParticleConfig<T>, ? extends net.minecraft.core.particles.ParticleType<T>> elementConstructor) Deprecated.Create a new config -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.abstract net.minecraft.client.particle.ParticleProvider<T> Deprecated.abstract net.minecraft.client.particle.ParticleEngine.SpriteParticleRegistration<T> Deprecated.net.minecraft.core.Registry<? super net.minecraft.core.particles.ParticleType<T>> Deprecated.Deprecated.voidonParticleFactoryRegister(net.neoforged.neoforge.client.event.RegisterParticleProvidersEvent event) 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
-
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 idelementConstructor- The element constructor.
-
-
Method Details
-
getTranslationKey
Deprecated.- Specified by:
getTranslationKeyin classorg.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
Deprecated.- Overrides:
getFullTranslationKeyin classorg.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
Deprecated.- Specified by:
getConfigurableTypein classExtendedConfig<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:
getRegistryin classExtendedConfigForge<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
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.
-