TehNut-Mods / Harvest

Right click harvesting
MIT License
14 stars 19 forks source link

[1.11.2] Can't figure out how to add a config for RandomThings Bean Sprouts #1

Closed unascribed closed 7 years ago

unascribed commented 7 years ago
[
  {
    "initialBlock": {
      "blockName": "minecraft:wheat",
      "meta": 7
    },
    "finalBlock": {
      "blockName": "minecraft:wheat",
      "meta": 0
    }
  },
  {
    "initialBlock": {
      "blockName": "minecraft:carrots",
      "meta": 7
    },
    "finalBlock": {
      "blockName": "minecraft:carrots",
      "meta": 0
    }
  },
  {
    "initialBlock": {
      "blockName": "minecraft:potatoes",
      "meta": 7
    },
    "finalBlock": {
      "blockName": "minecraft:potatoes",
      "meta": 0
    }
  },
  {
    "initialBlock": {
      "blockName": "minecraft:beetroots",
      "meta": 3
    },
    "finalBlock": {
      "blockName": "minecraft:beetroots",
      "meta": 0
    }
  },
  {
    "initialBlock": {
      "blockName": "minecraft:nether_wart",
      "meta": 3
    },
    "finalBlock": {
      "blockName": "minecraft:nether_wart",
      "meta": 0
    }
  },
  {
    "initialBlock": {
      "blockName": "randomthings:beansprout",
      "meta": 7
    },
    "finalBlock": {
      "blockName": "randomthings:beansprout",
      "meta": 0
    }
  }
]

I've also tried randomthings:beanSprout. The player's hand swings but the crop is not harvested.

I've looked at the code and I don't see anything special on either end, and I have no idea what else to try to fix this. pls 2 halp :(

TehNut commented 7 years ago

RandomThings has IPlantable implemented on BlockBeanSprout instead of on ItemBean. Unless they fix it on their end, a custom IReplantHandler needs to be implemented