
I redone where the items/blocsks are stored and how the configs are handled to clean up it and give space. You can change the config line to AWWayofTime if you want to keep the compatibility with old configs. Now you reference the blocks from the ModBlocks and Items from the ModItems.
25 lines
479 B
Java
25 lines
479 B
Java
package WayofTime.alchemicalWizardry.common.spell.simple;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
public class HomSpellComponent {
|
|
public HomSpell spell;
|
|
public ItemStack item;
|
|
public int blockID;
|
|
|
|
public HomSpellComponent(ItemStack item, HomSpell spell)
|
|
{
|
|
this.item = item;
|
|
this.spell = spell;
|
|
}
|
|
|
|
public HomSpell getSpell()
|
|
{
|
|
return spell;
|
|
}
|
|
|
|
public ItemStack getItemStack()
|
|
{
|
|
return this.item;
|
|
}
|
|
}
|