Skip to content

Commit

Permalink
Revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ktpatient committed Oct 3, 2024
1 parent c752876 commit 51f855c
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// 1.21.1 2024-10-03T12:03:18.616115 Languages: en_us
1905cf1d00e4573f53041e788eeb0191cb612716 assets/nautec/lang/en_us.json
// 1.21.1 2024-10-03T12:10:15.5878811 Languages: en_us
9f7f8f34477ebb434059509acb7eaeb6dd166fab assets/nautec/lang/en_us.json
6 changes: 3 additions & 3 deletions src/generated/resources/assets/nautec/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"augment.nautec.dolphin_fin": "Dolphin Fin",
"augment.nautec.drowned_lung": "Drowned Lung",
"augment.nautec.guardian_eye": "Guardian Eye",
"augment_slot.nautec.body": "Body",
"augment_slot.nautec.eyes": "Eyes",
"augment_slot.nautec.head": "Head",
Expand All @@ -11,6 +8,9 @@
"augment_slot.nautec.lung": "Lungs",
"augment_slot.nautec.right_arm": "Right Arm",
"augment_slot.nautec.right_leg": "Right Leg",
"augment_type.nautec.dolphin_fin": "Dolphin Fin",
"augment_type.nautec.drowned_lung": "Drowned Lung",
"augment_type.nautec.guardian_eye": "Guardian Eye",
"block.nautec.aquarine_steel_block": "Aquarine Steel Block",
"block.nautec.aquatic_catalyst": "Aquatic Catalyst",
"block.nautec.augmentation_station": "Augmentation Station",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "nautec:aquatic_catalyst"
}
],
"rolls": 1.0
}
],
"random_sequence": "nautec:blocks/aquatic_catalyst"
}
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public void render(GuiGraphics guiGraphics, int mouseX, int mouseY, float partia

public void displayAugment(GuiGraphics graphics, AugmentSlot slot, Augment aug, int x, int y) {
graphics.drawString(this.font, Component.translatable("augment_slot.nautec." + slot.getName()).append(Component.literal(":")), x, y, 0);
graphics.drawString(this.font, aug == null ? Component.literal(" No Augment in slot") : Component.literal(" ").append(Component.translatable("augment." + aug.getAugmentType().toString())), x, y + 10, 0);
graphics.drawString(this.font, aug == null ? Component.literal(" No Augment in slot") : Component.literal(" ").append(Component.translatable("augment_type." + aug.getAugmentType().toString())), x, y + 10, 0);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ protected void addTranslations() {
add("augment_slot.nautec.right_arm", "Right Arm");
add("augment_slot.nautec.heart", "Heart");

add("augment.nautec.drowned_lung", "Drowned Lung");
add("augment.nautec.guardian_eye", "Guardian Eye");
add("augment.nautec.dolphin_fin", "Dolphin Fin");
add("augment_type.nautec.drowned_lung", "Drowned Lung");
add("augment_type.nautec.guardian_eye", "Guardian Eye");
add("augment_type.nautec.dolphin_fin", "Dolphin Fin");
}

private void addFluidType(Supplier<? extends FluidType> fluidType, String val) {
Expand Down

0 comments on commit 51f855c

Please sign in to comment.