Interface TrimMaterialRegistryEntry

All Known Subinterfaces:
TrimMaterialRegistryEntry.Builder

@NonExtendable public interface TrimMaterialRegistryEntry
A data-centric version-specific registry entry for the TrimMaterial type.
Since:
26.2
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    A mutable builder for TrimMaterialRegistryEntry plugins may change in applicable registry events.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.kyori.adventure.text.Component
    Provides the description of the trim material.
    net.kyori.adventure.key.Key
    Provides the palette texture id to be used for this trim material.
  • Method Details

    • paletteId

      @Contract(pure=true) net.kyori.adventure.key.Key paletteId()
      Provides the palette texture id to be used for this trim material.
      Returns:
      the palette texture id
      Since:
      26.3
    • description

      @Contract(pure=true) net.kyori.adventure.text.Component description()
      Provides the description of the trim material.
      Returns:
      the description
      Since:
      26.2