Compare commits

..

2 Commits

Author SHA1 Message Date
Rain Graham
c709bb4a4b Merge pull request #46 from Q2297045667/1.21.4-fabric
add Chinese MOD instructions.
2025-09-05 00:48:12 +01:00
Missing_Love
b3f79db8e2 add Chinese MOD instructions. 2025-03-03 00:02:23 +08:00
11 changed files with 15 additions and 19 deletions

View File

@@ -1,5 +1,5 @@
plugins { plugins {
id 'fabric-loom' version '1.11-SNAPSHOT' id 'fabric-loom' version '1.8-SNAPSHOT'
id 'maven-publish' id 'maven-publish'
} }

View File

@@ -3,10 +3,9 @@ org.gradle.jvmargs=-Xmx1G
# Fabric Properties # Fabric Properties
# check these on https://fabricmc.net/develop # check these on https://fabricmc.net/develop
minecraft_version=1.21.8 minecraft_version=1.21.4
yarn_mappings=1.21.8+build.1 yarn_mappings=1.21.4+build.8
loader_version=0.17.2 loader_version=0.16.10
loom_version=1.11-SNAPSHOT
# Mod Properties # Mod Properties
mod_version=3.0.1 mod_version=3.0.1
@@ -14,8 +13,7 @@ org.gradle.jvmargs=-Xmx1G
archives_base_name=cave_dust archives_base_name=cave_dust
# Dependencies # Dependencies
fabric_version=0.133.0+1.21.8 fabric_version=0.114.0+1.21.4
clothconfig_version=19.0.147 clothconfig_version=17.0.144
modmenu_version=15.0.0 modmenu_version=13.0.0
kirin_version=1.21.0-beta.5+1.21.7 kirin_version=1.20.3+1.21.4

Binary file not shown.

View File

@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
networkTimeout=10000 networkTimeout=10000
validateDistributionUrl=true validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME

5
gradlew vendored
View File

@@ -15,8 +15,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# #
# SPDX-License-Identifier: Apache-2.0
#
############################################################################## ##############################################################################
# #
@@ -86,8 +84,7 @@ done
# shellcheck disable=SC2034 # shellcheck disable=SC2034
APP_BASE_NAME=${0##*/} APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
' "$PWD" ) || exit
# Use the maximum available, or set MAX_FD != -1 to use that value. # Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum MAX_FD=maximum

2
gradlew.bat vendored
View File

@@ -13,8 +13,6 @@
@rem See the License for the specific language governing permissions and @rem See the License for the specific language governing permissions and
@rem limitations under the License. @rem limitations under the License.
@rem @rem
@rem SPDX-License-Identifier: Apache-2.0
@rem
@if "%DEBUG%"=="" @echo off @if "%DEBUG%"=="" @echo off
@rem ########################################################################## @rem ##########################################################################

View File

@@ -93,7 +93,7 @@ public class CaveDust implements ClientModInitializer {
if (shouldParticlesSpawn(client, config, particlePos)) { if (shouldParticlesSpawn(client, config, particlePos)) {
if (client.world.getBlockState(particlePos).isAir()) { if (client.world.getBlockState(particlePos).isAir()) {
world.addParticleClient(getConfig().getParticle(), miniX, miniY, miniZ, config.getVelocityRandomnessRandom() * 0.01, config.getVelocityRandomnessRandom() * 0.01, config.getVelocityRandomnessRandom() * 0.01); world.addParticle(getConfig().getParticle(), miniX, miniY, miniZ, config.getVelocityRandomnessRandom() * 0.01, config.getVelocityRandomnessRandom() * 0.01, config.getVelocityRandomnessRandom() * 0.01);
} }
} }
} }

View File

@@ -105,6 +105,7 @@ public class ModMenuConfigScreen extends GameGui {
@Override @Override
public void render(DrawContext context, int mouseX, int mouseY, float partialTicks) { public void render(DrawContext context, int mouseX, int mouseY, float partialTicks) {
renderBackground(context, mouseX, mouseY, partialTicks);
super.render(context, mouseX, mouseY, partialTicks); super.render(context, mouseX, mouseY, partialTicks);
} }

View File

@@ -1,4 +1,5 @@
{ {
"modmenu.descriptionTranslation.cavedust": "Makes dust underground that scales with depth!",
"menu.cavedust.title": "Cave Dust", "menu.cavedust.title": "Cave Dust",
"menu.cavedust.global.false": "Cave Dust: Disabled", "menu.cavedust.global.false": "Cave Dust: Disabled",
"menu.cavedust.global.true": "Cave Dust: Enabled", "menu.cavedust.global.true": "Cave Dust: Enabled",

View File

@@ -1,4 +1,5 @@
{ {
"modmenu.descriptionTranslation.cavedust": "在地下生成随深度增加而变化的尘埃!",
"menu.cavedust.title": "洞穴尘埃", "menu.cavedust.title": "洞穴尘埃",
"menu.cavedust.global.false": "洞穴尘埃: 功能启用", "menu.cavedust.global.false": "洞穴尘埃: 功能启用",
"menu.cavedust.global.true": "洞穴尘埃: 功能禁用", "menu.cavedust.global.true": "洞穴尘埃: 功能禁用",

View File

@@ -30,7 +30,7 @@
"depends": { "depends": {
"fabricloader": ">=0.14.5", "fabricloader": ">=0.14.5",
"fabric": "*", "fabric": "*",
"minecraft": "1.21.8", "minecraft": "1.21.4",
"java": ">=17" "java": ">=17"
}, },
"suggests": { "suggests": {