Add recipe and item registry entry

This commit is contained in:
zontreck 2023-12-22 13:44:23 -07:00
parent 4e7696e672
commit 56320b887e
2 changed files with 18 additions and 0 deletions

View file

@ -62,6 +62,8 @@ public class ModItems {
public static final RegistryObject<Item> ILUSIUM_INGOT = CreativeModeTabs.addToOTEModTab(ITEMS.register("ilusium_ingot", () -> new Item(new Item.Properties().fireResistant())));
public static final RegistryObject<Item> EMPTY_SPAWN_EGG = CreativeModeTabs.addToOTEModTab(ITEMS.register("empty_spawn_egg", () -> new Item(new Item.Properties())));
//public static final RegistryObject<Item> POSSUM_SPAWN_EGG = ITEMS.register("possum_spawn_egg", () -> new ForgeSpawnEggItem(ModEntityTypes.POSSUM, 0x938686, 0xc68787, new Item.Properties())));

View file

@ -0,0 +1,16 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"CC",
"CC"
],
"key": {
"C": {
"item": "minecraft:egg"
}
},
"result": {
"item": "otemod:empty_spawn_egg",
"count": 1
}
}