Redstone torch parts

Improved tick scheduler, added random update ticks
This commit is contained in:
Chicken Bones committed 2013-06-04 01:47:51 +10:00
1 parent 3fd55ce0a0
commit 5032937cfb
11 files changed
+344 -17

No files matched your search

@@ -41,9 +41,11 @@ public class EventHandler
else if(held.itemID == Block.lever.blockID)
part = LeverPart.placement(world, pos, player, hit.sideHit);
else if(held.itemID == Block.stoneButton.blockID)
part = ButtonPart.placement(world, pos, player, hit.sideHit, 0);
part = ButtonPart.placement(world, pos, hit.sideHit, 0);
else if(held.itemID == Block.woodenButton.blockID)
part = ButtonPart.placement(world, pos, player, hit.sideHit, 1);
part = ButtonPart.placement(world, pos, hit.sideHit, 1);
else if(held.itemID == Block.torchRedstoneActive.blockID)
part = RedstoneTorchPart.placement(world, pos, hit.sideHit);
if(part == null)
return false;