Interface PigmentItem

All Known Implementing Classes:
ItemAmethystAndCopperPigment, ItemAmethystPigment, ItemDyePigment, ItemPridePigment, ItemUUIDPigment

@OverrideOnly public interface PigmentItem
Items which can be used as a colorizer can implement this interface.

On both the Forge and Fabric sides, the registry will be scanned for all items which implement this interface, and the appropriate cap/CC will be attached.

  • Method Summary

    Modifier and Type
    Method
    Description
    provideColor(net.minecraft.world.item.ItemStack stack, UUID owner)
     
  • Method Details

    • provideColor

      ColorProvider provideColor(net.minecraft.world.item.ItemStack stack, UUID owner)