Skip to content

Commit d90f468

Browse files
committed
Spanish gameplay translations
1 parent 8e6379c commit d90f468

File tree

12 files changed

+121
-37
lines changed

12 files changed

+121
-37
lines changed

build.gradle

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ buildscript {
99
}
1010
}
1111

12-
1312
plugins {
1413
id "architectury-plugin" version "3.4-SNAPSHOT"
1514
id "dev.architectury.loom" version "1.5-SNAPSHOT" apply false
@@ -173,6 +172,6 @@ publishMods {
173172
discord("discordUniversal") {
174173
webhookUrl = TOKENS.get("DISCORD_WEBHOOK")
175174
username = "New Version Announcement | Create: Pattern Schematics"
176-
content = "$newVersionPing\n# Create: Pattern Schematics has been updated to $mod_version for $minecraft_version ($fabricEmoji / $forgeEmoji)\n " + changelogText
175+
content = "\n# Create: Pattern Schematics has been updated to $mod_version for $minecraft_version ($fabricEmoji / $forgeEmoji)\n " + changelogText
177176
}
178177
}

changelog.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,11 @@
2525
- Update logo for 1.20.1
2626
1.20.1-1.1.15: |
2727
- Added Spanish gameplay translations
28+
1.20.1-1.1.16: |
29+
- Added item tooltips
30+
- Tweaked control scheme for the clone tool
31+
1.20.1-1.1.17: |
32+
- Chinese Localisation from TASC2 on github :D!
33+
1.20.1-1.1.18: |
34+
- LOLCATZ translation (Thanks @Chazbomb)
2835
...
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// 1.20.1 2024-08-08T18:26:37.0204495 Create: Pattern Schematics/Registrate Provider for create_pattern_schematics [Recipes, Advancements, Loot Tables, Tags (blocks), Tags (items), Tags (fluids), Tags (entity_types), Blockstates, Item models, Lang (en_us/en_ud)]
1+
// 1.20.1 2024-12-04T17:47:05.6138525 Create: Pattern Schematics/Registrate Provider for create_pattern_schematics [Recipes, Advancements, Loot Tables, Tags (blocks), Tags (items), Tags (fluids), Tags (entity_types), Blockstates, Item models, Lang (en_us/en_ud)]
22
ef2d06ece9923cc75b5e3dc3070df2808f1cdb74 assets\create_pattern_schematics\models\item\pattern_schematic.json
3-
8810e95491d447d2f23ff40d2a9dc511b4922ca8 assets\create_pattern_schematics\lang\en_us.json
4-
1a219ed86763a03c3793a893757a3c253c4c620e assets\create_pattern_schematics\lang\en_ud.json
3+
6a3cc5fc1a54f155da8e2fdd6a4bcc24f97e564e assets\create_pattern_schematics\lang\en_us.json
4+
e2fc07ed7b1d1dc8a1a76e730a3d29d6f4c20ee0 assets\create_pattern_schematics\lang\en_ud.json
55
19e25b53bb643c63106b1f83e2f1fe5a6ac63f13 assets\create_pattern_schematics\models\item\empty_pattern_schematic.json

common/src/generated/resources/assets/create_pattern_schematics/lang/en_ud.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@
1818
"create_pattern_schematics.ponder.train_schematic_printing.text_3": "buıʇɐǝdǝɹ ɔıʇɐɯǝɥɔs ǝɥʇ uı ʇןnsǝɹ ןןıʍ ɹǝɥʇɹnɟ uıɐɹʇ ǝɥʇ buıʌoɯ ʇnᗺ",
1919
"create_pattern_schematics.schematic.tool.clone": "ǝuoןƆ",
2020
"create_pattern_schematics.schematic.tool.clone.description.0": "ɔıʇɐɯǝɥɔs pǝʇɔǝןǝs ǝɥʇ sʇɐǝdǝᴚ",
21-
"create_pattern_schematics.schematic.tool.clone.description.1": "˙ʇı ʇɐǝdǝɹ oʇ ןןoɹɔS-]Ꞁᴚ⟘Ɔ[ puɐ ɔıʇɐɯǝɥɔS ǝɥʇ ʇɐ ʇuıoԀ",
22-
"create_pattern_schematics.schematic.tool.clone.description.2": "buıɔɐɟ ǝɹɐ noʎ uoıʇɔǝɹıp ǝɥʇ ǝuoןɔ oʇ ןןoɹɔS-]⟘ℲIHS+Ꞁᴚ⟘Ɔ[ 'ʎןǝʌıʇɐuɹǝʇןⱯ",
21+
"create_pattern_schematics.schematic.tool.clone.description.1": "˙uoıʇɔǝɹıp buıɔɐɟ ʇuǝɹɹnɔ ǝɥʇ uı ǝuoןɔ oʇ ןןoɹɔS-]Ꞁᴚ⟘Ɔ[ ǝsn puɐ ʇɔǝןǝS",
22+
"create_pattern_schematics.schematic.tool.clone.description.2": "˙ǝɔɐɟɹns pǝʇɔǝןǝs ǝɥʇ uo ǝuoןɔ oʇ ןןoɹɔS-]⟘ℲIHS+Ꞁᴚ⟘Ɔ[ 'ʎןǝʌıʇɐuɹǝʇןⱯ",
2323
"create_pattern_schematics.schematic.tool.clone.description.3": "",
2424
"item.create_pattern_schematics.empty_pattern_schematic": "ɔıʇɐɯǝɥɔS uɹǝʇʇɐԀ ʎʇdɯƎ",
25-
"item.create_pattern_schematics.pattern_schematic": "ɔıʇɐɯǝɥɔS uɹǝʇʇɐԀ"
25+
"item.create_pattern_schematics.empty_pattern_schematic.tooltip.summary": "˙sǝɯıʇ ǝןdıʇןnɯ ‾ubısǝp ɐ ʇɐǝdǝɹ‾ oʇ suouuɐɔıʇɐɯǝɥɔs puɐ suoıʇdɐɹʇuoɔ sʍoןןɐ ɥɔıɥʍ ‾ɔıʇɐɯǝɥɔs s,ǝʇɐǝɹƆ ɟo uoısɹǝʌ pǝpuǝʇxǝ‾ uɐ ǝʞɐɯ oʇ uǝʇʇıɹʍ ǝq uɐƆ",
26+
"item.create_pattern_schematics.pattern_schematic": "ɔıʇɐɯǝɥɔS uɹǝʇʇɐԀ",
27+
"item.create_pattern_schematics.pattern_schematic.tooltip.summary": "˙sǝɯıʇ ǝןdıʇןnɯ ‾ubısǝp ɐ ʇɐǝdǝɹ‾ oʇ suouuɐɔıʇɐɯǝɥɔs puɐ suoıʇdɐɹʇuoɔ sʍoןןɐ ɥɔıɥʍ ‾ɔıʇɐɯǝɥɔs s,ǝʇɐǝɹƆ ɟo uoısɹǝʌ pǝpuǝʇxǝ‾ uⱯ"
2628
}

