EMI

EMI

14M Downloads

[Help Wanter] 1.21.1 Neoforge conditions with emi assets?

Disketaa opened this issue ยท 2 comments

commented

Neoforge 1.21.1.147
EMI 1.1.22

Are Neoforge conditions working in emi resources/assets/emi/index/stacks/?
Tried this but unsuccessfully

{
  "neoforge:conditions": [
    {
      "type": "neoforge:and",
      "values": [
        {
          "type": "neoforge:mod_loaded",
          "modid": "farmersdelight"
        },
        {
          "type": "harmonium:config",
          "value": "remove_flint_knife"
        }
      ]
    }
  ],
  "removed": [
    "item:farmersdelight:flint_knife"
  ],
  "disable": true
}

Here the recipe file that works fine

{
  "neoforge:conditions": [
    {
      "type": "neoforge:and",
      "values": [
        {
          "type": "neoforge:mod_loaded",
          "modid": "farmersdelight"
        },
        {
          "type": "harmonium:config",
          "value": "remove_flint_knife",
          "inverted": true
        }
      ]
    }
  ],
  "type": "minecraft:crafting_shaped",
  "category": "equipment",
  "pattern": [
    "#",
    "/"
  ],
  "key": {
    "#": {
      "item": "minecraft:flint"
    },
    "/": {
      "item": "minecraft:stick"
    }
  },
  "result": {
    "id": "farmersdelight:flint_knife"
  }
}

(removes when mod is loaded and config value is true)

commented

EMi doesn't deviate from standard asset loading... this must be intentional behavior from neoforge, perhaps you could get a better answer from them?

commented

Image