Added buttons

Moved cuboid render function to CCC-Public
Fixed a redstone transmission bug
Added Tick Scheduler
This commit is contained in:
Chicken Bones committed 2013-06-03 19:58:06 +10:00
1 parent 283a723e38
commit 38adcdbee1
19 files changed
+561 -162

No files matched your search

@@ -40,6 +40,10 @@ public class EventHandler
part = TorchPart.placement(world, pos, hit.sideHit);
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);
else if(held.itemID == Block.woodenButton.blockID)
part = ButtonPart.placement(world, pos, player, hit.sideHit, 1);
if(part == null)
return false;