Java Code Examples for baubles.api.BaubleType#AMULET
The following examples show how to use
baubles.api.BaubleType#AMULET .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ItemArtifact.java From Artifacts with MIT License | 6 votes |
@Override public BaubleType getBaubleType(ItemStack itemStack) { if(itemStack.stackTagCompound != null) { String type = itemStack.stackTagCompound.getString("iconName"); if(type.equals("Ring")) return BaubleType.RING; if(type.equals("Amulet")) return BaubleType.AMULET; if(type.equals("Belt")) return BaubleType.BELT; } return null; }
Example 2
Source File: ItemEtherealFamiliar.java From Gadomancy with GNU Lesser General Public License v3.0 | 4 votes |
@Override public BaubleType getBaubleType(ItemStack itemStack) { return BaubleType.AMULET; }
Example 3
Source File: ItemFamiliar_Old.java From Gadomancy with GNU Lesser General Public License v3.0 | 4 votes |
@Override public BaubleType getBaubleType(ItemStack paramItemStack) { return BaubleType.AMULET; }