Moving some spell classes, moved BloodUtils API stuff for books into main code

This commit is contained in:
WayofTime 2014-11-13 08:42:49 -05:00
parent beea2e875a
commit 8c1396421a
169 changed files with 227 additions and 250 deletions

View file

@ -0,0 +1,18 @@
package WayofTime.alchemicalWizardry.book.compact;
import net.minecraft.item.ItemStack;
import WayofTime.alchemicalWizardry.book.enums.EnumType;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class Category {
public Category(String name, ItemStack iconStack, EnumType type){
this.name = name;
this.iconStack = iconStack;
this.type = type;
}
public String name;
public ItemStack iconStack;
public EnumType type;
}

View file

@ -0,0 +1,21 @@
package WayofTime.alchemicalWizardry.book.compact;
import net.minecraft.item.Item;
public class CompactItem {
public CompactItem(Item item1, Item item2){
this.item1 = item1;
this.item2 = item2;
}
public Item item1;
public Item item2;
@Override
public boolean equals(Object obj){
if(obj instanceof CompactItem){
CompactItem ci = (CompactItem)obj;
return ci.item1 == this.item1 && ci.item2 == this.item2;
}
return false;
}
}

View file

@ -0,0 +1,14 @@
package WayofTime.alchemicalWizardry.book.compact;
import WayofTime.alchemicalWizardry.book.entries.IEntry;
public class Entry {
public Entry(IEntry[] entry, String name, int indexPage){
this.entry = entry;
this.name = name;
this.indexPage = indexPage - 1;
}
public IEntry[] entry;
public String name;
public int indexPage;
}