Jump to content

Help Event-block skript


IamWjbu_

Recommended Posts

someone help me with the condition that if the wheat is not ripe, it can't be threshed 

        if event-block is wheat:
            set event-block to air
            give 1 wheat to the player
            send action bar "&e+1 Wheat" to player
            if {time.x} is set:
                give 1 wheat to the player
                send action bar "&e+2 Wheat &6(2x Multiplier)" to player
            else:
                send action bar "&e+1 Wheat" to player

Link to comment
Share on other sites

Please use https://forums.minehut.com/forum/18-discussion/ in the future, this forum is for Skript Releases, not support.

But, this below should do it
 

        if event-block is fully grown wheat plant:
            set event-block to air
            give 1 wheat to the player
            send action bar "&e+1 Wheat" to player
            if {time.x} is set:
                give 1 wheat to the player
                send action bar "&e+2 Wheat &6(2x Multiplier)" to player
            else:
                send action bar "&e+1 Wheat" to player

 

If I helped you at all please consider boosting my account with the follow button!
Minehut ♥ [VIP] 12/19/2020 - Present

I am either extremely active or not lol.

 

Link to comment
Share on other sites

Is it triggering though? The code I sent will only trigger when fully ripened wheat is broken

If I helped you at all please consider boosting my account with the follow button!
Minehut ♥ [VIP] 12/19/2020 - Present

I am either extremely active or not lol.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...