Working away at the spell blocks

This commit is contained in:
WayofTime 2014-02-09 12:20:02 -05:00
parent 0716155b7d
commit 92e097eaa2
10 changed files with 535 additions and 116 deletions

View file

@ -718,6 +718,8 @@ public class AlchemicalWizardry
GameRegistry.registerBlock(ModBlocks.blockSpellEffect, ItemSpellEffectBlock.class,"AlchemicalWizardry" + (ModBlocks.blockSpellEffect.getUnlocalizedName())); GameRegistry.registerBlock(ModBlocks.blockSpellEffect, ItemSpellEffectBlock.class,"AlchemicalWizardry" + (ModBlocks.blockSpellEffect.getUnlocalizedName()));
LanguageRegistry.addName(new ItemStack(ModBlocks.blockSpellEffect, 1, 0), "Crucible of Fire"); LanguageRegistry.addName(new ItemStack(ModBlocks.blockSpellEffect, 1, 0), "Crucible of Fire");
LanguageRegistry.addName(new ItemStack(ModBlocks.blockSpellEffect, 1, 1), "Ice Maker"); LanguageRegistry.addName(new ItemStack(ModBlocks.blockSpellEffect, 1, 1), "Ice Maker");
LanguageRegistry.addName(new ItemStack(ModBlocks.blockSpellEffect, 1, 2), "Wind Generator");
LanguageRegistry.addName(new ItemStack(ModBlocks.blockSpellEffect, 1, 3), "Earth Former");
GameRegistry.registerBlock(ModBlocks.speedRune, "speedRune"); GameRegistry.registerBlock(ModBlocks.speedRune, "speedRune");
LanguageRegistry.addName(ModBlocks.speedRune, "Speed Rune"); LanguageRegistry.addName(ModBlocks.speedRune, "Speed Rune");

View file

