Most items done now
This commit is contained in:
parent
ba0b24d231
commit
03662c0cd3
74 changed files with 677 additions and 314 deletions
|
@ -1,7 +1,9 @@
|
|||
package WayofTime.bloodmagic.item.soul;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import WayofTime.bloodmagic.client.IVariantProvider;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
|
@ -14,8 +16,10 @@ import WayofTime.bloodmagic.api.Constants;
|
|||
import WayofTime.bloodmagic.api.soul.IDemonWill;
|
||||
import WayofTime.bloodmagic.api.util.helper.NBTHelper;
|
||||
import WayofTime.bloodmagic.util.helper.TextHelper;
|
||||
import org.apache.commons.lang3.tuple.ImmutablePair;
|
||||
import org.apache.commons.lang3.tuple.Pair;
|
||||
|
||||
public class ItemMonsterSoul extends Item implements IDemonWill
|
||||
public class ItemMonsterSoul extends Item implements IDemonWill, IVariantProvider
|
||||
{
|
||||
public static String[] names = { "base" };
|
||||
|
||||
|
@ -91,4 +95,11 @@ public class ItemMonsterSoul extends Item implements IDemonWill
|
|||
setWill(soulStack, number);
|
||||
return soulStack;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Pair<Integer, String>> getVariants() {
|
||||
List<Pair<Integer, String>> ret = new ArrayList<Pair<Integer, String>>();
|
||||
ret.add(new ImmutablePair<Integer, String>(0, "type=monstersoul"));
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue