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 TypeMethodDescriptionapplyColor
(TeamColor color, Object stack) Apply color of team to ItemStack
-
Method Details
-
applyColor
Apply color of team to ItemStack- Parameters:
color
- Color of teamstack
- ItemStack that should be colored- Returns:
- colored ItemStack or normal ItemStack if ItemStack can't be colored
-