@ -49,7 +49,7 @@ public class BlockSpellEffect extends BlockOrientable
{ {
if (this.blockID == ModBlocks.blockSpellEffect.blockID) if (this.blockID == ModBlocks.blockSpellEffect.blockID)
{ {
for(int i=0; i<2; i++) for(int i=0; i<4; i++)
{ {
par3List.add(new ItemStack(par1, 1, i)); par3List.add(new ItemStack(par1, 1, i));
} }

View file

@ -101,6 +101,8 @@ public class TESpellEffectBlockItemRenderer implements IItemRenderer
{ {
case 0: return "alchemicalwizardry:textures/models/SpellEffectFire.png"; case 0: return "alchemicalwizardry:textures/models/SpellEffectFire.png";
case 1: return "alchemicalwizardry:textures/models/SpellEffectIce.png"; case 1: return "alchemicalwizardry:textures/models/SpellEffectIce.png";
case 2: return "alchemicalwizardry:textures/models/SpellEffectWind.png";
case 3: return "alchemicalwizardry:textures/models/SpellEffectEarth.png";
} }
return ""; return "";
} }

View file

@ -27,126 +27,161 @@ public class ModelSpellEffectBlock extends ModelBase
ModelRenderer inputSpacer3; ModelRenderer inputSpacer3;
ModelRenderer inputSpacer4; ModelRenderer inputSpacer4;
ModelRenderer outputFace; ModelRenderer outputFace;
ModelRenderer outputPlug;
ModelRenderer outputSpacer1;
ModelRenderer outputSpacer2;
ModelRenderer outputSpacer3;
ModelRenderer outputSpacer4;
public ModelSpellEffectBlock() public ModelSpellEffectBlock()
{ {
textureWidth = 64; textureWidth = 64;
textureHeight = 64; textureHeight = 64;
core = new ModelRenderer(this, 0, 0); core = new ModelRenderer(this, 0, 0);
core.addBox(-3F, -3F, -3F, 6, 6, 6); core.addBox(-3F, -3F, -3F, 6, 6, 6);
core.setRotationPoint(0F, 16F, 0F); core.setRotationPoint(0F, 16F, 0F);
core.setTextureSize(64, 64); core.setTextureSize(64, 64);
core.mirror = true; core.mirror = true;
setRotation(core, 0F, 0F, 0F); setRotation(core, 0F, 0F, 0F);
frame1 = new ModelRenderer(this, 16, 18); frame1 = new ModelRenderer(this, 16, 18);
frame1.addBox(3F, -3F, -5F, 2, 6, 2); frame1.addBox(3F, -3F, -5F, 2, 6, 2);
frame1.setRotationPoint(0F, 16F, 0F); frame1.setRotationPoint(0F, 16F, 0F);
frame1.setTextureSize(64, 64); frame1.setTextureSize(64, 64);
frame1.mirror = true; frame1.mirror = true;
setRotation(frame1, 0F, 0F, 0F); setRotation(frame1, 0F, 0F, 0F);
frame2 = new ModelRenderer(this, 0, 18); frame2 = new ModelRenderer(this, 0, 18);
frame2.addBox(-5F, -3F, -5F, 2, 6, 2); frame2.addBox(-5F, -3F, -5F, 2, 6, 2);
frame2.setRotationPoint(0F, 16F, 0F); frame2.setRotationPoint(0F, 16F, 0F);
frame2.setTextureSize(64, 64); frame2.setTextureSize(64, 64);
frame2.mirror = true; frame2.mirror = true;
setRotation(frame2, 0F, 0F, 0F); setRotation(frame2, 0F, 0F, 0F);
frame3 = new ModelRenderer(this, 0, 13); frame3 = new ModelRenderer(this, 0, 13);
frame3.addBox(-5F, -5F, -5F, 10, 2, 2); frame3.addBox(-5F, -5F, -5F, 10, 2, 2);
frame3.setRotationPoint(0F, 16F, 0F); frame3.setRotationPoint(0F, 16F, 0F);
frame3.setTextureSize(64, 64); frame3.setTextureSize(64, 64);
frame3.mirror = true; frame3.mirror = true;
setRotation(frame3, 0F, 0F, 0F); setRotation(frame3, 0F, 0F, 0F);
frame4 = new ModelRenderer(this, 0, 27); frame4 = new ModelRenderer(this, 0, 27);
frame4.addBox(-5F, 3F, -5F, 10, 2, 2); frame4.addBox(-5F, 3F, -5F, 10, 2, 2);
frame4.setRotationPoint(0F, 16F, 0F); frame4.setRotationPoint(0F, 16F, 0F);
frame4.setTextureSize(64, 64); frame4.setTextureSize(64, 64);
frame4.mirror = true; frame4.mirror = true;
setRotation(frame4, 0F, 0F, 0F); setRotation(frame4, 0F, 0F, 0F);
frame5 = new ModelRenderer(this, 0, 34); frame5 = new ModelRenderer(this, 0, 34);
frame5.addBox(-5F, -5F, 3F, 10, 2, 2); frame5.addBox(-5F, -5F, 3F, 10, 2, 2);
frame5.setRotationPoint(0F, 16F, 0F); frame5.setRotationPoint(0F, 16F, 0F);
frame5.setTextureSize(64, 64); frame5.setTextureSize(64, 64);
frame5.mirror = true; frame5.mirror = true;
setRotation(frame5, 0F, 0F, 0F); setRotation(frame5, 0F, 0F, 0F);
frame6 = new ModelRenderer(this, 0, 48); frame6 = new ModelRenderer(this, 0, 48);
frame6.addBox(-5F, 3F, 3F, 10, 2, 2); frame6.addBox(-5F, 3F, 3F, 10, 2, 2);
frame6.setRotationPoint(0F, 16F, 0F); frame6.setRotationPoint(0F, 16F, 0F);
frame6.setTextureSize(64, 64); frame6.setTextureSize(64, 64);
frame6.mirror = true; frame6.mirror = true;
setRotation(frame6, 0F, 0F, 0F); setRotation(frame6, 0F, 0F, 0F);
frame7 = new ModelRenderer(this, 16, 39); frame7 = new ModelRenderer(this, 16, 39);
frame7.addBox(-5F, -3F, 3F, 2, 6, 2); frame7.addBox(-5F, -3F, 3F, 2, 6, 2);
frame7.setRotationPoint(0F, 16F, 0F); frame7.setRotationPoint(0F, 16F, 0F);
frame7.setTextureSize(64, 64); frame7.setTextureSize(64, 64);
frame7.mirror = true; frame7.mirror = true;
setRotation(frame7, 0F, 0F, 0F); setRotation(frame7, 0F, 0F, 0F);
frame8 = new ModelRenderer(this, 0, 39); frame8 = new ModelRenderer(this, 0, 39);
frame8.addBox(3F, -3F, 3F, 2, 6, 2); frame8.addBox(3F, -3F, 3F, 2, 6, 2);
frame8.setRotationPoint(0F, 16F, 0F); frame8.setRotationPoint(0F, 16F, 0F);
frame8.setTextureSize(64, 64); frame8.setTextureSize(64, 64);
frame8.mirror = true; frame8.mirror = true;
setRotation(frame8, 0F, 0F, 0F); setRotation(frame8, 0F, 0F, 0F);
frame9 = new ModelRenderer(this, 25, 9); frame9 = new ModelRenderer(this, 25, 9);
frame9.addBox(-5F, 3F, -3F, 2, 2, 6); frame9.addBox(-5F, 3F, -3F, 2, 2, 6);
frame9.setRotationPoint(0F, 16F, 0F); frame9.setRotationPoint(0F, 16F, 0F);
frame9.setTextureSize(64, 64); frame9.setTextureSize(64, 64);
frame9.mirror = true; frame9.mirror = true;
setRotation(frame9, 0F, 0F, 0F); setRotation(frame9, 0F, 0F, 0F);
frame10 = new ModelRenderer(this, 25, 0); frame10 = new ModelRenderer(this, 25, 0);
frame10.addBox(-5F, -5F, -3F, 2, 2, 6); frame10.addBox(-5F, -5F, -3F, 2, 2, 6);
frame10.setRotationPoint(0F, 16F, 0F); frame10.setRotationPoint(0F, 16F, 0F);
frame10.setTextureSize(64, 64); frame10.setTextureSize(64, 64);
frame10.mirror = true; frame10.mirror = true;
setRotation(frame10, 0F, 0F, 0F); setRotation(frame10, 0F, 0F, 0F);
frame11 = new ModelRenderer(this, 42, 0); frame11 = new ModelRenderer(this, 42, 0);
frame11.addBox(3F, -5F, -3F, 2, 2, 6); frame11.addBox(3F, -5F, -3F, 2, 2, 6);
frame11.setRotationPoint(0F, 16F, 0F); frame11.setRotationPoint(0F, 16F, 0F);
frame11.setTextureSize(64, 64); frame11.setTextureSize(64, 64);
frame11.mirror = true; frame11.mirror = true;
setRotation(frame11, 0F, 0F, 0F); setRotation(frame11, 0F, 0F, 0F);
frame12 = new ModelRenderer(this, 42, 9); frame12 = new ModelRenderer(this, 42, 9);
frame12.addBox(3F, 3F, -3F, 2, 2, 6); frame12.addBox(3F, 3F, -3F, 2, 2, 6);
frame12.setRotationPoint(0F, 16F, 0F); frame12.setRotationPoint(0F, 16F, 0F);
frame12.setTextureSize(64, 64); frame12.setTextureSize(64, 64);
frame12.mirror = true; frame12.mirror = true;
setRotation(frame12, 0F, 0F, 0F); setRotation(frame12, 0F, 0F, 0F);
inputSpacer1 = new ModelRenderer(this, 25, 27); inputSpacer1 = new ModelRenderer(this, 25, 27);
inputSpacer1.addBox(3F, -5F, -8F, 2, 2, 2); inputSpacer1.addBox(3F, -5F, -8F, 2, 2, 3);
inputSpacer1.setRotationPoint(0F, 16F, 0F); inputSpacer1.setRotationPoint(0F, 16F, 0F);
inputSpacer1.setTextureSize(64, 64); inputSpacer1.setTextureSize(64, 64);
inputSpacer1.mirror = true; inputSpacer1.mirror = true;
setRotation(inputSpacer1, 0F, 0F, 0F); setRotation(inputSpacer1, 0F, 0F, 0F);
inputFace = new ModelRenderer(this, 34, 27); inputFace = new ModelRenderer(this, 38, 27);
inputFace.addBox(-2F, -2F, -8F, 4, 4, 2); inputFace.addBox(-2F, -2F, -8F, 4, 4, 5);
inputFace.setRotationPoint(0F, 16F, 0F); inputFace.setRotationPoint(0F, 16F, 0F);
inputFace.setTextureSize(64, 64); inputFace.setTextureSize(64, 64);
inputFace.mirror = true; inputFace.mirror = true;
setRotation(inputFace, 0F, 0F, 0F); setRotation(inputFace, 0F, 0F, 0F);
inputSpacer2 = new ModelRenderer(this, 25, 27); inputSpacer2 = new ModelRenderer(this, 25, 27);
inputSpacer2.addBox(-5F, -5F, -8F, 2, 2, 2); inputSpacer2.addBox(-5F, -5F, -8F, 2, 2, 3);
inputSpacer2.setRotationPoint(0F, 16F, 0F); inputSpacer2.setRotationPoint(0F, 16F, 0F);
inputSpacer2.setTextureSize(64, 64); inputSpacer2.setTextureSize(64, 64);
inputSpacer2.mirror = true; inputSpacer2.mirror = true;
setRotation(inputSpacer2, 0F, 0F, 0F); setRotation(inputSpacer2, 0F, 0F, 0F);
inputSpacer3 = new ModelRenderer(this, 25, 27); inputSpacer3 = new ModelRenderer(this, 25, 27);
inputSpacer3.addBox(3F, 3F, -8F, 2, 2, 2); inputSpacer3.addBox(3F, 3F, -8F, 2, 2, 3);
inputSpacer3.setRotationPoint(0F, 16F, 0F); inputSpacer3.setRotationPoint(0F, 16F, 0F);
inputSpacer3.setTextureSize(64, 64); inputSpacer3.setTextureSize(64, 64);
inputSpacer3.mirror = true; inputSpacer3.mirror = true;
setRotation(inputSpacer3, 0F, 0F, 0F); setRotation(inputSpacer3, 0F, 0F, 0F);
inputSpacer4 = new ModelRenderer(this, 25, 27); inputSpacer4 = new ModelRenderer(this, 25, 27);
inputSpacer4.addBox(-5F, 3F, -8F, 2, 2, 2); inputSpacer4.addBox(-5F, 3F, -8F, 2, 2, 3);
inputSpacer4.setRotationPoint(0F, 16F, 0F); inputSpacer4.setRotationPoint(0F, 16F, 0F);
inputSpacer4.setTextureSize(64, 64); inputSpacer4.setTextureSize(64, 64);
inputSpacer4.mirror = true; inputSpacer4.mirror = true;
setRotation(inputSpacer4, 0F, 0F, 0F); setRotation(inputSpacer4, 0F, 0F, 0F);
outputFace = new ModelRenderer(this, 34, 34); outputFace = new ModelRenderer(this, 38, 37);
outputFace.addBox(6F, -2F, -2F, 2, 4, 4); outputFace.addBox(6F, -2F, -2F, 2, 4, 4);
outputFace.setRotationPoint(0F, 16F, 0F); outputFace.setRotationPoint(0F, 16F, 0F);
outputFace.setTextureSize(64, 64); outputFace.setTextureSize(64, 64);
outputFace.mirror = true; outputFace.mirror = true;
setRotation(outputFace, 0F, 0F, 0F); setRotation(outputFace, 0F, 0F, 0F);
outputPlug = new ModelRenderer(this, 36, 48);
outputPlug.addBox(3F, -3F, -3F, 2, 6, 6);
outputPlug.setRotationPoint(0F, 16F, 0F);
outputPlug.setTextureSize(64, 64);
outputPlug.mirror = true;
setRotation(outputPlug, 0F, 0F, 0F);
outputSpacer1 = new ModelRenderer(this, 25, 48);
outputSpacer1.addBox(5F, -5F, -5F, 3, 2, 2);
outputSpacer1.setRotationPoint(0F, 16F, 0F);
outputSpacer1.setTextureSize(64, 64);
outputSpacer1.mirror = true;
setRotation(outputSpacer1, 0F, 0F, 0F);
outputSpacer2 = new ModelRenderer(this, 25, 48);
outputSpacer2.addBox(5F, -5F, 3F, 3, 2, 2);
outputSpacer2.setRotationPoint(0F, 16F, 0F);
outputSpacer2.setTextureSize(64, 64);
outputSpacer2.mirror = true;
setRotation(outputSpacer2, 0F, 0F, 0F);
outputSpacer3 = new ModelRenderer(this, 25, 48);
outputSpacer3.addBox(5F, 3F, -5F, 3, 2, 2);
outputSpacer3.setRotationPoint(0F, 16F, 0F);
outputSpacer3.setTextureSize(64, 64);
outputSpacer3.mirror = true;
setRotation(outputSpacer3, 0F, 0F, 0F);
outputSpacer4 = new ModelRenderer(this, 25, 48);
outputSpacer4.addBox(5F, 3F, 3F, 3, 2, 2);
outputSpacer4.setRotationPoint(0F, 16F, 0F);
outputSpacer4.setTextureSize(64, 64);
outputSpacer4.mirror = true;
setRotation(outputSpacer4, 0F, 0F, 0F);
} }
public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5, ForgeDirection input, ForgeDirection output) public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5, ForgeDirection input, ForgeDirection output)
@ -250,6 +285,11 @@ public class ModelSpellEffectBlock extends ModelBase
this.setRotation(inputSpacer2, xInputRot, yInputRot, zInputRot); this.setRotation(inputSpacer2, xInputRot, yInputRot, zInputRot);
this.setRotation(inputSpacer3, xInputRot, yInputRot, zInputRot); this.setRotation(inputSpacer3, xInputRot, yInputRot, zInputRot);
this.setRotation(inputSpacer4, xInputRot, yInputRot, zInputRot); this.setRotation(inputSpacer4, xInputRot, yInputRot, zInputRot);
this.setRotation(outputPlug, xOutputRot, yOutputRot, zOutputRot);
this.setRotation(outputSpacer1, xOutputRot, yOutputRot, zOutputRot);
this.setRotation(outputSpacer2, xOutputRot, yOutputRot, zOutputRot);
this.setRotation(outputSpacer3, xOutputRot, yOutputRot, zOutputRot);
this.setRotation(outputSpacer4, xOutputRot, yOutputRot, zOutputRot);
core.render(f5); core.render(f5);
frame1.render(f5); frame1.render(f5);
@ -270,6 +310,11 @@ public class ModelSpellEffectBlock extends ModelBase
inputSpacer3.render(f5); inputSpacer3.render(f5);
inputSpacer4.render(f5); inputSpacer4.render(f5);
outputFace.render(f5); outputFace.render(f5);
outputPlug.render(f5);
outputSpacer1.render(f5);
outputSpacer2.render(f5);
outputSpacer3.render(f5);
outputSpacer4.render(f5);
} }
private void setRotation(ModelRenderer model, float x, float y, float z) private void setRotation(ModelRenderer model, float x, float y, float z)

