Skip to content

Commit 8f9cff0

Browse files
committed
Merge remote-tracking branch 'origin/master'
# Conflicts: # src/main/resources/assets/carpetamsaddition/lang/zh_cn.yml
2 parents 20ef3b4 + 4130043 commit 8f9cff0

File tree

146 files changed

+3483
-2130
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+3483
-2130
lines changed

.github/workflows/release.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -104,19 +104,18 @@ jobs:
104104
echo 'EOF' >> $GITHUB_OUTPUT
105105
106106
- name: Publish Minecraft Mods
107-
uses: Kir-Antipov/mc-publish@v3.2
107+
uses: Kir-Antipov/mc-publish@v3.3.0
108108
with:
109109
modrinth-id: q4fx1eTg
110110
modrinth-token: ${{ secrets.MODRINTH_API_TOKEN }}
111111

112-
curseforge-id: _INSERT_CURSEFORGE_MOD_ID_HERE_
113-
curseforge-token: ${{ secrets.CF_API_TOKEN }}
112+
# curseforge-id: _INSERT_CURSEFORGE_MOD_ID_HERE_
113+
# curseforge-token: ${{ secrets.CF_API_TOKEN }}
114114

115115
github-tag: ${{ steps.release_info.outputs.tag_name }}
116116
github-token: ${{ secrets.GITHUB_TOKEN }}
117117

118-
files-primary: ${{ format('build-artifacts/{0}/build/libs/!(*-@(dev|sources)).jar', matrix.subproject_dir) }}
119-
files-secondary: ''
118+
files: ${{ format('build-artifacts/{0}/build/libs/!(*-@(dev|sources)).jar', matrix.subproject_dir) }}
120119

121120
name: ${{ format('{0} v{1} for mc{2}', steps.properties_g.outputs.mod_name, steps.properties_g.outputs.mod_version, steps.properties_v.outputs.minecraft_version) }}
122121
version: ${{ format('mc{0}-v{1}', steps.properties_v.outputs.minecraft_version, steps.properties_g.outputs.mod_version) }}
@@ -125,7 +124,7 @@ jobs:
125124

126125
loaders: fabric
127126
game-versions: ${{ steps.game_versions.outputs.value }}
128-
version-resolver: exact
127+
game-version-filter: any
129128

130129
retry-attempts: 3
131130
retry-delay: 10000

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,28 @@
2121

2222

2323
## 前置
24+
2425
| 前置 | 链接 |
2526
|:-------------:|:----------------------------------------:|
2627
| Fabric API | https://github.com/FabricMC/fabric |
2728
| Fabric-Carpet | https://github.com/gnembon/fabric-carpet |
2829

2930
## 文档
31+
3032
访问网页查看所有关于Carpet-AMS-Addition的相关信息:<br>
3133
https://minecraft-ams.github.io/carpetamsaddition/
3234

