mirror of
https://github.com/GTNewHorizons/Baubles-Expanded.git
synced 2026-11-25 06:14:30 +00:00
WIP API for adding new slots
Rendering needs reworked and shift-clicking needs some improvements.
This commit is contained in:
1 parent
36a332e597
commit
e50c4de348
11 files changed
+393
-434
No files matched your search
@@ -0,0 +1,23 @@
|
||||
package baubles.api.expanded;
|
||||
|
||||
import baubles.api.IBauble;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* This interface should be extended by items that can be worn in bauble slots.
|
||||
* Supports multiple original and expanded slot types.
|
||||
*
|
||||
* @author jss2a98aj
|
||||
*/
|
||||
public interface IBaubleExpanded extends IBauble {
|
||||
|
||||
/**
|
||||
* This method returns the types of bauble slots this item can go into.
|
||||
* getBaubleType is ignored when using IBaubleExpanded.
|
||||
* Original slots can be used by putting "AMULET" "RING" or BELT" in the array.
|
||||
*/
|
||||
public String[] getBaubleTypes (ItemStack itemstack);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user