Interface ModuleType<T extends ParticleModuleData>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ModuleType<T extends ParticleModuleData>
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.serialization.MapCodec<T>
     
  • Method Details

    • codec

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