Skip to content

Commit

Permalink
Allow placing sand casts, gold platforms, and gold bars in cast chests (
Browse files Browse the repository at this point in the history
  • Loading branch information
KnightMiner committed Nov 23, 2022
1 parent 524b47f commit e891c89
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"values": [
"#tconstruct:casts/gold",
"#tconstruct:casts/sand",
"#tconstruct:casts/red_sand"
"#tconstruct:casts/red_sand",
"#tconstruct:casts/empty/table",
"#tconstruct:casts/empty/basin"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -384,9 +384,7 @@ private void addSmeltery() {

// add all casts to a common tag
this.tag(TinkerTags.Items.CASTS)
.addTag(TinkerTags.Items.GOLD_CASTS)
.addTag(TinkerTags.Items.SAND_CASTS)
.addTag(TinkerTags.Items.RED_SAND_CASTS);
.addTags(TinkerTags.Items.GOLD_CASTS, TinkerTags.Items.SAND_CASTS, TinkerTags.Items.RED_SAND_CASTS, TinkerTags.Items.TABLE_EMPTY_CASTS, TinkerTags.Items.BASIN_EMPTY_CASTS);
this.tag(TinkerTags.Items.TABLE_EMPTY_CASTS).add(TinkerCommons.goldBars.asItem());
this.tag(TinkerTags.Items.BASIN_EMPTY_CASTS).add(TinkerCommons.goldPlatform.asItem());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public boolean isItemValid(int slot, ItemStack stack) {
return i == slot;
}
}
return stack.is(TinkerTags.Items.GOLD_CASTS);
return stack.is(TinkerTags.Items.CASTS);
}
}
}

0 comments on commit e891c89

Please sign in to comment.