package techreborn.tiles.generator;

import net.minecraft.util.EnumFacing;
import reborncore.api.power.EnumPowerTier;
import reborncore.common.powerSystem.TilePowerAcceptor;

/**
 * Created by modmuss50 on 25/02/2016.
 */
public class TileWindMill extends TilePowerAcceptor
{

	int basePower = 4;

	public TileWindMill()
	{
		super(2);
	}

	@Override
	public void updateEntity()
	{
		super.updateEntity();
		if (pos.getY() > 64)
		{
			int actualPower = basePower;
			if (worldObj.isThundering())
			{
				actualPower *= 1.25;
			}
			addEnergy(actualPower); // Value taken from
									// http://wiki.industrial-craft.net/?title=Wind_Mill
									// Not worth making more complicated
		}
	}

	@Override
	public double getMaxPower()
	{
		return 10000;
	}

	@Override
	public boolean canAcceptEnergy(EnumFacing direction)
	{
		return false;
	}

	@Override
	public boolean canProvideEnergy(EnumFacing direction)
	{
		return true;
	}

	@Override
	public double getMaxOutput()
	{
		return 128;
	}

	@Override
	public double getMaxInput()
	{
		return 0;
	}

	@Override
	public EnumPowerTier getTier()
	{
		return EnumPowerTier.LOW;
	}
}

package techreborn.tiles.generator;

import net.minecraft.util.EnumFacing;
import reborncore.api.power.EnumPowerTier;
import reborncore.common.powerSystem.TilePowerAcceptor;

/**
 * Created by modmuss50 on 25/02/2016.
 */
public class TileWindMill extends TilePowerAcceptor
{

	int basePower = 16;

	public TileWindMill()
	{
		super(2);
	}

	@Override
	public void updateEntity()
	{
		super.updateEntity();
		if (pos.getY() > 64)
		{
			int actualPower = basePower;
			if (worldObj.isThundering())
			{
				actualPower *= 1.25;
			}
			addEnergy(actualPower); // Value taken from
									// http://wiki.industrial-craft.net/?title=Wind_Mill
									// Not worth making more complicated
		}
	}

	@Override
	public double getMaxPower()
	{
		return 10000;
	}

	@Override
	public boolean canAcceptEnergy(EnumFacing direction)
	{
		return false;
	}

	@Override
	public boolean canProvideEnergy(EnumFacing direction)
	{
		return true;
	}

	@Override
	public double getMaxOutput()
	{
		return 128;
	}

	@Override
	public double getMaxInput()
	{
		return 0;
	}

	@Override
	public EnumPowerTier getTier()
	{
		return EnumPowerTier.LOW;
	}
}

Bump the windmill eu output