Removed old compat module
This commit is contained in:
parent
4b730b235f
commit
5ef2ec3205
@ -1,50 +0,0 @@
|
||||
package jackcartersmith.orbsat.common.compat;
|
||||
|
||||
import elucent.albedo.event.GatherLightsEvent;
|
||||
import elucent.albedo.lighting.Light;
|
||||
import net.minecraft.util.math.Vec3d;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
|
||||
public class AlbedoHelper extends OrbsatCompatModule
|
||||
{
|
||||
@Override
|
||||
public void preInit()
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init()
|
||||
{
|
||||
MinecraftForge.EVENT_BUS.register(this);
|
||||
}
|
||||
|
||||
/*
|
||||
@SubscribeEvent
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void gatherLights(GatherLightsEvent event)
|
||||
{
|
||||
for(LightningAnimation animation : TileEntityTeslaCoil.effectMap.values())
|
||||
{
|
||||
if(animation.shoudlRecalculateLightning())
|
||||
animation.createLightning(Utils.RAND);
|
||||
|
||||
Light.Builder builder = Light.builder();
|
||||
builder.radius(2.5f);
|
||||
builder.color(77/255f, 74/255f, 152/255f);
|
||||
for(Vec3d point : animation.subPoints)
|
||||
{
|
||||
builder.pos(point);
|
||||
event.getLightList().add(builder.build());
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
@Override
|
||||
public void postInit()
|
||||
{
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user