Help with "Can [Provided blockstate] be fertalized with bonemeal"

Started by StefanakiTheBoring on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with "Can [Provided blockstate] be fertalized with bonemeal"

I have a mod that adds a bunch of random unrelated stuff. One thing is a crystal called Dothium (with a confusing leveling system that I'm not going to cover). The Tier 1 & Tier 5 crystals can give xp when bonemealing a crop. How much xp one gets depends on the crop and its associated xp-reward conditions. I don't want to award xp if bonemeal is used on a block that can't be bonemealed. When testing on wheat, I discovered that the "Can [Provided blockstate] be fertalized with bonemeal" block still returns true even if the wheat is fully grown. What can I do to fix this?