Interface ParticleOptions

All Superinterfaces:
Wrapper

@NullMarked @AsOf("2.3.0") public interface ParticleOptions extends Wrapper
Opaque handle to NMS ParticleOptions. Impl module wraps the real thing.
Since:
2.0.0
  • Method Details

    • of

      @AsOf("3.0.0") static ParticleOptions of(ParticleTypes type, @Nullable ParticleData data)
      Creates a new ParticleOptions instance.
      Parameters:
      type - the particle type
      data - the particle data, can be null for simple particle types
      Returns:
      a new ParticleOptions instance
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static ParticleOptions of(ParticleTypes type)
      Creates a new ParticleOptions instance.
      Parameters:
      type - the particle type
      Returns:
      a new ParticleOptions instance
      Since:
      3.0.0