Use new config compiler
ci/woodpecker/push/jfmod Pipeline was successful
Details
ci/woodpecker/push/jfmod Pipeline was successful
Details
This commit is contained in:
parent
fe5314ff80
commit
170271666d
|
@ -1,8 +1,7 @@
|
||||||
import io.gitlab.jfronny.scripts.*
|
import io.gitlab.jfronny.scripts.*
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("jfmod") version "1.2-SNAPSHOT"
|
id("jfmod") version "1.3-SNAPSHOT"
|
||||||
id("io.gitlab.jfronny.libjf.libjf-config-compiler-plugin")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
@ -10,7 +9,6 @@ dependencies {
|
||||||
modImplementation("io.gitlab.jfronny.libjf:libjf-translate-v1:${prop("libjf_version")}")
|
modImplementation("io.gitlab.jfronny.libjf:libjf-translate-v1:${prop("libjf_version")}")
|
||||||
|
|
||||||
// Dev env
|
// Dev env
|
||||||
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-config-reflect-v1:${prop("libjf_version")}")
|
|
||||||
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-config-ui-tiny-v1:${prop("libjf_version")}")
|
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-config-ui-tiny-v1:${prop("libjf_version")}")
|
||||||
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-devutil:${prop("libjf_version")}")
|
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-devutil:${prop("libjf_version")}")
|
||||||
modLocalRuntime("com.terraformersmc:modmenu:${prop("modmenu_version")}")
|
modLocalRuntime("com.terraformersmc:modmenu:${prop("modmenu_version")}")
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# https://fabricmc.net/develop/
|
# https://fabricmc.net/develop/
|
||||||
minecraft_version=1.19.3
|
minecraft_version=1.19.3
|
||||||
yarn_mappings=build.2
|
yarn_mappings=build.5
|
||||||
loader_version=0.14.11
|
loader_version=0.14.12
|
||||||
|
|
||||||
maven_group=io.gitlab.jfronny
|
maven_group=io.gitlab.jfronny
|
||||||
archives_base_name=translater
|
archives_base_name=translater
|
||||||
|
@ -13,6 +13,6 @@ curseforge_id=394823
|
||||||
curseforge_required_dependencies=libjf
|
curseforge_required_dependencies=libjf
|
||||||
curseforge_optional_dependencies=modmenu
|
curseforge_optional_dependencies=modmenu
|
||||||
|
|
||||||
libjf_version=3.3.0
|
libjf_version=3.4.1
|
||||||
fabric_version=0.68.1+1.19.3
|
fabric_version=0.70.0+1.19.3
|
||||||
modmenu_version=5.0.0-alpha.4
|
modmenu_version=5.0.2
|
||||||
|
|
|
@ -1,13 +1,9 @@
|
||||||
pluginManagement {
|
pluginManagement {
|
||||||
val libjf_version: String by settings
|
|
||||||
repositories {
|
repositories {
|
||||||
maven("https://maven.fabricmc.net/") // FabricMC
|
maven("https://maven.fabricmc.net/") // FabricMC
|
||||||
maven("https://maven.frohnmeyer-wds.de/artifacts") // scripts
|
maven("https://maven.frohnmeyer-wds.de/artifacts") // scripts
|
||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
}
|
}
|
||||||
plugins {
|
|
||||||
id("io.gitlab.jfronny.libjf.libjf-config-compiler-plugin") version libjf_version
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
rootProject.name = "translater"
|
rootProject.name = "translater"
|
|
@ -10,4 +10,8 @@ public class Cfg {
|
||||||
@Entry public static String targetLanguage = "en";
|
@Entry public static String targetLanguage = "en";
|
||||||
@Entry public static ProgressMode renderProgress = ProgressMode.None;
|
@Entry public static ProgressMode renderProgress = ProgressMode.None;
|
||||||
@Entry public static boolean forceRegenerate = false;
|
@Entry public static boolean forceRegenerate = false;
|
||||||
|
|
||||||
|
static {
|
||||||
|
JFC_Cfg.ensureInitialized();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package io.gitlab.jfronny.translater.mixin;
|
package io.gitlab.jfronny.translater.mixin;
|
||||||
|
|
||||||
|
import io.gitlab.jfronny.libjf.LibJf;
|
||||||
import io.gitlab.jfronny.translater.Translater;
|
import io.gitlab.jfronny.translater.Translater;
|
||||||
import org.objectweb.asm.tree.ClassNode;
|
import org.objectweb.asm.tree.ClassNode;
|
||||||
import org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin;
|
import org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin;
|
||||||
|
@ -22,6 +23,7 @@ public class Plugin implements IMixinConfigPlugin {
|
||||||
@SuppressWarnings("ReferenceToMixin")
|
@SuppressWarnings("ReferenceToMixin")
|
||||||
@Override
|
@Override
|
||||||
public boolean shouldApplyMixin(String targetClassName, String mixinClassName) {
|
public boolean shouldApplyMixin(String targetClassName, String mixinClassName) {
|
||||||
|
LibJf.setup();
|
||||||
if (Objects.equals(mixinClassName, LanguageMixin.class.getName())
|
if (Objects.equals(mixinClassName, LanguageMixin.class.getName())
|
||||||
|| Objects.equals(mixinClassName, TranslationStorageAccessor.class.getName()))
|
|| Objects.equals(mixinClassName, TranslationStorageAccessor.class.getName()))
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#---Lang---
|
#---Lang---
|
||||||
#Wed Dec 07 21:54:20 CET 2022
|
#Thu Dec 29 16:00:32 CET 2022
|
||||||
=
|
=
|
||||||
\nYour\ ban\ will\ be\ removed\ on\ %s=\nYour ban will be lifted %s
|
\nYour\ ban\ will\ be\ removed\ on\ %s=\nYour ban will be lifted %s
|
||||||
\ \ ExtraLarge\:\ 0.001=\ ExtraLarge\: 0.001
|
\ \ ExtraLarge\:\ 0.001=\ ExtraLarge\: 0.001
|
||||||
|
@ -8019,6 +8019,7 @@ Don't\ lose\ it=Do not miss it
|
||||||
Don't\ mess\ with\ these\ settings\ for\ normal\ gameplay.=Don't mess with these settings for normal gameplay.
|
Don't\ mess\ with\ these\ settings\ for\ normal\ gameplay.=Don't mess with these settings for normal gameplay.
|
||||||
Don't\ tell\ your\ viewers.=Don&\#39;t tell your audience
|
Don't\ tell\ your\ viewers.=Don&\#39;t tell your audience
|
||||||
Don't\ use\ fluids.=Do not use liquids.
|
Don't\ use\ fluids.=Do not use liquids.
|
||||||
|
Donate=to give
|
||||||
Done=Made
|
Done=Made
|
||||||
Donkey=Ass
|
Donkey=Ass
|
||||||
Donkey\ Chest\ equips=Out of the Box and mounted
|
Donkey\ Chest\ equips=Out of the Box and mounted
|
||||||
|
@ -10794,6 +10795,7 @@ Gingerbread\ Sheet=Chips with gingerbread
|
||||||
Gingerbread\ Snowman=ginger ice
|
Gingerbread\ Snowman=ginger ice
|
||||||
Gingerbread\ Star=ginger star
|
Gingerbread\ Star=ginger star
|
||||||
GitHub\ Releases=Start GitHub
|
GitHub\ Releases=Start GitHub
|
||||||
|
GitHub\ Sponsors=GitHub Contributors
|
||||||
Give=Give
|
Give=Give
|
||||||
Give\ Command\:=Give Command\:
|
Give\ Command\:=Give Command\:
|
||||||
Give\ Feedback=Leave A Review
|
Give\ Feedback=Leave A Review
|
||||||
|
@ -15488,6 +15490,7 @@ Master\ Procrastinator=Procrastination teacher
|
||||||
Master\ Volume=Captain Tom's
|
Master\ Volume=Captain Tom's
|
||||||
Master\ Volume\ Slider=Master volume slider
|
Master\ Volume\ Slider=Master volume slider
|
||||||
Master\ Wand=lady&\#39;s wand
|
Master\ Wand=lady&\#39;s wand
|
||||||
|
Mastodon=mastodon mastodon
|
||||||
Match=school
|
Match=school
|
||||||
Match\ Any=Match Any
|
Match\ Any=Match Any
|
||||||
Match\ Block\ Only=Diary is just horizontal
|
Match\ Block\ Only=Diary is just horizontal
|
||||||
|
@ -17991,6 +17994,7 @@ Pavement\ for\ road\ building=pavement for road construction
|
||||||
Paxel\ Attack\ Speed=Paxel Attack Speed
|
Paxel\ Attack\ Speed=Paxel Attack Speed
|
||||||
Paxel\ Durability\ Factor=Paxel Durability Factor
|
Paxel\ Durability\ Factor=Paxel Durability Factor
|
||||||
Pay\ Dirt=Pay for the dirt
|
Pay\ Dirt=Pay for the dirt
|
||||||
|
PayPal=Through PayPal
|
||||||
Peace\ in\ the\ world,\ or\ the\ world\ in\ pieces\!=Peace in the world, or the world in pieces\!
|
Peace\ in\ the\ world,\ or\ the\ world\ in\ pieces\!=Peace in the world, or the world in pieces\!
|
||||||
Peace\ of\ Mind=Inner peace
|
Peace\ of\ Mind=Inner peace
|
||||||
Peaceful=Nice
|
Peaceful=Nice
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
"icon": "assets/translater/icon.png",
|
"icon": "assets/translater/icon.png",
|
||||||
"environment": "client",
|
"environment": "client",
|
||||||
"entrypoints": {
|
"entrypoints": {
|
||||||
"libjf:config": ["io.gitlab.jfronny.translater.Cfg"]
|
"libjf:config": ["io.gitlab.jfronny.translater.JFC_Cfg"]
|
||||||
},
|
},
|
||||||
"mixins": [
|
"mixins": [
|
||||||
"translater.mixins.json"
|
"translater.mixins.json"
|
||||||
|
|
Loading…
Reference in New Issue