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
ConstructorDescriptionParticleConfig
(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.void
onParticleFactoryRegister
(net.neoforged.neoforge.client.event.RegisterParticleProvidersEvent event) 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
-
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:
getTranslationKey
in 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:
getFullTranslationKey
in 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:
getConfigurableType
in 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:
getRegistry
in 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.
-