Guest User

FastSmelting.sk

a guest
Aug 16th, 2016
2,635
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1.  
  2.  
  3. command /fastsmelt <text>:
  4. permission: sk.op
  5. trigger:
  6. if arg-1 is "on" or "enable":
  7. set {fastsmelt} to true
  8. message "&1[&f&lHarbored&1]&f FastSmelt &aEnabled!"
  9. if arg-1 is "off" or "disable":
  10. delete {fastsmelt}
  11. message "&1[&f&lHarbored&1]&f FastSmelt &cDisabled!"
  12.  
  13. on fuel burn:
  14. if {fastsmelt} is true:
  15. if tag "CookTime" of nbt of event-block is 0:
  16. add "{CookTime:180s}" to nbt of event-block
  17. wait 1 tick
  18. set {_burnTime} to tag "BurnTime" of nbt of event-block
  19. set {_burnTime} to {_burnTime} / 10
  20. add "{BurnTime:%{_burnTime}%s}" to nbt of event-block
  21.  
  22. on smelt:
  23. if {fastsmelt} is true:
  24. add "{CookTime:180s}" to nbt of event-block
Advertisement
Add Comment
Please, Sign In to add comment