#Idk how to do this

1 messages · Page 1 of 1 (latest)

dull plume
#

So if nbt say like Crops:{Wheat:2} i will get 2 wheat per block i farm how do i do that?

lavish verge
#

you want to give drops proportional to the growth?

#

just check age of event-block

dull plume
#

No, if nbt says i get 4 wheat per fully grown wheat i get that

lavish verge
#

oh thats the nbt of a tool?

#

okay, then just check that tag

dull plume
#

how i do that?\

lavish verge
#

int tag "example;tag" of nbt compound of %tool%

dull plume
#

May i ask how i would put that in a skript?

lavish verge
#

do you have any experience with skbee?

dull plume
#

like how i put that as a var then give that to player?

lavish verge
#

check out the skbee wiki

lavish verge
dull plume
lavish verge
#

set the variable to that

#

set {variable} to x

#

in this case, x is that

dull plume
#

like set {WheatGain::%player's uuid%} to int tag "Wheat;tag" of nbt compound of player's tool ?

#

?

lavish verge
#

If the tag name is “wheat;tag” and its an int tag

dull plume
#

this is what it is

#

it dont think it setting it

lavish verge
dull plume
#

how i do it?

lavish verge
#

Your tag is “Crops;wheat”

lavish verge
dull plume
#

i havent done it stuff like this

#

like nbt stuff

lavish verge
#

Thats why im telling you to look at the skbee wiki

dull plume
#

i did

#

it works now

#

thx