View file

@ -46,6 +46,7 @@ public class EntitySpellProjectile extends Entity implements IProjectile
private boolean penetration = false; private boolean penetration = false;
public List<IProjectileUpdateEffect> updateEffectList = new ArrayList(); public List<IProjectileUpdateEffect> updateEffectList = new ArrayList();
public List<SpellEffect> spellEffectList = new LinkedList(); public List<SpellEffect> spellEffectList = new LinkedList();
private int blocksBroken = 0;
public EntitySpellProjectile(World par1World) public EntitySpellProjectile(World par1World)
{ {
@ -286,6 +287,7 @@ public class EntitySpellProjectile extends Entity implements IProjectile
// } // }
par1NBTTagCompound.setTag("Effects", effectList); par1NBTTagCompound.setTag("Effects", effectList);
par1NBTTagCompound.setInteger("blocksBroken", blocksBroken);
} }
/** /**
@ -300,6 +302,7 @@ public class EntitySpellProjectile extends Entity implements IProjectile
inTile = par1NBTTagCompound.getByte("inTile") & 255; inTile = par1NBTTagCompound.getByte("inTile") & 255;
inData = par1NBTTagCompound.getByte("inData") & 255; inData = par1NBTTagCompound.getByte("inData") & 255;
inGround = par1NBTTagCompound.getByte("inGround") == 1; inGround = par1NBTTagCompound.getByte("inGround") == 1;
blocksBroken = par1NBTTagCompound.getInteger("blocksBroken");
NBTTagList tagList = par1NBTTagCompound.getTagList("Effects"); NBTTagList tagList = par1NBTTagCompound.getTagList("Effects");
@ -567,4 +570,14 @@ public class EntitySpellProjectile extends Entity implements IProjectile
{ {
this.spellEffectList = list; this.spellEffectList = list;
} }
public int getBlocksBroken()
{
return this.blocksBroken;
}
public void setBlocksBroken(int blocksBroken)
{
this.blocksBroken = blocksBroken;
}
} }

View file

@ -0,0 +1,176 @@
package WayofTime.alchemicalWizardry.common.spell.complex.effect;
import WayofTime.alchemicalWizardry.common.spell.complex.SpellParadigmMelee;
import WayofTime.alchemicalWizardry.common.spell.complex.SpellParadigmProjectile;
import WayofTime.alchemicalWizardry.common.spell.complex.SpellParadigmSelf;
public class SpellEffectEarth extends SpellEffect
{
@Override
public void defaultModificationProjectile(SpellParadigmProjectile parad)
{
// TODO Auto-generated method stub
}
@Override
public void offensiveModificationProjectile(SpellParadigmProjectile parad)
{
// TODO Auto-generated method stub
}
@Override
public void defensiveModificationProjectile(SpellParadigmProjectile parad)
{
// TODO Auto-generated method stub
}
@Override
public void environmentalModificationProjectile(SpellParadigmProjectile parad)
{
// TODO Auto-generated method stub
}
@Override
public void defaultModificationSelf(SpellParadigmSelf parad)
{
// TODO Auto-generated method stub
}
@Override
public void offensiveModificationSelf(SpellParadigmSelf parad)
{
// TODO Auto-generated method stub
}
@Override
public void defensiveModificationSelf(SpellParadigmSelf parad)
{
// TODO Auto-generated method stub
}
@Override
public void environmentalModificationSelf(SpellParadigmSelf parad)
{
// TODO Auto-generated method stub
}
@Override
public void defaultModificationMelee(SpellParadigmMelee parad)
{
// TODO Auto-generated method stub
}
@Override
public void offensiveModificationMelee(SpellParadigmMelee parad)
{
// TODO Auto-generated method stub
}
@Override
public void defensiveModificationMelee(SpellParadigmMelee parad)
{
// TODO Auto-generated method stub
}
@Override
public void environmentalModificationMelee(SpellParadigmMelee parad)
{
// TODO Auto-generated method stub
}
@Override
protected int getCostForDefaultProjectile()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForOffenseProjectile()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForDefenseProjectile()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForEnvironmentProjectile()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForDefaultSelf()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForOffenseSelf()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForDefenseSelf()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForEnvironmentSelf()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForDefaultMelee()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForOffenseMelee()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForDefenseMelee()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForEnvironmentMelee()
{
// TODO Auto-generated method stub
return 0;
}
}

View file

@ -0,0 +1,176 @@
package WayofTime.alchemicalWizardry.common.spell.complex.effect;
import WayofTime.alchemicalWizardry.common.spell.complex.SpellParadigmMelee;
import WayofTime.alchemicalWizardry.common.spell.complex.SpellParadigmProjectile;
import WayofTime.alchemicalWizardry.common.spell.complex.SpellParadigmSelf;
public class SpellEffectWind extends SpellEffect
{
@Override
public void defaultModificationProjectile(SpellParadigmProjectile parad)
{
// TODO Auto-generated method stub
}
@Override
public void offensiveModificationProjectile(SpellParadigmProjectile parad)
{
// TODO Auto-generated method stub
}
@Override
public void defensiveModificationProjectile(SpellParadigmProjectile parad)
{
// TODO Auto-generated method stub
}
@Override
public void environmentalModificationProjectile(SpellParadigmProjectile parad)
{
// TODO Auto-generated method stub
}
@Override
public void defaultModificationSelf(SpellParadigmSelf parad)
{
// TODO Auto-generated method stub
}
@Override
public void offensiveModificationSelf(SpellParadigmSelf parad)
{
// TODO Auto-generated method stub
}
@Override
public void defensiveModificationSelf(SpellParadigmSelf parad)
{
// TODO Auto-generated method stub
}
@Override
public void environmentalModificationSelf(SpellParadigmSelf parad)
{
// TODO Auto-generated method stub
}
@Override
public void defaultModificationMelee(SpellParadigmMelee parad)
{
// TODO Auto-generated method stub
}
@Override
public void offensiveModificationMelee(SpellParadigmMelee parad)
{
// TODO Auto-generated method stub
}
@Override
public void defensiveModificationMelee(SpellParadigmMelee parad)
{
// TODO Auto-generated method stub
}
@Override
public void environmentalModificationMelee(SpellParadigmMelee parad)
{
// TODO Auto-generated method stub
}
@Override
protected int getCostForDefaultProjectile()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForOffenseProjectile()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForDefenseProjectile()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForEnvironmentProjectile()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForDefaultSelf()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForOffenseSelf()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForDefenseSelf()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForEnvironmentSelf()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForDefaultMelee()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForOffenseMelee()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForDefenseMelee()
{
// TODO Auto-generated method stub
return 0;
}
@Override
protected int getCostForEnvironmentMelee()
{
// TODO Auto-generated method stub
return 0;
}
}

View file

@ -1,10 +1,11 @@
package WayofTime.alchemicalWizardry.common.tileEntity; package WayofTime.alchemicalWizardry.common.tileEntity;
import net.minecraft.util.ResourceLocation;
import WayofTime.alchemicalWizardry.common.spell.complex.SpellParadigm; import WayofTime.alchemicalWizardry.common.spell.complex.SpellParadigm;
import WayofTime.alchemicalWizardry.common.spell.complex.effect.SpellEffect; import WayofTime.alchemicalWizardry.common.spell.complex.effect.SpellEffect;
import WayofTime.alchemicalWizardry.common.spell.complex.effect.SpellEffectEarth;
import WayofTime.alchemicalWizardry.common.spell.complex.effect.SpellEffectFire; import WayofTime.alchemicalWizardry.common.spell.complex.effect.SpellEffectFire;
import WayofTime.alchemicalWizardry.common.spell.complex.effect.SpellEffectIce; import WayofTime.alchemicalWizardry.common.spell.complex.effect.SpellEffectIce;
import WayofTime.alchemicalWizardry.common.spell.complex.effect.SpellEffectWind;
public class TESpellEffectBlock extends TESpellBlock public class TESpellEffectBlock extends TESpellBlock
{ {
@ -21,6 +22,8 @@ public class TESpellEffectBlock extends TESpellBlock
{ {
case 0: return new SpellEffectFire(); case 0: return new SpellEffectFire();
case 1: return new SpellEffectIce(); case 1: return new SpellEffectIce();
case 2: return new SpellEffectWind();
case 3: return new SpellEffectEarth();
} }
return new SpellEffectFire(); return new SpellEffectFire();
} }
@ -32,6 +35,8 @@ public class TESpellEffectBlock extends TESpellBlock
{ {
case 0: return "alchemicalwizardry:textures/models/SpellEffectFire.png"; case 0: return "alchemicalwizardry:textures/models/SpellEffectFire.png";
case 1: return "alchemicalwizardry:textures/models/SpellEffectIce.png"; case 1: return "alchemicalwizardry:textures/models/SpellEffectIce.png";
case 2: return "alchemicalwizardry:textures/models/SpellEffectWind.png";
case 3: return "alchemicalwizardry:textures/models/SpellEffectEarth.png";
} }
return ""; return "";
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB