data/damage value does not affect crop block

  • 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 community!

    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.

InspirasiMR

Member
Aug 17, 2022
1
0
1
This is my first thread, previously I've read how to identify the age of a plant but after I tried, either using aliases

if player's targeted block is stage 8 wheat plant:


or using data value

if data value of player's targeted block is 8:

it doesn't work. no one can identify at all. When I check the data value of the plant it always shows the value <none> not the age of the plant.
I'm currently using script 2.6.3 with script-placeholders addon v1.5.2 and skRayFall v1.9.28, Minecraft 1.18.2
[doublepost=1660796026,1660775425][/doublepost]I have gotten help through discord with the following comparison:
if event-block = wheat[age=7]:
thanks, solved
 
Status
Not open for further replies.