Skip to content

Commit

Permalink
Swap the order of plate armor in the multipart item tag
Browse files Browse the repository at this point in the history
Means you see helmet first in the books instead of boots first, its the little things
  • Loading branch information
KnightMiner committed May 17, 2024
1 parent 6e3f242 commit ce188d9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"tconstruct:cleaver",
"tconstruct:crossbow",
"tconstruct:longbow",
"tconstruct:plate_boots",
"tconstruct:plate_leggings",
"tconstruct:plate_chestplate",
"tconstruct:plate_helmet",
"tconstruct:plate_chestplate",
"tconstruct:plate_leggings",
"tconstruct:plate_boots",
"tconstruct:slime_helmet",
"tconstruct:plate_shield"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,12 @@ private void addTools() {

// armor
addArmorTags(TinkerTools.travelersGear, DURABILITY, BONUS_SLOTS, GOLDEN_ARMOR, DYEABLE, ItemTags.FREEZE_IMMUNE_WEARABLES);
addArmorTags(TinkerTools.plateArmor, DURABILITY, BONUS_SLOTS, MULTIPART_TOOL);
addArmorTags(TinkerTools.plateArmor, DURABILITY, BONUS_SLOTS);
// want these in top down order as it looks better in the book then
TagAppender<Item> multipart = tag(MULTIPART_TOOL);
for (ArmorSlotType slotType : ArmorSlotType.TOP_DOWN) {
multipart.add(TinkerTools.plateArmor.get(slotType));
}
addArmorTags(TinkerTools.slimesuit, DURABILITY, BONUS_SLOTS, GOLDEN_ARMOR, EMBELLISHMENT_SLIME);
addToolTags(TinkerTools.slimesuit.get(ArmorSlotType.HELMET), MULTIPART_TOOL);

Expand Down

0 comments on commit ce188d9

Please sign in to comment.