Skip to content

Commit

Permalink
normalize item and texture names
Browse files Browse the repository at this point in the history
  • Loading branch information
parzivail committed Oct 31, 2023
1 parent d69a8bc commit 407616c
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 10 deletions.
4 changes: 2 additions & 2 deletions projects/pswg/src/main/java/com/parzivail/pswg/Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ private static void registerArmor()
);
ArmorRenderer.register(
SwgItems.Armor.ImperialPilotTechnicalHelmet,
Resources.id("imperial_pilot_technical_helmet"),
Resources.id("imperial_pilot_technical"),
new ArmorRenderer.Assets(
Resources.id("armor/tie_technical_helmet"),
Resources.id("textures/armor/tie_technical_helmet.png")
Expand All @@ -689,7 +689,7 @@ private static void registerArmor()
);
ArmorRenderer.register(
SwgItems.Armor.ImperialPilotColdHelmet,
Resources.id("imperial_pilot_cold_helmet"),
Resources.id("imperial_pilot_cold"),
new ArmorRenderer.Assets(
Resources.id("armor/tie_cold_helmet"),
Resources.id("textures/armor/tie_cold_helmet.png")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public static class Armor
@RegistryName("imperial_pilot_kit")
@TarkinItem
public static final ArmorItem ImperialPilotKit = new ArmorItem(ArmorMaterials.DIAMOND, ArmorItem.Type.CHESTPLATE, new Item.Settings().maxCount(1));
@RegistryName("imperial_pilot_cadet")
@RegistryName("imperial_pilot_cadet_helmet")
@TarkinItem
public static final ArmorItem ImperialPilotCadetHelmet = new ArmorItem(ArmorMaterials.DIAMOND, ArmorItem.Type.HELMET, new Item.Settings().maxCount(1));
@RegistryName("imperial_pilot_technical_helmet")
Expand Down
10 changes: 7 additions & 3 deletions projects/pswg/src/main/resources/assets/pswg/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@
"item.pswg.chromium_ingot": "Chromium Ingot",
"item.pswg.chromium_nugget": "Chromium Nugget",
"item.pswg.citrus_soda": "Citrus Soda",
"item.pswg.cj33_jetpack": "§oMerr-Sonn§r CJ-33 Jetpack",
"item.pswg.classic_soda": "Classic Soda",
"item.pswg.cooked_bantha_chop": "Bantha Steak",
"item.pswg.cooked_eopie_loin": "Cooked Eopie Loin",
Expand Down Expand Up @@ -591,8 +592,11 @@
"item.pswg.hovertankpilot_helmet": "Hovertank Pilot Helmet",
"item.pswg.hovertankpilot_leggings": "Hovertank Pilot Leggings",
"item.pswg.hubba_gourd": "Hubba Gourd",
"item.pswg.imperial_pilot_cadet_helmet": "Imperial Pilot Cadet Helmet",
"item.pswg.imperial_pilot_cold_helmet": "Imperial Pilot Cold Helmet",
"item.pswg.imperial_pilot_helmet": "Imperial Pilot Helmet",
"item.pswg.imperial_pilot_kit": "Imperial Pilot Kit",
"item.pswg.imperial_pilot_technical_helmet": "Imperial Pilot Technical Helmet",
"item.pswg.incineratortrooper_boots": "Incinerator Trooper Boots",
"item.pswg.incineratortrooper_chestplate": "Incinerator Trooper Chestplate",
"item.pswg.incineratortrooper_helmet": "Incinerator Trooper Helmet",
Expand All @@ -604,6 +608,7 @@
"item.pswg.jerba_rack": "Jerba Rack",
"item.pswg.jerba_rib": "Jerba Rib",
"item.pswg.jogan_fruit": "Jogan Fruit",
"item.pswg.jt12_jetpack": "§oMerr-Sonn§r JT-12 Jetpack",
"item.pswg.jumptrooper_boots": "Jumptrooper Boots",
"item.pswg.jumptrooper_chestplate": "Jumptrooper Chestplate",
"item.pswg.jumptrooper_helmet": "Jumptrooper Helmet",
Expand Down Expand Up @@ -668,6 +673,7 @@
"item.pswg.raw_sketto_nugget": "Raw Sketto Nugget",
"item.pswg.raw_titanium": "Raw Titanium",
"item.pswg.rebel_forest_helmet": "Rebel Forest Helmet",
"item.pswg.rebel_jump_pack": "GTL-1N Jump Pack",
"item.pswg.rebel_pilot_helmet": "K-22995 Light Flight Helmet",
"item.pswg.rebel_pilot_kit": "Rebel Pilot Kit",
"item.pswg.rebel_tropical_helmet": "Rebel Tropical Helmet",
Expand Down Expand Up @@ -714,9 +720,6 @@
"item.pswg.tan_light_backpack": "Tan Light Backpack",
"item.pswg.thorilide_crystal": "Thorilide Crystal",
"item.pswg.thorilide_dust": "Thorilide Dust",
"item.pswg.tie_cadet": "Tie Cadet Helmet",
"item.pswg.tie_technical_helmet": "Tie Technical Helmet",
"item.pswg.tie_cold_helmet": "Tie Cold Helmet",
"item.pswg.titanium_axe": "Titanium Axe",
"item.pswg.titanium_hoe": "Titanium Hoe",
"item.pswg.titanium_ingot": "Titanium Ingot",
Expand All @@ -737,6 +740,7 @@
"item.pswg.worrt_egg": "Worrt Egg",
"item.pswg.yellow_cup": "Yellow Cup",
"item.pswg.yellow_door_insert": "Yellow Door Insert",
"item.pswg.z6_jetpack": "§oMitrinomon§r Z6 Jetpack",
"item.pswg.zersium_crystal": "Zersium Crystal",
"item.pswg.zersium_dust": "Zersium Dust",
"itemGroup.pswg.blasters": "Blasters - PSWG",
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"parent":"minecraft:item/generated","textures":{"layer0":"pswg:item/tie_cold_helmet"}}
{"parent":"minecraft:item/generated","textures":{"layer0":"pswg:item/imperial_pilot_cadet_helmet"}}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"parent":"minecraft:item/generated","textures":{"layer0":"pswg:item/tie_cadet"}}
{"parent":"minecraft:item/generated","textures":{"layer0":"pswg:item/imperial_pilot_cold_helmet"}}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"parent":"minecraft:item/generated","textures":{"layer0":"pswg:item/tie_technical_helmet"}}
{"parent":"minecraft:item/generated","textures":{"layer0":"pswg:item/imperial_pilot_technical_helmet"}}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"values":["pswg:artillerytrooper_backpack","pswg:brown_specialist_backpack","pswg:green_heavy_backpack","pswg:green_light_backpack","pswg:green_specialist_backpack","pswg:incineratortrooper_tank","pswg:jumptrooper_jetpack","pswg:sandtrooper_backpack","pswg:tan_heavy_backpack","pswg:tan_light_backpack","pswg:white_heavy_backpack","pswg:white_light_backpack","pswg:cj32_jetpack","pswg:cj33_jetpack","pswg:jt12_jetpack","pswg:z6_jetpack","pswg:rebel_jump_pack"]}
{"values":["pswg:artillerytrooper_backpack","pswg:brown_specialist_backpack","pswg:cj33_jetpack","pswg:green_heavy_backpack","pswg:green_light_backpack","pswg:green_specialist_backpack","pswg:incineratortrooper_tank","pswg:jt12_jetpack","pswg:jumptrooper_jetpack","pswg:rebel_jump_pack","pswg:sandtrooper_backpack","pswg:tan_heavy_backpack","pswg:tan_light_backpack","pswg:white_heavy_backpack","pswg:white_light_backpack","pswg:z6_jetpack"]}

0 comments on commit 407616c

Please sign in to comment.