common/src/generated/resources/assets/create_pattern_schematics/lang/en_us.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@
1818
"create_pattern_schematics.ponder.train_schematic_printing.text_3": "But moving the train further will result in the schematic repeating",
1919
"create_pattern_schematics.schematic.tool.clone": "Clone",
2020
"create_pattern_schematics.schematic.tool.clone.description.0": "Repeats the selected schematic",
21-
"create_pattern_schematics.schematic.tool.clone.description.1": "Point at the Schematic and [CTRL]-Scroll to repeat it.",
22-
"create_pattern_schematics.schematic.tool.clone.description.2": "Alternatively, [CTRL+SHIFT]-Scroll to clone in the direction you are facing",
21+
"create_pattern_schematics.schematic.tool.clone.description.1": "Select and use [CTRL]-Scroll to clone in the current facing direction.",
22+
"create_pattern_schematics.schematic.tool.clone.description.2": "Alternatively, [CTRL+SHIFT]-Scroll to clone on the selected surface.",
2323
"create_pattern_schematics.schematic.tool.clone.description.3": "",
2424
"item.create_pattern_schematics.empty_pattern_schematic": "Empty Pattern Schematic",
25-
"item.create_pattern_schematics.pattern_schematic": "Pattern Schematic"
25+
"item.create_pattern_schematics.empty_pattern_schematic.tooltip.summary": "Can be written to make an _extended version of Create's schematic_ which allows contraptions and schematicannons to _repeat a design_ multiple times.",
26+
"item.create_pattern_schematics.pattern_schematic": "Pattern Schematic",
27+
"item.create_pattern_schematics.pattern_schematic.tooltip.summary": "An _extended version of Create's schematic_ which allows contraptions and schematicannons to _repeat a design_ multiple times."
2628
}

common/src/main/java/com/cak/pattern_schematics/PatternSchematics.java

