Interface ColorChanger<I extends org.screamingsandals.lib.utils.Wrapper>

Type Parameters:
I - Item

@NonExtendable public interface ColorChanger<I extends org.screamingsandals.lib.utils.Wrapper>
Utility class used for coloring items
  • Method Summary

    Modifier and Type
    Method
    Description
    applyColor(TeamColor color, Object stack)
    Apply color of team to ItemStack
  • Method Details

    • applyColor

      I applyColor(TeamColor color, Object stack)
      Apply color of team to ItemStack
      Parameters:
      color - Color of team
      stack - ItemStack that should be colored
      Returns:
      colored ItemStack or normal ItemStack if ItemStack can't be colored