Package net.minecraft.particles
Class ParticleType<T extends IParticleData>
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<ParticleType<?>>
-
- net.minecraft.particles.ParticleType<T>
-
- All Implemented Interfaces:
IForgeRegistryEntry<ParticleType<?>>
- Direct Known Subclasses:
BasicParticleType
public abstract class ParticleType<T extends IParticleData> extends ForgeRegistryEntry<ParticleType<?>>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
-
Field Summary
Fields Modifier and Type Field Description private IParticleData.IDeserializer<T>
deserializer
private boolean
overrideLimiter
-
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
-
Constructor Summary
Constructors Constructor Description ParticleType(boolean p_i50792_1_, IParticleData.IDeserializer<T> p_i50792_2_)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract com.mojang.serialization.Codec<T>
codec()
IParticleData.IDeserializer<T>
getDeserializer()
boolean
getOverrideLimiter()
-
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
-
-
-
Field Detail
-
overrideLimiter
private final boolean overrideLimiter
-
deserializer
private final IParticleData.IDeserializer<T extends IParticleData> deserializer
-
-
Constructor Detail
-
ParticleType
public ParticleType(boolean p_i50792_1_, IParticleData.IDeserializer<T> p_i50792_2_)
-
-
Method Detail
-
getOverrideLimiter
public boolean getOverrideLimiter()
-
getDeserializer
public IParticleData.IDeserializer<T> getDeserializer()
-
codec
public abstract com.mojang.serialization.Codec<T> codec()
-
-