3335
## 补充说明
36+
3437
- 前置模组尽可能使用高的版本。
3538
- Carpet-AMS-Addition中的功能,虽然存在但不代表我们在AMS服务器内使用它。
3639
- 由于英文水平有限,目前所有翻译均来自 [Chat-GPT](https://openai.com/blog/chatgpt) (除了很久很久以前
3740
[nirvanaxiao6](https://github.com/nirvanaxiao6)撰写的第一篇英文文档)。
3841

3942
## 许可
4043
此项目在 [ LGPL-v3.0 ](https://choosealicense.com/licenses/lgpl-3.0/) 许可证下可用,您可以随意从中学习并将其纳入您自己的项目中。
44+
45+
## 特别鸣谢
46+
感谢 [JetBrains](https://www.jetbrains.com/) 所提供的免费开源开发许可证。
47+
48+
[<img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png" height="96"/>](https://www.jetbrains.com/)[<img src="https://resources.jetbrains.com/storage/products/company/brand/logos/IntelliJ_IDEA.png" height="96"/>](https://www.jetbrains.com/idea/)

README_en.md

+6
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,9 @@ https://minecraft-ams.github.io/carpetamsaddition/
4141
## License
4242

4343
This project is available under the [ LGPL-v3.0 ](https://choosealicense.com/licenses/lgpl-3.0/) license. Feel free to learn from it and incorporate it in your own projects.
44+
45+
## Thanks
46+
47+
Thanks for the free open-source development license provided by [JetBrains](https://www.jetbrains.com/).
48+
49+
[<img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png" height="96"/>](https://www.jetbrains.com/)[<img src="https://resources.jetbrains.com/storage/products/company/brand/logos/IntelliJ_IDEA.png" height="96"/>](https://www.jetbrains.com/idea/)

common.gradle

+5-15
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,11 @@ preprocess {
1212

1313
repositories {
1414
maven {
15-
url 'https://masa.dy.fi/maven'
15+
url 'https://www.cursemaven.com'
1616
}
1717
maven {
1818
url 'https://jitpack.io'
1919
}
20-
maven {
21-
url 'https://www.cursemaven.com'
22-
}
2320
}
2421

2522
// https://github.com/FabricMC/fabric-loader/issues/783
@@ -34,11 +31,12 @@ dependencies {
3431
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
3532

3633
// mods
37-
modImplementation "carpet:fabric-carpet:${project.carpet_core_version}"
34+
//modImplementation "carpet:fabric-carpet:${project.carpet_core_version}" //masa
35+
modImplementation("curse.maven:carpet-349239:${project.carpet_core_version}") //cursemaven
3836

3937
// Dependencies
40-
implementation "org.yaml:snakeyaml:${project.snakeyaml_version}"
41-
include "org.yaml:snakeyaml:${project.snakeyaml_version}"
38+
implementation "com.esotericsoftware.yamlbeans:yamlbeans:${project.yamlbeans_version}"
39+
include "com.esotericsoftware.yamlbeans:yamlbeans:${project.yamlbeans_version}"
4240
include(annotationProcessor(implementation("io.github.llamalad7:mixinextras-fabric:${project.mixinextras_version}")))
4341
}
4442

@@ -109,13 +107,6 @@ processResources {
109107
}
110108
}
111109

112-
// ensure that the encoding is set to UTF-8, no matter what the system default is
113-
// this fixes some edge cases with special characters not displaying correctly
114-
// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html
115-
tasks.withType(JavaCompile).configureEach {
116-
options.encoding = "UTF-8"
117-
}
118-
119110
java {
120111
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
121112
// if it is present.
@@ -169,7 +160,6 @@ publishing {
169160
publications {
170161
mavenJava(MavenPublication) {
171162
artifactId archivesBaseName
172-
173163
from components.java
174164
}
175165
}

gradle.properties

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ loader_version = 0.14.25
88
# Mod Properties
99
mod_id = carpet-ams-addition
1010
mod_name = Carpet AMS Addition
11-
mod_version = 2.22.0
11+
mod_version = 2.28.0
1212
maven_group = carpetamsaddition
1313
archives_base_name = Carpet-AMS-Addition
1414

1515
# Dependencies
16-
# https://mvnrepository.com/artifact/org.yaml/snakeyaml
17-
snakeyaml_version = 2.2
16+
# https://mvnrepository.com/artifact/com.esotericsoftware.yamlbeans/yamlbeans
17+
yamlbeans_version = 1.17
1818

1919
# https://github.com/LlamaLad7/MixinExtras
20-
mixinextras_version = 0.3.2
20+
mixinextras_version = 0.3.5

run/options.txt

+10-30
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
version:3700
1+
version:2586
22
autoJump:false
3-
operatorItemsTab:false
43
autoSuggestions:true
54
chatColors:true
65
chatLinks:true
@@ -12,43 +11,32 @@ discrete_mouse_scroll:false
1211
invertYMouse:false
1312
realmsNotifications:false
1413
reducedDebugInfo:false
14+
snooperEnabled:false
1515
showSubtitles:false
16-
directionalAudio:false
1716
touchscreen:false
1817
fullscreen:false
1918
bobView:false
2019
toggleCrouch:false
2120
toggleSprint:false
22-
darkMojangStudiosBackground:false
23-
hideLightningFlashes:false
24-
hideSplashTexts:false
2521
mouseSensitivity:0.40316900610923767
2622
fov:0.0
2723
screenEffectScale:0.5
2824
fovEffectScale:1.0
29-
darknessEffectScale:1.0
30-
glintSpeed:0.5
31-
glintStrength:0.75
32-
damageTiltStrength:1.0
33-
highContrast:false
34-
narratorHotkey:true
3525
gamma:1.0
3626
renderDistance:12
37-
simulationDistance:12
3827
entityDistanceScaling:1.0
3928
guiScale:4
4029
particles:1
4130
maxFps:260
31+
difficulty:2
4232
graphicsMode:0
43-
ao:true
44-
prioritizeChunkUpdates:0
33+
ao:2
4534
biomeBlendRadius:4
46-
renderClouds:"true"
47-
resourcePacks:["vanilla","programmer_art"]
35+
renderClouds:true
36+
resourcePacks:["vanilla","programer_art"]
4837
incompatibleResourcePacks:[]
4938
lastServer:124.227.80.185:25227
5039
lang:zh_cn
51-
soundDevice:""
5240
chatVisibility:0
5341
chatOpacity:1.0
5442
chatLineSpacing:0.019366197288036346
@@ -59,33 +47,25 @@ advancedItemTooltips:true
5947
pauseOnLostFocus:true
6048
overrideWidth:0
6149
overrideHeight:0
50+
heldItemTooltips:true
6251
chatHeightFocused:1.0
63-
chatDelay:0.0
52+
chatDelay: 0.0
6453
chatHeightUnfocused:0.44366195797920227
65-
chatScale:0.6214788732394366
54+
chatScale:0.6214788556098938
6655
chatWidth:1.0
67-
notificationDisplayTime:1.0
6856
mipmapLevels:4
6957
useNativeTransport:true
70-
mainHand:"right"
58+
mainHand:right
7159
attackIndicator:1
7260
narrator:0
7361
tutorialStep:none
7462
mouseWheelSensitivity:1.0
7563
rawMouseInput:true
7664
glDebugVerbosity:1
7765
skipMultiplayerWarning:true
78-
skipRealms32bitWarning:false
7966
hideMatchedNames:true
8067
joinedFirstServer:true
81-
hideBundleTutorial:false
8268
syncChunkWrites:true
83-
showAutosaveIndicator:true
84-
allowServerListing:true
85-
onlyShowSecureChat:false
86-
panoramaScrollSpeed:1.0
87-
telemetryOptInExtra:false
88-
onboardAccessibility:false
8969
key_key.attack:key.mouse.left
9070
key_key.use:key.mouse.right
9171
key_key.forward:key.keyboard.w

0 commit comments

Comments
 (0)