Interface IDefaultPropertyAdapters

All Known Implementing Classes:
MinecraftPropertyPlugin

public interface IDefaultPropertyAdapters
Allows additional default property adapters to be defined. Mods should only use this to define adapters for their own types.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Registers a new default property adapter.
  • Method Details

    • register

      void register(Consumer<IPropertyAdapter<?>> registry)
      Registers a new default property adapter. Mods should only define properties for their own types!
      Parameters:
      registry - Register a new default adapter by passing it into the consumer.