Plant growth with NBT tags not working

Started by StealthyTurnip2 on

Topic category: Help with modding (Java Edition)

Last seen on 16:37, 23. May 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Plant growth with NBT tags not working
Sat, 05/15/2021 - 17:33 (edited)

I'm trying to make some basic crops, but I can't get growth using NBT number tags to work. I'm doing a test that should delete the crop after 5 seconds of being placed, but I can't tell what parts are working or not because either the print statements don't print on every iteration, or the tick isn't running when it should be.

The procedure: https://imgur.com/a/nISR9h5

(i took the print statements out for now)

 

Edit: I fixed it, I didn't realise plants use a random tick. Still having a couple of issues, like the light level above the crops always returning 0

Edited by StealthyTurnip2 on Sat, 05/15/2021 - 17:33
Last seen on 15:51, 5. Mar 2024
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I couldnt load your image,…
Sat, 05/15/2021 - 16:32

I couldnt load your image, can u upload on imgur?

Last seen on 16:37, 23. May 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've updated the post
Sat, 05/15/2021 - 16:38

I've updated the post