Mystical Agriculture

Mystical Agriculture

86M Downloads

MA farmland blocks are not properly marked as being fertile

GizmoTheMoonPig opened this issue ยท 0 comments

commented

Describe the bug
Hi! I maintain a mod called rats (https://www.curseforge.com/minecraft/mc-mods/rats) and we have an upgrade that allows rats to plant seeds on farmland. The rat checks if it can a) place crops on the block and b) checks if the soil is fertile. Theres a method in IForgeBlock called isFertile that will only return true if the block is the vanilla farmland block and if the moisture level is above 0.

To Reproduce

  1. download rats and MA together
  2. place some farmland near water and wait for it to moisturize
  3. give a rat a Rat Upgrade: Planter and give it some seeds
  4. observe how rats will not place vanilla seeds on MA farmland blocks. Interestingly enough, it will place MA seeds (I assume you dont tag your seeds as such so it considers them a block, so the farmer will place them without checking the soil) but not vanilla seeds

Expected behavior
Rats would be able to place vanilla seeds on your farmland since players are allowed to do so

Screenshots / Scripts / Logs
N/A

Versions (please complete the following information):

  • Minecraft: 1.19.4
  • Forge: 45.0.41
  • Cucumber: 6.2.0
  • Mystical Agriculture: 6.2.0