Fixed build file name

This commit is contained in:
Calclavia 2013-08-02 09:06:32 -04:00
parent 91a193dd9c
commit 86e62265fd
3 changed files with 14 additions and 13 deletions

View file

@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8" ?>
<project name="Potential Expansion" default="build">
<project name="Resonant Induction" default="build">
<property file="build.properties" />
<property environment="env" />
<property name="file.main" value="Potential_Expansion.jar" />
<property name="file.api" value="Potential_Expansion_API.zip" />
<property name="file.mainfile" value="Potential_Expansion_v${version.mod.major}.${version.mod.minor}.${version.mod.revis}.${env.BUILD_NUMBER}.jar" />
<property name="file.apifile" value="Potential_Expansion_API_v${version.mod.major}.${version.mod.minor}.${version.mod.revis}.${env.BUILD_NUMBER}.zip" />
<property name="file.main" value="Resonant_Induction.jar" />
<property name="file.api" value="Resonant_Induction_API.zip" />
<property name="file.mainfile" value="Resonant_Induction_v${version.mod.major}.${version.mod.minor}.${version.mod.revis}.${env.BUILD_NUMBER}.jar" />
<property name="file.apifile" value="Resonant_Induction_API_v${version.mod.major}.${version.mod.minor}.${version.mod.revis}.${env.BUILD_NUMBER}.zip" />
<target name="build">

View file

@ -110,20 +110,20 @@ public class ResonantInduction
CONFIGURATION.load();
// config
// Config
POWER_PER_COAL = (float) CONFIGURATION.get(Configuration.CATEGORY_GENERAL, "Coal Wattage", POWER_PER_COAL).getDouble(POWER_PER_COAL);
// items
// Items
itemQuantumEntangler = new ItemQuantumEntangler(getNextItemID());
GameRegistry.registerItem(itemQuantumEntangler, itemQuantumEntangler.getUnlocalizedName());
// blocks
// Blocks
blockTesla = new BlockTesla(getNextBlockID());
GameRegistry.registerBlock(blockTesla, blockTesla.getUnlocalizedName());
CONFIGURATION.save();
// tiles
// Tiles
GameRegistry.registerTileEntity(TileEntityTesla.class, blockTesla.getUnlocalizedName());
ResonantInduction.proxy.registerRenderers();

View file

@ -39,17 +39,18 @@ public class FXElectricBolt extends EntityFX
public static final ResourceLocation FADED_SPHERE = new ResourceLocation(ResonantInduction.DOMAIN, ResonantInduction.MODEL_TEXTURE_DIRECTORY + "fadedSphere.png");
public static final ResourceLocation PARTICLE_RESOURCE = new ResourceLocation("textures/particle/particles.png");
/** Width of the bolt. */
private final float boltWidth = 0.05f;
private final float complexity = 2;
private BoltPoint start;
private BoltPoint target;
private double boltLength;
private int segmentCount;
private Random random;
private List<BoltSegment> segments = new ArrayList<BoltSegment>();
private int maxSplitID;
/** Random value, can use seed for the same bolt look */
private Random random;
/** An array of the segments of the bolt. */
private List<BoltSegment> segments = new ArrayList<BoltSegment>();
private final Map<Integer, Integer> parentIDMap = new HashMap<Integer, Integer>();
public FXElectricBolt(World world, Vector3 start, Vector3 target)