Interface LootConditionType<C extends LootCondition>

Type Parameters:
C - The specific implementation class of LootCondition.

public interface LootConditionType<C extends LootCondition>
A definition for a specific implementation of a LootCondition.

This interface holds the Codec necessary for converting condition data between its in-memory object form and its serialized representation.

  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the codec associated with this condition type.
  • Method Details

    • codec

      Codec<C> codec()
      Retrieves the codec associated with this condition type.
      Returns:
      The Codec instance for conditions of type C.