Skip to content

Commit

Permalink
Blueprints
Browse files Browse the repository at this point in the history
and turns out tags can't be used in structures after all, only nbts...
  • Loading branch information
Laskyyy committed Jun 12, 2024
1 parent 4c2c7b6 commit 389af34
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"keys": {
"a": "create:andesite_casing",
"l": "minecraft:lava",
"g": "#c:glass"
"g": "minecraft:glass"
},
"pattern": [
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"keys": {
"a": "create:andesite_casing",
"l": "minecraft:lava",
"g": "#c:glass"
"g": "minecraft:glass"
},
"pattern": [
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"keys": {
"a": "create:andesite_casing",
"l": "minecraft:lava",
"g": "#c:glass"
"g": "minecraft:glass"
},
"pattern": [
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"keys": {
"a": "create:andesite_casing",
"l": "minecraft:lava",
"g": "#c:glass"
"g": "minecraft:glass"
},
"pattern": [
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"keys": {
"a": "create:andesite_casing",
"l": "minecraft:lava",
"g": "#c:glass"
"g": "minecraft:glass"
},
"pattern": [
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"keys": {
"a": "create:andesite_casing",
"l": "minecraft:lava",
"g": "#c:glass"
"g": "minecraft:glass"
},
"pattern": [
[
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"replace":false,"values":["createastral:gyrodyne_blueprint","createastral:quadrocopter_blueprint", "createastral:airship_blueprint", "createastral:biplane_blueprint"]}
32 changes: 32 additions & 0 deletions kubejs/server_scripts/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -2453,6 +2453,38 @@ function compactingRecipes(event) {
},
],
},
{
output: "2x createastral:gyrodyne_blueprint",
inputs: [
"createastral:gyrodyne_blueprint",
"create:empty_schematic",
"32x minecraft:black_dye",
],
},
{
output: "2x createastral:biplane_blueprint",
inputs: [
"createastral:biplane_blueprint",
"create:empty_schematic",
"32x minecraft:black_dye",
],
},
{
output: "2x createastral:airship_blueprint",
inputs: [
"createastral:airship_blueprint",
"create:empty_schematic",
"32x minecraft:black_dye",
],
},
{
output: "2x createastral:quadrocopter_blueprint",
inputs: [
"createastral:quadrocopter_blueprint",
"create:empty_schematic",
"32x minecraft:black_dye",
],
},
].forEach((recipe) => {
event.recipes.createCompacting(recipe.output, recipe.inputs);
});
Expand Down
16 changes: 16 additions & 0 deletions kubejs/startup_scripts/startup.js
Original file line number Diff line number Diff line change
Expand Up @@ -985,6 +985,22 @@ onEvent("item.tooltip", (e) => {
item: "adoptafloppa:amazon_delivery",
tooltip: 'A note is attached: "Feed this thing fish once a day or else it will explode. Good luck.".',
},
{
item: "createastral:gyrodyne_blueprint",
tooltip: 'An ancient schematic from a lost civilisation. Perhaps it can be found in old facilities?',
},
{
item: "createastral:quadrocopter_blueprint",
tooltip: 'An ancient schematic from a lost civilisation. Perhaps it can be found in old facilities?',
},
{
item: "createastral:airship_blueprint",
tooltip: 'An ancient schematic from a lost civilisation. Perhaps it can be found in old facilities?',
},
{
item: "createastral:biplane_blueprint",
tooltip: 'An ancient schematic from a lost civilisation. Perhaps it can be found in old facilities?',
},
];

tooltips.forEach((tooltip) => {
Expand Down

0 comments on commit 389af34

Please sign in to comment.