Interface ParticleOptions
- All Superinterfaces:
Wrapper
Opaque handle to NMS ParticleOptions.
Impl module wraps the real thing.
- Since:
- 2.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface Wrapper
Wrapper.Context<C> -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ParticleOptionsof(ParticleTypes type) Creates a new ParticleOptions instance.static ParticleOptionsof(ParticleTypes type, @Nullable ParticleData data) Creates a new ParticleOptions instance.Methods inherited from interface Wrapper
asHandle, toMinecraft
-
Method Details
-
of
Creates a new ParticleOptions instance.- Parameters:
type- the particle typedata- the particle data, can be null for simple particle types- Returns:
- a new ParticleOptions instance
- Since:
- 3.0.0
-
of
Creates a new ParticleOptions instance.- Parameters:
type- the particle type- Returns:
- a new ParticleOptions instance
- Since:
- 3.0.0
-