Skip to content

Commit

Permalink
feat(mods): 🦊Add spawning mechanics for [Bobbit Worm] and [Horseshoe …
Browse files Browse the repository at this point in the history
  • Loading branch information
Krutoy242 committed May 11, 2024
1 parent f0630da commit b99dd00
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
19 changes: 19 additions & 0 deletions config/compactmachines3/recipes/betteranimalsplus_bobbit_worm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "compactmachines3:betteranimalsplus_bobbit_worm",

"target-item": "minecraft:spawn_egg",
"target-nbt": "{EntityTag:{id:\"betteranimalsplus:bobbit_worm\"}}",

"catalyst": "minecraft:spawn_egg",
"catalyst-nbt": "{EntityTag:{id:\"betteranimalsplus:bobbit_worm\"}}",

"input-types": {
"c": { "id": "minecraft:stone_slab", "meta": 1 },
"x": { "id": "contenttweaker:conglomerate_of_life", "ignore-meta": true }
},
"shape": [
[
["x", "c", "c"]
]
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "compactmachines3:betteranimalsplus_horseshoecrab",

"target-item": "minecraft:spawn_egg",
"target-nbt": "{EntityTag:{id:\"betteranimalsplus:horseshoecrab\"}}",

"catalyst": "minecraft:spawn_egg",
"catalyst-nbt": "{EntityTag:{id:\"betteranimalsplus:horseshoecrab\"}}",

"input-types": {
"t": { "id": "extrautils2:spike_stone", "ignore-meta": true },
"x": { "id": "contenttweaker:conglomerate_of_life", "ignore-meta": true }
},
"shape": [
[
["x", "t"]
]
]
}
10 changes: 10 additions & 0 deletions scripts/mods/betteranimalsplus.zs
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,13 @@ scripts.process.crush(<betteranimalsplus:antler>, <minecraft:bone> * 20, 'only:

<ore:foodCheese>.remove(<betteranimalsplus:cheese>);
<ore:listAllmeatraw>.add(<betteranimalsplus:turkey_leg_raw>);

// Add alt mob recipes
scripts.do.build_mob.add(<entity:betteranimalsplus:horseshoecrab>, [['xt']], {
x: <contenttweaker:conglomerate_of_life>,
t: <extrautils2:spike_stone>,
});
scripts.do.build_mob.add(<entity:betteranimalsplus:bobbit_worm>, [['xcc']], {
x: <contenttweaker:conglomerate_of_life>,
c: <minecraft:stone_slab:1>,
});

0 comments on commit b99dd00

Please sign in to comment.