Class ParticleNativeAPI
Instance holding particle lists.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ParticleList_1_13Instance of class holding particle types since 1.13.final ParticleList_1_19_PartInstance of class holding particle types that have changed since 1.19.final ParticleList_1_8Instance of class holding particle types prior to 1.13. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedParticleNativeAPI(Constructor<?> particleList_1_8_ctor, Constructor<?> particleList_1_13_ctor, Constructor<?> particleList_1_19_part_ctor) -
Method Summary
-
Field Details
-
LIST_1_8
Instance of class holding particle types prior to 1.13.
All particle lists attempt to provide same particle types between renames or merges. They also attempt to provide cross-version compatibility (for ex. usage of
ENCHANTED_HITeffect name fromParticleList_1_13should work on MC 1.8), however this is not always possible.Use
isPresentmethod on particle type to handle such cases.Before accessing any particle type, you should check if it exists on server by an
isPresentdefined by all particle types in this class. -
LIST_1_13
Instance of class holding particle types since 1.13.
All particle lists attempt to provide same particle types between renames or merges. They also attempt to provide cross-version compatibility (for ex. usage of
ENCHANTED_HITeffect name fromParticleList_1_13should work on MC 1.8), however this is not always possible.Use
isPresentmethod on particle type to handle such cases.Before accessing any particle type, you should check if it exists on server by an
isPresentdefined by all particle types in this class. -
LIST_1_19_PART
Instance of class holding particle types that have changed since 1.19.
All particle lists attempt to provide same particle types between renames or merges. They also attempt to provide cross-version compatibility (for ex. usage of
ENCHANTED_HITeffect name fromParticleList_1_13should work on MC 1.8), however this is not always possible.Use
isPresentmethod on particle type to handle such cases.Before accessing any particle type, you should check if it exists on server by an
isPresentdefined by all particle types in this class.
-
-
Constructor Details
-
ParticleNativeAPI
protected ParticleNativeAPI(Constructor<?> particleList_1_8_ctor, Constructor<?> particleList_1_13_ctor, Constructor<?> particleList_1_19_part_ctor) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-