package com.gmail.nossr50.api; import java.util.ArrayList; import java.util.List; import org.getspout.spoutapi.inventory.SpoutItemStack; public class SpoutToolsAPI { public static List spoutSwords = new ArrayList(); /** * Add a custom Spout sword to mcMMO for XP gain & ability use. *
* This function is designed for API usage. * * @param spoutSword The sword to add */ public void addCustomSword(SpoutItemStack spoutSword) { spoutSwords.add(spoutSword); } }