Way being picky.
This commit is contained in:
parent
e3644f2d2b
commit
7e30b02d69
303 changed files with 622 additions and 311 deletions
|
@ -5,7 +5,8 @@ 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;
|
||||
|
|
|
@ -2,7 +2,8 @@ package WayofTime.alchemicalWizardry.common.spell.simple;
|
|||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public class HomSpellComponent {
|
||||
public class HomSpellComponent
|
||||
{
|
||||
public HomSpell spell;
|
||||
public ItemStack item;
|
||||
public int blockID;
|
||||
|
|
|
@ -6,7 +6,8 @@ import net.minecraft.item.ItemStack;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class HomSpellRegistry {
|
||||
public class HomSpellRegistry
|
||||
{
|
||||
public static List<HomSpellComponent> spellList = new ArrayList();
|
||||
|
||||
public static void registerBasicSpell(ItemStack item, HomSpell spell)
|
||||
|
|
|
@ -4,7 +4,8 @@ import net.minecraft.entity.player.EntityPlayer;
|
|||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public interface ISimpleSpell {
|
||||
public interface ISimpleSpell
|
||||
{
|
||||
public abstract ItemStack onOffensiveRangedRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer);
|
||||
|
||||
public abstract ItemStack onOffensiveMeleeRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer);
|
||||
|
|
|
@ -11,7 +11,8 @@ import net.minecraft.world.World;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
public class SpellEarthBender extends HomSpell {
|
||||
public class SpellEarthBender extends HomSpell
|
||||
{
|
||||
Random itemRand = new Random();
|
||||
|
||||
public SpellEarthBender()
|
||||
|
|
|
@ -8,7 +8,8 @@ import net.minecraft.world.World;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
public class SpellExplosions extends HomSpell {
|
||||
public class SpellExplosions extends HomSpell
|
||||
{
|
||||
Random itemRand = new Random();
|
||||
|
||||
public SpellExplosions()
|
||||
|
|
|
@ -14,7 +14,8 @@ import java.util.Iterator;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
public class SpellFireBurst extends HomSpell {
|
||||
public class SpellFireBurst extends HomSpell
|
||||
{
|
||||
public Random itemRand = new Random();
|
||||
|
||||
public SpellFireBurst()
|
||||
|
|
|
@ -9,7 +9,8 @@ import net.minecraft.world.World;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
public class SpellFrozenWater extends HomSpell {
|
||||
public class SpellFrozenWater extends HomSpell
|
||||
{
|
||||
public Random itemRand = new Random();
|
||||
|
||||
public SpellFrozenWater()
|
||||
|
|
|
@ -15,7 +15,8 @@ import java.util.Iterator;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
public class SpellHolyBlast extends HomSpell {
|
||||
public class SpellHolyBlast extends HomSpell
|
||||
{
|
||||
Random itemRand = new Random();
|
||||
|
||||
public SpellHolyBlast()
|
||||
|
|
|
@ -11,7 +11,8 @@ import net.minecraft.world.World;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
public class SpellLightningBolt extends HomSpell {
|
||||
public class SpellLightningBolt extends HomSpell
|
||||
{
|
||||
Random itemRand = new Random();
|
||||
|
||||
public SpellLightningBolt()
|
||||
|
|
|
@ -21,7 +21,8 @@ import java.util.Iterator;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
public class SpellTeleport extends HomSpell {
|
||||
public class SpellTeleport extends HomSpell
|
||||
{
|
||||
Random itemRand = new Random();
|
||||
|
||||
public SpellTeleport()
|
||||
|
|
|
@ -18,7 +18,8 @@ import java.util.Iterator;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
public class SpellWateryGrave extends HomSpell {
|
||||
public class SpellWateryGrave extends HomSpell
|
||||
{
|
||||
Random itemRand = new Random();
|
||||
|
||||
public SpellWateryGrave()
|
||||
|
|
|
@ -16,7 +16,8 @@ import java.util.Iterator;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
public class SpellWindGust extends HomSpell {
|
||||
public class SpellWindGust extends HomSpell
|
||||
{
|
||||
Random itemRand = new Random();
|
||||
|
||||
public SpellWindGust()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue