Search in sources :

Example 1 with MooshroomType

use of simplepets.brainsynder.wrapper.MooshroomType in project SimplePets by brainsynder-Dev.

the class MooshroomColor method getDefaultItems.

@Override
public List<ItemBuilder> getDefaultItems() {
    List<ItemBuilder> items = new ArrayList<>();
    for (MooshroomType type : MooshroomType.values()) {
        ItemBuilder builder = type.getIcon();
        builder.withName("&6Color: &e" + WordUtils.capitalize(type.name().toLowerCase()));
        items.add(builder);
    }
    return items;
}
Also used : ItemBuilder(simple.brainsynder.api.ItemBuilder) ArrayList(java.util.ArrayList) MooshroomType(simplepets.brainsynder.wrapper.MooshroomType)

Aggregations

ArrayList (java.util.ArrayList)1 ItemBuilder (simple.brainsynder.api.ItemBuilder)1 MooshroomType (simplepets.brainsynder.wrapper.MooshroomType)1