MoriTanosuke / nadiamiona

Minecraft mod
0 stars 0 forks source link

Recipes using Wither Skeleton Skulls are not available yet #27

Open MoriTanosuke opened 7 years ago

MoriTanosuke commented 7 years ago

The code for recipes is actually in the mod, but they are not showing up in JEI and they are not craftable:

https://github.com/MoriTanosuke/nadiamiona/blob/f372ea0feedceadd88ac7679000ad4248f83ec77/src/main/java/kalle/recipes/Recipes.java#L188-L209

I suspect this is an issue with the NBT data, but I'm not sure.

MoriTanosuke commented 6 years ago

As of 1.12.x this recipes could be provided by providing custom JSON recipe files, I think. Need to try it.

The recipes can also be provided via a data pack, see https://minecraft.gamepedia.com/Data_pack. Information about recipe JSON at https://minecraft.gamepedia.com/Recipe

MoriTanosuke commented 6 years ago

Here are more recipes to be provided via JSON recipe files:

I think it's possible to define JSON files outside the mod, so they can be provided by a resource pack (or manually by copying them somewhere into the minecraft folder).

MoriTanosuke commented 6 years ago

Zombie egg is done:

2018-01-10_19 20 51

Here is the JSON:

{
  "type": "minecraft:crafting_shaped",
  "pattern": [
    "AAA",
    "AAA",
    "AAA"
  ],
  "key": {
    "A": {
      "item": "minecraft:rotten_flesh"
    }
  },
  "result": {
    "item": "minecraft:spawn_egg",
    "nbt": {
      "EntityTag": {
        "id": "minecraft:zombie"
      }
    },
    "count": 1
  }
}
MoriTanosuke commented 6 years ago

Spawners are still an issue, I can't figure out how to create a spawner with an entity...

MoriTanosuke commented 6 years ago

Zombie/Skeleton spawners are available. Spider Spawner is using a spider spawn egg. I still don't know how to create a wither skeleton skull though... 😢