diff --git a/build.xml b/build.xml index c18e18cba..659c18006 100644 --- a/build.xml +++ b/build.xml @@ -1,13 +1,13 @@ - + - - - - + + + + diff --git a/src/resonantinduction/ResonantInduction.java b/src/resonantinduction/ResonantInduction.java index f84133dc5..873fb9bb3 100644 --- a/src/resonantinduction/ResonantInduction.java +++ b/src/resonantinduction/ResonantInduction.java @@ -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(); diff --git a/src/resonantinduction/fx/FXElectricBolt.java b/src/resonantinduction/fx/FXElectricBolt.java index b2cbe838b..0b1076491 100644 --- a/src/resonantinduction/fx/FXElectricBolt.java +++ b/src/resonantinduction/fx/FXElectricBolt.java @@ -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 segments = new ArrayList(); 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 segments = new ArrayList(); private final Map parentIDMap = new HashMap(); public FXElectricBolt(World world, Vector3 start, Vector3 target)