Interface ModuleType<T extends ParticleModuleData>
public interface ModuleType<T extends ParticleModuleData>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordMarks a module type as deprecated and scheduled for removal -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec<T> codec()default @Nullable ModuleType.DeprecationStatus
-
Method Details
-
codec
com.mojang.serialization.MapCodec<T> codec()- Returns:
- The codec for this module type data
-
defaultValue
- Returns:
- The default values for this module when instantiated in the editor
- Since:
- 4.3.0
-
deprecationStatus
- Returns:
- Whether the module is deprecated and what version it will be removed in
- Since:
- 4.3.0
-