fix moar things

This commit is contained in:
Progwml6 committed 2014-01-30 04:47:45 -05:00
1 parent 5076fc074d
commit 4326ff3c64
14 files changed
+83 -103

No files matched your search

@@ -508,7 +508,7 @@ public class TRecipes
GameRegistry.addShapelessRecipe(new ItemStack(TRepo.craftedSoil, 2, 1), Items.clay_ball, Blocks.sand, Blocks.gravel);
GameRegistry.addShapelessRecipe(new ItemStack(TRepo.craftedSoil, 8, 1), new ItemStack(Blocks.clay, 1, Short.MAX_VALUE), Blocks.sand, Blocks.sand, Blocks.sand, Blocks.sand, Blocks.gravel,
Blocks.gravel, Blocks.gravel, Blocks.gravel);
GameRegistry.addShapelessRecipe(new ItemStack(TRepo.craftedSoil, 2, 6), Items.netherStalkSeeds, Blocks.soul_sand, Blocks.gravel);
GameRegistry.addShapelessRecipe(new ItemStack(TRepo.craftedSoil, 2, 6), Items.nether_wart, Blocks.soul_sand, Blocks.gravel);
// Graveyard Soil Recipes
GameRegistry.addShapelessRecipe(new ItemStack(TRepo.craftedSoil, 1, 3), Blocks.dirt, Items.rotten_flesh, new ItemStack(Items.dye, 1, 15));
// Silky Cloth Recipes
@@ -1,43 +0,0 @@
package tconstruct.common;
import java.util.EnumSet;
import cpw.mods.fml.common.ITickHandler;
import cpw.mods.fml.common.TickType;
import tconstruct.TConstruct;
public class TimeTicker implements ITickHandler
{
public static long time = 0;
public static int tickParts = 0;
public static int seconds = 0;
public static int minutes = 0;
@Override
public void tickStart (EnumSet<TickType> type, Object... tickData)
{
TConstruct.logger.info("Tick");
time++;
tickParts = (int) (time % 20);
seconds = (int) (time / 20);
minutes = (int) (time / 1200);
}
@Override
public void tickEnd (EnumSet<TickType> type, Object... tickData)
{
}
@Override
public EnumSet<TickType> ticks ()
{
return EnumSet.of(TickType.WORLD);
}
@Override
public String getLabel ()
{
return null;
}
}