Fast Smelting

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Deceyven

Member
Oct 19, 2020
2
0
1
24
Minecraft version : 1.16.5
Skript version : 2.6

Skript type : Furnace

Description of the script :

Hello,

I am looking for help in relation to a furnace script I would like to speed up the cooking time of the ovens as I wish, configurable if possible I have already searched and the script that falls most often is

Code:
on fuel burn:
    if tag "CookTime" of nbt of event-block is 0:
        add "{CookTime: 180s}" to nbt of event-block
    wait 1 tick
    set {_burnTime} to tag "BurnTime" of nbt of event-block
    set {_burnTime} to {_burnTime} / 10
    add "{BurnTime:% {_ burnTime}% s}" to nbt of event-block

on smelt:
    add "{CookTime: 180s}" to nbt of event-block

It works well but the problem is that it only cook once, at the result slot item are unable to stack and I would like to disable the infinite item cook.

Thanks to charitable souls :emoji_slight_smile:

upload_2021-6-1_3-16-20.png

Example Image of the problem​
 
Last edited:
Status
Not open for further replies.