mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-18 11:29:33 +00:00
Redstone torch parts
Improved tick scheduler, added random update ticks
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user