Interface ModuleType<T extends ParticleModuleData>


public interface ModuleType<T extends ParticleModuleData>
  • Method Details

    • codec

      com.mojang.serialization.MapCodec<T> codec()
      Returns:
      The codec for this module type data
    • defaultValue

      default Supplier<T> defaultValue()
      Returns:
      The default values for this module when instantiated in the editor
      Since:
      4.3.0
    • deprecationStatus

      @Nullable default @Nullable ModuleType.DeprecationStatus deprecationStatus()
      Returns:
      Whether the module is deprecated and what version it will be removed in
      Since:
      4.3.0