Skip to content

Commit

Permalink
Restore 'c' tags and add translations.
Browse files Browse the repository at this point in the history
After I started working on Terrestria I changed my mind about the feasibility of just dropping the 'c' tags instead of translating them.  According to discussion in the Fabric Discord, we're all just supposed to make up competing translations for them and see whose wins each time...

- Restore 'c' tags and add translations
  • Loading branch information
gniftygnome committed Jun 2, 2024
1 parent 1689d60 commit 8fa8959
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
12 changes: 8 additions & 4 deletions client/src/main/resources/assets/traverse/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"itemGroup.traverse.items": "Traverse Items",
"tag.item.traverse.fir_logs": "Fir Logs",

"biome.traverse.arid_highlands": "Arid Highlands",
"biome.traverse.autumnal_woods": "Autumnal Woods",
"biome.traverse.coniferous_forest": "Coniferous Forest",
Expand Down Expand Up @@ -46,6 +43,13 @@
"block.traverse.fir_fence_gate": "Fir Fence Gate",
"block.traverse.fir_door": "Fir Door",
"block.traverse.fir_trapdoor": "Fir Trapdoor",

"itemGroup.traverse.items": "Traverse Items",
"item.traverse.fir_boat": "Fir Boat",
"item.traverse.fir_chest_boat": "Fir Boat with Chest"
"item.traverse.fir_chest_boat": "Fir Boat with Chest",

"tag.item.traverse.fir_logs": "Fir Logs",
"tag.item.c.planks_that_burn": "Planks that Burn",
"tag.item.c.stripped_logs": "Stripped Logs",
"tag.item.c.stripped_wood": "Stripped Wood"
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,11 @@ public void configure(RegistryWrapper.WrapperLookup registries) {


copy(TraverseBlockTags.FIR_LOGS, TraverseItemTags.FIR_LOGS);

copy(TraverseBlockTags.PLANKS_THAT_BURN, TraverseItemTags.PLANKS_THAT_BURN);

copy(TraverseBlockTags.STRIPPED_LOGS, TraverseItemTags.STRIPPED_LOGS);

copy(TraverseBlockTags.STRIPPED_WOOD, TraverseItemTags.STRIPPED_WOOD);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

public final class TraverseItemTags {
public static final TagKey<Item> FIR_LOGS = TraverseItemTags.of("fir_logs");
public static final TagKey<Item> PLANKS_THAT_BURN = TraverseItemTags.of(Identifier.of("c", "planks_that_burn"));
public static final TagKey<Item> STRIPPED_LOGS = TraverseItemTags.of(Identifier.of("c", "stripped_logs"));
public static final TagKey<Item> STRIPPED_WOOD = TraverseItemTags.of(Identifier.of("c", "stripped_wood"));

@SuppressWarnings("UnnecessaryReturnStatement")
private TraverseItemTags() {
Expand Down

0 comments on commit 8fa8959

Please sign in to comment.