Interface BuildableDataComponent<C extends BuildableDataComponent<C,B>,B extends DataComponentBuilder<C>>

All Known Subinterfaces:
Consumable, Equippable, FoodProperties

@NullMarked @Experimental @NonExtendable public interface BuildableDataComponent<C extends BuildableDataComponent<C,B>,B extends DataComponentBuilder<C>>
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a new builder from this data component.
  • Method Details

    • toBuilder

      @Contract(value="-> new", pure=true) B toBuilder()
      Creates a new builder from this data component.
      Returns:
      a new builder