Skip to content

Instantly share code, notes, and snippets.

@unpairedbracket
unpairedbracket / Reactor simulator
Created July 12, 2014 00:51
A simulator for the Mekanism Fusion reactor. Goes in SageMath and makes pretty graphs of temperature and fuel level comparing two different sets of initial conditions.
import numpy
class Reactor:
def __init__(self, alpha, beta, gamma, kappa, Tb, steps):
self.alpha = alpha
self.beta = beta
self.gamma = gamma
self.kappa = kappa
self.Tb = Tb
self.steps = steps
package ic2.api.energy.tile;
import net.minecraftforge.common.ForgeDirection;
/**
* Allows a tile entity (mostly a machine) to receive energy.
*
* See ic2/api/energy/usage.txt for an overall description of the energy net api.
*/
public interface IEnergySink extends IEnergyAcceptor {
@unpairedbracket
unpairedbracket / Testing Interface
Created September 24, 2013 01:50
Something that'll crash ASMMixinCompiler
package resonantinduction;
public interface ITest
{
void test(double d);
}