• 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.

oHeckGage

Active Member
Mar 24, 2020
110
6
18
22
Code:
every 2 seconds in world "world":
    loop all blocks:
        if loop-block-1 is a composter:
            set {autoharvcomp} to {_loc} of loop-block
            loop all blocks in radius 5 around {autoharvcomp}:
                if loop-block-2 is fully grown wheat plant:
                    set block at loop-block-2 to freshly planted wheat plant
                    loop all blocks in radius 5 around {autoharvcomp}:
                        if loop-block-3 is chest:
                            set {autoharvchest} to block at loop-block-3
                            add 2 wheat to {autoharvchest}'s inventory
                        if loop-block-3 is hopper:
                            set {autoharvchest} to block at loop-block-3
                            add 2 wheat to {autoharvchest}'s inventory

I have been trying to make an auto-harvester skript, and I just forgot about it for a little, and then it popped up and I forgot that I had posted about it a long time ago and I still need help. There are no errors or anything it just doesn't work.
 
Status
Not open for further replies.