+11
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
import com.cak.pattern_schematics.registry.PatternSchematicsRegistry;
44
import com.cak.pattern_schematics.registry.PlatformPackets;
55
import com.simibubi.create.foundation.data.CreateRegistrate;
6+
import com.simibubi.create.foundation.item.ItemDescription;
7+
import com.simibubi.create.foundation.item.KineticStats;
8+
import com.simibubi.create.foundation.item.TooltipHelper;
9+
import com.simibubi.create.foundation.item.TooltipModifier;
610
import net.minecraft.resources.ResourceLocation;
711

812
// The value here should match an entry in the META-INF/mods.toml file
@@ -12,6 +16,13 @@ public class PatternSchematics {
1216

1317
public static final CreateRegistrate REGISTRATE = CreateRegistrate.create(PatternSchematics.MOD_ID);
1418

19+
static {
20+
REGISTRATE.setTooltipModifierFactory(item ->
21+
new ItemDescription.Modifier(item, TooltipHelper.Palette.STANDARD_CREATE)
22+
.andThen(TooltipModifier.mapNull(KineticStats.create(item)))
23+
);
24+
}
25+
1526
public static void init() {
1627
PatternSchematicsRegistry.register();
1728
PlatformPackets.registerPackets();

common/src/main/java/com/cak/pattern_schematics/foundation/CloneTool.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ public boolean handleMouseWheel(double delta) {
2626
throw new RuntimeException("Clone tool bound in a normal SchematicHandler!");
2727

2828
LocalPlayer player = Minecraft.getInstance().player;
29-
Direction face = (AllKeys.shiftDown() && player != null) ? facingOfPlayer(player) : selectedFace;
29+
Direction face = (!AllKeys.shiftDown() && player != null) ? facingOfPlayer(player).getOpposite() : selectedFace;
30+
31+
if (face == null)
32+
return true;
3033

3134
boolean isPositive = face.getAxisDirection() == Direction.AxisDirection.POSITIVE;
3235

common/src/main/java/com/cak/pattern_schematics/registry/PatternSchematicsLang.java

+26-22
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,31 @@
55
import static com.cak.pattern_schematics.PatternSchematics.REGISTRATE;
66

77
public class PatternSchematicsLang {
8-
9-
public static BiConsumer<String, String> ENTRY_CONSUMER = REGISTRATE::addRawLang;
10-
11-
public static void register() {
12-
putLang(
13-
"create_pattern_schematics.schematic.tool.clone", "Clone",
14-
"create_pattern_schematics.schematic.tool.clone.description.0", "Repeats the selected schematic",
15-
"create_pattern_schematics.schematic.tool.clone.description.1", "Point at the Schematic and [CTRL]-Scroll to repeat it.",
16-
"create_pattern_schematics.schematic.tool.clone.description.2", "Alternatively, [CTRL+SHIFT]-Scroll to clone in the direction you are facing",
17-
"create_pattern_schematics.schematic.tool.clone.description.3", "",
18-
"create_pattern_schematics.ponder.schematic_printing.header", "Printing with pattern schematics",
19-
"create_pattern_schematics.contraption_application.applied_to", "Applied pattern schematic to ",
20-
"create_pattern_schematics.contraption_application.deployers", " deployer(s)",
21-
"create_pattern_schematics.contraption_application.not_positioned", "Couldn't apply schematic: Schematic not positioned!"
22-
);
23-
}
24-
25-
public static void putLang(String... entryKeyPairs) {
26-
for (int i = 0; i < entryKeyPairs.length; i+=2) {
27-
REGISTRATE.addRawLang(entryKeyPairs[i], entryKeyPairs[i+1]);
8+
9+
public static BiConsumer<String, String> ENTRY_CONSUMER = REGISTRATE::addRawLang;
10+
11+
public static void register() {
12+
putLang(
13+
"create_pattern_schematics.schematic.tool.clone", "Clone",
14+
"create_pattern_schematics.schematic.tool.clone.description.0", "Repeats the selected schematic",
15+
"create_pattern_schematics.schematic.tool.clone.description.1", "Select and use [CTRL]-Scroll to clone in the current facing direction.",
16+
"create_pattern_schematics.schematic.tool.clone.description.2", "Alternatively, [CTRL+SHIFT]-Scroll to clone on the selected surface.",
17+
"create_pattern_schematics.schematic.tool.clone.description.3", "",
18+
"create_pattern_schematics.ponder.schematic_printing.header", "Printing with pattern schematics",
19+
"create_pattern_schematics.contraption_application.applied_to", "Applied pattern schematic to ",
20+
"create_pattern_schematics.contraption_application.deployers", " deployer(s)",
21+
"create_pattern_schematics.contraption_application.not_positioned", "Couldn't apply schematic: Schematic not positioned!",
22+
"item.create_pattern_schematics.empty_pattern_schematic.tooltip.summary"
23+
, "Can be written to make an _extended version of Create's schematic_ which allows contraptions and schematicannons to _repeat a design_ multiple times.",
24+
"item.create_pattern_schematics.pattern_schematic.tooltip.summary"
25+
, "An _extended version of Create's schematic_ which allows contraptions and schematicannons to _repeat a design_ multiple times."
26+
);
2827
}
29-
}
30-
28+
29+
public static void putLang(String... entryKeyPairs) {
30+
for (int i = 0; i < entryKeyPairs.length; i += 2) {
31+
REGISTRATE.addRawLang(entryKeyPairs[i], entryKeyPairs[i + 1]);
32+
}
33+
}
34+
3135
}

common/src/main/resources/assets/create_pattern_schematics/lang/es_es.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"create_pattern_schematics.contraption_application.not_positioned": "No se pudo aplicar el esquema: ¡Esquema no esta colocado!",
55
"create_pattern_schematics.schematic.tool.clone": "Clonar",
66
"create_pattern_schematics.schematic.tool.clone.description.0": "Repetir el esquema seleccionado",
7-
"create_pattern_schematics.schematic.tool.clone.description.1": "Apunte al Esquema y usar [Ctrl]+[RUEDA DEL RATÓN] para repetir",
8-
"create_pattern_schematics.schematic.tool.clone.description.2": "[Ctrl+Shift]+[RUEDA DEL RATÓN] clonaré donde donde te enfrentas",
7+
"create_pattern_schematics.schematic.tool.clone.description.1": "Apunte al esquema y [Ctrl]+[RUEDA DEL RATÓN] para repetir",
8+
"create_pattern_schematics.schematic.tool.clone.description.2": "[Ctrl+Shift]+[RUEDA DEL RATÓN] clonaré en la cara seleccionada",
99
"create_pattern_schematics.schematic.tool.clone.description.3": "",
1010
"item.create_pattern_schematics.empty_pattern_schematic": "Esquema Patrón vacío",
1111
"item.create_pattern_schematics.pattern_schematic": "Esquema Patrón"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"create_pattern_schematics.contraption_application.applied_to": "Aplid paturn skematik to ",
3+
"create_pattern_schematics.contraption_application.deployers": " pokr(z)",
4+
"create_pattern_schematics.contraption_application.not_positioned": "Nuh Uh: Muv meh!",
5+
"create_pattern_schematics.ponder.schematic_printing.header": "Prinin paturnz wif paturn skematiks",
6+
"create_pattern_schematics.ponder.schematic_printing.text_1": "To use paturn skematiks, yuh mus furst saiv a skematic to uz as a sauze",
7+
"create_pattern_schematics.ponder.schematic_printing.text_2": "Then, uz a skematik taibl wif an no bee fildz paturn skematic",
8+
"create_pattern_schematics.ponder.schematic_printing.text_3": "Uz the taibl to shootz the skematik",
9+
"create_pattern_schematics.ponder.schematic_printing.text_4": "Then, uzin the cloan tuul in the opchonz, the thingy can be repetd",
10+
"create_pattern_schematics.ponder.schematic_printing.text_5": "Clunez get shootedz next to each Othez",
11+
"create_pattern_schematics.ponder.schematic_printing.text_6": "Adiptipomally, the skematikz cun be spunz rund",
12+
"create_pattern_schematics.ponder.schematic_printing.text_7": "This spinzz will then atak to al cloanz",
13+
"create_pattern_schematics.ponder.tag.pattern_schematics": "Paturn Skematikz",
14+
"create_pattern_schematics.ponder.tag.pattern_schematics.description": "Prinin wif paturn skematikz",
15+
"create_pattern_schematics.ponder.train_schematic_printing.header": "inftiyty skematik prinin wif traynz",
16+
"create_pattern_schematics.ponder.train_schematic_printing.text_1": "A loaner paturn skematik cun be aplyde to a growpz of themz azmbled pointrz with Cowch + ringth clickl",
17+
"create_pattern_schematics.ponder.train_schematic_printing.text_2": "tHere, thugh skematik huz Ben plazd as a normiez",
18+
"create_pattern_schematics.ponder.train_schematic_printing.text_3": "Butt movin da trayn ovr ther wul resulz in the skematik repetatetinz",
19+
"create_pattern_schematics.schematic.tool.clone": "Clone",
20+
"create_pattern_schematics.schematic.tool.clone.description.0": "Repetahz thu choazn skematik",
21+
"create_pattern_schematics.schematic.tool.clone.description.1": "Selekt an usz [CTRL]-Scroll to cloan in da curenz lukin directonz.",
22+
"create_pattern_schematics.schematic.tool.clone.description.2": "Alternyenatively, [CTRL+SHIFT]-Scroll too cloam on da selecd surrfac.",
23+
"create_pattern_schematics.schematic.tool.clone.description.3": "",
24+
"item.create_pattern_schematics.empty_pattern_schematic": "nun Paturn Skematik",
25+
"item.create_pattern_schematics.empty_pattern_schematic.tooltip.summary": "Cun be writn tuh meke un _bigzr verzion of Crate's skematik_ which alous cuntractions and skemtikanons to _repet a desine_ multipl timz.",
26+
"item.create_pattern_schematics.pattern_schematic": "Paturn Skematikz",
27+
"item.create_pattern_schematics.pattern_schematic.tooltip.summary": "An _bigerz vurshon of Crate's skematik_ whikh alous cuntractions and skemtikanons to _repet a desine_ multipl timz."
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"create_pattern_schematics.contraption_application.applied_to": "已将蓝图应用于",
3+
"create_pattern_schematics.contraption_application.deployers": " 机械手",
4+
"create_pattern_schematics.contraption_application.not_positioned": "无法应用蓝图:蓝图未定位!",
5+
"create_pattern_schematics.ponder.schematic_printing.header": "使用蓝图打印模式",
6+
"create_pattern_schematics.ponder.schematic_printing.text_1": "要使用蓝图,首先需要保存一个作为来源的图",
7+
"create_pattern_schematics.ponder.schematic_printing.text_2": "然后,使用带有空模式蓝图的蓝图桌",
8+
"create_pattern_schematics.ponder.schematic_printing.text_3": "使用蓝图桌上传蓝图",
9+
"create_pattern_schematics.ponder.schematic_printing.text_4": "然后,使用选项中的克隆工具,可以重复结构",
10+
"create_pattern_schematics.ponder.schematic_printing.text_5": "克隆将被放置在彼此旁边",
11+
"create_pattern_schematics.ponder.schematic_printing.text_6": "此外,蓝图可以旋转",
12+
"create_pattern_schematics.ponder.schematic_printing.text_7": "这个旋转将应用于所有克隆",
13+
"create_pattern_schematics.ponder.tag.pattern_schematics": "模式蓝图",
14+
"create_pattern_schematics.ponder.tag.pattern_schematics.description": "使用蓝图打印",
15+
"create_pattern_schematics.ponder.train_schematic_printing.header": "使用火车无限蓝图打印",
16+
"create_pattern_schematics.ponder.train_schematic_printing.text_1": "可以使用 Shift + 右键将单个蓝图应用于一组已组装的部署器",
17+
"create_pattern_schematics.ponder.train_schematic_printing.text_2": "这里,蓝图已按常规放置",
18+
"create_pattern_schematics.ponder.train_schematic_printing.text_3": "但将火车移动更远时,蓝图将重复",
19+
"create_pattern_schematics.schematic.tool.clone": "克隆",
20+
"create_pattern_schematics.schematic.tool.clone.description.0": "重复选定的蓝图",
21+
"create_pattern_schematics.schematic.tool.clone.description.1": "指向蓝图并按 [CTRL] + 滚轮重复它。",
22+
"create_pattern_schematics.schematic.tool.clone.description.2": "或者,按 [CTRL+SHIFT] + 滚轮朝你面向的方向克隆",
23+
"create_pattern_schematics.schematic.tool.clone.description.3": "",
24+
"item.create_pattern_schematics.empty_pattern_schematic": "空模式蓝图",
25+
"item.create_pattern_schematics.empty_pattern_schematic.tooltip.summary": "可以写入一个扩展版本的机械动力蓝图,允许移动装置和蓝图搭配重置搭建多次",
26+
"item.create_pattern_schematics.pattern_schematic": "模式蓝图",
27+
"item.create_pattern_schematics.pattern_schematic.tooltip.summary": "一个扩展版本的机械动力蓝图,允许移动装置和蓝图搭配重置搭建多次"
28+
}

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ org.gradle.jvmargs = -Xmx2G
22

33
# Mod Info
44
archives_base_name = pattern_schematics
5-
mod_version = 1.1.15
5+
mod_version = 1.1.18
66
maven_group = com.cak.pattern_schematics
77

88
minecraft_version = 1.20.1

0 commit comments

Comments
 (0)