removed beam and tracer methods

each mod should create its own methods for this in its proxies
This commit is contained in:
Robert Seifert 2013-05-09 03:38:23 -04:00
parent 8bc283708e
commit d9ccca74d0
2 changed files with 0 additions and 37 deletions

View file

@ -1,16 +1,11 @@
package dark.library;
import java.awt.Color;
import java.io.File;
import java.util.logging.Logger;
import net.minecraft.world.World;
import net.minecraftforge.common.Configuration;
import universalelectricity.core.vector.Vector3;
import basiccomponents.common.BasicComponents;
import cpw.mods.fml.client.FMLClientHandler;
import cpw.mods.fml.common.Loader;
import dark.library.effects.FXBeam;
public class DarkMain
{
@ -29,36 +24,6 @@ public class DarkMain
public static final Logger LOGGER = Logger.getLogger("Dark-Lib");
/**
* Renders a laser beam from one power to another by a set color for a set time
*
* @param world - world this laser is to be rendered in
* @param position - start vector3
* @param target - end vector3
* @param color - color of the beam
* @param age - life of the beam in 1/20 secs
*/
public static void renderBeam(World world, Vector3 position, Vector3 target, Color color, int age)
{
if (world.isRemote)
{
FMLClientHandler.instance().getClient().effectRenderer.addEffect(new FXBeam(world, position, target, color, DarkMain.TEXTURE_DIRECTORY + "", age));
}
}
/**
* Renders a bullet tracer from one spot to another will later be replaced with start and degree
*/
public static void renderTracer(World world, Vector3 position, Vector3 target)
{
if (world.isRemote)
{
FMLClientHandler.instance().getClient().effectRenderer.addEffect(new FXBeam(world, position, target, Color.DARK_GRAY, DarkMain.TEXTURE_DIRECTORY + "traceStream.png", 5, true));
}
}
/**
* Loads most of the items from basic components to be used
*/

View file

@ -13,13 +13,11 @@ import net.minecraft.network.packet.Packet250CustomPayload;
import universalelectricity.core.vector.Vector3;
import universalelectricity.prefab.network.IPacketReceiver;
import universalelectricity.prefab.network.PacketManager;
import calclavia.lib.TileEntityUniversalRunnable;
import com.google.common.io.ByteArrayDataInput;
import cpw.mods.fml.common.FMLLog;
import cpw.mods.fml.common.network.PacketDispatcher;
import dark.library.PowerSystems;
import dark.library.access.AccessLevel;
import dark.library.access.UserAccess;
import dark.library.access.interfaces.ISpecialAccess;