WIP API for adding new slots

Rendering needs reworked and shift-clicking needs some improvements.
This commit is contained in:
jss2a98aj committed 2021-11-03 05:13:32 -04:00
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);
}