diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml deleted file mode 100644 index 182d5093..00000000 --- a/.github/workflows/auto-release.yml +++ /dev/null @@ -1,35 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: "tagged-release" - -# Controls when the action will run. -on: - # Triggers the workflow on push or pull request events but only for the fabric-1.17 branch and tag matchin v*.*.* - push: - tags: - - "v*" -jobs: - gh_tagged_release: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Set up JDK 16 - uses: actions/setup-java@v2 - with: - java-version: '16' - distribution: 'adopt' - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - name: Build with Gradle - env: - CURSEFORGE_DEPOY_TOKEN: ${{ secrets.CURSEFORGE_DEPOY_TOKEN }} - MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} - run: ./gradlew build - - name: Release - uses: softprops/action-gh-release@v1 - with: - files: build/libs/inventoryprofilesnext-fabric-1.17-?.?.?.jar - body_path: changelog.md - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml deleted file mode 100644 index 599a22e5..00000000 --- a/.github/workflows/gradle.yml +++ /dev/null @@ -1,35 +0,0 @@ -# This workflow will build a Java project with Gradle -# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle - -name: CI - -on: - push: - branches: [ fabric-1.17 ] - pull_request: - branches: [ fabric-1.17 ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Set up JDK 16 - uses: actions/setup-java@v2 - with: - java-version: '16' - distribution: 'adopt' - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - name: Build with Gradle - run: ./gradlew build - - name: 'Upload Artifact' - uses: actions/upload-artifact@v2 - with: - name: dev-build - path: build/libs/inventoryprofilesnext-fabric-1.17-?.?.?.jar - retention-days: 3 - - name: Finish - run: echo="${{ github.event.commits[0].message }}" diff --git a/build.gradle.kts b/build.gradle.kts index 84f29554..0f9d410f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -29,8 +29,8 @@ repositories { } java { - sourceCompatibility = JavaVersion.VERSION_16 - targetCompatibility = JavaVersion.VERSION_16 + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 } base { @@ -50,7 +50,7 @@ tasks.withType { tasks.compileKotlin { kotlinOptions { - jvmTarget = "15" + jvmTarget = "1.8" freeCompilerArgs = listOf("-Xopt-in=kotlin.ExperimentalStdlibApi") } } @@ -158,8 +158,8 @@ tasks.shadowJar { dependencies { include(dependency("org.jetbrains.kotlin:kotlin-stdlib")) include(dependency("org.jetbrains.kotlin:kotlin-stdlib-common")) - //include(dependency("org.jetbrains.kotlin:kotlin-stdlib-jdk7")) - //include(dependency("org.jetbrains.kotlin:kotlin-stdlib-jdk8")) + include(dependency("org.jetbrains.kotlin:kotlin-stdlib-jdk7")) + include(dependency("org.jetbrains.kotlin:kotlin-stdlib-jdk8")) include(dependency("org.antlr:antlr4-runtime")) } relocate("kotlin", "org.anti_ad.mc.common.embedded.kotlin") @@ -175,6 +175,7 @@ tasks.shadowJar { val proguard by tasks.registering(ProGuardTask::class) { configuration("proguard.txt") + verbose() injars("build/libs/$buildBaseName-all.jar") outjars("build/libs/$buildBaseName-all-proguard.jar") @@ -281,6 +282,7 @@ val publishModrinth by tasks.registering(TaskModrinthUpload::class) { supported_minecraft_versions.forEach { ver -> addGameVersion(ver) // Call this multiple times to add multiple game versions. There are tools that can help you generate the list of versions } + versionName = "Inventory Profiles Next-$mod_loader-$minecraft_version-$mod_version" changelog = project.rootDir.resolve("changelog.md").readText() addLoader(mod_loader) diff --git a/buildSrc/src/main/kotlin/GradleProperties.kt b/buildSrc/src/main/kotlin/GradleProperties.kt index 5bf65517..961af7a4 100644 --- a/buildSrc/src/main/kotlin/GradleProperties.kt +++ b/buildSrc/src/main/kotlin/GradleProperties.kt @@ -2,13 +2,13 @@ const val kotlin_version = "1.4.32" // Mod Properties -const val mod_version = "0.7.3" +const val mod_version = "0.7.4" const val maven_group = "org.anti_ad.mc" const val mod_id = "inventoryprofilesnext" -const val minecraft_version = "1.17" +const val minecraft_version = "1.16.5" -val supported_minecraft_versions = arrayOf("1.17", "1.17.1-pre1") +val supported_minecraft_versions = arrayOf("1.16.5") // ============ // mod loader @@ -22,15 +22,15 @@ const val mod_loader = "fabric" // Fabric Properties // Check these on https://modmuss50.me/fabric.html -const val yarn_mappings = "1.17+build.5:v2" +const val yarn_mappings = "1.16.5+build.9:v2" const val loader_version = "0.11.6" -const val loom_version = "0.8.9" +const val loom_version = "0.7.32" -const val fabric_version = "0.35.2+1.17" +const val fabric_version = "0.36.0+1.16" // Dependencies // currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api // fabric_version=0.13.1+build.370-1.16 // https://maven.fabricmc.net/io/github/prospector/modmenu/ -const val mod_menu_version = "2.0.2" +const val mod_menu_version = "1.16.9" diff --git a/changelog.md b/changelog.md index 7e397083..37d37e47 100644 --- a/changelog.md +++ b/changelog.md @@ -1,10 +1,11 @@ -# Inventory Profiles Next v0.7.3 +# Inventory Profiles Next v0.7.4 ## What's new -- fixed even more UI glitches. - Inventory will now display properly. Previously some textures we reordered - And strange glow effect was applied on some blocks. +- 1.16.5 version. +- Same features and fixes like 1.17 version +- Fabric API is now again hard requirement. + Before the mod didn't work if Mod Menu was not installed. ## Known issues - When UI scaling is more than 2 or in case of tiny game windows the config screen might not show the anchor header correctly. diff --git a/proguard.txt b/proguard.txt index c2c813b3..eeb383bb 100644 --- a/proguard.txt +++ b/proguard.txt @@ -1,5 +1,5 @@ -#-libraryjars /lib/rt.jar --libraryjars /jmods/java.base.jmod(!**.jar;!module-info.class) +-libraryjars /lib/rt.jar +#-libraryjars /jmods/java.base.jmod(!**.jar;!module-info.class) -keep class !org.anti_ad.mc.common.embedded.** { *; } #-ignorewarnings -optimizationpasses 9 # (828K -> 811K) diff --git a/src/main/java/org/anti_ad/mc/common/gui/screen/BaseScreen.kt b/src/main/java/org/anti_ad/mc/common/gui/screen/BaseScreen.kt index e9847713..b6031ccb 100644 --- a/src/main/java/org/anti_ad/mc/common/gui/screen/BaseScreen.kt +++ b/src/main/java/org/anti_ad/mc/common/gui/screen/BaseScreen.kt @@ -17,6 +17,8 @@ import org.anti_ad.mc.common.vanilla.render.rStandardGlState abstract class BaseScreen(text: Text) : Screen(text) { constructor() : this(LiteralText("")) + var isClosing: Boolean = false + var parent: Screen? = null val titleString: String get() = this.title.string // todo .asFormattedString() @@ -24,7 +26,9 @@ abstract class BaseScreen(text: Text) : Screen(text) { get() = ScreenInfo.default open fun closeScreen() { + this.isClosing = true VanillaUtil.openScreenNullable(parent) + this.isClosing = false } fun hasParent(screen: Screen): Boolean { @@ -81,8 +85,8 @@ abstract class BaseScreen(text: Text) : Screen(text) { i: Int, j: Int, f: Float) { - //rMatrixStack = matrixStack ?: MatrixStack().also { Log.debug("null matrixStack") } - rMatrixStack = matrixStack ?: RenderSystem.getModelViewStack().also { Log.debug("null matrixStack") } + rMatrixStack = matrixStack ?: MatrixStack().also { Log.debug("null matrixStack") } + //rMatrixStack = matrixStack ?: RenderSystem.getModelViewStack().also { Log.debug("null matrixStack") } render(i, j, f) @@ -93,7 +97,10 @@ abstract class BaseScreen(text: Text) : Screen(text) { // ============ final override fun isPauseScreen(): Boolean = screenInfo.isPauseScreen final override fun onClose() { - closeScreen() + if (!isClosing) { + closeScreen() + } + isClosing = false } // ============ diff --git a/src/main/java/org/anti_ad/mc/common/gui/widgets/ScrollableContainerWidget.kt b/src/main/java/org/anti_ad/mc/common/gui/widgets/ScrollableContainerWidget.kt index 5c7c27ac..9fdcf7aa 100644 --- a/src/main/java/org/anti_ad/mc/common/gui/widgets/ScrollableContainerWidget.kt +++ b/src/main/java/org/anti_ad/mc/common/gui/widgets/ScrollableContainerWidget.kt @@ -1,6 +1,5 @@ package org.anti_ad.mc.common.gui.widgets -import org.anti_ad.mc.common.Log import org.anti_ad.mc.common.gui.widget.AnchorStyles import org.anti_ad.mc.common.gui.widget.Overflow.HIDDEN import org.anti_ad.mc.common.math2d.Rectangle diff --git a/src/main/java/org/anti_ad/mc/common/gui/widgets/VanillaWidgets.kt b/src/main/java/org/anti_ad/mc/common/gui/widgets/VanillaWidgets.kt index e5cc68f6..d1f862c4 100644 --- a/src/main/java/org/anti_ad/mc/common/gui/widgets/VanillaWidgets.kt +++ b/src/main/java/org/anti_ad/mc/common/gui/widgets/VanillaWidgets.kt @@ -1,5 +1,7 @@ package org.anti_ad.mc.common.gui.widgets +import net.minecraft.client.util.math.MatrixStack +import net.minecraft.util.math.MathHelper import org.anti_ad.mc.common.math2d.Rectangle import org.anti_ad.mc.common.vanilla.Vanilla import org.anti_ad.mc.common.vanilla.alias.ClickableWidget @@ -9,8 +11,6 @@ import org.anti_ad.mc.common.vanilla.render.rDrawDynamicSizeSprite import org.anti_ad.mc.common.vanilla.render.rMatrixStack import org.anti_ad.mc.common.vanilla.render.rStandardGlState import org.anti_ad.mc.common.vanilla.render.rVanillaButtonSprite -import net.minecraft.client.util.math.MatrixStack -import net.minecraft.util.math.MathHelper import org.anti_ad.mc.common.vanilla.alias.SliderWidget as VanillaSliderWidget import org.anti_ad.mc.common.vanilla.alias.TextFieldWidget as VanillaTextFieldWidget @@ -165,10 +165,11 @@ private class CustomVanillaSliderWidget(val minValue: Double, absoluteBounds) // ref: AbstractButtonWidget.renderButton() - renderBackground(matrixStack, - Vanilla.mc(), - i, - j) + //renderBackground( + renderBg(matrixStack, + Vanilla.mc(), + i, + j) // val l = if (active) 16777215 else 10526880 val l = if (active) if (hovered) 16777120 else 14737632 else 10526880 drawCenteredText( diff --git a/src/main/java/org/anti_ad/mc/common/mixin/MixinKeyboard.java b/src/main/java/org/anti_ad/mc/common/mixin/MixinKeyboard.java index e1a83ac1..09e7d63e 100644 --- a/src/main/java/org/anti_ad/mc/common/mixin/MixinKeyboard.java +++ b/src/main/java/org/anti_ad/mc/common/mixin/MixinKeyboard.java @@ -1,10 +1,10 @@ package org.anti_ad.mc.common.mixin; +import net.minecraft.client.Keyboard; +import net.minecraft.client.gui.screen.Screen; import org.anti_ad.mc.common.input.GlobalInputHandler; import org.anti_ad.mc.common.input.GlobalScreenEventListener; import org.anti_ad.mc.common.vanilla.Vanilla; -import net.minecraft.client.Keyboard; -import net.minecraft.client.gui.screen.Screen; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; import org.spongepowered.asm.mixin.injection.At; diff --git a/src/main/java/org/anti_ad/mc/common/mixin/MixinMouse.java b/src/main/java/org/anti_ad/mc/common/mixin/MixinMouse.java index fe8677c9..9d2f2cbe 100644 --- a/src/main/java/org/anti_ad/mc/common/mixin/MixinMouse.java +++ b/src/main/java/org/anti_ad/mc/common/mixin/MixinMouse.java @@ -1,10 +1,10 @@ package org.anti_ad.mc.common.mixin; +import net.minecraft.client.Mouse; +import net.minecraft.client.gui.screen.Screen; import org.anti_ad.mc.common.input.GlobalInputHandler; import org.anti_ad.mc.common.input.GlobalScreenEventListener; import org.anti_ad.mc.common.vanilla.Vanilla; -import net.minecraft.client.Mouse; -import net.minecraft.client.gui.screen.Screen; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; diff --git a/src/main/java/org/anti_ad/mc/common/util/Node.kt b/src/main/java/org/anti_ad/mc/common/util/Node.kt index 407b37df..c6a37c3b 100644 --- a/src/main/java/org/anti_ad/mc/common/util/Node.kt +++ b/src/main/java/org/anti_ad/mc/common/util/Node.kt @@ -52,4 +52,5 @@ class Node(val value: T) { Log.unindent() } } + } \ No newline at end of file diff --git a/src/main/java/org/anti_ad/mc/common/vanilla/alias/gui.kt b/src/main/java/org/anti_ad/mc/common/vanilla/alias/gui.kt index fe31d0a8..64cf463e 100644 --- a/src/main/java/org/anti_ad/mc/common/vanilla/alias/gui.kt +++ b/src/main/java/org/anti_ad/mc/common/vanilla/alias/gui.kt @@ -3,8 +3,8 @@ package org.anti_ad.mc.common.vanilla.alias import net.minecraft.client.gui.screen.Screen import net.minecraft.client.gui.screen.ingame.CreativeInventoryScreen import net.minecraft.client.gui.screen.ingame.HandledScreen -import net.minecraft.client.gui.widget.ClickableWidget -import net.minecraft.client.gui.Selectable; +import net.minecraft.client.gui.widget.AbstractButtonWidget +//import net.minecraft.client.gui.Selectable; import net.minecraft.client.gui.widget.SliderWidget import net.minecraft.client.gui.widget.TextFieldWidget @@ -12,7 +12,7 @@ typealias Screen = Screen typealias ContainerScreen = HandledScreen typealias CreativeInventoryScreen = CreativeInventoryScreen -typealias ClickableWidget = ClickableWidget -typealias Selectable = Selectable +typealias ClickableWidget = AbstractButtonWidget +//typealias Selectable = Selectable typealias SliderWidget = SliderWidget typealias TextFieldWidget = TextFieldWidget diff --git a/src/main/java/org/anti_ad/mc/common/vanilla/alias/item.kt b/src/main/java/org/anti_ad/mc/common/vanilla/alias/item.kt index 8961044a..bacba7c9 100644 --- a/src/main/java/org/anti_ad/mc/common/vanilla/alias/item.kt +++ b/src/main/java/org/anti_ad/mc/common/vanilla/alias/item.kt @@ -7,15 +7,13 @@ import net.minecraft.item.Item import net.minecraft.item.ItemGroup import net.minecraft.item.ItemStack import net.minecraft.item.Items -import net.minecraft.nbt.AbstractNbtList -import net.minecraft.nbt.AbstractNbtNumber -import net.minecraft.nbt.NbtCompound +import net.minecraft.nbt.* import net.minecraft.nbt.NbtHelper import net.minecraft.nbt.StringNbtReader import net.minecraft.potion.PotionUtil import net.minecraft.tag.ItemTags import net.minecraft.tag.TagGroup -import net.minecraft.nbt.NbtElement +import net.minecraft.nbt.Tag as NbtTag import net.minecraft.tag.Tag as TagTag typealias Item = Item @@ -32,11 +30,11 @@ typealias TagGroup = TagGroup // nbt // ============ -typealias NbtCompound = NbtCompound -typealias NbtElement = NbtElement +typealias NbtCompound = CompoundTag +typealias NbtElement = NbtTag -typealias AbstractNbtNumber = AbstractNbtNumber -typealias AbstractNbtList = AbstractNbtList +typealias AbstractNbtNumber = AbstractNumberTag +typealias AbstractNbtList = AbstractListTag typealias NbtPathArgumentType = NbtPathArgumentType typealias NbtPathArgumentTypeNbtPath = NbtPathArgumentType.NbtPath diff --git a/src/main/java/org/anti_ad/mc/common/vanilla/alias/items/items.kt b/src/main/java/org/anti_ad/mc/common/vanilla/alias/items/items.kt index 087272eb..b651b612 100644 --- a/src/main/java/org/anti_ad/mc/common/vanilla/alias/items/items.kt +++ b/src/main/java/org/anti_ad/mc/common/vanilla/alias/items/items.kt @@ -5,6 +5,7 @@ import net.minecraft.item.AxeItem import net.minecraft.item.BucketItem import net.minecraft.item.HoeItem import net.minecraft.item.MilkBucketItem +import net.minecraft.item.FishBucketItem import net.minecraft.item.MushroomStewItem import net.minecraft.item.PickaxeItem import net.minecraft.item.ShovelItem @@ -14,6 +15,7 @@ import net.minecraft.item.ToolItem typealias BucketItem = BucketItem typealias MilkBucketItem = MilkBucketItem +typealias FishBucketItem = FishBucketItem typealias MushroomStewItem = MushroomStewItem typealias SuspiciousStewItem = SuspiciousStewItem diff --git a/src/main/java/org/anti_ad/mc/common/vanilla/alias/render.kt b/src/main/java/org/anti_ad/mc/common/vanilla/alias/render.kt index 70f7e955..46c30455 100644 --- a/src/main/java/org/anti_ad/mc/common/vanilla/alias/render.kt +++ b/src/main/java/org/anti_ad/mc/common/vanilla/alias/render.kt @@ -10,6 +10,8 @@ import net.minecraft.text.LiteralText import net.minecraft.text.Text import net.minecraft.text.TranslatableText +import net.minecraft.client.gui.widget.ButtonWidget + typealias Text = Text typealias LiteralText = LiteralText typealias TranslatableText = TranslatableText diff --git a/src/main/java/org/anti_ad/mc/common/vanilla/render/GL.kt b/src/main/java/org/anti_ad/mc/common/vanilla/render/GL.kt index 3a1d6988..30292f9b 100644 --- a/src/main/java/org/anti_ad/mc/common/vanilla/render/GL.kt +++ b/src/main/java/org/anti_ad/mc/common/vanilla/render/GL.kt @@ -1,6 +1,5 @@ package org.anti_ad.mc.common.vanilla.render -import net.minecraft.util.math.Matrix4f import org.anti_ad.mc.common.math2d.Rectangle import org.anti_ad.mc.common.math2d.intersect import org.anti_ad.mc.common.vanilla.alias.* @@ -12,13 +11,11 @@ import org.lwjgl.opengl.GL11 // at Screen.render() // do: rStandardGlState(); rClearDepth() fun rStandardGlState() { // reset to standard state (for screen rendering) - rEnableBlend() - //gDisableDiffuse() + gDisableDiffuse() + gEnableAlphaTest() gEnableDepthTest() RenderSystem.depthMask(true) - - } // ============ @@ -59,30 +56,26 @@ fun rCreateDepthMask(bounds: Rectangle) { private fun rCreateDepthMaskNoCheck(bounds: Rectangle) { depthBounds.add(bounds) - // GL11.glMatrixMode(GL11.GL_PROJECTION) - val a = RenderSystem.getModelViewStack() - a.push() - a.translate(.0, - .0, - -400.0) + gPushMatrix() + gTranslatef(0f, + 0f, + -400.0f) rOverwriteDepth(bounds) - //a.pop() } fun rRemoveDepthMask() { //rStandardGlState() // added this - //gPopMatrix() this has already been done the 1.17 way - val a = RenderSystem.getModelViewStack() - a.pop() + gPopMatrix() rOverwriteDepth(depthBounds.removeLast()) } private fun rOverwriteDepth(bounds: Rectangle) { // rEnableDepth() gDepthFunc(GL11.GL_ALWAYS) - + gDisableAlphaTest() rFillRect(bounds, 0) + gEnableAlphaTest() gDepthFunc(GL11.GL_LEQUAL) } @@ -102,6 +95,15 @@ fun rEnableDepth() { var rMatrixStack = MatrixStack() +fun gPushMatrix() = RenderSystem.pushMatrix() +fun gPopMatrix() = RenderSystem.popMatrix() + +//fun gLoadIdentity() = RenderSystem.loadIdentity() +fun gTranslatef(x: Float, + y: Float, + z: Float) = RenderSystem.translatef(x, + y, + z) // ============ // internal @@ -112,10 +114,10 @@ private fun rEnableBlend() { RenderSystem.defaultBlendFunc() RenderSystem.blendFunc(SrcFactor.SRC_ALPHA, DstFactor.ONE_MINUS_SRC_ALPHA) - RenderSystem.setShaderColor(1f, - 1f, - 1f, - 1f) + RenderSystem.color4f(1f, + 1f, + 1f, + 1f) } @@ -123,12 +125,11 @@ private fun rEnableBlend() { // GlStateManager // ============ -private fun gDisableDiffuse() { - DiffuseLighting.disableGuiDepthLighting() -} - +private fun gDisableDiffuse() = DiffuseLighting.disable() +private fun gDisableAlphaTest() = RenderSystem.disableAlphaTest() +private fun gEnableAlphaTest() = RenderSystem.enableAlphaTest() private fun gDisableDepthTest() = RenderSystem.disableDepthTest() private fun gEnableDepthTest() = RenderSystem.enableDepthTest() private fun gDepthFunc(value: Int) { // default = GL_LEQUAL = 515 RenderSystem.depthFunc(value) -} +} \ No newline at end of file diff --git a/src/main/java/org/anti_ad/mc/common/vanilla/render/Text.kt b/src/main/java/org/anti_ad/mc/common/vanilla/render/Text.kt index e5675732..794bd7ba 100644 --- a/src/main/java/org/anti_ad/mc/common/vanilla/render/Text.kt +++ b/src/main/java/org/anti_ad/mc/common/vanilla/render/Text.kt @@ -1,9 +1,9 @@ package org.anti_ad.mc.common.vanilla.render +import net.minecraft.text.Style import org.anti_ad.mc.common.math2d.Rectangle import org.anti_ad.mc.common.vanilla.Vanilla import org.anti_ad.mc.common.vanilla.alias.LiteralText -import net.minecraft.text.Style fun rMeasureText(string: String): Int = Vanilla.textRenderer().getWidth(string) // getStringWidth() = getWidth() diff --git a/src/main/java/org/anti_ad/mc/common/vanilla/render/Texture.kt b/src/main/java/org/anti_ad/mc/common/vanilla/render/Texture.kt index 0f67d459..a6b5beae 100644 --- a/src/main/java/org/anti_ad/mc/common/vanilla/render/Texture.kt +++ b/src/main/java/org/anti_ad/mc/common/vanilla/render/Texture.kt @@ -1,15 +1,21 @@ package org.anti_ad.mc.common.vanilla.render -import org.anti_ad.mc.common.math2d.* -import org.anti_ad.mc.common.math2d.Corner.* +import net.minecraft.client.gui.widget.ButtonWidget + import org.anti_ad.mc.common.math2d.* + import org.anti_ad.mc.common.math2d.Corner.* +import org.anti_ad.mc.common.vanilla.Vanilla import org.anti_ad.mc.common.vanilla.alias.DrawableHelper import org.anti_ad.mc.common.vanilla.alias.Identifier import org.anti_ad.mc.common.vanilla.alias.RenderSystem -import net.minecraft.client.gui.widget.ButtonWidget private val VANILLA_TEXTURE_WIDGETS: Identifier - get() = ButtonWidget.WIDGETS_TEXTURE + get() = ButtonWidget.WIDGETS_LOCATION // WIDGETS_TEXTURE +private fun rBindTexture(identifier: Identifier) { + Vanilla.textureManager().bindTexture(identifier) +// rEnableBlend() + rStandardGlState() +} // for 256 x 256 texture private fun rBlit(x: Int, @@ -97,14 +103,7 @@ fun rDrawSprite(sprite: Sprite, tIndex: Int, x: Int, y: Int) { - RenderSystem.setShaderColor(1f, - 1f, - 1f, - 1f) - RenderSystem.setShaderTexture(tIndex, - sprite.identifier) - RenderSystem.disableDepthTest(); - //rBindTexture(sprite.identifier) + rBindTexture(sprite.identifier) val (sx, sy, sw, sh) = sprite.spriteBounds val (tw, th) = sprite.textureSize rBlit(x, @@ -117,7 +116,7 @@ fun rDrawSprite(sprite: Sprite, sh, tw, th) - RenderSystem.enableDepthTest(); + RenderSystem.enableDepthTest() } fun rDrawCenteredSprite(sprite: Sprite, @@ -232,8 +231,7 @@ fun rDrawDynamicSizeSprite( bh) val drawAreas = bounds.split3x3(textureAreas[1].size, textureAreas[9].size) - RenderSystem.setShaderTexture(0, - sprite.identifier) + rBindTexture(sprite.identifier) mode.draw(drawAreas, textureAreas, diff --git a/src/main/java/org/anti_ad/mc/ipnext/compat/ModMenuApiImpl.kt b/src/main/java/org/anti_ad/mc/ipnext/compat/ModMenuApiImpl.kt index 6d258c5b..4164e32b 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/compat/ModMenuApiImpl.kt +++ b/src/main/java/org/anti_ad/mc/ipnext/compat/ModMenuApiImpl.kt @@ -1,8 +1,8 @@ package org.anti_ad.mc.ipnext.compat import com.terraformersmc.modmenu.api.ConfigScreenFactory -import org.anti_ad.mc.ipnext.gui.ConfigScreen import com.terraformersmc.modmenu.api.ModMenuApi +import org.anti_ad.mc.ipnext.gui.ConfigScreen class ModMenuApiImpl : ModMenuApi { diff --git a/src/main/java/org/anti_ad/mc/ipnext/debug/GenerateTagVanillaTxtButtonInfo.kt b/src/main/java/org/anti_ad/mc/ipnext/debug/GenerateTagVanillaTxtButtonInfo.kt index efd55b16..a7f2c2ff 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/debug/GenerateTagVanillaTxtButtonInfo.kt +++ b/src/main/java/org/anti_ad/mc/ipnext/debug/GenerateTagVanillaTxtButtonInfo.kt @@ -27,8 +27,8 @@ object GenerateTagVanillaTxtButtonInfo : ConfigButtonInfo() { val server = Vanilla.server() server ?: return Unit.also { TellPlayer.chat("Not integrated server!!!") } //todo wtf have I done - server.tagManager.getOrCreateTagGroup(Registry.ITEM_KEY).toTagTxtContent().writeToFile(fileDatapack) - //server.tagManager.items.toTagTxtContent().writeToFile(fileDatapack) + //server.tagManager.getOrCreateTagGroup(Registry.ITEM_KEY).toTagTxtContent().writeToFile(fileDatapack) + server.tagManager.items.toTagTxtContent().writeToFile(fileDatapack) } // eventually they are the same ~.~ diff --git a/src/main/java/org/anti_ad/mc/ipnext/event/ClientEventHandler.kt b/src/main/java/org/anti_ad/mc/ipnext/event/ClientEventHandler.kt index fae68131..8d805861 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/event/ClientEventHandler.kt +++ b/src/main/java/org/anti_ad/mc/ipnext/event/ClientEventHandler.kt @@ -23,7 +23,8 @@ object ClientEventHandler { private fun onTickInGame() { if (GuiSettings.ENABLE_INVENTORY_BUTTONS.booleanValue - && GuiSettings.SHOW_CONTINUOUS_CRAFTING_CHECKBOX.booleanValue) { + && GuiSettings.SHOW_CONTINUOUS_CRAFTING_CHECKBOX.booleanValue + ) { ContinuousCraftingHandler.onTickInGame() } diff --git a/src/main/java/org/anti_ad/mc/ipnext/event/LockSlotsHandler.kt b/src/main/java/org/anti_ad/mc/ipnext/event/LockSlotsHandler.kt index 77c1d5a2..11839791 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/event/LockSlotsHandler.kt +++ b/src/main/java/org/anti_ad/mc/ipnext/event/LockSlotsHandler.kt @@ -1,6 +1,5 @@ package org.anti_ad.mc.ipnext.event -import net.minecraft.client.util.math.MatrixStack import org.anti_ad.mc.common.extensions.detectable import org.anti_ad.mc.common.math2d.Point import org.anti_ad.mc.common.math2d.Rectangle @@ -11,10 +10,7 @@ import org.anti_ad.mc.common.vanilla.alias.ContainerScreen import org.anti_ad.mc.common.vanilla.alias.Identifier import org.anti_ad.mc.common.vanilla.alias.PlayerInventory import org.anti_ad.mc.common.vanilla.alias.RenderSystem -import org.anti_ad.mc.common.vanilla.render.Sprite -import org.anti_ad.mc.common.vanilla.render.rDisableDepth -import org.anti_ad.mc.common.vanilla.render.rDrawCenteredSprite -import org.anti_ad.mc.common.vanilla.render.rEnableDepth +import org.anti_ad.mc.common.vanilla.render.* import org.anti_ad.mc.ipnext.config.ModSettings import org.anti_ad.mc.ipnext.config.SwitchType.HOLD import org.anti_ad.mc.ipnext.config.SwitchType.TOGGLE @@ -77,20 +73,16 @@ object LockSlotsHandler { fun onForegroundRender() { if (!enabled) return val screen = Vanilla.screen() as? ContainerScreen<*> ?: return - val matrixStack2: MatrixStack = RenderSystem.getModelViewStack() - matrixStack2.push() // see HandledScreen.render() - //rMatrixStack = matrixStack2 + gPushMatrix() // see HandledScreen.render() line 98: RenderSystem.translatef() val topLeft = screen.`(containerBounds)`.topLeft - matrixStack2.translate(-topLeft.x.toDouble(), - -topLeft.y.toDouble(), - 0.0) - RenderSystem.applyModelViewMatrix() + gTranslatef(-topLeft.x.toFloat(), + -topLeft.y.toFloat(), + 0f) //gTranslatef(-topLeft.x.toFloat(), -topLeft.y.toFloat(), 0f) drawForeground() drawConfig() - matrixStack2.pop() //gPopMatrix() - RenderSystem.applyModelViewMatrix() + gPopMatrix() } fun postRender() { // display config diff --git a/src/main/java/org/anti_ad/mc/ipnext/event/MiscHandler.kt b/src/main/java/org/anti_ad/mc/ipnext/event/MiscHandler.kt index b02fb5eb..0852e32d 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/event/MiscHandler.kt +++ b/src/main/java/org/anti_ad/mc/ipnext/event/MiscHandler.kt @@ -20,19 +20,26 @@ object MiscHandler { fun swipeMoving() { if (VanillaUtil.shiftDown() && GlobalInputHandler.pressedKeys.contains(KeyCodes.MOUSE_BUTTON_1)) { - slotAction { s: Slot, screen: Screen -> + slotAction { s: Slot, screen: Screen, types: Set -> ContainerClicker.shiftClick(vPlayerSlotOf(s, screen).`(id)`) } } else if (VanillaUtil.ctrlDown() && GlobalInputHandler.pressedKeys.contains(KeyCodes.KEY_Q)) { - slotAction { s: Slot, _: Screen -> - ContainerClicker.qClick(s.`(id)`) + slotAction { s: Slot, screen: Screen, types: Set -> + val matchSet = setOf(ContainerType.NO_SORTING_STORAGE, + ContainerType.SORTABLE_STORAGE) + if (types.containsAny(matchSet) && !types.contains(ContainerType.CREATIVE)) { + ContainerClicker.qClick(vPlayerSlotOf( + s, + screen, + ).`(id)`) + } } } } - private fun slotAction(block: (s: Slot, screen: Screen) -> Unit) { + private fun slotAction(block: (s: Slot, screen: Screen, types: Set) -> Unit) { // fixed mouse too fast skip slots // use ContainerScreen.isPointOverSlot()/.getSlotAt() / Slot.x/yPosition val screen = Vanilla.screen() @@ -62,7 +69,9 @@ object MiscHandler { if (!line.intersects(rect)) continue if (slot.`(itemStack)`.isEmpty()) continue block(slot, - screen) + screen, + types) } } + } \ No newline at end of file diff --git a/src/main/java/org/anti_ad/mc/ipnext/gen/RulesLexer.java b/src/main/java/org/anti_ad/mc/ipnext/gen/RulesLexer.java index 8340f58c..a4764f74 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/gen/RulesLexer.java +++ b/src/main/java/org/anti_ad/mc/ipnext/gen/RulesLexer.java @@ -1,14 +1,12 @@ // Generated from src/main/java/org/anti_ad/mc/ipnext/parser/antlr/RulesLexer.g4 by ANTLR 4.8 package org.anti_ad.mc.ipnext.gen; -import org.antlr.v4.runtime.Lexer; -import org.antlr.v4.runtime.CharStream; -import org.antlr.v4.runtime.Token; -import org.antlr.v4.runtime.TokenStream; import org.antlr.v4.runtime.*; -import org.antlr.v4.runtime.atn.*; +import org.antlr.v4.runtime.atn.ATN; +import org.antlr.v4.runtime.atn.ATNDeserializer; +import org.antlr.v4.runtime.atn.LexerATNSimulator; +import org.antlr.v4.runtime.atn.PredictionContextCache; import org.antlr.v4.runtime.dfa.DFA; -import org.antlr.v4.runtime.misc.*; @SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"}) public class RulesLexer extends Lexer { diff --git a/src/main/java/org/anti_ad/mc/ipnext/gen/RulesParser.java b/src/main/java/org/anti_ad/mc/ipnext/gen/RulesParser.java index 60478b89..959a15af 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/gen/RulesParser.java +++ b/src/main/java/org/anti_ad/mc/ipnext/gen/RulesParser.java @@ -1,15 +1,16 @@ // Generated from src/main/java/org/anti_ad/mc/ipnext/parser/antlr/RulesParser.g4 by ANTLR 4.8 package org.anti_ad.mc.ipnext.gen; -import org.antlr.v4.runtime.atn.*; -import org.antlr.v4.runtime.dfa.DFA; import org.antlr.v4.runtime.*; -import org.antlr.v4.runtime.misc.*; -import org.antlr.v4.runtime.tree.*; +import org.antlr.v4.runtime.atn.ATN; +import org.antlr.v4.runtime.atn.ATNDeserializer; +import org.antlr.v4.runtime.atn.ParserATNSimulator; +import org.antlr.v4.runtime.atn.PredictionContextCache; +import org.antlr.v4.runtime.dfa.DFA; +import org.antlr.v4.runtime.tree.ParseTreeListener; +import org.antlr.v4.runtime.tree.TerminalNode; import java.util.List; -import java.util.Iterator; -import java.util.ArrayList; @SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"}) public class RulesParser extends Parser { diff --git a/src/main/java/org/anti_ad/mc/ipnext/gui/inject/AsVanillaWidget.kt b/src/main/java/org/anti_ad/mc/ipnext/gui/inject/AsVanillaWidget.kt index 349b9443..77f551be 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/gui/inject/AsVanillaWidget.kt +++ b/src/main/java/org/anti_ad/mc/ipnext/gui/inject/AsVanillaWidget.kt @@ -7,7 +7,7 @@ import org.anti_ad.mc.common.vanilla.alias.LiteralText import org.anti_ad.mc.common.vanilla.alias.MatrixStack import org.anti_ad.mc.common.vanilla.render.rScreenHeight import org.anti_ad.mc.common.vanilla.render.rScreenWidth -import net.minecraft.client.gui.screen.narration.NarrationMessageBuilder + // ============ // vanillamapping code depends on mappings @@ -106,6 +106,4 @@ class AsVanillaWidget() : ClickableWidget(0, rootWidget.charTyped(charIn, modifiers) - override fun appendNarrations(narrationMessageBuilder: NarrationMessageBuilder?) { - } } \ No newline at end of file diff --git a/src/main/java/org/anti_ad/mc/ipnext/gui/inject/InsertWidgetHandler.kt b/src/main/java/org/anti_ad/mc/ipnext/gui/inject/InsertWidgetHandler.kt index 7b3d86a2..671a9fa9 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/gui/inject/InsertWidgetHandler.kt +++ b/src/main/java/org/anti_ad/mc/ipnext/gui/inject/InsertWidgetHandler.kt @@ -1,12 +1,12 @@ package org.anti_ad.mc.ipnext.gui.inject +import net.minecraft.client.gui.screen.Screen import org.anti_ad.mc.common.ScreenEventListener import org.anti_ad.mc.common.gui.widgets.Widget import org.anti_ad.mc.common.input.GlobalScreenEventListener import org.anti_ad.mc.common.math2d.Size import org.anti_ad.mc.common.vanilla.Vanilla import org.anti_ad.mc.common.vanilla.alias.MinecraftClient -import net.minecraft.client.gui.screen.Screen object InsertWidgetHandler : ScreenEventListener { var currentWidget: Widget? = null diff --git a/src/main/java/org/anti_ad/mc/ipnext/ingame/Inventory.kt b/src/main/java/org/anti_ad/mc/ipnext/ingame/Inventory.kt index 970c81de..39329557 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/ingame/Inventory.kt +++ b/src/main/java/org/anti_ad/mc/ipnext/ingame/Inventory.kt @@ -15,7 +15,7 @@ import org.anti_ad.mc.ipnext.item.ItemStack private val vPlayerSlots get() = Vanilla.playerContainer().`(slots)` -fun vCursorStack() = Vanilla.playerInventory().player.currentScreenHandler.cursorStack?.`(itemStack)` ?: ItemStack.EMPTY +fun vCursorStack() = Vanilla.playerInventory().cursorStack?.`(itemStack)` ?: ItemStack.EMPTY fun vPlayerSlotOf(slot: Slot, screen: Screen?): Slot { // creative slot to survival slot diff --git a/src/main/java/org/anti_ad/mc/ipnext/inventory/ContainerClicker.kt b/src/main/java/org/anti_ad/mc/ipnext/inventory/ContainerClicker.kt index 84f27f2d..43b87353 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/inventory/ContainerClicker.kt +++ b/src/main/java/org/anti_ad/mc/ipnext/inventory/ContainerClicker.kt @@ -39,6 +39,7 @@ object ContainerClicker { genericClick(slotId, 1, SlotActionType.THROW) + } diff --git a/src/main/java/org/anti_ad/mc/ipnext/inventory/ContainerTypes.kt b/src/main/java/org/anti_ad/mc/ipnext/inventory/ContainerTypes.kt index f2b2305f..f4cfec51 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/inventory/ContainerTypes.kt +++ b/src/main/java/org/anti_ad/mc/ipnext/inventory/ContainerTypes.kt @@ -78,7 +78,7 @@ object ContainerTypes { fun getTypes(container: Container): Set { var z: Class<*>? = getRepresentingClass(container) - var v = innerMap.get(z); + var v = innerMap.get(z) if (v == null) { v = unknownContainerDefaultTypes } diff --git a/src/main/java/org/anti_ad/mc/ipnext/item/ItemType.kt b/src/main/java/org/anti_ad/mc/ipnext/item/ItemType.kt index 9b299720..72a1481e 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/item/ItemType.kt +++ b/src/main/java/org/anti_ad/mc/ipnext/item/ItemType.kt @@ -1,7 +1,7 @@ package org.anti_ad.mc.ipnext.item -import org.anti_ad.mc.common.vanilla.alias.NbtCompound import org.anti_ad.mc.common.vanilla.alias.Item +import org.anti_ad.mc.common.vanilla.alias.NbtCompound // different nbt is treated as different type, as they can't stack together data class ItemType(val item: Item, diff --git a/src/main/java/org/anti_ad/mc/ipnext/item/ItemTypeExtensions.kt b/src/main/java/org/anti_ad/mc/ipnext/item/ItemTypeExtensions.kt index ea040266..37ad2493 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/item/ItemTypeExtensions.kt +++ b/src/main/java/org/anti_ad/mc/ipnext/item/ItemTypeExtensions.kt @@ -1,9 +1,14 @@ package org.anti_ad.mc.ipnext.item + import org.anti_ad.mc.common.Log import org.anti_ad.mc.common.extensions.ifTrue import org.anti_ad.mc.common.vanilla.alias.* -import org.anti_ad.mc.common.vanilla.alias.items.* +import org.anti_ad.mc.common.vanilla.alias.items.BucketItem +import org.anti_ad.mc.common.vanilla.alias.items.MilkBucketItem +import org.anti_ad.mc.common.vanilla.alias.items.FishBucketItem +import org.anti_ad.mc.common.vanilla.alias.items.MushroomStewItem +import org.anti_ad.mc.common.vanilla.alias.items.SuspiciousStewItem import org.anti_ad.mc.ipnext.ingame.`(getIdentifier)` import org.anti_ad.mc.ipnext.ingame.`(getRawId)` import org.anti_ad.mc.common.vanilla.alias.ItemStack as VanillaItemStack @@ -84,7 +89,7 @@ val ItemType.durability: Int get() = maxDamage - damage val ItemType.isBucket: Boolean - get() = item is BucketItem || item is MilkBucketItem + get() = item is BucketItem || item is MilkBucketItem || item is FishBucketItem val ItemType.isStew: Boolean get() = item is MushroomStewItem || item is SuspiciousStewItem //endregion diff --git a/src/main/java/org/anti_ad/mc/ipnext/item/NbtUtils.kt b/src/main/java/org/anti_ad/mc/ipnext/item/NbtUtils.kt index 41d3dec4..6aa23c29 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/item/NbtUtils.kt +++ b/src/main/java/org/anti_ad/mc/ipnext/item/NbtUtils.kt @@ -118,9 +118,9 @@ object NbtUtils { val asString: String get() = value.`(asString)` val asNumber: Number // todo what if number is long > double precision range - get() = (value as? AbstractNbtNumber)?.doubleValue() ?: 0 + get() = (value as? AbstractNbtNumber)?.double ?: 0 val asDouble: Double - get() = (value as? AbstractNbtNumber)?.doubleValue() ?: 0.0 + get() = (value as? AbstractNbtNumber)?.double ?: 0.0 val asCompound: NbtCompound get() = value as? NbtCompound ?: NbtCompound() val asList: List diff --git a/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinClientPlayerEntity.java b/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinClientPlayerEntity.java index 570a4cc2..57b3d157 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinClientPlayerEntity.java +++ b/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinClientPlayerEntity.java @@ -1,7 +1,10 @@ package org.anti_ad.mc.ipnext.mixin; import com.mojang.authlib.GameProfile; - +import net.minecraft.client.MinecraftClient; +import net.minecraft.client.network.AbstractClientPlayerEntity; +import net.minecraft.client.network.ClientPlayerEntity; +import net.minecraft.client.world.ClientWorld; import org.spongepowered.asm.mixin.Final; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; @@ -9,11 +12,6 @@ import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; -import net.minecraft.client.MinecraftClient; -import net.minecraft.client.network.AbstractClientPlayerEntity; -import net.minecraft.client.network.ClientPlayerEntity; -import net.minecraft.client.world.ClientWorld; - /** * MixinClientPlayerEntity */ diff --git a/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinClientPlayerInteractionManager.java b/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinClientPlayerInteractionManager.java index 7d8a010d..e6cec7ee 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinClientPlayerInteractionManager.java +++ b/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinClientPlayerInteractionManager.java @@ -1,5 +1,8 @@ package org.anti_ad.mc.ipnext.mixin; +import net.minecraft.client.network.ClientPlayerInteractionManager; +import net.minecraft.util.math.BlockPos; +import net.minecraft.util.math.Direction; import org.anti_ad.mc.ipnext.config.Tweaks; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; @@ -7,10 +10,6 @@ import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; -import net.minecraft.client.network.ClientPlayerInteractionManager; -import net.minecraft.util.math.BlockPos; -import net.minecraft.util.math.Direction; - /** * MixinClientPlayerInteractionManager */ diff --git a/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinContainerScreen.java b/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinContainerScreen.java index e216d7d9..993c7439 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinContainerScreen.java +++ b/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinContainerScreen.java @@ -1,11 +1,11 @@ package org.anti_ad.mc.ipnext.mixin; -import org.anti_ad.mc.ipnext.gui.inject.ContainerScreenEventHandler; import net.minecraft.client.gui.screen.Screen; import net.minecraft.client.gui.screen.ingame.HandledScreen; import net.minecraft.client.util.math.MatrixStack; import net.minecraft.screen.ScreenHandler; import net.minecraft.text.Text; +import org.anti_ad.mc.ipnext.gui.inject.ContainerScreenEventHandler; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; diff --git a/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinCraftingResultSlot.java b/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinCraftingResultSlot.java index 2ebe62ec..14781b05 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinCraftingResultSlot.java +++ b/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinCraftingResultSlot.java @@ -1,8 +1,8 @@ package org.anti_ad.mc.ipnext.mixin; -import org.anti_ad.mc.ipnext.event.ClientEventHandler; import net.minecraft.item.ItemStack; import net.minecraft.screen.slot.CraftingResultSlot; +import org.anti_ad.mc.ipnext.event.ClientEventHandler; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; diff --git a/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinGameRenderer.java b/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinGameRenderer.java index 42264086..bce3fdfc 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinGameRenderer.java +++ b/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinGameRenderer.java @@ -1,9 +1,9 @@ package org.anti_ad.mc.ipnext.mixin; -import org.anti_ad.mc.ipnext.config.Tweaks; -import org.anti_ad.mc.ipnext.gui.inject.ScreenEventHandler; import net.minecraft.client.render.GameRenderer; import net.minecraft.client.util.math.MatrixStack; +import org.anti_ad.mc.ipnext.config.Tweaks; +import org.anti_ad.mc.ipnext.gui.inject.ScreenEventHandler; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; diff --git a/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinGuiCloseC2SPacket.java b/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinGuiCloseC2SPacket.java index aeed0388..1b62645a 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinGuiCloseC2SPacket.java +++ b/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinGuiCloseC2SPacket.java @@ -1,13 +1,13 @@ package org.anti_ad.mc.ipnext.mixin; +import net.minecraft.network.packet.c2s.play.CloseHandledScreenC2SPacket; import org.anti_ad.mc.ipnext.config.Tweaks; import org.anti_ad.mc.ipnext.inventory.GeneralInventoryActions; import org.spongepowered.asm.mixin.Mixin; -import org.spongepowered.asm.mixin.injection.*; +import org.spongepowered.asm.mixin.injection.At; +import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; -import net.minecraft.network.packet.c2s.play.CloseHandledScreenC2SPacket; - /** * MixinGuiCloseC2SPacket */ diff --git a/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinMinecraftClient.java b/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinMinecraftClient.java index 71b90a9b..4f3723f9 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinMinecraftClient.java +++ b/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinMinecraftClient.java @@ -1,9 +1,9 @@ package org.anti_ad.mc.ipnext.mixin; -import org.anti_ad.mc.ipnext.config.Tweaks; -import org.anti_ad.mc.ipnext.event.ClientEventHandler; import net.minecraft.client.MinecraftClient; import net.minecraft.client.world.ClientWorld; +import org.anti_ad.mc.ipnext.config.Tweaks; +import org.anti_ad.mc.ipnext.event.ClientEventHandler; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; import org.spongepowered.asm.mixin.injection.At; diff --git a/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinScreen.java b/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinScreen.java index b3091335..0b152a5e 100644 --- a/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinScreen.java +++ b/src/main/java/org/anti_ad/mc/ipnext/mixin/MixinScreen.java @@ -1,43 +1,29 @@ package org.anti_ad.mc.ipnext.mixin; -import com.google.common.collect.Lists; -import org.anti_ad.mc.ipnext.gui.inject.ScreenEventHandler; import kotlin.Unit; import net.minecraft.client.MinecraftClient; -import net.minecraft.client.gui.Element; -import net.minecraft.client.gui.Selectable; import net.minecraft.client.gui.screen.Screen; +import net.minecraft.client.gui.widget.AbstractButtonWidget; +import org.anti_ad.mc.ipnext.gui.inject.ScreenEventHandler; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; -import java.util.List; - @Mixin(Screen.class) public abstract class MixinScreen { @Shadow - private final List children = Lists.newArrayList(); - ; - @Shadow - private final List selectables = Lists.newArrayList(); - ; + protected abstract T addButton(T abstractButtonWidget); @Inject(at = @At("RETURN"), method = "init(Lnet/minecraft/client/MinecraftClient;II)V") public void init(MinecraftClient minecraftClient, int i, int j, CallbackInfo ci) { Screen self = (Screen) (Object) this; ScreenEventHandler.INSTANCE.onScreenInit(self, x -> { - addSelectableChild(x); + addButton(x); return Unit.INSTANCE; }); } - - public T addSelectableChild(T child) { - this.children.add(child); - this.selectables.add((Selectable) child); - return child; - } } diff --git a/src/main/resources/assets/inventoryprofilesnext/lang/en_us.json b/src/main/resources/assets/inventoryprofilesnext/lang/en_us.json index 42b64193..722ba3bf 100644 --- a/src/main/resources/assets/inventoryprofilesnext/lang/en_us.json +++ b/src/main/resources/assets/inventoryprofilesnext/lang/en_us.json @@ -1,312 +1,206 @@ { - - "inventoryprofiles.gui.config.title": "Inventory Profiles Next v%s Config Menu", - - "inventoryprofiles.common.gui.config.reset": "Reset", - "inventoryprofiles.common.gui.config.true": "§2true", - "inventoryprofiles.common.gui.config.false": "§4false", - "inventoryprofiles.common.gui.config.yes": "yes", - "inventoryprofiles.common.gui.config.no": "no", - "inventoryprofiles.common.gui.config.more": " ...(more)", - - "inventoryprofiles.common.gui.config.advanced_keybind_settings": "Advanced Keybind Settings", - "inventoryprofiles.common.gui.config.activate_on": "Activate On", - "inventoryprofiles.common.gui.config.context": "Context", - "inventoryprofiles.common.gui.config.allow_extra_keys": "Allow Extra Keys", - "inventoryprofiles.common.gui.config.order_sensitive": "Order Sensitive", - "inventoryprofiles.common.gui.config.modifier_key": "Ctrl/Alt/Shift", - "inventoryprofiles.common.gui.config.keybind_settings_tips": "- Left click to configure\n- Right click to reset to defaults", - - "inventoryprofiles.common.enum.key_action.press": "Press", - "inventoryprofiles.common.enum.key_action.release": "Release", - "inventoryprofiles.common.enum.key_action.both": "Press / Release", - "inventoryprofiles.common.enum.context.ingame": "In-game", - "inventoryprofiles.common.enum.context.gui": "Gui", - "inventoryprofiles.common.enum.context.any": "In-game / Gui", - "inventoryprofiles.common.enum.modifier_key.differentiate": "Diff left/right", - "inventoryprofiles.common.enum.modifier_key.normal": "Normal", - - - - - - - - - - - - "inventoryprofiles.gui.config.ModSettings": "Mod Settings", - - "inventoryprofiles.config.category.inventory_sorting": "Sorting Options", - "inventoryprofiles.config.category.move_matching_items": "Move Matching Items", - "inventoryprofiles.config.category.lock_slots": "Lock Slots", - "inventoryprofiles.config.category.auto_refill": "Auto Refill", - "inventoryprofiles.config.category.advanced_options": "Advanced Options", - - "inventoryprofiles.config.name.open_config_folder": "§aOpen Config Folder", - "inventoryprofiles.config.name.reload_rule_files": "§aReload Rule Files", - "inventoryprofiles.config.description.open_config_folder": "Open folder .minecraft/config/inventoryprofilesnext", - "inventoryprofiles.config.description.reload_rule_files": "Reload rule.*.txt files in config folder", - "inventoryprofiles.gui.config.button.open_config_folder": "config/inventoryprofilesnext", - "inventoryprofiles.gui.config.button.reload_rule_files": "Reload rule.*.txt", - "inventoryprofiles.gui.config.button.reload_rule_files.reloaded": "All reloaded!", - - "inventoryprofiles.config.name.sort_order": "Sort Order", - "inventoryprofiles.config.name.custom_rule": "Custom Rule", - "inventoryprofiles.config.description.sort_order": "The sorting method used for inventory sorting", - "inventoryprofiles.config.description.custom_rule": "The rule for custom sorting method", - - "inventoryprofiles.config.name.include_hotbar_modifier": "Include Hotbar Modifier", - "inventoryprofiles.config.name.move_all_modifier": "Move All Modifier", - "inventoryprofiles.config.name.always_include_hotbar": "Always Include Hotbar", - "inventoryprofiles.config.name.always_move_all": "Always Move All", - "inventoryprofiles.config.description.include_hotbar_modifier": "Hold this key to include hotbar", - "inventoryprofiles.config.description.move_all_modifier": "Hold this key to move all", - "inventoryprofiles.config.description.always_include_hotbar": "Include hotbar without holding the modifier key (then holding the modifier key is to exclude hotbar)", - "inventoryprofiles.config.description.always_move_all": "Move all without holding the modifier key (then holding the modifier key is to move matching items only)", - - "inventoryprofiles.config.name.enable_lock_slots": "Enable Lock Slots", - "inventoryprofiles.config.name.lock_slots_switch_config_modifier": "Switch Config Modifier", - "inventoryprofiles.config.name.lock_slots_config_key": "Config Key", - "inventoryprofiles.config.name.lock_slots_quick_config_key": "Quick Config Key", - "inventoryprofiles.config.name.lock_slots_quick_disable": "Quick Disable", - "inventoryprofiles.config.name.lock_slots_config_switch_type": "Config Switch Type", - "inventoryprofiles.config.name.show_locked_slots_background": "Show Locked Slots Background", - "inventoryprofiles.config.name.show_locked_slots_foreground": "Show Locked Slots Foreground", - "inventoryprofiles.config.name.locked_slots_foreground_style": "Locked Slots Foreground Style", - "inventoryprofiles.config.description.enable_lock_slots": "Locked slots are ignored for: sort, move all, clean cursor, continuous crafting supplies storage, auto refill supplies storage (auto refill monitoring slots are not affected). Notice that groups in columns/rows only works if the shape of remaining non-locked slots is rectangular.", - "inventoryprofiles.config.description.lock_slots_switch_config_modifier": "Config lock slots by \"Config Key\" while holding this key (Default Alt + Left Click to config lock slots)", - "inventoryprofiles.config.description.lock_slots_config_key": "Config lock slots while holding modifier key (Default Alt + Left Click to config lock slots)", - "inventoryprofiles.config.description.lock_slots_quick_config_key": "Config lock slots without holding modifier key", - "inventoryprofiles.config.description.lock_slots_quick_disable": "Quick disable lock slots when this key is being held down", - "inventoryprofiles.config.description.lock_slots_config_switch_type": "Set config switch type to toggle or hold", - "inventoryprofiles.config.description.show_locked_slots_background": "Draw locked slots background\n(You can create your own texture from\n\nresourcepacks/§o[pack_name]§r/assets/inventoryprofiles/textures/gui/overlay.png)", - "inventoryprofiles.config.description.show_locked_slots_foreground": "Draw locked slots foreground\n(You can create your own texture from\n\nresourcepacks/§o[pack_name]§r/assets/inventoryprofiles/textures/gui/overlay.png)", - "inventoryprofiles.config.description.locked_slots_foreground_style": "Select foreground style from preset\n(You can create your own texture from\n\nresourcepacks/§o[pack_name]§r/assets/inventoryprofiles/textures/gui/overlay.png)", - - "inventoryprofiles.config.name.enable_auto_refill": "Enable Auto Refill", - "inventoryprofiles.config.name.disable_for_drop_item": "Disable For Drop Item", - "inventoryprofiles.config.name.refill_armor": "Refill Armor", - "inventoryprofiles.config.name.refill_before_tool_break": "Refill Before Tool Break", - "inventoryprofiles.config.name.tool_damage_threshold": "Tool Damage Threshold", - "inventoryprofiles.config.name.threshold_unit": "Threshold Unit", - "inventoryprofiles.config.name.auto_refill_wait_tick": "Auto Refill Wait Tick", - "inventoryprofiles.config.description.enable_auto_refill": "Refill the item in your hand when they have ran out", - "inventoryprofiles.config.description.disable_for_drop_item": "Disable Auto Refill for drop item", - "inventoryprofiles.config.description.refill_armor": "Refill the item in armor slots when they have broken", - "inventoryprofiles.config.description.refill_before_tool_break": "Refill tool/armor before durability is empty (threshold value by \"Tool Damage Threshold\")", - "inventoryprofiles.config.description.tool_damage_threshold": "When durability below this value (Absolute or %%), refill the item.", - "inventoryprofiles.config.description.threshold_unit": "Set the unit for \"Tool Damage Threshold\" (Absolute Value or Percentage (%%))", - "inventoryprofiles.config.description.auto_refill_wait_tick": "Wait n ticks after the item ran out, then do the auto refill. Might be useful on some laggy servers.", - - "inventoryprofiles.config.name.add_interval_between_clicks": "Add Interval Between Clicks", - "inventoryprofiles.config.name.interval_between_clicks_ms": "Interval Between Clicks (ms)", - "inventoryprofiles.config.name.restock_hotbar": "Restock Hotbar", - "inventoryprofiles.config.name.sort_at_cursor": "Sort At Cursor", - "inventoryprofiles.config.name.move_all_at_cursor": "Move All At Cursor", - "inventoryprofiles.config.name.stop_at_screen_close": "Stop At Screen Close", - "inventoryprofiles.config.description.add_interval_between_clicks": "Adds some interval between clicks while sorting. Amount of interval can be set by \"intervalBetweenClicksMs\". Might be useful on some laggy servers or inventory.fastclick disabled servers. (To bypass some servers, 67 ms is recommended)", - "inventoryprofiles.config.description.interval_between_clicks_ms": "Interval between clicks. In milliseconds. (To bypass some servers, 67 ms is recommended)", - "inventoryprofiles.config.description.restock_hotbar": "Auto restock your hotbar while sorting", - "inventoryprofiles.config.description.sort_at_cursor": "When this is true, using hotkey sorting will sort the slots that curosr is pointing to. Otherwise it will always sort the container.", - "inventoryprofiles.config.description.move_all_at_cursor": "When curosr is pointing container, \"Move All\" hotkey move from container to player. Otherwise it will always move from player to container.", - "inventoryprofiles.config.description.stop_at_screen_close": "Stop sorting (when \"Add Interval Between Clicks\" enabled) if inventory screen is closed", - - "inventoryprofiles.config.name.debug_logs": "Debug Logs", - "inventoryprofiles.config.description.debug_logs": "Prints debug messages", - - - - - - - - - - - "inventoryprofiles.gui.config.GuiSettings": "Gui Settings", - "inventoryprofiles.config.category.inventory": "Inventory", - "inventoryprofiles.config.category.other": "Other", - - "inventoryprofiles.config.name.enable_inventory_buttons": "Enable Inventory Buttons", - "inventoryprofiles.config.name.show_continuous_crafting_checkbox": "Show Continuous Crafting Checkbox", - "inventoryprofiles.config.name.continuous_crafting_checkbox_value": "§bCheckbox Value", - "inventoryprofiles.config.name.continuous_crafting_saved_value": "§bSaved Value", - "inventoryprofiles.config.name.show_regular_sort_button": "Show Regular Sort Button", - "inventoryprofiles.config.name.regular_post_action": "§bPost Action", - "inventoryprofiles.config.name.regular_sort_order": "§bSort Order", - "inventoryprofiles.config.name.regular_custom_rule": "§bCustom Rule", - "inventoryprofiles.config.name.show_sort_in_columns_button": "Show Sort In Columns Button", - "inventoryprofiles.config.name.in_columns_post_action": "§bPost Action", - "inventoryprofiles.config.name.in_columns_sort_order": "§bSort Order", - "inventoryprofiles.config.name.in_columns_custom_rule": "§bCustom Rule", - "inventoryprofiles.config.name.show_sort_in_rows_button": "Show Sort In Rows Button", - "inventoryprofiles.config.name.in_rows_post_action": "§bPost Action", - "inventoryprofiles.config.name.in_rows_sort_order": "§bSort Order", - "inventoryprofiles.config.name.in_rows_custom_rule": "§bCustom Rule", - "inventoryprofiles.config.name.show_move_all_button": "Show Move All Button", - "inventoryprofiles.config.name.show_button_tooltips": "Show Button Tooltips", - - "inventoryprofiles.config.description.enable_inventory_buttons": "Set this to enable or disable all additional widgets for container screen", - "inventoryprofiles.config.description.show_continuous_crafting_checkbox": "Show continuous crafting checkbox on GUI (crafting table & survival inventory)\nContinuous Crafting: Auto refill the ingredient slots", - "inventoryprofiles.config.description.continuous_crafting_checkbox_value": "Remember the checkbox value or set it next time of opening screen", - "inventoryprofiles.config.description.continuous_crafting_saved_value": "Internal saved value of checkbox", - "inventoryprofiles.config.description.show_regular_sort_button": "Show regular sort button on GUI", - "inventoryprofiles.config.description.regular_post_action": "Set the post action for regular sort button", - "inventoryprofiles.config.description.regular_sort_order": "Set the sort order for regular sort button", - "inventoryprofiles.config.description.regular_custom_rule": "Set the custom rule for regular sort button", - "inventoryprofiles.config.description.show_sort_in_columns_button": "Show sort in columns button on GUI", - "inventoryprofiles.config.description.in_columns_post_action": "Set the post action for sort in columns button", - "inventoryprofiles.config.description.in_columns_sort_order": "Set the sort order for sort in columns button", - "inventoryprofiles.config.description.in_columns_custom_rule": "Set the custom rule for sort in columns button", - "inventoryprofiles.config.description.show_sort_in_rows_button": "Show sort in rows button on GUI", - "inventoryprofiles.config.description.in_rows_post_action": "Set the post action for sort in rows button", - "inventoryprofiles.config.description.in_rows_sort_order": "Set the sort order for sort in rows button", - "inventoryprofiles.config.description.in_rows_custom_rule": "Set the custom rule for sort in rows button", - "inventoryprofiles.config.description.show_move_all_button": "Show move all buttons on GUI", - "inventoryprofiles.config.description.show_button_tooltips": "Display tooltips when cursor hover the buttons on GUI", - - "inventoryprofiles.config.name.use_old_insert_method": "Use Old Insert Method", - "inventoryprofiles.config.description.use_old_insert_method": "v0.4.2+ use new method to insert widgets to a screen for better mod compatibility. Set this to true to revert to old method.", - - - - - - - - - - "inventoryprofiles.gui.config.EditProfiles": "Edit Profiles", - "inventoryprofiles.config.category.coming_soon": "Coming Soon!", - - - - - - - - - - - "inventoryprofiles.gui.config.Hotkeys": "Hotkeys", - "inventoryprofiles.config.category.hotkeys": "Hotkeys", - "inventoryprofiles.config.category.misc": "Misc", - - "inventoryprofiles.config.name.open_config_menu": "Open Config Menu", - "inventoryprofiles.config.name.sort_inventory": "Sort Inventory", - "inventoryprofiles.config.name.sort_inventory_in_columns": "Sort Inventory In Columns", - "inventoryprofiles.config.name.sort_inventory_in_rows": "Sort Inventory In Rows", - "inventoryprofiles.config.name.move_all_items": "Move All Items", - "inventoryprofiles.config.name.dump_item_nbt_to_chat": "Dump Item Nbt To Chat", - - "inventoryprofiles.config.description.open_config_menu": "The key open the in-game config GUI", - "inventoryprofiles.config.description.sort_inventory": "The key to sort the inventory", - "inventoryprofiles.config.description.sort_inventory_in_columns": "The key to sort the inventory in columns", - "inventoryprofiles.config.description.sort_inventory_in_rows": "The key to sort the inventory in rows", - "inventoryprofiles.config.description.move_all_items": "The key to move all the itmes that already existed in the container", - "inventoryprofiles.config.description.dump_item_nbt_to_chat": "Prints the item string with nbt to the chat", - - - - - - - - - - - "inventoryprofiles.gui.config.Tweaks": "Tweaks", - "inventoryprofiles.config.category.client_side_tweaks": "Client-side Tweaks", - "inventoryprofiles.config.category.survival": "Survival", - - "inventoryprofiles.config.name.prevent_close_gui_drop_item": "Prevent Close Gui Drop Item", - "inventoryprofiles.config.name.container_swipe_moving_items": "Container Swipe Moving Items", - "inventoryprofiles.config.name.swipe_move_crafting_result_slot": "Swipe Move Crafting Result Slot", - "inventoryprofiles.config.description.prevent_close_gui_drop_item": "Closing GUI will no longer drop the item that holding by the cursor", - "inventoryprofiles.config.description.container_swipe_moving_items": "Allows you to move items for the slots under the cursor while holding shift and left click", - "inventoryprofiles.config.description.swipe_move_crafting_result_slot": "Enable \"Swipe Moving Items\" in crafting result slot", - - "inventoryprofiles.config.name.instant_mining_cooldown": "Instant Mining Cooldown", - "inventoryprofiles.config.name.disable_block_breaking_cooldown": "Disable Block Breaking Cooldown", - "inventoryprofiles.config.name.disable_item_use_cooldown": "Disable Item Use Cooldown", - "inventoryprofiles.config.name.disable_screen_shaking_on_damage": "Disable Screen Shaking On Damage", - "inventoryprofiles.config.name.disable_lava_fog": "Disable Lava Fog", - "inventoryprofiles.config.description.instant_mining_cooldown": "Adds breaking delay to the blocks that you can instantly mine. This option has lower priority than \"disableBlockBreakingCooldown\".", - "inventoryprofiles.config.description.disable_block_breaking_cooldown": "Removes breaking delay for all blocks", - "inventoryprofiles.config.description.disable_item_use_cooldown": "Removes use key cooldown so you can have equivalently 1 right click every game tick. Can use along with Tweakeroo \"tweakPlacementRestriction\".", - "inventoryprofiles.config.description.disable_screen_shaking_on_damage": "Receiving damage no longer shakes your screen", - "inventoryprofiles.config.description.disable_lava_fog": "Allows you to have a clearer view underneath lava", - - - - - - - - - - - "inventoryprofiles.gui.config.Debugs": "Debugs", - "inventoryprofiles.config.category.debugs": "Debugs", - - "inventoryprofiles.config.name.debug_screen": "Debug Screen", - "inventoryprofiles.config.description.debug_screen": "Open debug screen", - - - - - - - - - - - - - - - - - - - - - "inventoryprofiles.enum.sorting_method.global": "Global (%s)", - "inventoryprofiles.enum.sorting_method.default": "Default (Creative Menu)", - "inventoryprofiles.enum.sorting_method.item_name": "Item Name", - "inventoryprofiles.enum.sorting_method.item_id": "Item ID", - "inventoryprofiles.enum.sorting_method.raw_id": "Item Numerical ID", - "inventoryprofiles.enum.sorting_method.custom": "Custom Rule", - - "inventoryprofiles.enum.post_action.none": "None", - "inventoryprofiles.enum.post_action.group_in_rows": "Group In Rows", - "inventoryprofiles.enum.post_action.group_in_columns": "Group In Columns", - "inventoryprofiles.enum.post_action.distribute_evenly":"Distribute Evenly", - "inventoryprofiles.enum.post_action.shuffle": "Shuffle", - "inventoryprofiles.enum.post_action.fill_one": "Fill One", - "inventoryprofiles.enum.post_action.reverse": "Reverse", - - "inventoryprofiles.enum.threshold_unit.absolute": "Absolute Value", - "inventoryprofiles.enum.threshold_unit.percentage": "Percentage (%%)", - - "inventoryprofiles.enum.continuous_crafting_checkbox_value.remember": "Remember", - "inventoryprofiles.enum.continuous_crafting_checkbox_value.checked": "Checked", - "inventoryprofiles.enum.continuous_crafting_checkbox_value.unchecked": "Unchecked", - - "inventoryprofiles.enum.switch_type.toggle": "Toggle", - "inventoryprofiles.enum.switch_type.hold": "Hold", - - - "inventoryprofiles.tooltip.sort_button": "Sort Inventory", - "inventoryprofiles.tooltip.sort_columns_button": "Sort Inventory in Columns", - "inventoryprofiles.tooltip.sort_rows_button": "Sort Inventory in Rows", - "inventoryprofiles.tooltip.move_all_button.title_move_matching": "Move Matching Items", - "inventoryprofiles.tooltip.move_all_button.title_move_all": "Move All Items", - "inventoryprofiles.tooltip.move_all_button.include_hotbar": "§6Hold §o%s§r\n§6 - Include Hotbar", - "inventoryprofiles.tooltip.move_all_button.exclude_hotbar": "§6Hold §o%s§r\n§6 - Exclude Hotbar", - "inventoryprofiles.tooltip.move_all_button.move_all": "§6Hold §o%s§r\n§6 - Move All", - "inventoryprofiles.tooltip.move_all_button.move_matching_only": "§6Hold §o%s§r\n§6 - Move Matching Only", - "inventoryprofiles.tooltip.continuous_crafting_checkbox": "Continuous Crafting" + "inventoryprofiles.gui.config.title": "Inventory Profiles Next v%s Config Menu", + "inventoryprofiles.common.gui.config.reset": "Reset", + "inventoryprofiles.common.gui.config.true": "§2true", + "inventoryprofiles.common.gui.config.false": "§4false", + "inventoryprofiles.common.gui.config.yes": "yes", + "inventoryprofiles.common.gui.config.no": "no", + "inventoryprofiles.common.gui.config.more": " ...(more)", + "inventoryprofiles.common.gui.config.advanced_keybind_settings": "Advanced Keybind Settings", + "inventoryprofiles.common.gui.config.activate_on": "Activate On", + "inventoryprofiles.common.gui.config.context": "Context", + "inventoryprofiles.common.gui.config.allow_extra_keys": "Allow Extra Keys", + "inventoryprofiles.common.gui.config.order_sensitive": "Order Sensitive", + "inventoryprofiles.common.gui.config.modifier_key": "Ctrl/Alt/Shift", + "inventoryprofiles.common.gui.config.keybind_settings_tips": "- Left click to configure\n- Right click to reset to defaults", + "inventoryprofiles.common.enum.key_action.press": "Press", + "inventoryprofiles.common.enum.key_action.release": "Release", + "inventoryprofiles.common.enum.key_action.both": "Press / Release", + "inventoryprofiles.common.enum.context.ingame": "In-game", + "inventoryprofiles.common.enum.context.gui": "Gui", + "inventoryprofiles.common.enum.context.any": "In-game / Gui", + "inventoryprofiles.common.enum.modifier_key.differentiate": "Diff left/right", + "inventoryprofiles.common.enum.modifier_key.normal": "Normal", + "inventoryprofiles.gui.config.ModSettings": "Mod Settings", + "inventoryprofiles.config.category.inventory_sorting": "Sorting Options", + "inventoryprofiles.config.category.move_matching_items": "Move Matching Items", + "inventoryprofiles.config.category.lock_slots": "Lock Slots", + "inventoryprofiles.config.category.auto_refill": "Auto Refill", + "inventoryprofiles.config.category.advanced_options": "Advanced Options", + "inventoryprofiles.config.name.open_config_folder": "§aOpen Config Folder", + "inventoryprofiles.config.name.reload_rule_files": "§aReload Rule Files", + "inventoryprofiles.config.description.open_config_folder": "Open folder .minecraft/config/inventoryprofilesnext", + "inventoryprofiles.config.description.reload_rule_files": "Reload rule.*.txt files in config folder", + "inventoryprofiles.gui.config.button.open_config_folder": "config/inventoryprofilesnext", + "inventoryprofiles.gui.config.button.reload_rule_files": "Reload rule.*.txt", + "inventoryprofiles.gui.config.button.reload_rule_files.reloaded": "All reloaded!", + "inventoryprofiles.config.name.sort_order": "Sort Order", + "inventoryprofiles.config.name.custom_rule": "Custom Rule", + "inventoryprofiles.config.description.sort_order": "The sorting method used for inventory sorting", + "inventoryprofiles.config.description.custom_rule": "The rule for custom sorting method", + "inventoryprofiles.config.name.include_hotbar_modifier": "Include Hotbar Modifier", + "inventoryprofiles.config.name.move_all_modifier": "Move All Modifier", + "inventoryprofiles.config.name.always_include_hotbar": "Always Include Hotbar", + "inventoryprofiles.config.name.always_move_all": "Always Move All", + "inventoryprofiles.config.description.include_hotbar_modifier": "Hold this key to include hotbar", + "inventoryprofiles.config.description.move_all_modifier": "Hold this key to move all", + "inventoryprofiles.config.description.always_include_hotbar": "Include hotbar without holding the modifier key (then holding the modifier key is to exclude hotbar)", + "inventoryprofiles.config.description.always_move_all": "Move all without holding the modifier key (then holding the modifier key is to move matching items only)", + "inventoryprofiles.config.name.enable_lock_slots": "Enable Lock Slots", + "inventoryprofiles.config.name.lock_slots_switch_config_modifier": "Switch Config Modifier", + "inventoryprofiles.config.name.lock_slots_config_key": "Config Key", + "inventoryprofiles.config.name.lock_slots_quick_config_key": "Quick Config Key", + "inventoryprofiles.config.name.lock_slots_quick_disable": "Quick Disable", + "inventoryprofiles.config.name.lock_slots_config_switch_type": "Config Switch Type", + "inventoryprofiles.config.name.show_locked_slots_background": "Show Locked Slots Background", + "inventoryprofiles.config.name.show_locked_slots_foreground": "Show Locked Slots Foreground", + "inventoryprofiles.config.name.locked_slots_foreground_style": "Locked Slots Foreground Style", + "inventoryprofiles.config.description.enable_lock_slots": "Locked slots are ignored for: sort, move all, clean cursor, continuous crafting supplies storage, auto refill supplies storage (auto refill monitoring slots are not affected). Notice that groups in columns/rows only works if the shape of remaining non-locked slots is rectangular.", + "inventoryprofiles.config.description.lock_slots_switch_config_modifier": "Config lock slots by \"Config Key\" while holding this key (Default Alt + Left Click to config lock slots)", + "inventoryprofiles.config.description.lock_slots_config_key": "Config lock slots while holding modifier key (Default Alt + Left Click to config lock slots)", + "inventoryprofiles.config.description.lock_slots_quick_config_key": "Config lock slots without holding modifier key", + "inventoryprofiles.config.description.lock_slots_quick_disable": "Quick disable lock slots when this key is being held down", + "inventoryprofiles.config.description.lock_slots_config_switch_type": "Set config switch type to toggle or hold", + "inventoryprofiles.config.description.show_locked_slots_background": "Draw locked slots background\n(You can create your own texture from\n\nresourcepacks/§o[pack_name]§r/assets/inventoryprofiles/textures/gui/overlay.png)", + "inventoryprofiles.config.description.show_locked_slots_foreground": "Draw locked slots foreground\n(You can create your own texture from\n\nresourcepacks/§o[pack_name]§r/assets/inventoryprofiles/textures/gui/overlay.png)", + "inventoryprofiles.config.description.locked_slots_foreground_style": "Select foreground style from preset\n(You can create your own texture from\n\nresourcepacks/§o[pack_name]§r/assets/inventoryprofiles/textures/gui/overlay.png)", + "inventoryprofiles.config.name.enable_auto_refill": "Enable Auto Refill", + "inventoryprofiles.config.name.disable_for_drop_item": "Disable For Drop Item", + "inventoryprofiles.config.name.refill_armor": "Refill Armor", + "inventoryprofiles.config.name.refill_before_tool_break": "Refill Before Tool Break", + "inventoryprofiles.config.name.tool_damage_threshold": "Tool Damage Threshold", + "inventoryprofiles.config.name.threshold_unit": "Threshold Unit", + "inventoryprofiles.config.name.auto_refill_wait_tick": "Auto Refill Wait Tick", + "inventoryprofiles.config.description.enable_auto_refill": "Refill the item in your hand when they have ran out", + "inventoryprofiles.config.description.disable_for_drop_item": "Disable Auto Refill for drop item", + "inventoryprofiles.config.description.refill_armor": "Refill the item in armor slots when they have broken", + "inventoryprofiles.config.description.refill_before_tool_break": "Refill tool/armor before durability is empty (threshold value by \"Tool Damage Threshold\")", + "inventoryprofiles.config.description.tool_damage_threshold": "When durability below this value (Absolute or %%), refill the item.", + "inventoryprofiles.config.description.threshold_unit": "Set the unit for \"Tool Damage Threshold\" (Absolute Value or Percentage (%%))", + "inventoryprofiles.config.description.auto_refill_wait_tick": "Wait n ticks after the item ran out, then do the auto refill. Might be useful on some laggy servers.", + "inventoryprofiles.config.name.add_interval_between_clicks": "Add Interval Between Clicks", + "inventoryprofiles.config.name.interval_between_clicks_ms": "Interval Between Clicks (ms)", + "inventoryprofiles.config.name.restock_hotbar": "Restock Hotbar", + "inventoryprofiles.config.name.sort_at_cursor": "Sort At Cursor", + "inventoryprofiles.config.name.move_all_at_cursor": "Move All At Cursor", + "inventoryprofiles.config.name.stop_at_screen_close": "Stop At Screen Close", + "inventoryprofiles.config.description.add_interval_between_clicks": "Adds some interval between clicks while sorting. Amount of interval can be set by \"intervalBetweenClicksMs\". Might be useful on some laggy servers or inventory.fastclick disabled servers. (To bypass some servers, 67 ms is recommended)", + "inventoryprofiles.config.description.interval_between_clicks_ms": "Interval between clicks. In milliseconds. (To bypass some servers, 67 ms is recommended)", + "inventoryprofiles.config.description.restock_hotbar": "Auto restock your hotbar while sorting", + "inventoryprofiles.config.description.sort_at_cursor": "When this is true, using hotkey sorting will sort the slots that curosr is pointing to. Otherwise it will always sort the container.", + "inventoryprofiles.config.description.move_all_at_cursor": "When curosr is pointing container, \"Move All\" hotkey move from container to player. Otherwise it will always move from player to container.", + "inventoryprofiles.config.description.stop_at_screen_close": "Stop sorting (when \"Add Interval Between Clicks\" enabled) if inventory screen is closed", + "inventoryprofiles.config.name.debug_logs": "Debug Logs", + "inventoryprofiles.config.description.debug_logs": "Prints debug messages", + "inventoryprofiles.gui.config.GuiSettings": "Gui Settings", + "inventoryprofiles.config.category.inventory": "Inventory", + "inventoryprofiles.config.category.other": "Other", + "inventoryprofiles.config.name.enable_inventory_buttons": "Enable Inventory Buttons", + "inventoryprofiles.config.name.show_continuous_crafting_checkbox": "Show Continuous Crafting Checkbox", + "inventoryprofiles.config.name.continuous_crafting_checkbox_value": "§bCheckbox Value", + "inventoryprofiles.config.name.continuous_crafting_saved_value": "§bSaved Value", + "inventoryprofiles.config.name.show_regular_sort_button": "Show Regular Sort Button", + "inventoryprofiles.config.name.regular_post_action": "§bPost Action", + "inventoryprofiles.config.name.regular_sort_order": "§bSort Order", + "inventoryprofiles.config.name.regular_custom_rule": "§bCustom Rule", + "inventoryprofiles.config.name.show_sort_in_columns_button": "Show Sort In Columns Button", + "inventoryprofiles.config.name.in_columns_post_action": "§bPost Action", + "inventoryprofiles.config.name.in_columns_sort_order": "§bSort Order", + "inventoryprofiles.config.name.in_columns_custom_rule": "§bCustom Rule", + "inventoryprofiles.config.name.show_sort_in_rows_button": "Show Sort In Rows Button", + "inventoryprofiles.config.name.in_rows_post_action": "§bPost Action", + "inventoryprofiles.config.name.in_rows_sort_order": "§bSort Order", + "inventoryprofiles.config.name.in_rows_custom_rule": "§bCustom Rule", + "inventoryprofiles.config.name.show_move_all_button": "Show Move All Button", + "inventoryprofiles.config.name.show_button_tooltips": "Show Button Tooltips", + "inventoryprofiles.config.description.enable_inventory_buttons": "Set this to enable or disable all additional widgets for container screen", + "inventoryprofiles.config.description.show_continuous_crafting_checkbox": "Show continuous crafting checkbox on GUI (crafting table & survival inventory)\nContinuous Crafting: Auto refill the ingredient slots", + "inventoryprofiles.config.description.continuous_crafting_checkbox_value": "Remember the checkbox value or set it next time of opening screen", + "inventoryprofiles.config.description.continuous_crafting_saved_value": "Internal saved value of checkbox", + "inventoryprofiles.config.description.show_regular_sort_button": "Show regular sort button on GUI", + "inventoryprofiles.config.description.regular_post_action": "Set the post action for regular sort button", + "inventoryprofiles.config.description.regular_sort_order": "Set the sort order for regular sort button", + "inventoryprofiles.config.description.regular_custom_rule": "Set the custom rule for regular sort button", + "inventoryprofiles.config.description.show_sort_in_columns_button": "Show sort in columns button on GUI", + "inventoryprofiles.config.description.in_columns_post_action": "Set the post action for sort in columns button", + "inventoryprofiles.config.description.in_columns_sort_order": "Set the sort order for sort in columns button", + "inventoryprofiles.config.description.in_columns_custom_rule": "Set the custom rule for sort in columns button", + "inventoryprofiles.config.description.show_sort_in_rows_button": "Show sort in rows button on GUI", + "inventoryprofiles.config.description.in_rows_post_action": "Set the post action for sort in rows button", + "inventoryprofiles.config.description.in_rows_sort_order": "Set the sort order for sort in rows button", + "inventoryprofiles.config.description.in_rows_custom_rule": "Set the custom rule for sort in rows button", + "inventoryprofiles.config.description.show_move_all_button": "Show move all buttons on GUI", + "inventoryprofiles.config.description.show_button_tooltips": "Display tooltips when cursor hover the buttons on GUI", + "inventoryprofiles.config.name.use_old_insert_method": "Use Old Insert Method", + "inventoryprofiles.config.description.use_old_insert_method": "v0.4.2+ use new method to insert widgets to a screen for better mod compatibility. Set this to true to revert to old method.", + "inventoryprofiles.gui.config.EditProfiles": "Edit Profiles", + "inventoryprofiles.config.category.coming_soon": "Coming Soon!", + "inventoryprofiles.gui.config.Hotkeys": "Hotkeys", + "inventoryprofiles.config.category.hotkeys": "Hotkeys", + "inventoryprofiles.config.category.misc": "Misc", + "inventoryprofiles.config.name.open_config_menu": "Open Config Menu", + "inventoryprofiles.config.name.sort_inventory": "Sort Inventory", + "inventoryprofiles.config.name.sort_inventory_in_columns": "Sort Inventory In Columns", + "inventoryprofiles.config.name.sort_inventory_in_rows": "Sort Inventory In Rows", + "inventoryprofiles.config.name.move_all_items": "Move All Items", + "inventoryprofiles.config.name.dump_item_nbt_to_chat": "Dump Item Nbt To Chat", + "inventoryprofiles.config.description.open_config_menu": "The key open the in-game config GUI", + "inventoryprofiles.config.description.sort_inventory": "The key to sort the inventory", + "inventoryprofiles.config.description.sort_inventory_in_columns": "The key to sort the inventory in columns", + "inventoryprofiles.config.description.sort_inventory_in_rows": "The key to sort the inventory in rows", + "inventoryprofiles.config.description.move_all_items": "The key to move all the itmes that already existed in the container", + "inventoryprofiles.config.description.dump_item_nbt_to_chat": "Prints the item string with nbt to the chat", + "inventoryprofiles.gui.config.Tweaks": "Tweaks", + "inventoryprofiles.config.category.client_side_tweaks": "Client-side Tweaks", + "inventoryprofiles.config.category.survival": "Survival", + "inventoryprofiles.config.name.prevent_close_gui_drop_item": "Prevent Close Gui Drop Item", + "inventoryprofiles.config.name.container_swipe_moving_items": "Container Swipe Moving Items", + "inventoryprofiles.config.name.swipe_move_crafting_result_slot": "Swipe Move Crafting Result Slot", + "inventoryprofiles.config.description.prevent_close_gui_drop_item": "Closing GUI will no longer drop the item that holding by the cursor", + "inventoryprofiles.config.description.container_swipe_moving_items": "Allows you to move items for the slots under the cursor while holding shift and left click", + "inventoryprofiles.config.description.swipe_move_crafting_result_slot": "Enable \"Swipe Moving Items\" in crafting result slot", + "inventoryprofiles.config.name.instant_mining_cooldown": "Instant Mining Cooldown", + "inventoryprofiles.config.name.disable_block_breaking_cooldown": "Disable Block Breaking Cooldown", + "inventoryprofiles.config.name.disable_item_use_cooldown": "Disable Item Use Cooldown", + "inventoryprofiles.config.name.disable_screen_shaking_on_damage": "Disable Screen Shaking On Damage", + "inventoryprofiles.config.name.disable_lava_fog": "Disable Lava Fog", + "inventoryprofiles.config.description.instant_mining_cooldown": "Adds breaking delay to the blocks that you can instantly mine. This option has lower priority than \"disableBlockBreakingCooldown\".", + "inventoryprofiles.config.description.disable_block_breaking_cooldown": "Removes breaking delay for all blocks", + "inventoryprofiles.config.description.disable_item_use_cooldown": "Removes use key cooldown so you can have equivalently 1 right click every game tick. Can use along with Tweakeroo \"tweakPlacementRestriction\".", + "inventoryprofiles.config.description.disable_screen_shaking_on_damage": "Receiving damage no longer shakes your screen", + "inventoryprofiles.config.description.disable_lava_fog": "Allows you to have a clearer view underneath lava", + "inventoryprofiles.gui.config.Debugs": "Debugs", + "inventoryprofiles.config.category.debugs": "Debugs", + "inventoryprofiles.config.name.debug_screen": "Debug Screen", + "inventoryprofiles.config.description.debug_screen": "Open debug screen", + "inventoryprofiles.enum.sorting_method.global": "Global (%s)", + "inventoryprofiles.enum.sorting_method.default": "Default (Creative Menu)", + "inventoryprofiles.enum.sorting_method.item_name": "Item Name", + "inventoryprofiles.enum.sorting_method.item_id": "Item ID", + "inventoryprofiles.enum.sorting_method.raw_id": "Item Numerical ID", + "inventoryprofiles.enum.sorting_method.custom": "Custom Rule", + "inventoryprofiles.enum.post_action.none": "None", + "inventoryprofiles.enum.post_action.group_in_rows": "Group In Rows", + "inventoryprofiles.enum.post_action.group_in_columns": "Group In Columns", + "inventoryprofiles.enum.post_action.distribute_evenly": "Distribute Evenly", + "inventoryprofiles.enum.post_action.shuffle": "Shuffle", + "inventoryprofiles.enum.post_action.fill_one": "Fill One", + "inventoryprofiles.enum.post_action.reverse": "Reverse", + "inventoryprofiles.enum.threshold_unit.absolute": "Absolute Value", + "inventoryprofiles.enum.threshold_unit.percentage": "Percentage (%%)", + "inventoryprofiles.enum.continuous_crafting_checkbox_value.remember": "Remember", + "inventoryprofiles.enum.continuous_crafting_checkbox_value.checked": "Checked", + "inventoryprofiles.enum.continuous_crafting_checkbox_value.unchecked": "Unchecked", + "inventoryprofiles.enum.switch_type.toggle": "Toggle", + "inventoryprofiles.enum.switch_type.hold": "Hold", + "inventoryprofiles.tooltip.sort_button": "Sort Inventory", + "inventoryprofiles.tooltip.sort_columns_button": "Sort Inventory in Columns", + "inventoryprofiles.tooltip.sort_rows_button": "Sort Inventory in Rows", + "inventoryprofiles.tooltip.move_all_button.title_move_matching": "Move Matching Items", + "inventoryprofiles.tooltip.move_all_button.title_move_all": "Move All Items", + "inventoryprofiles.tooltip.move_all_button.include_hotbar": "§6Hold §o%s§r\n§6 - Include Hotbar", + "inventoryprofiles.tooltip.move_all_button.exclude_hotbar": "§6Hold §o%s§r\n§6 - Exclude Hotbar", + "inventoryprofiles.tooltip.move_all_button.move_all": "§6Hold §o%s§r\n§6 - Move All", + "inventoryprofiles.tooltip.move_all_button.move_matching_only": "§6Hold §o%s§r\n§6 - Move Matching Only", + "inventoryprofiles.tooltip.continuous_crafting_checkbox": "Continuous Crafting" } \ No newline at end of file diff --git a/src/main/resources/assets/inventoryprofilesnext/lang/pl_pl.json b/src/main/resources/assets/inventoryprofilesnext/lang/pl_pl.json index d9236ca2..4fef2b48 100644 --- a/src/main/resources/assets/inventoryprofilesnext/lang/pl_pl.json +++ b/src/main/resources/assets/inventoryprofilesnext/lang/pl_pl.json @@ -1,284 +1,180 @@ { - - "inventoryprofiles.gui.config.title": "Inventory Profiles v%s — menu konfiguracyjne", - - "inventoryprofiles.common.gui.config.reset": "Resetuj", - "inventoryprofiles.common.gui.config.true": "§2true §r§o§7(prawda)", - "inventoryprofiles.common.gui.config.false": "§4false §r§o§7(fałsz)", - "inventoryprofiles.common.gui.config.yes": "tak", - "inventoryprofiles.common.gui.config.no": "nie", - "inventoryprofiles.common.gui.config.more": " ...(więcej)", - - "inventoryprofiles.common.gui.config.advanced_keybind_settings": "Zaawansowane ustawienia klawiszy", - "inventoryprofiles.common.gui.config.activate_on": "Aktywacja przy", - "inventoryprofiles.common.gui.config.context": "Kontekst", - "inventoryprofiles.common.gui.config.allow_extra_keys": "Dodatk. klaw.", - "inventoryprofiles.common.gui.config.order_sensitive": "Uwzg. kolejność", - "inventoryprofiles.common.gui.config.modifier_key": "Ctrl/Alt/Shift", - "inventoryprofiles.common.gui.config.keybind_settings_tips": "- LPM – konfiguruj\n- PPM przywróć domyślne", - - "inventoryprofiles.common.enum.key_action.press": "kliknięciu", - "inventoryprofiles.common.enum.key_action.release": "zwolnieniu", - "inventoryprofiles.common.enum.key_action.both": "klik. / zwoln.", - "inventoryprofiles.common.enum.context.ingame": "W grze", - "inventoryprofiles.common.enum.context.gui": "Interfejs", - "inventoryprofiles.common.enum.context.any": "W grze / interf.", - "inventoryprofiles.common.enum.modifier_key.differentiate": "Rozr. prawy/lewy", - "inventoryprofiles.common.enum.modifier_key.normal": "Normalnie", - - - - - - - - - - - - "inventoryprofiles.gui.config.ModSettings": "Ustawienia moda", - - "inventoryprofiles.config.category.inventory_sorting": "Opcje sortowania", - "inventoryprofiles.config.category.move_matching_items": "Przemieść pasujące przedmioty", - "inventoryprofiles.config.category.auto_refill": "Autouzupełnianie", - "inventoryprofiles.config.category.advanced_options": "Opcje zaawansowane", - - "inventoryprofiles.config.name.open_config_folder": "§aOtwórz folder konfiguracji", - "inventoryprofiles.config.name.reload_rule_files": "§aPrzeładuj pliki z regułami", - "inventoryprofiles.config.description.open_config_folder": "Otwórz folder .minecraft/config/inventoryprofilesnext", - "inventoryprofiles.config.description.reload_rule_files": "Przeładuj plik rule.*.txt w folderu kofiguracji", - "inventoryprofiles.gui.config.button.open_config_folder": "config/inventoryprofilesnext", - "inventoryprofiles.gui.config.button.reload_rule_files": "Przeładuj plik rule.*.txt", - "inventoryprofiles.gui.config.button.reload_rule_files.reloaded": "Wszystko przeładowane!", - - "inventoryprofiles.config.name.sort_order": "Kolejność sortowania", - "inventoryprofiles.config.name.custom_rule": "Niestandardowa reguła", - "inventoryprofiles.config.description.sort_order": "Metoda wykorzystywana przy sortowaniu ekwipunku", - "inventoryprofiles.config.description.custom_rule": "Reguła niestandardowej metody sortowania", - - "inventoryprofiles.config.name.include_hotbar_modifier": "Modyfikator: uwzględnij pasek narzędzi", - "inventoryprofiles.config.name.move_all_modifier": "Modyfikator: przemieszczaj wszystko", - "inventoryprofiles.config.name.always_include_hotbar": "Zawsze uwzględniaj pasek narzędzi", - "inventoryprofiles.config.name.always_move_all": "Zawsze przemieszczaj wszystko", - "inventoryprofiles.config.description.include_hotbar_modifier": "Przytrzymaj ten klawisz, by uwzględnić pasek narzędzi", - "inventoryprofiles.config.description.move_all_modifier": "Przytrzymaj ten klawisz, by przemieścić wszystko", - "inventoryprofiles.config.description.always_include_hotbar": "Uwzględnij pasek narzędni, nie przytrzymując klawisza modyfikatora (przytrzymanie klawisza wykluczy pasek narzędzi)", - "inventoryprofiles.config.description.always_move_all": "Przemieść wszystko, nie przytrzymując klawisza modyfikatora (przytrzymanie klawisza przemieści tylko pasujące przedmioty)", - - "inventoryprofiles.config.name.enable_auto_refill": "Aktywuj autouzupełnianie", - "inventoryprofiles.config.name.disable_for_drop_item": "Wyłącz przy upuszczaniu przedmiotu", - "inventoryprofiles.config.name.refill_armor": "Uzupełnij zbroję", - "inventoryprofiles.config.name.refill_before_tool_break": "Uzupełnij zaraz przez zniszczeniem narzędzia", - "inventoryprofiles.config.name.tool_damage_threshold": "Próg zużycia narzędzia", - "inventoryprofiles.config.name.threshold_unit": "Jednostka progu", - "inventoryprofiles.config.name.auto_refill_wait_tick": "Opóźnienie autouzupełnienia (w tickach)", - "inventoryprofiles.config.description.enable_auto_refill": "Uzupełnij przedmiot w ręku po jego zużyciu", - "inventoryprofiles.config.description.disable_for_drop_item": "Wyłącz autozupełnianie przy upuszczaniu przedmiotu", - "inventoryprofiles.config.description.refill_armor": "Uzupełnij element zbroi po jego zużyciu", - "inventoryprofiles.config.description.refill_before_tool_break": "Uzupełnij narzędzie/zbroję, nim trwałość spadnie do zera (próg określany w pozycji „Próg zużycia narzędzia”)", - "inventoryprofiles.config.description.tool_damage_threshold": "Gdy trwałość przedmiotu spadnie poniżej tej wartości (absolutnej lub procentowej), uzupełnij go.", - "inventoryprofiles.config.description.threshold_unit": "Ustal jednostkę opcji „Próg zużycia narzędzia” (wartość absolutna lub procentowa (%%))", - "inventoryprofiles.config.description.auto_refill_wait_tick": "Odczekaj n ticków po zużyciu przedmiotu, a dopiero potem go uzupełnij. Możliwie przydnatne na lagujących serwerach.", - - "inventoryprofiles.config.name.add_interval_between_clicks": "Interwał pomiędzy kliknięciami", - "inventoryprofiles.config.name.interval_between_clicks_ms": "Interwał pomiędzy kliknięciami (ms)", - "inventoryprofiles.config.name.restock_hotbar": "Uzupełniaj pasek narzędzi", - "inventoryprofiles.config.name.sort_at_cursor": "Sortuj w miejscu kursora", - "inventoryprofiles.config.name.move_all_at_cursor": "Przemieść w miejsce kursora", - "inventoryprofiles.config.name.stop_at_screen_close": "Zarzymaj po zamknięciu ekranu", - "inventoryprofiles.config.description.add_interval_between_clicks": "Dodaje interwał pomiędzy kliknięciami podczas sortowania. Długość interwału można ustawić w pozycji \"intervalBetweenClicksMs\". Może okazać się przydatne na lagujących serwerach i takich z wyłączoną zasadą inventory.fastclick. (By obejść niektóre serwery, zaleca się 67 ms)", - "inventoryprofiles.config.description.interval_between_clicks_ms": "Interwał między kliknięciami mierzony w milisekundach. (By obejść niektóre serwery, zaleca się 67 ms)", - "inventoryprofiles.config.description.restock_hotbar": "Automatycznie uzupełnij pasek narzędzi podczas sortowania", - "inventoryprofiles.config.description.sort_at_cursor": "Gdy prawda, wykorzystanie sortowania paska narzędzi posortuje pola, które wskazuje kursor. W przeciwnym razie, zawsze posortowany zostanie zbiornik.", - "inventoryprofiles.config.description.move_all_at_cursor": "Gdy kursor wskazuje zbiornik, klawisz „Przemieść wszystko” przemieszcza ze zbiornika do gracza. W przeciwnym razie, zawsze przemieści od gracza do zbiornika.", - "inventoryprofiles.config.description.stop_at_screen_close": "Zatrzymaj sortowanie (gdy zaznaczono opcję „Interwał pomiędzy kliknięciami”) po zamknięciu ekranu ekwipunku", - - "inventoryprofiles.config.name.debug_logs": "Dzienniki debugowania", - "inventoryprofiles.config.description.debug_logs": "Drukuje komunikaty błędów", - - - - - - - - - - - "inventoryprofiles.gui.config.GuiSettings": "Ustawienia interfejsu", - "inventoryprofiles.config.category.inventory": "Ekwipunek", - - "inventoryprofiles.config.name.show_continuous_crafting_checkbox": "Pokaż pole wyboru tworzenia ciągłego", - "inventoryprofiles.config.name.continuous_crafting_checkbox_value": "§bWartość pola wyboru", - "inventoryprofiles.config.name.continuous_crafting_saved_value": "§bZapisana wartość", - "inventoryprofiles.config.name.show_regular_sort_button": "Pokaż przycisk zwykłego sortowania", - "inventoryprofiles.config.name.regular_post_action": "§bFunckja przycisku", - "inventoryprofiles.config.name.regular_sort_order": "§bKolejność sortowania", - "inventoryprofiles.config.name.regular_custom_rule": "§bNiestandardowa reguła", - "inventoryprofiles.config.name.show_sort_in_columns_button": "Pokaż przycisk sortowania w kolumnach", - "inventoryprofiles.config.name.in_columns_post_action": "§bFunckja przycisku", - "inventoryprofiles.config.name.in_columns_sort_order": "§bKolejność sortowania", - "inventoryprofiles.config.name.in_columns_custom_rule": "§bNiestandardowa reguła", - "inventoryprofiles.config.name.show_sort_in_rows_button": "Pokaż przycisk sortowania w rzędach", - "inventoryprofiles.config.name.in_rows_post_action": "§bFunckja przycisku", - "inventoryprofiles.config.name.in_rows_sort_order": "§bKolejność sortowania", - "inventoryprofiles.config.name.in_rows_custom_rule": "§bNiestandardowa reguła", - "inventoryprofiles.config.name.show_move_all_button": "Pokaż przycisk „Przemieść wszystko”", - "inventoryprofiles.config.name.show_button_tooltips": "Pokazuj etykiety przycisków", - - "inventoryprofiles.config.description.show_continuous_crafting_checkbox": "Pokaż pole wyboru tworzenia ciągłego (stół rzemieśćlniczy i ekwipunek)\nTworzenie ciągłe: autouzupełnianie pól ze składnikami", - "inventoryprofiles.config.description.continuous_crafting_checkbox_value": "Zapamiętuj wartość pola wyboru albo ustaw wybraną wartość przy otwarciu okna", - "inventoryprofiles.config.description.continuous_crafting_saved_value": "Wartość pola wyboru zapisana wewnętrznie", - "inventoryprofiles.config.description.show_regular_sort_button": "Pokaż przycisk zwykłego sortowania w interfejsie", - "inventoryprofiles.config.description.regular_post_action": "Ustaw funkcję przycisku zwykłego sortowania", - "inventoryprofiles.config.description.regular_sort_order": "Ustaw kolejność sortowania przycisku zwykłego sortowania", - "inventoryprofiles.config.description.regular_custom_rule": "Ustaw niestandardową regułę przycisku zwykłego sortowania", - "inventoryprofiles.config.description.show_sort_in_columns_button": "Pokaż przycisk sortowania w kolumnach w interfejsie", - "inventoryprofiles.config.description.in_columns_post_action": "Ustaw funkcję przycisku sortowania w kolumnach", - "inventoryprofiles.config.description.in_columns_sort_order": "Ustaw kolejność sortowania przycisku sortowania w kolumnach", - "inventoryprofiles.config.description.in_columns_custom_rule": "Ustaw niestandardową regułę przycisku sortowania w kolumnach", - "inventoryprofiles.config.description.show_sort_in_rows_button": "Pokaż przycisk sortowania w rzędach w interfejsie", - "inventoryprofiles.config.description.in_rows_post_action": "Ustaw funkcję przycisku sortowania w rzędach", - "inventoryprofiles.config.description.in_rows_sort_order": "Ustaw kolejność sortowania przycisku sortowania w rzędach", - "inventoryprofiles.config.description.in_rows_custom_rule": "Ustaw niestandardową regułę przycisku sortowania w rzędach", - "inventoryprofiles.config.description.show_move_all_button": "Pokaż przycisk „Przemieść wszystko” w interfejsie", - "inventoryprofiles.config.description.show_button_tooltips": "Pokaż etykiety po najechaniu kursorem na przyciski w interfejsie", - - - - - - - - - - - "inventoryprofiles.gui.config.EditProfiles": "Edytuj profile", - "inventoryprofiles.config.category.coming_soon": "Już wkrótce!", - - - - - - - - - - - "inventoryprofiles.gui.config.Hotkeys": "Klawisze", - "inventoryprofiles.config.category.hotkeys": "Przypisane klawisze", - "inventoryprofiles.config.category.misc": "Różne", - - "inventoryprofiles.config.name.open_config_menu": "Otwórz menu konfiguracji", - "inventoryprofiles.config.name.sort_inventory": "Sortuj ekwipunek", - "inventoryprofiles.config.name.sort_inventory_in_columns": "Sortuj ekwipunek w kolumnach", - "inventoryprofiles.config.name.sort_inventory_in_rows": "Sortuj ekwipunek w rzędach", - "inventoryprofiles.config.name.move_all_items": "Przemieść wszystko", - "inventoryprofiles.config.name.dump_item_nbt_to_chat": "Zrzuć tagi NBT przedmiotów do czatu", - - "inventoryprofiles.config.description.open_config_menu": "Przycisk otwierający menu konfiguracyjne z poziomu gry", - "inventoryprofiles.config.description.sort_inventory": "Przycisk sortowania ekwipunku", - "inventoryprofiles.config.description.sort_inventory_in_columns": "Przycisk sortujący ekwipunek w kolumnach", - "inventoryprofiles.config.description.sort_inventory_in_rows": "Przycisk sortujący ekwipunek w rzędach", - "inventoryprofiles.config.description.move_all_items": "Przycisk przemieszczający wszystkie przedmioty będące uprzednio w zbiorniku", - "inventoryprofiles.config.description.dump_item_nbt_to_chat": "Drukuje łańuch tagów NBT przedmiotu na czacie", - - - - - - - - - - - "inventoryprofiles.gui.config.Tweaks": "Łatki", - "inventoryprofiles.config.category.client_side_tweaks": "Łatki klienta", - "inventoryprofiles.config.category.survival": "Przetrwanie", - - "inventoryprofiles.config.name.prevent_close_gui_drop_item": "Zapob. upuszcz. przedm. po zamk. interf.", - "inventoryprofiles.config.name.container_swipe_moving_items": "Zgarniaj przedm. jednym pociągnięciem", - "inventoryprofiles.config.name.swipe_move_crafting_result_slot": "Zgarnianie wytworzonego przedmiotu", - "inventoryprofiles.config.description.prevent_close_gui_drop_item": "Przedmioty trzymane kursorem nie zostaną upuszczone po zamknięciu interfejsu", - "inventoryprofiles.config.description.container_swipe_moving_items": "Pozwala na przemieszczanie przedmiotów spod kursora przy użyciu LPM i klawisza Shift", - "inventoryprofiles.config.description.swipe_move_crafting_result_slot": "Zezwól na zgarnianie przedmiotów jednym pociągnięciem z pola wytworzonego przedmiotu", - - "inventoryprofiles.config.name.instant_mining_cooldown": "Opóźnienie natychmiastowego wydobycia", - "inventoryprofiles.config.name.disable_block_breaking_cooldown": "Wyłącz opóźnienie niszczenia bloku", - "inventoryprofiles.config.name.disable_item_use_cooldown": "Wyłącz opóźnienie między użyciami przedmiotu", - "inventoryprofiles.config.name.disable_screen_shaking_on_damage": "Wyłącz wstrząs ekranu po otrzymaniu obrażeń", - "inventoryprofiles.config.name.disable_lava_fog": "Wyłącz ograniczone widzenie w lawie", - "inventoryprofiles.config.description.instant_mining_cooldown": "Dodaje opóźnienie niszczenia bloków, które można od razu zniszczyć. Ta opcja ma niższy priorytet niż „disableBlockBreakingCooldown”.", - "inventoryprofiles.config.description.disable_block_breaking_cooldown": "Usuwa opóźnienie w niszczeniu bloków", - "inventoryprofiles.config.description.disable_item_use_cooldown": "Usuwa opóźnienie między kliknięciami klawisza „użyj”, dzięki czemu możesz mieć równo jedno kliknięcie PPM co jeden tick w grze. Można używać wraz z regułą „tweakPlacementRestriction” moda Tweakeroo.", - "inventoryprofiles.config.description.disable_screen_shaking_on_damage": "Twój ekran nie przechyli się po otrzymaniu obrażeń", - "inventoryprofiles.config.description.disable_lava_fog": "Pozwala widzieć wyraźnie pod powierzchnią lawy.", - - - - - - - - - - - "inventoryprofiles.gui.config.Debugs": "Debugowanie", - "inventoryprofiles.config.category.debugs": "Debugowanie", - - "inventoryprofiles.config.name.debug_screen": "Ekran debugowania", - "inventoryprofiles.config.description.debug_screen": "Otwórz ekran debugowania", - - - - - - - - - - - - - - - - - - - - - "inventoryprofiles.enum.sorting_method.global": "Globalnie (%s)", - "inventoryprofiles.enum.sorting_method.default": "Domyślnie (menu tr. kreatywnego)", - "inventoryprofiles.enum.sorting_method.item_name": "Wg nazwy przedmiotu", - "inventoryprofiles.enum.sorting_method.item_id": "Wg ID przedmiotu", - "inventoryprofiles.enum.sorting_method.raw_id": "Wg numerycznego ID przedmiotu", - "inventoryprofiles.enum.sorting_method.custom": "Wg niestandardowej reguły", - - "inventoryprofiles.enum.post_action.none": "Brak", - "inventoryprofiles.enum.post_action.group_in_rows": "Grupuj w rzędach", - "inventoryprofiles.enum.post_action.group_in_columns": "Grupuj w kolumnach", - "inventoryprofiles.enum.post_action.distribute_evenly":"Rozprowadź równomiernie", - "inventoryprofiles.enum.post_action.shuffle": "Pomieszaj", - "inventoryprofiles.enum.post_action.fill_one": "Wypełnij jedno pole", - "inventoryprofiles.enum.post_action.reverse": "Odwrotnie", - - "inventoryprofiles.enum.threshold_unit.absolute": "Wartość absolutna", - "inventoryprofiles.enum.threshold_unit.percentage": "Wartość procentowa (%%)", - - "inventoryprofiles.enum.continuous_crafting_checkbox_value.remember": "Pamiętaj", - "inventoryprofiles.enum.continuous_crafting_checkbox_value.checked": "Zaznaczone", - "inventoryprofiles.enum.continuous_crafting_checkbox_value.unchecked": "Odznaczone", - - - "inventoryprofiles.tooltip.sort_button": "Sortuj ekwipunek", - "inventoryprofiles.tooltip.sort_columns_button": "Sortuj ekwipunek w kolumnach", - "inventoryprofiles.tooltip.sort_rows_button": "Sortuj ekwipunek w rzędach", - "inventoryprofiles.tooltip.move_all_button.title_move_matching": "Przemieść pasujące", - "inventoryprofiles.tooltip.move_all_button.title_move_all": "Przemieść wszystko", - "inventoryprofiles.tooltip.move_all_button.include_hotbar": "§6Przytrzymaj klawisz §o%s§r\n§6 - Uwzględnij pasek narzędzi", - "inventoryprofiles.tooltip.move_all_button.exclude_hotbar": "§6Przytrzymaj klawisz §o%s§r\n§6 - Wyklucz pasek narzędzi", - "inventoryprofiles.tooltip.move_all_button.move_all": "§6Przytrzymaj klawisz §o%s§r\n§6 - Przemieść wszystko", - "inventoryprofiles.tooltip.move_all_button.move_matching_only": "§6Przytrzymaj klawisz §o%s§r\n§6 - Przemieść tylko pasujące", - "inventoryprofiles.tooltip.continuous_crafting_checkbox": "Tworzenie ciągłe" + "inventoryprofiles.gui.config.title": "Inventory Profiles v%s — menu konfiguracyjne", + "inventoryprofiles.common.gui.config.reset": "Resetuj", + "inventoryprofiles.common.gui.config.true": "§2true §r§o§7(prawda)", + "inventoryprofiles.common.gui.config.false": "§4false §r§o§7(fałsz)", + "inventoryprofiles.common.gui.config.yes": "tak", + "inventoryprofiles.common.gui.config.no": "nie", + "inventoryprofiles.common.gui.config.more": " ...(więcej)", + "inventoryprofiles.common.gui.config.advanced_keybind_settings": "Zaawansowane ustawienia klawiszy", + "inventoryprofiles.common.gui.config.activate_on": "Aktywacja przy", + "inventoryprofiles.common.gui.config.context": "Kontekst", + "inventoryprofiles.common.gui.config.allow_extra_keys": "Dodatk. klaw.", + "inventoryprofiles.common.gui.config.order_sensitive": "Uwzg. kolejność", + "inventoryprofiles.common.gui.config.modifier_key": "Ctrl/Alt/Shift", + "inventoryprofiles.common.gui.config.keybind_settings_tips": "- LPM – konfiguruj\n- PPM przywróć domyślne", + "inventoryprofiles.common.enum.key_action.press": "kliknięciu", + "inventoryprofiles.common.enum.key_action.release": "zwolnieniu", + "inventoryprofiles.common.enum.key_action.both": "klik. / zwoln.", + "inventoryprofiles.common.enum.context.ingame": "W grze", + "inventoryprofiles.common.enum.context.gui": "Interfejs", + "inventoryprofiles.common.enum.context.any": "W grze / interf.", + "inventoryprofiles.common.enum.modifier_key.differentiate": "Rozr. prawy/lewy", + "inventoryprofiles.common.enum.modifier_key.normal": "Normalnie", + "inventoryprofiles.gui.config.ModSettings": "Ustawienia moda", + "inventoryprofiles.config.category.inventory_sorting": "Opcje sortowania", + "inventoryprofiles.config.category.move_matching_items": "Przemieść pasujące przedmioty", + "inventoryprofiles.config.category.auto_refill": "Autouzupełnianie", + "inventoryprofiles.config.category.advanced_options": "Opcje zaawansowane", + "inventoryprofiles.config.name.open_config_folder": "§aOtwórz folder konfiguracji", + "inventoryprofiles.config.name.reload_rule_files": "§aPrzeładuj pliki z regułami", + "inventoryprofiles.config.description.open_config_folder": "Otwórz folder .minecraft/config/inventoryprofilesnext", + "inventoryprofiles.config.description.reload_rule_files": "Przeładuj plik rule.*.txt w folderu kofiguracji", + "inventoryprofiles.gui.config.button.open_config_folder": "config/inventoryprofilesnext", + "inventoryprofiles.gui.config.button.reload_rule_files": "Przeładuj plik rule.*.txt", + "inventoryprofiles.gui.config.button.reload_rule_files.reloaded": "Wszystko przeładowane!", + "inventoryprofiles.config.name.sort_order": "Kolejność sortowania", + "inventoryprofiles.config.name.custom_rule": "Niestandardowa reguła", + "inventoryprofiles.config.description.sort_order": "Metoda wykorzystywana przy sortowaniu ekwipunku", + "inventoryprofiles.config.description.custom_rule": "Reguła niestandardowej metody sortowania", + "inventoryprofiles.config.name.include_hotbar_modifier": "Modyfikator: uwzględnij pasek narzędzi", + "inventoryprofiles.config.name.move_all_modifier": "Modyfikator: przemieszczaj wszystko", + "inventoryprofiles.config.name.always_include_hotbar": "Zawsze uwzględniaj pasek narzędzi", + "inventoryprofiles.config.name.always_move_all": "Zawsze przemieszczaj wszystko", + "inventoryprofiles.config.description.include_hotbar_modifier": "Przytrzymaj ten klawisz, by uwzględnić pasek narzędzi", + "inventoryprofiles.config.description.move_all_modifier": "Przytrzymaj ten klawisz, by przemieścić wszystko", + "inventoryprofiles.config.description.always_include_hotbar": "Uwzględnij pasek narzędni, nie przytrzymując klawisza modyfikatora (przytrzymanie klawisza wykluczy pasek narzędzi)", + "inventoryprofiles.config.description.always_move_all": "Przemieść wszystko, nie przytrzymując klawisza modyfikatora (przytrzymanie klawisza przemieści tylko pasujące przedmioty)", + "inventoryprofiles.config.name.enable_auto_refill": "Aktywuj autouzupełnianie", + "inventoryprofiles.config.name.disable_for_drop_item": "Wyłącz przy upuszczaniu przedmiotu", + "inventoryprofiles.config.name.refill_armor": "Uzupełnij zbroję", + "inventoryprofiles.config.name.refill_before_tool_break": "Uzupełnij zaraz przez zniszczeniem narzędzia", + "inventoryprofiles.config.name.tool_damage_threshold": "Próg zużycia narzędzia", + "inventoryprofiles.config.name.threshold_unit": "Jednostka progu", + "inventoryprofiles.config.name.auto_refill_wait_tick": "Opóźnienie autouzupełnienia (w tickach)", + "inventoryprofiles.config.description.enable_auto_refill": "Uzupełnij przedmiot w ręku po jego zużyciu", + "inventoryprofiles.config.description.disable_for_drop_item": "Wyłącz autozupełnianie przy upuszczaniu przedmiotu", + "inventoryprofiles.config.description.refill_armor": "Uzupełnij element zbroi po jego zużyciu", + "inventoryprofiles.config.description.refill_before_tool_break": "Uzupełnij narzędzie/zbroję, nim trwałość spadnie do zera (próg określany w pozycji „Próg zużycia narzędzia”)", + "inventoryprofiles.config.description.tool_damage_threshold": "Gdy trwałość przedmiotu spadnie poniżej tej wartości (absolutnej lub procentowej), uzupełnij go.", + "inventoryprofiles.config.description.threshold_unit": "Ustal jednostkę opcji „Próg zużycia narzędzia” (wartość absolutna lub procentowa (%%))", + "inventoryprofiles.config.description.auto_refill_wait_tick": "Odczekaj n ticków po zużyciu przedmiotu, a dopiero potem go uzupełnij. Możliwie przydnatne na lagujących serwerach.", + "inventoryprofiles.config.name.add_interval_between_clicks": "Interwał pomiędzy kliknięciami", + "inventoryprofiles.config.name.interval_between_clicks_ms": "Interwał pomiędzy kliknięciami (ms)", + "inventoryprofiles.config.name.restock_hotbar": "Uzupełniaj pasek narzędzi", + "inventoryprofiles.config.name.sort_at_cursor": "Sortuj w miejscu kursora", + "inventoryprofiles.config.name.move_all_at_cursor": "Przemieść w miejsce kursora", + "inventoryprofiles.config.name.stop_at_screen_close": "Zarzymaj po zamknięciu ekranu", + "inventoryprofiles.config.description.add_interval_between_clicks": "Dodaje interwał pomiędzy kliknięciami podczas sortowania. Długość interwału można ustawić w pozycji \"intervalBetweenClicksMs\". Może okazać się przydatne na lagujących serwerach i takich z wyłączoną zasadą inventory.fastclick. (By obejść niektóre serwery, zaleca się 67 ms)", + "inventoryprofiles.config.description.interval_between_clicks_ms": "Interwał między kliknięciami mierzony w milisekundach. (By obejść niektóre serwery, zaleca się 67 ms)", + "inventoryprofiles.config.description.restock_hotbar": "Automatycznie uzupełnij pasek narzędzi podczas sortowania", + "inventoryprofiles.config.description.sort_at_cursor": "Gdy prawda, wykorzystanie sortowania paska narzędzi posortuje pola, które wskazuje kursor. W przeciwnym razie, zawsze posortowany zostanie zbiornik.", + "inventoryprofiles.config.description.move_all_at_cursor": "Gdy kursor wskazuje zbiornik, klawisz „Przemieść wszystko” przemieszcza ze zbiornika do gracza. W przeciwnym razie, zawsze przemieści od gracza do zbiornika.", + "inventoryprofiles.config.description.stop_at_screen_close": "Zatrzymaj sortowanie (gdy zaznaczono opcję „Interwał pomiędzy kliknięciami”) po zamknięciu ekranu ekwipunku", + "inventoryprofiles.config.name.debug_logs": "Dzienniki debugowania", + "inventoryprofiles.config.description.debug_logs": "Drukuje komunikaty błędów", + "inventoryprofiles.gui.config.GuiSettings": "Ustawienia interfejsu", + "inventoryprofiles.config.category.inventory": "Ekwipunek", + "inventoryprofiles.config.name.show_continuous_crafting_checkbox": "Pokaż pole wyboru tworzenia ciągłego", + "inventoryprofiles.config.name.continuous_crafting_checkbox_value": "§bWartość pola wyboru", + "inventoryprofiles.config.name.continuous_crafting_saved_value": "§bZapisana wartość", + "inventoryprofiles.config.name.show_regular_sort_button": "Pokaż przycisk zwykłego sortowania", + "inventoryprofiles.config.name.regular_post_action": "§bFunckja przycisku", + "inventoryprofiles.config.name.regular_sort_order": "§bKolejność sortowania", + "inventoryprofiles.config.name.regular_custom_rule": "§bNiestandardowa reguła", + "inventoryprofiles.config.name.show_sort_in_columns_button": "Pokaż przycisk sortowania w kolumnach", + "inventoryprofiles.config.name.in_columns_post_action": "§bFunckja przycisku", + "inventoryprofiles.config.name.in_columns_sort_order": "§bKolejność sortowania", + "inventoryprofiles.config.name.in_columns_custom_rule": "§bNiestandardowa reguła", + "inventoryprofiles.config.name.show_sort_in_rows_button": "Pokaż przycisk sortowania w rzędach", + "inventoryprofiles.config.name.in_rows_post_action": "§bFunckja przycisku", + "inventoryprofiles.config.name.in_rows_sort_order": "§bKolejność sortowania", + "inventoryprofiles.config.name.in_rows_custom_rule": "§bNiestandardowa reguła", + "inventoryprofiles.config.name.show_move_all_button": "Pokaż przycisk „Przemieść wszystko”", + "inventoryprofiles.config.name.show_button_tooltips": "Pokazuj etykiety przycisków", + "inventoryprofiles.config.description.show_continuous_crafting_checkbox": "Pokaż pole wyboru tworzenia ciągłego (stół rzemieśćlniczy i ekwipunek)\nTworzenie ciągłe: autouzupełnianie pól ze składnikami", + "inventoryprofiles.config.description.continuous_crafting_checkbox_value": "Zapamiętuj wartość pola wyboru albo ustaw wybraną wartość przy otwarciu okna", + "inventoryprofiles.config.description.continuous_crafting_saved_value": "Wartość pola wyboru zapisana wewnętrznie", + "inventoryprofiles.config.description.show_regular_sort_button": "Pokaż przycisk zwykłego sortowania w interfejsie", + "inventoryprofiles.config.description.regular_post_action": "Ustaw funkcję przycisku zwykłego sortowania", + "inventoryprofiles.config.description.regular_sort_order": "Ustaw kolejność sortowania przycisku zwykłego sortowania", + "inventoryprofiles.config.description.regular_custom_rule": "Ustaw niestandardową regułę przycisku zwykłego sortowania", + "inventoryprofiles.config.description.show_sort_in_columns_button": "Pokaż przycisk sortowania w kolumnach w interfejsie", + "inventoryprofiles.config.description.in_columns_post_action": "Ustaw funkcję przycisku sortowania w kolumnach", + "inventoryprofiles.config.description.in_columns_sort_order": "Ustaw kolejność sortowania przycisku sortowania w kolumnach", + "inventoryprofiles.config.description.in_columns_custom_rule": "Ustaw niestandardową regułę przycisku sortowania w kolumnach", + "inventoryprofiles.config.description.show_sort_in_rows_button": "Pokaż przycisk sortowania w rzędach w interfejsie", + "inventoryprofiles.config.description.in_rows_post_action": "Ustaw funkcję przycisku sortowania w rzędach", + "inventoryprofiles.config.description.in_rows_sort_order": "Ustaw kolejność sortowania przycisku sortowania w rzędach", + "inventoryprofiles.config.description.in_rows_custom_rule": "Ustaw niestandardową regułę przycisku sortowania w rzędach", + "inventoryprofiles.config.description.show_move_all_button": "Pokaż przycisk „Przemieść wszystko” w interfejsie", + "inventoryprofiles.config.description.show_button_tooltips": "Pokaż etykiety po najechaniu kursorem na przyciski w interfejsie", + "inventoryprofiles.gui.config.EditProfiles": "Edytuj profile", + "inventoryprofiles.config.category.coming_soon": "Już wkrótce!", + "inventoryprofiles.gui.config.Hotkeys": "Klawisze", + "inventoryprofiles.config.category.hotkeys": "Przypisane klawisze", + "inventoryprofiles.config.category.misc": "Różne", + "inventoryprofiles.config.name.open_config_menu": "Otwórz menu konfiguracji", + "inventoryprofiles.config.name.sort_inventory": "Sortuj ekwipunek", + "inventoryprofiles.config.name.sort_inventory_in_columns": "Sortuj ekwipunek w kolumnach", + "inventoryprofiles.config.name.sort_inventory_in_rows": "Sortuj ekwipunek w rzędach", + "inventoryprofiles.config.name.move_all_items": "Przemieść wszystko", + "inventoryprofiles.config.name.dump_item_nbt_to_chat": "Zrzuć tagi NBT przedmiotów do czatu", + "inventoryprofiles.config.description.open_config_menu": "Przycisk otwierający menu konfiguracyjne z poziomu gry", + "inventoryprofiles.config.description.sort_inventory": "Przycisk sortowania ekwipunku", + "inventoryprofiles.config.description.sort_inventory_in_columns": "Przycisk sortujący ekwipunek w kolumnach", + "inventoryprofiles.config.description.sort_inventory_in_rows": "Przycisk sortujący ekwipunek w rzędach", + "inventoryprofiles.config.description.move_all_items": "Przycisk przemieszczający wszystkie przedmioty będące uprzednio w zbiorniku", + "inventoryprofiles.config.description.dump_item_nbt_to_chat": "Drukuje łańuch tagów NBT przedmiotu na czacie", + "inventoryprofiles.gui.config.Tweaks": "Łatki", + "inventoryprofiles.config.category.client_side_tweaks": "Łatki klienta", + "inventoryprofiles.config.category.survival": "Przetrwanie", + "inventoryprofiles.config.name.prevent_close_gui_drop_item": "Zapob. upuszcz. przedm. po zamk. interf.", + "inventoryprofiles.config.name.container_swipe_moving_items": "Zgarniaj przedm. jednym pociągnięciem", + "inventoryprofiles.config.name.swipe_move_crafting_result_slot": "Zgarnianie wytworzonego przedmiotu", + "inventoryprofiles.config.description.prevent_close_gui_drop_item": "Przedmioty trzymane kursorem nie zostaną upuszczone po zamknięciu interfejsu", + "inventoryprofiles.config.description.container_swipe_moving_items": "Pozwala na przemieszczanie przedmiotów spod kursora przy użyciu LPM i klawisza Shift", + "inventoryprofiles.config.description.swipe_move_crafting_result_slot": "Zezwól na zgarnianie przedmiotów jednym pociągnięciem z pola wytworzonego przedmiotu", + "inventoryprofiles.config.name.instant_mining_cooldown": "Opóźnienie natychmiastowego wydobycia", + "inventoryprofiles.config.name.disable_block_breaking_cooldown": "Wyłącz opóźnienie niszczenia bloku", + "inventoryprofiles.config.name.disable_item_use_cooldown": "Wyłącz opóźnienie między użyciami przedmiotu", + "inventoryprofiles.config.name.disable_screen_shaking_on_damage": "Wyłącz wstrząs ekranu po otrzymaniu obrażeń", + "inventoryprofiles.config.name.disable_lava_fog": "Wyłącz ograniczone widzenie w lawie", + "inventoryprofiles.config.description.instant_mining_cooldown": "Dodaje opóźnienie niszczenia bloków, które można od razu zniszczyć. Ta opcja ma niższy priorytet niż „disableBlockBreakingCooldown”.", + "inventoryprofiles.config.description.disable_block_breaking_cooldown": "Usuwa opóźnienie w niszczeniu bloków", + "inventoryprofiles.config.description.disable_item_use_cooldown": "Usuwa opóźnienie między kliknięciami klawisza „użyj”, dzięki czemu możesz mieć równo jedno kliknięcie PPM co jeden tick w grze. Można używać wraz z regułą „tweakPlacementRestriction” moda Tweakeroo.", + "inventoryprofiles.config.description.disable_screen_shaking_on_damage": "Twój ekran nie przechyli się po otrzymaniu obrażeń", + "inventoryprofiles.config.description.disable_lava_fog": "Pozwala widzieć wyraźnie pod powierzchnią lawy.", + "inventoryprofiles.gui.config.Debugs": "Debugowanie", + "inventoryprofiles.config.category.debugs": "Debugowanie", + "inventoryprofiles.config.name.debug_screen": "Ekran debugowania", + "inventoryprofiles.config.description.debug_screen": "Otwórz ekran debugowania", + "inventoryprofiles.enum.sorting_method.global": "Globalnie (%s)", + "inventoryprofiles.enum.sorting_method.default": "Domyślnie (menu tr. kreatywnego)", + "inventoryprofiles.enum.sorting_method.item_name": "Wg nazwy przedmiotu", + "inventoryprofiles.enum.sorting_method.item_id": "Wg ID przedmiotu", + "inventoryprofiles.enum.sorting_method.raw_id": "Wg numerycznego ID przedmiotu", + "inventoryprofiles.enum.sorting_method.custom": "Wg niestandardowej reguły", + "inventoryprofiles.enum.post_action.none": "Brak", + "inventoryprofiles.enum.post_action.group_in_rows": "Grupuj w rzędach", + "inventoryprofiles.enum.post_action.group_in_columns": "Grupuj w kolumnach", + "inventoryprofiles.enum.post_action.distribute_evenly": "Rozprowadź równomiernie", + "inventoryprofiles.enum.post_action.shuffle": "Pomieszaj", + "inventoryprofiles.enum.post_action.fill_one": "Wypełnij jedno pole", + "inventoryprofiles.enum.post_action.reverse": "Odwrotnie", + "inventoryprofiles.enum.threshold_unit.absolute": "Wartość absolutna", + "inventoryprofiles.enum.threshold_unit.percentage": "Wartość procentowa (%%)", + "inventoryprofiles.enum.continuous_crafting_checkbox_value.remember": "Pamiętaj", + "inventoryprofiles.enum.continuous_crafting_checkbox_value.checked": "Zaznaczone", + "inventoryprofiles.enum.continuous_crafting_checkbox_value.unchecked": "Odznaczone", + "inventoryprofiles.tooltip.sort_button": "Sortuj ekwipunek", + "inventoryprofiles.tooltip.sort_columns_button": "Sortuj ekwipunek w kolumnach", + "inventoryprofiles.tooltip.sort_rows_button": "Sortuj ekwipunek w rzędach", + "inventoryprofiles.tooltip.move_all_button.title_move_matching": "Przemieść pasujące", + "inventoryprofiles.tooltip.move_all_button.title_move_all": "Przemieść wszystko", + "inventoryprofiles.tooltip.move_all_button.include_hotbar": "§6Przytrzymaj klawisz §o%s§r\n§6 - Uwzględnij pasek narzędzi", + "inventoryprofiles.tooltip.move_all_button.exclude_hotbar": "§6Przytrzymaj klawisz §o%s§r\n§6 - Wyklucz pasek narzędzi", + "inventoryprofiles.tooltip.move_all_button.move_all": "§6Przytrzymaj klawisz §o%s§r\n§6 - Przemieść wszystko", + "inventoryprofiles.tooltip.move_all_button.move_matching_only": "§6Przytrzymaj klawisz §o%s§r\n§6 - Przemieść tylko pasujące", + "inventoryprofiles.tooltip.continuous_crafting_checkbox": "Tworzenie ciągłe" } diff --git a/src/main/resources/assets/inventoryprofilesnext/lang/ru_ru.json b/src/main/resources/assets/inventoryprofilesnext/lang/ru_ru.json index da3d2bee..47d7ba39 100644 --- a/src/main/resources/assets/inventoryprofilesnext/lang/ru_ru.json +++ b/src/main/resources/assets/inventoryprofilesnext/lang/ru_ru.json @@ -1,265 +1,162 @@ { - - "inventoryprofiles.gui.config.title": "Меню настройки Inventory Profiles v%s", - - "inventoryprofiles.common.gui.config.reset": "Сброс", - "inventoryprofiles.common.gui.config.true": "§2да", - "inventoryprofiles.common.gui.config.false": "§4нет", - "inventoryprofiles.common.gui.config.yes": "да", - "inventoryprofiles.common.gui.config.no": "нет", - "inventoryprofiles.common.gui.config.more": " ...(больше)", - - "inventoryprofiles.common.gui.config.advanced_keybind_settings": "Расширенные настройки привязки клавиш", - "inventoryprofiles.common.gui.config.activate_on": "Activate On", - "inventoryprofiles.common.gui.config.context": "Context", - "inventoryprofiles.common.gui.config.allow_extra_keys": "Allow Extra Keys", - "inventoryprofiles.common.gui.config.order_sensitive": "Order Sensitive", - "inventoryprofiles.common.gui.config.keybind_settings_tips": "- Нажмите левую клавишу мыши, чтобы настроить\n- правую клавишу, чтобы сбросить", - - "inventoryprofiles.common.enum.key_action.press": "Press", - "inventoryprofiles.common.enum.key_action.release": "Release", - "inventoryprofiles.common.enum.key_action.both": "Press / Release", - "inventoryprofiles.common.enum.context.ingame": "В игре", - "inventoryprofiles.common.enum.context.gui": "Интерфейс", - "inventoryprofiles.common.enum.context.any": "В игре / Интерфейс", - - - - - - - - - - - - "inventoryprofiles.gui.config.ModSettings": "Настройки", - - "inventoryprofiles.config.category.inventory_sorting": "Настройки сортировки", - "inventoryprofiles.config.category.auto_refill": "Авто-замена", - "inventoryprofiles.config.category.advanced_options": "Расширенные настройки", - - "inventoryprofiles.config.name.open_config_folder": "§aОткрыть директорию", - "inventoryprofiles.config.name.reload_rule_files": "§aПерезагрузить файлы с правилами", - "inventoryprofiles.config.description.open_config_folder": "Открыть папку .minecraft/config/inventoryprofilesnext", - "inventoryprofiles.config.description.reload_rule_files": "Перезагрузить директорию rule.*.txt", - "inventoryprofiles.gui.config.button.open_config_folder": "config/inventoryprofilesnext", - "inventoryprofiles.gui.config.button.reload_rule_files": "Перезагрузить rule.*.txt", - "inventoryprofiles.gui.config.button.reload_rule_files.reloaded": "Перезагрузка завершена!", - - "inventoryprofiles.config.name.sort_order": "Порядок сортировки", - "inventoryprofiles.config.name.custom_rule": "Пользовательское правило", - "inventoryprofiles.config.description.sort_order": "Данный метод сортировки используется в данный момент", - "inventoryprofiles.config.description.custom_rule": "Правило для пользовательского метода сортировки", - - "inventoryprofiles.config.name.enable_auto_refill": "Включить авто-замену", - "inventoryprofiles.config.name.disable_for_drop_item": "Заменять, если предмет был выброшен", - "inventoryprofiles.config.name.refill_armor": "Заменять броню", - "inventoryprofiles.config.name.refill_before_tool_break": "Заменять инструмент до поломки", - "inventoryprofiles.config.name.tool_damage_threshold": "Заменять, если прочность ниже:", - "inventoryprofiles.config.name.threshold_unit": "Пороговое значение", - "inventoryprofiles.config.name.auto_refill_wait_tick": "Задержка авто-замены", - "inventoryprofiles.config.description.enable_auto_refill": "Заменять инструмент в руке, если он был сломан", - "inventoryprofiles.config.description.disable_for_drop_item": "Заменять предмет в руке, если он был выброшен", - "inventoryprofiles.config.description.refill_armor": "Заменять броню в слотах экипировки, если они были сломаны", - "inventoryprofiles.config.description.refill_before_tool_break": "Заменять инструменты/броню до полной их поломки", - "inventoryprofiles.config.description.tool_damage_threshold": "Заменять предмет, если его прочность ниже указанного значения (в цифрах или %).", - "inventoryprofiles.config.description.threshold_unit": "Устанавливает значение, при достижении которого предмет будет заменен (в цифрах или процентах)", - "inventoryprofiles.config.description.auto_refill_wait_tick": "Ожидает заданное количество тиков после поломки предмета, после чего заменяет его новым. Может быть полезным на перегруженных серверах.", - - "inventoryprofiles.config.name.add_interval_between_clicks": "Добавить интервал между нажатиями", - "inventoryprofiles.config.name.interval_between_clicks_ms": "Интервал между нажатиями (мс)", - "inventoryprofiles.config.name.restock_hotbar": "Restock Hotbar", - "inventoryprofiles.config.name.sort_at_cursor": "Сортировать под курсором", - "inventoryprofiles.config.name.move_all_at_cursor": "Move All At Cursor", - "inventoryprofiles.config.name.stop_at_screen_close": "Stop At Screen Close", - "inventoryprofiles.config.description.add_interval_between_clicks": "Добавляет короткий интервал между кликами при сортировке. Значение интервала может быть установлено в \"intervalBetweenClicksMs\". Может быть полезным на перегруженных серверах.", - "inventoryprofiles.config.description.interval_between_clicks_ms": "Interval between clicks. In milliseconds. (To bypass some servers, 67 ms is recommended)", - "inventoryprofiles.config.description.restock_hotbar": "Auto restock your hotbar while sorting", - "inventoryprofiles.config.description.sort_at_cursor": "When this is true, using hotkey sorting will sort the slots that curosr is pointing to. Otherwise it will always sort the container.", - "inventoryprofiles.config.description.move_all_at_cursor": "When curosr is pointing container, \"Move All\" hotkey move from container to player. Otherwise it will always move from player to container.", - "inventoryprofiles.config.description.stop_at_screen_close": "Stop sorting (when \"Add Interval Between Clicks\" enabled) if inventory screen is closed", - - "inventoryprofiles.config.name.debug_logs": "Журнал отладки", - "inventoryprofiles.config.description.debug_logs": "Отображает сообщения отладки", - - - - - - - - - - - "inventoryprofiles.gui.config.GuiSettings": "Настройки интерфейса", - "inventoryprofiles.config.category.inventory": "Инвентарь", - - "inventoryprofiles.config.name.show_continuous_crafting_checkbox": "Show Continuous Crafting Checkbox", - "inventoryprofiles.config.name.continuous_crafting_checkbox_value": "§bCheckbox Value", - "inventoryprofiles.config.name.continuous_crafting_saved_value": "§bСохраненное значение", - "inventoryprofiles.config.name.show_regular_sort_button": "Показывать клавишу обычной сортировки в инвентаре", - "inventoryprofiles.config.name.regular_post_action": "§bЧто она делает", - "inventoryprofiles.config.name.regular_sort_order": "§bПорядок сортировки", - "inventoryprofiles.config.name.regular_custom_rule": "§bПользовательское правило", - "inventoryprofiles.config.name.show_sort_in_columns_button": "Показывать клавишу сортировки в колонки в инвентаре", - "inventoryprofiles.config.name.in_columns_post_action": "§bЧто она делает", - "inventoryprofiles.config.name.in_columns_sort_order": "§bПорядок сортировки", - "inventoryprofiles.config.name.in_columns_custom_rule": "§bПользовательское правило", - "inventoryprofiles.config.name.show_sort_in_rows_button": "Показывать клавишу сортировки в линии в инвентаре", - "inventoryprofiles.config.name.in_rows_post_action": "§bЧто она делает", - "inventoryprofiles.config.name.in_rows_sort_order": "§bПорядок сортировки", - "inventoryprofiles.config.name.in_rows_custom_rule": "§bПользовательское правило", - "inventoryprofiles.config.name.show_move_all_button": "Показать клавишу для данного действия", - "inventoryprofiles.config.name.show_button_tooltips": "Show Button Tooltips", - - "inventoryprofiles.config.description.show_continuous_crafting_checkbox": "Show continuous crafting checkbox on GUI (crafting table & survival inventory)\nContinuous Crafting: Auto refill the ingredient slots", - "inventoryprofiles.config.description.continuous_crafting_checkbox_value": "Remember the checkbox value or set it next time of opening screen", - "inventoryprofiles.config.description.continuous_crafting_saved_value": "Internal saved value of checkbox", - "inventoryprofiles.config.description.show_regular_sort_button": "Show regular sort button on GUI", - "inventoryprofiles.config.description.regular_post_action": "Set the post action for regular sort button", - "inventoryprofiles.config.description.regular_sort_order": "Set the sort order for regular sort button", - "inventoryprofiles.config.description.regular_custom_rule": "Set the custom rule for regular sort button", - "inventoryprofiles.config.description.show_sort_in_columns_button": "Show sort in columns button on GUI", - "inventoryprofiles.config.description.in_columns_post_action": "Set the post action for sort in columns button", - "inventoryprofiles.config.description.in_columns_sort_order": "Set the sort order for sort in columns button", - "inventoryprofiles.config.description.in_columns_custom_rule": "Set the custom rule for sort in columns button", - "inventoryprofiles.config.description.show_sort_in_rows_button": "Show sort in rows button on GUI", - "inventoryprofiles.config.description.in_rows_post_action": "Set the post action for sort in rows button", - "inventoryprofiles.config.description.in_rows_sort_order": "Set the sort order for sort in rows button", - "inventoryprofiles.config.description.in_rows_custom_rule": "Set the custom rule for sort in rows button", - "inventoryprofiles.config.description.show_move_all_button": "Show move all buttons on GUI", - "inventoryprofiles.config.description.show_button_tooltips": "Display tooltips when cursor hover the buttons on GUI", - - - - - - - - - - - "inventoryprofiles.gui.config.EditProfiles": "Профили", - "inventoryprofiles.config.category.coming_soon": "Скоро будет!", - - - - - - - - - - - "inventoryprofiles.gui.config.Hotkeys": "Горячие клавиши", - "inventoryprofiles.config.category.hotkeys": "Горячие клавиши", - - "inventoryprofiles.config.name.open_config_menu": "Открыть меню настроек", - "inventoryprofiles.config.name.sort_inventory": "Отсортировать инвентарь", - "inventoryprofiles.config.name.sort_inventory_in_columns": "Отсортировать инвентарь в колонки", - "inventoryprofiles.config.name.sort_inventory_in_rows": "Отсортировать инвентарь в линии", - "inventoryprofiles.config.name.move_all_items": "Переместить все предметы", - "inventoryprofiles.config.name.dump_item_nbt_to_chat": "Линк предмета в чат", - - "inventoryprofiles.config.description.open_config_menu": "Клавиша для открытия внутриигровых настроек интерфейса", - "inventoryprofiles.config.description.sort_inventory": "Клавиша сортировки", - "inventoryprofiles.config.description.sort_inventory_in_columns": "Клавиша сортировки в колонки", - "inventoryprofiles.config.description.sort_inventory_in_rows": "Клавиша сортировки в линии", - "inventoryprofiles.config.description.move_all_items": "Клавиша для перемещения всех предметов, находящихся в контейнере", - "inventoryprofiles.config.description.dump_item_nbt_to_chat": "Отправляет наименование предмета вместе с его NBT-данными в чат", - - - - - - - - - - - "inventoryprofiles.gui.config.Tweaks": "Полезности", - "inventoryprofiles.config.category.client_side_tweaks": "Клиент", - "inventoryprofiles.config.category.survival": "Выживание", - - "inventoryprofiles.config.name.prevent_close_gui_drop_item": "Prevent Close Gui Drop Item", - "inventoryprofiles.config.name.container_swipe_moving_items": "Container Swipe Moving Items", - "inventoryprofiles.config.name.swipe_move_crafting_result_slot": "Swipe Move Crafting Result Slot", - "inventoryprofiles.config.description.prevent_close_gui_drop_item": "Выход из интерфейса больше не будет провоцировать выбрасывание предмета, удерживаемого курсором", - "inventoryprofiles.config.description.container_swipe_moving_items": "Позволяет перемещать предметы в слоты, находящиеся под курсором, удерживая шифт и левую клавишу мыши", - "inventoryprofiles.config.description.swipe_move_crafting_result_slot": "Enable \"Swipe Moving Items\" in crafting result slot", - - "inventoryprofiles.config.name.instant_mining_cooldown": "Instant Mining Cooldown", - "inventoryprofiles.config.name.disable_block_breaking_cooldown": "Disable Block Breaking Cooldown", - "inventoryprofiles.config.name.disable_item_use_cooldown": "Disable Item Use Cooldown", - "inventoryprofiles.config.name.disable_screen_shaking_on_damage": "Отключает дрожание экрана при получении урона", - "inventoryprofiles.config.name.disable_lava_fog": "Отключить эффект тумана в лаве", - "inventoryprofiles.config.description.instant_mining_cooldown": "Adds breaking delay to the blocks that you can instantly mine. This option has lower priority than \"disableBlockBreakingCooldown\".", - "inventoryprofiles.config.description.disable_block_breaking_cooldown": "Removes breaking delay for all blocks", - "inventoryprofiles.config.description.disable_item_use_cooldown": "Removes use key cooldown so you can have equivalently 1 right click every game tick. Can use along with Tweakeroo \"tweakPlacementRestriction\".", - "inventoryprofiles.config.description.disable_screen_shaking_on_damage": "При получении урона ваш экран больше не будет трястись", - "inventoryprofiles.config.description.disable_lava_fog": "Позволяет лучше видеть, будучи под лавой", - - - - - - - - - - - "inventoryprofiles.gui.config.Debugs": "Отладка", - "inventoryprofiles.config.category.debugs": "Отладка", - - "inventoryprofiles.config.name.debug_screen": "Окно отладки", - "inventoryprofiles.config.description.debug_screen": "Открыть меню откладки", - - - - - - - - - - - - - - - - - - - - - "inventoryprofiles.enum.sorting_method.global": "Общий (%s)", - "inventoryprofiles.enum.sorting_method.default": "Стандартный", - "inventoryprofiles.enum.sorting_method.item_name": "По имени предмета", - "inventoryprofiles.enum.sorting_method.item_id": "По ID предмета", - "inventoryprofiles.enum.sorting_method.raw_id": "По числовому ID предмета", - "inventoryprofiles.enum.sorting_method.custom": "Пользовательское правило", - - "inventoryprofiles.enum.post_action.none": "Отсутствует", - "inventoryprofiles.enum.post_action.group_in_rows": "Группировать в линии", - "inventoryprofiles.enum.post_action.group_in_columns": "Группировать в колонки", - "inventoryprofiles.enum.post_action.distribute_evenly":"Distribute Evenly", - "inventoryprofiles.enum.post_action.shuffle": "Перемешивать", - "inventoryprofiles.enum.post_action.fill_one": "Fill One", - "inventoryprofiles.enum.post_action.reverse": "Reverse", - - "inventoryprofiles.enum.threshold_unit.absolute": "В цифрах", - "inventoryprofiles.enum.threshold_unit.percentage": "В процентах", - - "inventoryprofiles.enum.continuous_crafting_checkbox_value.remember": "Запомнить", - "inventoryprofiles.enum.continuous_crafting_checkbox_value.checked": "Проверено", - "inventoryprofiles.enum.continuous_crafting_checkbox_value.unchecked": "Не проверено", - - - "inventoryprofiles.tooltip.sort_button": "Отсортировать инвентарь", - "inventoryprofiles.tooltip.sort_columns_button": "Отсортировать инвентарь в колонки", - "inventoryprofiles.tooltip.sort_rows_button": "Отсортировать инвентарь в линии", - "inventoryprofiles.tooltip.move_all_button": "Move Matching Items\n§6Hold §oALT§r\n§6 - Include Hotbar\n§6Hold §oSHIFT§r\n§6 - Move All§r", - "inventoryprofiles.tooltip.continuous_crafting_checkbox": "Непрерывный крафт" + "inventoryprofiles.gui.config.title": "Меню настройки Inventory Profiles v%s", + "inventoryprofiles.common.gui.config.reset": "Сброс", + "inventoryprofiles.common.gui.config.true": "§2да", + "inventoryprofiles.common.gui.config.false": "§4нет", + "inventoryprofiles.common.gui.config.yes": "да", + "inventoryprofiles.common.gui.config.no": "нет", + "inventoryprofiles.common.gui.config.more": " ...(больше)", + "inventoryprofiles.common.gui.config.advanced_keybind_settings": "Расширенные настройки привязки клавиш", + "inventoryprofiles.common.gui.config.activate_on": "Activate On", + "inventoryprofiles.common.gui.config.context": "Context", + "inventoryprofiles.common.gui.config.allow_extra_keys": "Allow Extra Keys", + "inventoryprofiles.common.gui.config.order_sensitive": "Order Sensitive", + "inventoryprofiles.common.gui.config.keybind_settings_tips": "- Нажмите левую клавишу мыши, чтобы настроить\n- правую клавишу, чтобы сбросить", + "inventoryprofiles.common.enum.key_action.press": "Press", + "inventoryprofiles.common.enum.key_action.release": "Release", + "inventoryprofiles.common.enum.key_action.both": "Press / Release", + "inventoryprofiles.common.enum.context.ingame": "В игре", + "inventoryprofiles.common.enum.context.gui": "Интерфейс", + "inventoryprofiles.common.enum.context.any": "В игре / Интерфейс", + "inventoryprofiles.gui.config.ModSettings": "Настройки", + "inventoryprofiles.config.category.inventory_sorting": "Настройки сортировки", + "inventoryprofiles.config.category.auto_refill": "Авто-замена", + "inventoryprofiles.config.category.advanced_options": "Расширенные настройки", + "inventoryprofiles.config.name.open_config_folder": "§aОткрыть директорию", + "inventoryprofiles.config.name.reload_rule_files": "§aПерезагрузить файлы с правилами", + "inventoryprofiles.config.description.open_config_folder": "Открыть папку .minecraft/config/inventoryprofilesnext", + "inventoryprofiles.config.description.reload_rule_files": "Перезагрузить директорию rule.*.txt", + "inventoryprofiles.gui.config.button.open_config_folder": "config/inventoryprofilesnext", + "inventoryprofiles.gui.config.button.reload_rule_files": "Перезагрузить rule.*.txt", + "inventoryprofiles.gui.config.button.reload_rule_files.reloaded": "Перезагрузка завершена!", + "inventoryprofiles.config.name.sort_order": "Порядок сортировки", + "inventoryprofiles.config.name.custom_rule": "Пользовательское правило", + "inventoryprofiles.config.description.sort_order": "Данный метод сортировки используется в данный момент", + "inventoryprofiles.config.description.custom_rule": "Правило для пользовательского метода сортировки", + "inventoryprofiles.config.name.enable_auto_refill": "Включить авто-замену", + "inventoryprofiles.config.name.disable_for_drop_item": "Заменять, если предмет был выброшен", + "inventoryprofiles.config.name.refill_armor": "Заменять броню", + "inventoryprofiles.config.name.refill_before_tool_break": "Заменять инструмент до поломки", + "inventoryprofiles.config.name.tool_damage_threshold": "Заменять, если прочность ниже:", + "inventoryprofiles.config.name.threshold_unit": "Пороговое значение", + "inventoryprofiles.config.name.auto_refill_wait_tick": "Задержка авто-замены", + "inventoryprofiles.config.description.enable_auto_refill": "Заменять инструмент в руке, если он был сломан", + "inventoryprofiles.config.description.disable_for_drop_item": "Заменять предмет в руке, если он был выброшен", + "inventoryprofiles.config.description.refill_armor": "Заменять броню в слотах экипировки, если они были сломаны", + "inventoryprofiles.config.description.refill_before_tool_break": "Заменять инструменты/броню до полной их поломки", + "inventoryprofiles.config.description.tool_damage_threshold": "Заменять предмет, если его прочность ниже указанного значения (в цифрах или %).", + "inventoryprofiles.config.description.threshold_unit": "Устанавливает значение, при достижении которого предмет будет заменен (в цифрах или процентах)", + "inventoryprofiles.config.description.auto_refill_wait_tick": "Ожидает заданное количество тиков после поломки предмета, после чего заменяет его новым. Может быть полезным на перегруженных серверах.", + "inventoryprofiles.config.name.add_interval_between_clicks": "Добавить интервал между нажатиями", + "inventoryprofiles.config.name.interval_between_clicks_ms": "Интервал между нажатиями (мс)", + "inventoryprofiles.config.name.restock_hotbar": "Restock Hotbar", + "inventoryprofiles.config.name.sort_at_cursor": "Сортировать под курсором", + "inventoryprofiles.config.name.move_all_at_cursor": "Move All At Cursor", + "inventoryprofiles.config.name.stop_at_screen_close": "Stop At Screen Close", + "inventoryprofiles.config.description.add_interval_between_clicks": "Добавляет короткий интервал между кликами при сортировке. Значение интервала может быть установлено в \"intervalBetweenClicksMs\". Может быть полезным на перегруженных серверах.", + "inventoryprofiles.config.description.interval_between_clicks_ms": "Interval between clicks. In milliseconds. (To bypass some servers, 67 ms is recommended)", + "inventoryprofiles.config.description.restock_hotbar": "Auto restock your hotbar while sorting", + "inventoryprofiles.config.description.sort_at_cursor": "When this is true, using hotkey sorting will sort the slots that curosr is pointing to. Otherwise it will always sort the container.", + "inventoryprofiles.config.description.move_all_at_cursor": "When curosr is pointing container, \"Move All\" hotkey move from container to player. Otherwise it will always move from player to container.", + "inventoryprofiles.config.description.stop_at_screen_close": "Stop sorting (when \"Add Interval Between Clicks\" enabled) if inventory screen is closed", + "inventoryprofiles.config.name.debug_logs": "Журнал отладки", + "inventoryprofiles.config.description.debug_logs": "Отображает сообщения отладки", + "inventoryprofiles.gui.config.GuiSettings": "Настройки интерфейса", + "inventoryprofiles.config.category.inventory": "Инвентарь", + "inventoryprofiles.config.name.show_continuous_crafting_checkbox": "Show Continuous Crafting Checkbox", + "inventoryprofiles.config.name.continuous_crafting_checkbox_value": "§bCheckbox Value", + "inventoryprofiles.config.name.continuous_crafting_saved_value": "§bСохраненное значение", + "inventoryprofiles.config.name.show_regular_sort_button": "Показывать клавишу обычной сортировки в инвентаре", + "inventoryprofiles.config.name.regular_post_action": "§bЧто она делает", + "inventoryprofiles.config.name.regular_sort_order": "§bПорядок сортировки", + "inventoryprofiles.config.name.regular_custom_rule": "§bПользовательское правило", + "inventoryprofiles.config.name.show_sort_in_columns_button": "Показывать клавишу сортировки в колонки в инвентаре", + "inventoryprofiles.config.name.in_columns_post_action": "§bЧто она делает", + "inventoryprofiles.config.name.in_columns_sort_order": "§bПорядок сортировки", + "inventoryprofiles.config.name.in_columns_custom_rule": "§bПользовательское правило", + "inventoryprofiles.config.name.show_sort_in_rows_button": "Показывать клавишу сортировки в линии в инвентаре", + "inventoryprofiles.config.name.in_rows_post_action": "§bЧто она делает", + "inventoryprofiles.config.name.in_rows_sort_order": "§bПорядок сортировки", + "inventoryprofiles.config.name.in_rows_custom_rule": "§bПользовательское правило", + "inventoryprofiles.config.name.show_move_all_button": "Показать клавишу для данного действия", + "inventoryprofiles.config.name.show_button_tooltips": "Show Button Tooltips", + "inventoryprofiles.config.description.show_continuous_crafting_checkbox": "Show continuous crafting checkbox on GUI (crafting table & survival inventory)\nContinuous Crafting: Auto refill the ingredient slots", + "inventoryprofiles.config.description.continuous_crafting_checkbox_value": "Remember the checkbox value or set it next time of opening screen", + "inventoryprofiles.config.description.continuous_crafting_saved_value": "Internal saved value of checkbox", + "inventoryprofiles.config.description.show_regular_sort_button": "Show regular sort button on GUI", + "inventoryprofiles.config.description.regular_post_action": "Set the post action for regular sort button", + "inventoryprofiles.config.description.regular_sort_order": "Set the sort order for regular sort button", + "inventoryprofiles.config.description.regular_custom_rule": "Set the custom rule for regular sort button", + "inventoryprofiles.config.description.show_sort_in_columns_button": "Show sort in columns button on GUI", + "inventoryprofiles.config.description.in_columns_post_action": "Set the post action for sort in columns button", + "inventoryprofiles.config.description.in_columns_sort_order": "Set the sort order for sort in columns button", + "inventoryprofiles.config.description.in_columns_custom_rule": "Set the custom rule for sort in columns button", + "inventoryprofiles.config.description.show_sort_in_rows_button": "Show sort in rows button on GUI", + "inventoryprofiles.config.description.in_rows_post_action": "Set the post action for sort in rows button", + "inventoryprofiles.config.description.in_rows_sort_order": "Set the sort order for sort in rows button", + "inventoryprofiles.config.description.in_rows_custom_rule": "Set the custom rule for sort in rows button", + "inventoryprofiles.config.description.show_move_all_button": "Show move all buttons on GUI", + "inventoryprofiles.config.description.show_button_tooltips": "Display tooltips when cursor hover the buttons on GUI", + "inventoryprofiles.gui.config.EditProfiles": "Профили", + "inventoryprofiles.config.category.coming_soon": "Скоро будет!", + "inventoryprofiles.gui.config.Hotkeys": "Горячие клавиши", + "inventoryprofiles.config.category.hotkeys": "Горячие клавиши", + "inventoryprofiles.config.name.open_config_menu": "Открыть меню настроек", + "inventoryprofiles.config.name.sort_inventory": "Отсортировать инвентарь", + "inventoryprofiles.config.name.sort_inventory_in_columns": "Отсортировать инвентарь в колонки", + "inventoryprofiles.config.name.sort_inventory_in_rows": "Отсортировать инвентарь в линии", + "inventoryprofiles.config.name.move_all_items": "Переместить все предметы", + "inventoryprofiles.config.name.dump_item_nbt_to_chat": "Линк предмета в чат", + "inventoryprofiles.config.description.open_config_menu": "Клавиша для открытия внутриигровых настроек интерфейса", + "inventoryprofiles.config.description.sort_inventory": "Клавиша сортировки", + "inventoryprofiles.config.description.sort_inventory_in_columns": "Клавиша сортировки в колонки", + "inventoryprofiles.config.description.sort_inventory_in_rows": "Клавиша сортировки в линии", + "inventoryprofiles.config.description.move_all_items": "Клавиша для перемещения всех предметов, находящихся в контейнере", + "inventoryprofiles.config.description.dump_item_nbt_to_chat": "Отправляет наименование предмета вместе с его NBT-данными в чат", + "inventoryprofiles.gui.config.Tweaks": "Полезности", + "inventoryprofiles.config.category.client_side_tweaks": "Клиент", + "inventoryprofiles.config.category.survival": "Выживание", + "inventoryprofiles.config.name.prevent_close_gui_drop_item": "Prevent Close Gui Drop Item", + "inventoryprofiles.config.name.container_swipe_moving_items": "Container Swipe Moving Items", + "inventoryprofiles.config.name.swipe_move_crafting_result_slot": "Swipe Move Crafting Result Slot", + "inventoryprofiles.config.description.prevent_close_gui_drop_item": "Выход из интерфейса больше не будет провоцировать выбрасывание предмета, удерживаемого курсором", + "inventoryprofiles.config.description.container_swipe_moving_items": "Позволяет перемещать предметы в слоты, находящиеся под курсором, удерживая шифт и левую клавишу мыши", + "inventoryprofiles.config.description.swipe_move_crafting_result_slot": "Enable \"Swipe Moving Items\" in crafting result slot", + "inventoryprofiles.config.name.instant_mining_cooldown": "Instant Mining Cooldown", + "inventoryprofiles.config.name.disable_block_breaking_cooldown": "Disable Block Breaking Cooldown", + "inventoryprofiles.config.name.disable_item_use_cooldown": "Disable Item Use Cooldown", + "inventoryprofiles.config.name.disable_screen_shaking_on_damage": "Отключает дрожание экрана при получении урона", + "inventoryprofiles.config.name.disable_lava_fog": "Отключить эффект тумана в лаве", + "inventoryprofiles.config.description.instant_mining_cooldown": "Adds breaking delay to the blocks that you can instantly mine. This option has lower priority than \"disableBlockBreakingCooldown\".", + "inventoryprofiles.config.description.disable_block_breaking_cooldown": "Removes breaking delay for all blocks", + "inventoryprofiles.config.description.disable_item_use_cooldown": "Removes use key cooldown so you can have equivalently 1 right click every game tick. Can use along with Tweakeroo \"tweakPlacementRestriction\".", + "inventoryprofiles.config.description.disable_screen_shaking_on_damage": "При получении урона ваш экран больше не будет трястись", + "inventoryprofiles.config.description.disable_lava_fog": "Позволяет лучше видеть, будучи под лавой", + "inventoryprofiles.gui.config.Debugs": "Отладка", + "inventoryprofiles.config.category.debugs": "Отладка", + "inventoryprofiles.config.name.debug_screen": "Окно отладки", + "inventoryprofiles.config.description.debug_screen": "Открыть меню откладки", + "inventoryprofiles.enum.sorting_method.global": "Общий (%s)", + "inventoryprofiles.enum.sorting_method.default": "Стандартный", + "inventoryprofiles.enum.sorting_method.item_name": "По имени предмета", + "inventoryprofiles.enum.sorting_method.item_id": "По ID предмета", + "inventoryprofiles.enum.sorting_method.raw_id": "По числовому ID предмета", + "inventoryprofiles.enum.sorting_method.custom": "Пользовательское правило", + "inventoryprofiles.enum.post_action.none": "Отсутствует", + "inventoryprofiles.enum.post_action.group_in_rows": "Группировать в линии", + "inventoryprofiles.enum.post_action.group_in_columns": "Группировать в колонки", + "inventoryprofiles.enum.post_action.distribute_evenly": "Distribute Evenly", + "inventoryprofiles.enum.post_action.shuffle": "Перемешивать", + "inventoryprofiles.enum.post_action.fill_one": "Fill One", + "inventoryprofiles.enum.post_action.reverse": "Reverse", + "inventoryprofiles.enum.threshold_unit.absolute": "В цифрах", + "inventoryprofiles.enum.threshold_unit.percentage": "В процентах", + "inventoryprofiles.enum.continuous_crafting_checkbox_value.remember": "Запомнить", + "inventoryprofiles.enum.continuous_crafting_checkbox_value.checked": "Проверено", + "inventoryprofiles.enum.continuous_crafting_checkbox_value.unchecked": "Не проверено", + "inventoryprofiles.tooltip.sort_button": "Отсортировать инвентарь", + "inventoryprofiles.tooltip.sort_columns_button": "Отсортировать инвентарь в колонки", + "inventoryprofiles.tooltip.sort_rows_button": "Отсортировать инвентарь в линии", + "inventoryprofiles.tooltip.move_all_button": "Move Matching Items\n§6Hold §oALT§r\n§6 - Include Hotbar\n§6Hold §oSHIFT§r\n§6 - Move All§r", + "inventoryprofiles.tooltip.continuous_crafting_checkbox": "Непрерывный крафт" } diff --git a/src/main/resources/assets/inventoryprofilesnext/lang/zh_cn.json b/src/main/resources/assets/inventoryprofilesnext/lang/zh_cn.json index b1bc50b4..b4250547 100644 --- a/src/main/resources/assets/inventoryprofilesnext/lang/zh_cn.json +++ b/src/main/resources/assets/inventoryprofilesnext/lang/zh_cn.json @@ -1,265 +1,162 @@ { - - "inventoryprofiles.gui.config.title": "Inventory Profiles v%s 配置菜单", - - "inventoryprofiles.common.gui.config.reset": "重置", - "inventoryprofiles.common.gui.config.true": "§2开", - "inventoryprofiles.common.gui.config.false": "§4关", - "inventoryprofiles.common.gui.config.yes": "是", - "inventoryprofiles.common.gui.config.no": "否", - "inventoryprofiles.common.gui.config.more": " ...(更多)", - - "inventoryprofiles.common.gui.config.advanced_keybind_settings": "进阶按键选项", - "inventoryprofiles.common.gui.config.activate_on": "触发在", - "inventoryprofiles.common.gui.config.context": "情景", - "inventoryprofiles.common.gui.config.allow_extra_keys": "允许额外按键", - "inventoryprofiles.common.gui.config.order_sensitive": "顺序敏感", - "inventoryprofiles.common.gui.config.keybind_settings_tips": "- 左键进入配置\n- 右键重置为默认值", - - "inventoryprofiles.common.enum.key_action.press": "按下", - "inventoryprofiles.common.enum.key_action.release": "放开", - "inventoryprofiles.common.enum.key_action.both": "按下 / 放开", - "inventoryprofiles.common.enum.context.ingame": "游戏内", - "inventoryprofiles.common.enum.context.gui": "介面", - "inventoryprofiles.common.enum.context.any": "游戏内 / 介面", - - - - - - - - - - - - "inventoryprofiles.gui.config.ModSettings": "Mod 设置", - - "inventoryprofiles.config.category.inventory_sorting": "整理选项", - "inventoryprofiles.config.category.auto_refill": "Auto Refill", - "inventoryprofiles.config.category.advanced_options": "Advanced Options", - - "inventoryprofiles.config.name.open_config_folder": "§aOpen Config Folder", - "inventoryprofiles.config.name.reload_rule_files": "§aReload Rule Files", - "inventoryprofiles.config.description.open_config_folder": "Open folder .minecraft/config/inventoryprofilesnext", - "inventoryprofiles.config.description.reload_rule_files": "Reload rule.*.txt files in config folder", - "inventoryprofiles.gui.config.button.open_config_folder": "config/inventoryprofilesnext", - "inventoryprofiles.gui.config.button.reload_rule_files": "Reload rule.*.txt", - "inventoryprofiles.gui.config.button.reload_rule_files.reloaded": "All reloaded!", - - "inventoryprofiles.config.name.sort_order": "排序方式", - "inventoryprofiles.config.name.custom_rule": "Custom Rule", - "inventoryprofiles.config.description.sort_order": "背包整理的排序方式", - "inventoryprofiles.config.description.custom_rule": "The rule for custom sorting method", - - "inventoryprofiles.config.name.enable_auto_refill": "Enable Auto Refill", - "inventoryprofiles.config.name.disable_for_drop_item": "Disable For Drop Item", - "inventoryprofiles.config.name.refill_armor": "Refill Armor", - "inventoryprofiles.config.name.refill_before_tool_break": "Refill Before Tool Break", - "inventoryprofiles.config.name.tool_damage_threshold": "Tool Damage Threshold", - "inventoryprofiles.config.name.threshold_unit": "Threshold Unit", - "inventoryprofiles.config.name.auto_refill_wait_tick": "Auto Refill Wait Tick", - "inventoryprofiles.config.description.enable_auto_refill": "Refill the item in your hand when they have ran out", - "inventoryprofiles.config.description.disable_for_drop_item": "Disable Auto Refill for drop item", - "inventoryprofiles.config.description.refill_armor": "Refill the item in armor slots when they have broken", - "inventoryprofiles.config.description.refill_before_tool_break": "Refill tool/armor before durability is empty (threshold value by \"Tool Damage Threshold\")", - "inventoryprofiles.config.description.tool_damage_threshold": "When durability below this value (Absolute or %%), refill the item.", - "inventoryprofiles.config.description.threshold_unit": "Set the unit for \"Tool Damage Threshold\" (Absolute Value or Percentage (%%))", - "inventoryprofiles.config.description.auto_refill_wait_tick": "Wait n ticks after the item ran out, then do the auto refill. Might be useful on some laggy servers.", - - "inventoryprofiles.config.name.add_interval_between_clicks": "增加点击的时间间隔", - "inventoryprofiles.config.name.interval_between_clicks_ms": "时间间隔 (毫秒)", - "inventoryprofiles.config.name.restock_hotbar": "快捷栏补货", - "inventoryprofiles.config.name.sort_at_cursor": "整理鼠标指向的区域", - "inventoryprofiles.config.name.move_all_at_cursor": "Move All At Cursor", - "inventoryprofiles.config.name.stop_at_screen_close": "背包关闭时停止整理", - "inventoryprofiles.config.description.add_interval_between_clicks": "整理背包时加入点击之间的时间,模拟手动点击。用\"时间间隔 (毫秒)\"设置时间。可能在延迟较高的服务器或禁用了inventory.fastclick的服务器上有用。(要在无法快速点击背包的服务器上使用的话,推荐用67毫秒)", - "inventoryprofiles.config.description.interval_between_clicks_ms": "点击之间的时间 (单位毫秒) (要在无法快速点击背包的服务器上使用的话,推荐用67毫秒)", - "inventoryprofiles.config.description.restock_hotbar": "整理背包时顺便把快捷栏上物品的数量填满", - "inventoryprofiles.config.description.sort_at_cursor": "用热键会整理鼠标指向的格子的区域,否则永远优先整理箱子。", - "inventoryprofiles.config.description.move_all_at_cursor": "When curosr is pointing container, \"Move All\" hotkey move from container to player. Otherwise it will always move from player to container.", - "inventoryprofiles.config.description.stop_at_screen_close": "背包画面关闭时停止整理 (例如在\"增加点击的时间间隔\"启用时)", - - "inventoryprofiles.config.name.debug_logs": "除错输出", - "inventoryprofiles.config.description.debug_logs": "输出除错讯息", - - - - - - - - - - - "inventoryprofiles.gui.config.GuiSettings": "介面设置", - "inventoryprofiles.config.category.inventory": "Inventory", - - "inventoryprofiles.config.name.show_continuous_crafting_checkbox": "Show Continuous Crafting Checkbox", - "inventoryprofiles.config.name.continuous_crafting_checkbox_value": "§bCheckbox Value", - "inventoryprofiles.config.name.continuous_crafting_saved_value": "§bSaved Value", - "inventoryprofiles.config.name.show_regular_sort_button": "显示普通整理按钮", - "inventoryprofiles.config.name.regular_post_action": "§bPost Action", - "inventoryprofiles.config.name.regular_sort_order": "§bSort Order", - "inventoryprofiles.config.name.regular_custom_rule": "§bCustom Rule", - "inventoryprofiles.config.name.show_sort_in_columns_button": "显示垂直方向分类按钮", - "inventoryprofiles.config.name.in_columns_post_action": "§bPost Action", - "inventoryprofiles.config.name.in_columns_sort_order": "§bSort Order", - "inventoryprofiles.config.name.in_columns_custom_rule": "§bCustom Rule", - "inventoryprofiles.config.name.show_sort_in_rows_button": "显示水平方向分类按钮", - "inventoryprofiles.config.name.in_rows_post_action": "§bPost Action", - "inventoryprofiles.config.name.in_rows_sort_order": "§bSort Order", - "inventoryprofiles.config.name.in_rows_custom_rule": "§bCustom Rule", - "inventoryprofiles.config.name.show_move_all_button": "显示移动匹配物品按钮", - "inventoryprofiles.config.name.show_button_tooltips": "显示按钮提示", - - "inventoryprofiles.config.description.show_continuous_crafting_checkbox": "Show continuous crafting checkbox on GUI (crafting table & survival inventory)\nContinuous Crafting: Auto refill the ingredient slots", - "inventoryprofiles.config.description.continuous_crafting_checkbox_value": "Remember the checkbox value or set it next time of opening screen", - "inventoryprofiles.config.description.continuous_crafting_saved_value": "Internal saved value of checkbox", - "inventoryprofiles.config.description.show_regular_sort_button": "背包画面上显示普通整理按钮", - "inventoryprofiles.config.description.regular_post_action": "Set the post action for regular sort button", - "inventoryprofiles.config.description.regular_sort_order": "Set the sort order for regular sort button", - "inventoryprofiles.config.description.regular_custom_rule": "Set the custom rule for regular sort button", - "inventoryprofiles.config.description.show_sort_in_columns_button": "背包画面上显示垂直方向分类按钮", - "inventoryprofiles.config.description.in_columns_post_action": "Set the post action for sort in columns button", - "inventoryprofiles.config.description.in_columns_sort_order": "Set the sort order for sort in columns button", - "inventoryprofiles.config.description.in_columns_custom_rule": "Set the custom rule for sort in columns button", - "inventoryprofiles.config.description.show_sort_in_rows_button": "背包画面上显示水平方向分类按钮", - "inventoryprofiles.config.description.in_rows_post_action": "Set the post action for sort in rows button", - "inventoryprofiles.config.description.in_rows_sort_order": "Set the sort order for sort in rows button", - "inventoryprofiles.config.description.in_rows_custom_rule": "Set the custom rule for sort in rows button", - "inventoryprofiles.config.description.show_move_all_button": "背包画面上显示移动匹配物品按钮", - "inventoryprofiles.config.description.show_button_tooltips": "鼠标悬浮在按钮上时显示提示", - - - - - - - - - - - "inventoryprofiles.gui.config.EditProfiles": "编辑设定档", - "inventoryprofiles.config.category.coming_soon": "即将到来!", - - - - - - - - - - - "inventoryprofiles.gui.config.Hotkeys": "热键", - "inventoryprofiles.config.category.hotkeys": "热键", - - "inventoryprofiles.config.name.open_config_menu": "打开配置菜单", - "inventoryprofiles.config.name.sort_inventory": "背包整理", - "inventoryprofiles.config.name.sort_inventory_in_columns": "垂直方向分类", - "inventoryprofiles.config.name.sort_inventory_in_rows": "水平方向分类", - "inventoryprofiles.config.name.move_all_items": "移动匹配物品", - "inventoryprofiles.config.name.dump_item_nbt_to_chat": "Dump Item Nbt To Chat", - - "inventoryprofiles.config.description.open_config_menu": "打开此菜单的按键", - "inventoryprofiles.config.description.sort_inventory": "一键背包整理的按键", - "inventoryprofiles.config.description.sort_inventory_in_columns": "一键垂直方向分类的按键", - "inventoryprofiles.config.description.sort_inventory_in_rows": "一键水平方向分类的按键", - "inventoryprofiles.config.description.move_all_items": "一键移动所有箱子里有同类的物品的按键", - "inventoryprofiles.config.description.dump_item_nbt_to_chat": "Prints the item string with nbt to the chat", - - - - - - - - - - - "inventoryprofiles.gui.config.Tweaks": "原版修改", - "inventoryprofiles.config.category.client_side_tweaks": "客户端", - "inventoryprofiles.config.category.survival": "Survival", - - "inventoryprofiles.config.name.prevent_close_gui_drop_item": "防止关闭介面掉落物品", - "inventoryprofiles.config.name.container_swipe_moving_items": "Container Swipe Moving Items", - "inventoryprofiles.config.name.swipe_move_crafting_result_slot": "Swipe Move Crafting Result Slot", - "inventoryprofiles.config.description.prevent_close_gui_drop_item": "关闭物品栏时自动把鼠标的物品放回背包", - "inventoryprofiles.config.description.container_swipe_moving_items": "Allows you to move items for the slots under the cursor while holding shift and left click", - "inventoryprofiles.config.description.swipe_move_crafting_result_slot": "Enable \"Swipe Moving Items\" in crafting result slot", - - "inventoryprofiles.config.name.instant_mining_cooldown": "瞬间破坏的挖掘延迟", - "inventoryprofiles.config.name.disable_block_breaking_cooldown": "移除挖掘延迟", - "inventoryprofiles.config.name.disable_item_use_cooldown": "移除右键使用冷却时间", - "inventoryprofiles.config.name.disable_screen_shaking_on_damage": "禁止受到伤害摇晃画面", - "inventoryprofiles.config.name.disable_lava_fog": "禁用岩浆迷雾", - "inventoryprofiles.config.description.instant_mining_cooldown": "让瞬间破坏方块后挖掘下一个方块也有挖掘延迟。优先度较 \"移除挖掘延迟\" 低。", - "inventoryprofiles.config.description.disable_block_breaking_cooldown": "移除挖掘下一个方块的延迟", - "inventoryprofiles.config.description.disable_item_use_cooldown": "移除按住右键使用物品时的每一个物品之间冷却时间。相当于每游戏刻都按一次右键。(一秒为二十游戏刻)", - "inventoryprofiles.config.description.disable_screen_shaking_on_damage": "受到伤害时画面不再摇晃", - "inventoryprofiles.config.description.disable_lava_fog": "岩浆下看得更清晰", - - - - - - - - - - - "inventoryprofiles.gui.config.Debugs": "Debugs", - "inventoryprofiles.config.category.debugs": "Debugs", - - "inventoryprofiles.config.name.debug_screen": "Debug Screen", - "inventoryprofiles.config.description.debug_screen": "Open debug screen", - - - - - - - - - - - - - - - - - - - - - "inventoryprofiles.enum.sorting_method.global": "Global (%s)", - "inventoryprofiles.enum.sorting_method.default": "预设(创造模式菜单)", - "inventoryprofiles.enum.sorting_method.item_name": "物品名称", - "inventoryprofiles.enum.sorting_method.item_id": "物品 ID", - "inventoryprofiles.enum.sorting_method.raw_id": "Item Numerical ID", - "inventoryprofiles.enum.sorting_method.custom": "Custom Rule", - - "inventoryprofiles.enum.post_action.none": "None", - "inventoryprofiles.enum.post_action.group_in_rows": "Group In Rows", - "inventoryprofiles.enum.post_action.group_in_columns": "Group In Columns", - "inventoryprofiles.enum.post_action.distribute_evenly":"Distribute Evenly", - "inventoryprofiles.enum.post_action.shuffle": "Shuffle", - "inventoryprofiles.enum.post_action.fill_one": "Fill One", - "inventoryprofiles.enum.post_action.reverse": "Reverse", - - "inventoryprofiles.enum.threshold_unit.absolute": "Absolute Value", - "inventoryprofiles.enum.threshold_unit.percentage": "Percentage (%%)", - - "inventoryprofiles.enum.continuous_crafting_checkbox_value.remember": "Remember", - "inventoryprofiles.enum.continuous_crafting_checkbox_value.checked": "Checked", - "inventoryprofiles.enum.continuous_crafting_checkbox_value.unchecked": "Unchecked", - - - "inventoryprofiles.tooltip.sort_button": "整理物品栏", - "inventoryprofiles.tooltip.sort_columns_button": "垂直方向分类", - "inventoryprofiles.tooltip.sort_rows_button": "水平方向分类", - "inventoryprofiles.tooltip.move_all_button": "移动匹配物品\n§6(按住 §oSHIFT§r\n§6包括快捷栏)§r", - "inventoryprofiles.tooltip.continuous_crafting_checkbox": "Continuous Crafting" + "inventoryprofiles.gui.config.title": "Inventory Profiles v%s 配置菜单", + "inventoryprofiles.common.gui.config.reset": "重置", + "inventoryprofiles.common.gui.config.true": "§2开", + "inventoryprofiles.common.gui.config.false": "§4关", + "inventoryprofiles.common.gui.config.yes": "是", + "inventoryprofiles.common.gui.config.no": "否", + "inventoryprofiles.common.gui.config.more": " ...(更多)", + "inventoryprofiles.common.gui.config.advanced_keybind_settings": "进阶按键选项", + "inventoryprofiles.common.gui.config.activate_on": "触发在", + "inventoryprofiles.common.gui.config.context": "情景", + "inventoryprofiles.common.gui.config.allow_extra_keys": "允许额外按键", + "inventoryprofiles.common.gui.config.order_sensitive": "顺序敏感", + "inventoryprofiles.common.gui.config.keybind_settings_tips": "- 左键进入配置\n- 右键重置为默认值", + "inventoryprofiles.common.enum.key_action.press": "按下", + "inventoryprofiles.common.enum.key_action.release": "放开", + "inventoryprofiles.common.enum.key_action.both": "按下 / 放开", + "inventoryprofiles.common.enum.context.ingame": "游戏内", + "inventoryprofiles.common.enum.context.gui": "介面", + "inventoryprofiles.common.enum.context.any": "游戏内 / 介面", + "inventoryprofiles.gui.config.ModSettings": "Mod 设置", + "inventoryprofiles.config.category.inventory_sorting": "整理选项", + "inventoryprofiles.config.category.auto_refill": "Auto Refill", + "inventoryprofiles.config.category.advanced_options": "Advanced Options", + "inventoryprofiles.config.name.open_config_folder": "§aOpen Config Folder", + "inventoryprofiles.config.name.reload_rule_files": "§aReload Rule Files", + "inventoryprofiles.config.description.open_config_folder": "Open folder .minecraft/config/inventoryprofilesnext", + "inventoryprofiles.config.description.reload_rule_files": "Reload rule.*.txt files in config folder", + "inventoryprofiles.gui.config.button.open_config_folder": "config/inventoryprofilesnext", + "inventoryprofiles.gui.config.button.reload_rule_files": "Reload rule.*.txt", + "inventoryprofiles.gui.config.button.reload_rule_files.reloaded": "All reloaded!", + "inventoryprofiles.config.name.sort_order": "排序方式", + "inventoryprofiles.config.name.custom_rule": "Custom Rule", + "inventoryprofiles.config.description.sort_order": "背包整理的排序方式", + "inventoryprofiles.config.description.custom_rule": "The rule for custom sorting method", + "inventoryprofiles.config.name.enable_auto_refill": "Enable Auto Refill", + "inventoryprofiles.config.name.disable_for_drop_item": "Disable For Drop Item", + "inventoryprofiles.config.name.refill_armor": "Refill Armor", + "inventoryprofiles.config.name.refill_before_tool_break": "Refill Before Tool Break", + "inventoryprofiles.config.name.tool_damage_threshold": "Tool Damage Threshold", + "inventoryprofiles.config.name.threshold_unit": "Threshold Unit", + "inventoryprofiles.config.name.auto_refill_wait_tick": "Auto Refill Wait Tick", + "inventoryprofiles.config.description.enable_auto_refill": "Refill the item in your hand when they have ran out", + "inventoryprofiles.config.description.disable_for_drop_item": "Disable Auto Refill for drop item", + "inventoryprofiles.config.description.refill_armor": "Refill the item in armor slots when they have broken", + "inventoryprofiles.config.description.refill_before_tool_break": "Refill tool/armor before durability is empty (threshold value by \"Tool Damage Threshold\")", + "inventoryprofiles.config.description.tool_damage_threshold": "When durability below this value (Absolute or %%), refill the item.", + "inventoryprofiles.config.description.threshold_unit": "Set the unit for \"Tool Damage Threshold\" (Absolute Value or Percentage (%%))", + "inventoryprofiles.config.description.auto_refill_wait_tick": "Wait n ticks after the item ran out, then do the auto refill. Might be useful on some laggy servers.", + "inventoryprofiles.config.name.add_interval_between_clicks": "增加点击的时间间隔", + "inventoryprofiles.config.name.interval_between_clicks_ms": "时间间隔 (毫秒)", + "inventoryprofiles.config.name.restock_hotbar": "快捷栏补货", + "inventoryprofiles.config.name.sort_at_cursor": "整理鼠标指向的区域", + "inventoryprofiles.config.name.move_all_at_cursor": "Move All At Cursor", + "inventoryprofiles.config.name.stop_at_screen_close": "背包关闭时停止整理", + "inventoryprofiles.config.description.add_interval_between_clicks": "整理背包时加入点击之间的时间,模拟手动点击。用\"时间间隔 (毫秒)\"设置时间。可能在延迟较高的服务器或禁用了inventory.fastclick的服务器上有用。(要在无法快速点击背包的服务器上使用的话,推荐用67毫秒)", + "inventoryprofiles.config.description.interval_between_clicks_ms": "点击之间的时间 (单位毫秒) (要在无法快速点击背包的服务器上使用的话,推荐用67毫秒)", + "inventoryprofiles.config.description.restock_hotbar": "整理背包时顺便把快捷栏上物品的数量填满", + "inventoryprofiles.config.description.sort_at_cursor": "用热键会整理鼠标指向的格子的区域,否则永远优先整理箱子。", + "inventoryprofiles.config.description.move_all_at_cursor": "When curosr is pointing container, \"Move All\" hotkey move from container to player. Otherwise it will always move from player to container.", + "inventoryprofiles.config.description.stop_at_screen_close": "背包画面关闭时停止整理 (例如在\"增加点击的时间间隔\"启用时)", + "inventoryprofiles.config.name.debug_logs": "除错输出", + "inventoryprofiles.config.description.debug_logs": "输出除错讯息", + "inventoryprofiles.gui.config.GuiSettings": "介面设置", + "inventoryprofiles.config.category.inventory": "Inventory", + "inventoryprofiles.config.name.show_continuous_crafting_checkbox": "Show Continuous Crafting Checkbox", + "inventoryprofiles.config.name.continuous_crafting_checkbox_value": "§bCheckbox Value", + "inventoryprofiles.config.name.continuous_crafting_saved_value": "§bSaved Value", + "inventoryprofiles.config.name.show_regular_sort_button": "显示普通整理按钮", + "inventoryprofiles.config.name.regular_post_action": "§bPost Action", + "inventoryprofiles.config.name.regular_sort_order": "§bSort Order", + "inventoryprofiles.config.name.regular_custom_rule": "§bCustom Rule", + "inventoryprofiles.config.name.show_sort_in_columns_button": "显示垂直方向分类按钮", + "inventoryprofiles.config.name.in_columns_post_action": "§bPost Action", + "inventoryprofiles.config.name.in_columns_sort_order": "§bSort Order", + "inventoryprofiles.config.name.in_columns_custom_rule": "§bCustom Rule", + "inventoryprofiles.config.name.show_sort_in_rows_button": "显示水平方向分类按钮", + "inventoryprofiles.config.name.in_rows_post_action": "§bPost Action", + "inventoryprofiles.config.name.in_rows_sort_order": "§bSort Order", + "inventoryprofiles.config.name.in_rows_custom_rule": "§bCustom Rule", + "inventoryprofiles.config.name.show_move_all_button": "显示移动匹配物品按钮", + "inventoryprofiles.config.name.show_button_tooltips": "显示按钮提示", + "inventoryprofiles.config.description.show_continuous_crafting_checkbox": "Show continuous crafting checkbox on GUI (crafting table & survival inventory)\nContinuous Crafting: Auto refill the ingredient slots", + "inventoryprofiles.config.description.continuous_crafting_checkbox_value": "Remember the checkbox value or set it next time of opening screen", + "inventoryprofiles.config.description.continuous_crafting_saved_value": "Internal saved value of checkbox", + "inventoryprofiles.config.description.show_regular_sort_button": "背包画面上显示普通整理按钮", + "inventoryprofiles.config.description.regular_post_action": "Set the post action for regular sort button", + "inventoryprofiles.config.description.regular_sort_order": "Set the sort order for regular sort button", + "inventoryprofiles.config.description.regular_custom_rule": "Set the custom rule for regular sort button", + "inventoryprofiles.config.description.show_sort_in_columns_button": "背包画面上显示垂直方向分类按钮", + "inventoryprofiles.config.description.in_columns_post_action": "Set the post action for sort in columns button", + "inventoryprofiles.config.description.in_columns_sort_order": "Set the sort order for sort in columns button", + "inventoryprofiles.config.description.in_columns_custom_rule": "Set the custom rule for sort in columns button", + "inventoryprofiles.config.description.show_sort_in_rows_button": "背包画面上显示水平方向分类按钮", + "inventoryprofiles.config.description.in_rows_post_action": "Set the post action for sort in rows button", + "inventoryprofiles.config.description.in_rows_sort_order": "Set the sort order for sort in rows button", + "inventoryprofiles.config.description.in_rows_custom_rule": "Set the custom rule for sort in rows button", + "inventoryprofiles.config.description.show_move_all_button": "背包画面上显示移动匹配物品按钮", + "inventoryprofiles.config.description.show_button_tooltips": "鼠标悬浮在按钮上时显示提示", + "inventoryprofiles.gui.config.EditProfiles": "编辑设定档", + "inventoryprofiles.config.category.coming_soon": "即将到来!", + "inventoryprofiles.gui.config.Hotkeys": "热键", + "inventoryprofiles.config.category.hotkeys": "热键", + "inventoryprofiles.config.name.open_config_menu": "打开配置菜单", + "inventoryprofiles.config.name.sort_inventory": "背包整理", + "inventoryprofiles.config.name.sort_inventory_in_columns": "垂直方向分类", + "inventoryprofiles.config.name.sort_inventory_in_rows": "水平方向分类", + "inventoryprofiles.config.name.move_all_items": "移动匹配物品", + "inventoryprofiles.config.name.dump_item_nbt_to_chat": "Dump Item Nbt To Chat", + "inventoryprofiles.config.description.open_config_menu": "打开此菜单的按键", + "inventoryprofiles.config.description.sort_inventory": "一键背包整理的按键", + "inventoryprofiles.config.description.sort_inventory_in_columns": "一键垂直方向分类的按键", + "inventoryprofiles.config.description.sort_inventory_in_rows": "一键水平方向分类的按键", + "inventoryprofiles.config.description.move_all_items": "一键移动所有箱子里有同类的物品的按键", + "inventoryprofiles.config.description.dump_item_nbt_to_chat": "Prints the item string with nbt to the chat", + "inventoryprofiles.gui.config.Tweaks": "原版修改", + "inventoryprofiles.config.category.client_side_tweaks": "客户端", + "inventoryprofiles.config.category.survival": "Survival", + "inventoryprofiles.config.name.prevent_close_gui_drop_item": "防止关闭介面掉落物品", + "inventoryprofiles.config.name.container_swipe_moving_items": "Container Swipe Moving Items", + "inventoryprofiles.config.name.swipe_move_crafting_result_slot": "Swipe Move Crafting Result Slot", + "inventoryprofiles.config.description.prevent_close_gui_drop_item": "关闭物品栏时自动把鼠标的物品放回背包", + "inventoryprofiles.config.description.container_swipe_moving_items": "Allows you to move items for the slots under the cursor while holding shift and left click", + "inventoryprofiles.config.description.swipe_move_crafting_result_slot": "Enable \"Swipe Moving Items\" in crafting result slot", + "inventoryprofiles.config.name.instant_mining_cooldown": "瞬间破坏的挖掘延迟", + "inventoryprofiles.config.name.disable_block_breaking_cooldown": "移除挖掘延迟", + "inventoryprofiles.config.name.disable_item_use_cooldown": "移除右键使用冷却时间", + "inventoryprofiles.config.name.disable_screen_shaking_on_damage": "禁止受到伤害摇晃画面", + "inventoryprofiles.config.name.disable_lava_fog": "禁用岩浆迷雾", + "inventoryprofiles.config.description.instant_mining_cooldown": "让瞬间破坏方块后挖掘下一个方块也有挖掘延迟。优先度较 \"移除挖掘延迟\" 低。", + "inventoryprofiles.config.description.disable_block_breaking_cooldown": "移除挖掘下一个方块的延迟", + "inventoryprofiles.config.description.disable_item_use_cooldown": "移除按住右键使用物品时的每一个物品之间冷却时间。相当于每游戏刻都按一次右键。(一秒为二十游戏刻)", + "inventoryprofiles.config.description.disable_screen_shaking_on_damage": "受到伤害时画面不再摇晃", + "inventoryprofiles.config.description.disable_lava_fog": "岩浆下看得更清晰", + "inventoryprofiles.gui.config.Debugs": "Debugs", + "inventoryprofiles.config.category.debugs": "Debugs", + "inventoryprofiles.config.name.debug_screen": "Debug Screen", + "inventoryprofiles.config.description.debug_screen": "Open debug screen", + "inventoryprofiles.enum.sorting_method.global": "Global (%s)", + "inventoryprofiles.enum.sorting_method.default": "预设(创造模式菜单)", + "inventoryprofiles.enum.sorting_method.item_name": "物品名称", + "inventoryprofiles.enum.sorting_method.item_id": "物品 ID", + "inventoryprofiles.enum.sorting_method.raw_id": "Item Numerical ID", + "inventoryprofiles.enum.sorting_method.custom": "Custom Rule", + "inventoryprofiles.enum.post_action.none": "None", + "inventoryprofiles.enum.post_action.group_in_rows": "Group In Rows", + "inventoryprofiles.enum.post_action.group_in_columns": "Group In Columns", + "inventoryprofiles.enum.post_action.distribute_evenly": "Distribute Evenly", + "inventoryprofiles.enum.post_action.shuffle": "Shuffle", + "inventoryprofiles.enum.post_action.fill_one": "Fill One", + "inventoryprofiles.enum.post_action.reverse": "Reverse", + "inventoryprofiles.enum.threshold_unit.absolute": "Absolute Value", + "inventoryprofiles.enum.threshold_unit.percentage": "Percentage (%%)", + "inventoryprofiles.enum.continuous_crafting_checkbox_value.remember": "Remember", + "inventoryprofiles.enum.continuous_crafting_checkbox_value.checked": "Checked", + "inventoryprofiles.enum.continuous_crafting_checkbox_value.unchecked": "Unchecked", + "inventoryprofiles.tooltip.sort_button": "整理物品栏", + "inventoryprofiles.tooltip.sort_columns_button": "垂直方向分类", + "inventoryprofiles.tooltip.sort_rows_button": "水平方向分类", + "inventoryprofiles.tooltip.move_all_button": "移动匹配物品\n§6(按住 §oSHIFT§r\n§6包括快捷栏)§r", + "inventoryprofiles.tooltip.continuous_crafting_checkbox": "Continuous Crafting" } \ No newline at end of file diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index a3939fb2..3a08df06 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -11,7 +11,7 @@ "homepage": "https://www.curseforge.com/minecraft/mc-mods/inventory-profiles-next", "sources": "https://github.com/blackd/Inventory-Profiles" }, - "license": "CC0-1.0", + "license": "MIT", "icon": "assets/inventoryprofilesnext/icon.png", "environment": "client", "entrypoints": { @@ -27,8 +27,9 @@ "mixins.ipnext.json" ], "depends": { + "fabric-resource-loader-v0": "*", "fabricloader": ">=0.11.6", - "minecraft": ">=1.17" + "minecraft": ">=1.16" }, "suggests": { "flamingo": "*" diff --git a/src/main/resources/mixins.common.json b/src/main/resources/mixins.common.json index 103516f7..0b190301 100644 --- a/src/main/resources/mixins.common.json +++ b/src/main/resources/mixins.common.json @@ -1,7 +1,7 @@ { "required": true, "package": "org.anti_ad.mc.common.mixin", - "compatibilityLevel": "JAVA_16", + "compatibilityLevel": "JAVA_8", "mixins": [ ], "client": [ diff --git a/src/main/resources/mixins.ipnext.json b/src/main/resources/mixins.ipnext.json index 967e46d4..4073e12b 100644 --- a/src/main/resources/mixins.ipnext.json +++ b/src/main/resources/mixins.ipnext.json @@ -2,7 +2,7 @@ "required": true, "minVersion": "0.8", "package": "org.anti_ad.mc.ipnext.mixin", - "compatibilityLevel": "JAVA_16", + "compatibilityLevel": "JAVA_8", "mixins": [ ], "client": [