Massive rework of configs, items and blocks.
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.
This commit is contained in:
parent
8601e9faff
commit
e3644f2d2b
304 changed files with 3941 additions and 5108 deletions
|
@ -5,8 +5,7 @@ import net.minecraft.item.ItemStack;
|
|||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public abstract class HomSpell implements ISimpleSpell
|
||||
{
|
||||
public abstract class HomSpell implements ISimpleSpell {
|
||||
private int offensiveRangedEnergy;
|
||||
private int offensiveMeleeEnergy;
|
||||
private int defensiveEnergy;
|
||||
|
@ -20,7 +19,9 @@ public abstract class HomSpell implements ISimpleSpell
|
|||
}
|
||||
|
||||
@Override
|
||||
public abstract ItemStack onOffensiveRangedRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer);;
|
||||
public abstract ItemStack onOffensiveRangedRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer);
|
||||
|
||||
;
|
||||
|
||||
@Override
|
||||
public abstract ItemStack onOffensiveMeleeRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer);
|
||||
|
@ -76,7 +77,7 @@ public abstract class HomSpell implements ISimpleSpell
|
|||
itemStack.setTagCompound(new NBTTagCompound());
|
||||
}
|
||||
|
||||
return(itemStack.stackTagCompound.getInteger("paradigm"));
|
||||
return (itemStack.stackTagCompound.getInteger("paradigm"));
|
||||
}
|
||||
|
||||
//@Override
|
||||
|
@ -89,8 +90,7 @@ public abstract class HomSpell implements ISimpleSpell
|
|||
if (paradigm < 3)
|
||||
{
|
||||
this.setSpellParadigm(par1ItemStack, paradigm + 1);
|
||||
}
|
||||
else
|
||||
} else
|
||||
{
|
||||
this.setSpellParadigm(par1ItemStack, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue