mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-26 18:54:44 +02:00
WIP - Spout custom tool support
This commit is contained in:
21
src/main/java/com/gmail/nossr50/api/SpoutToolsAPI.java
Normal file
21
src/main/java/com/gmail/nossr50/api/SpoutToolsAPI.java
Normal file
@ -0,0 +1,21 @@
|
||||
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<SpoutItemStack> spoutSwords = new ArrayList<SpoutItemStack>();
|
||||
|
||||
/**
|
||||
* Add a custom Spout sword to mcMMO for XP gain & ability use.
|
||||
* </br>
|
||||
* This function is designed for API usage.
|
||||
*
|
||||
* @param spoutSword The sword to add
|
||||
*/
|
||||
public void addCustomSword(SpoutItemStack spoutSword) {
|
||||
spoutSwords.add(spoutSword);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user