Skip to content

Commit

Permalink
Fix wrong material requirement for material master (#5049), add bambo…
Browse files Browse the repository at this point in the history
…o to requirement
  • Loading branch information
KnightMiner committed Jan 4, 2023
1 parent 53757f7 commit ecb4891
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,19 @@
]
}
},
"bamboo": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"type": "tconstruct:tool",
"materials": [
"tconstruct:bamboo"
]
}
]
}
},
"iron": {
"trigger": "minecraft:inventory_changed",
"conditions": {
Expand Down Expand Up @@ -250,14 +263,14 @@
]
}
},
"bronze": {
"amethyst_bronze": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"type": "tconstruct:tool",
"materials": [
"tconstruct:bronze"
"tconstruct:amethyst_bronze"
]
}
]
Expand Down Expand Up @@ -406,6 +419,9 @@
[
"vine"
],
[
"bamboo"
],
[
"iron"
],
Expand Down Expand Up @@ -437,7 +453,7 @@
"nahuatl"
],
[
"bronze"
"amethyst_bronze"
],
[
"pig_iron"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ protected void generate() {
with.accept(MaterialIds.leather);
with.accept(MaterialIds.string);
with.accept(MaterialIds.vine);
with.accept(MaterialIds.bamboo);
// tier 2
with.accept(MaterialIds.iron);
with.accept(MaterialIds.searedStone);
Expand All @@ -129,7 +130,7 @@ protected void generate() {
with.accept(MaterialIds.roseGold);
with.accept(MaterialIds.slimesteel);
with.accept(MaterialIds.nahuatl);
with.accept(MaterialIds.bronze);
with.accept(MaterialIds.amethystBronze);
with.accept(MaterialIds.pigIron);
with.accept(MaterialIds.cobalt);
with.accept(MaterialIds.darkthread);
Expand Down

0 comments on commit ecb4891

Please sign in to comment.