Add craft recipe for spawnegg

master
Jordan Irwin 2021-05-04 07:56:04 -07:00
parent b8978a0979
commit 33a965eb69
1 changed files with 10 additions and 0 deletions

View File

@ -31,3 +31,13 @@ antum.spawneggs.modname = core.get_current_modname()
antum.spawneggs.modpath = core.get_modpath(antum.spawneggs.modname) antum.spawneggs.modpath = core.get_modpath(antum.spawneggs.modname)
antum.loadScript('eggs') antum.loadScript('eggs')
if core.registered_items["mobs:egg"] then
core.register_craft({
output = "spawneggs:egg",
recipe = {
{"mobs:egg", "mobs:egg"},
{"mobs:egg", "mobs:egg"},
},
})
end