Some Heat Generator changes: bring other fuels into line with lava buckets and provide a large passive boost in the nether.

This commit is contained in:
Ben Spiers 2014-04-16 02:38:30 +01:00
parent 97c5e98d91
commit e8769b4ffd

View file

@ -184,6 +184,8 @@ public class TileEntityHeatGenerator extends TileEntityGenerator implements IFlu
boost+=5; boost+=5;
if(worldObj.getBlockId(xCoord, yCoord, zCoord-1) == 10 || worldObj.getBlockId(xCoord, yCoord, zCoord-1) == 11) if(worldObj.getBlockId(xCoord, yCoord, zCoord-1) == 10 || worldObj.getBlockId(xCoord, yCoord, zCoord-1) == 11)
boost+=5; boost+=5;
if(worldObj.provider.dimensionId == -1)
boost+=100;
return boost; return boost;
} }
@ -195,7 +197,7 @@ public class TileEntityHeatGenerator extends TileEntityGenerator implements IFlu
return 1000; return 1000;
} }
return TileEntityFurnace.getItemBurnTime(itemstack); return TileEntityFurnace.getItemBurnTime(itemstack)/20;
} }
@Override @Override