Skip to content

Commit 8502ffb

Browse files
committed
chore: re-add support for 1.20.1
1 parent 95c61b8 commit 8502ffb

File tree

6 files changed

+71
-10
lines changed

6 files changed

+71
-10
lines changed

.github/workflows/publish.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,34 @@ jobs:
140140
retry-attempts: 3
141141
retry-delay: 10000
142142

143+
- name: Publish Minecraft Mods 1.20.1
144+
uses: Kir-Antipov/mc-publish@v3.3
145+
with:
146+
modrinth-id: SB7oe4aB
147+
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
148+
149+
curseforge-id: 891699
150+
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
151+
152+
files: processed_artifacts/1.20.1/*.jar
153+
154+
name: v${{ inputs.version }} For Minecraft 1.20.1
155+
version: v${{ inputs.version }}
156+
version-type: ${{ inputs.release_type }}
157+
158+
loaders: fabric
159+
game-versions: '1.20.1'
160+
game-version-filter: any
161+
dependencies: |-
162+
carpet(required)
163+
fabric-api(required)
164+
165+
modrinth-changelog: 'Got full change logs in [GitHub](https://github.com/OptiJava/OptCarpetAddition/releases).'
166+
curseforge-changelog: 'Got full change logs in [GitHub](https://github.com/OptiJava/OptCarpetAddition/releases).'
167+
168+
retry-attempts: 3
169+
retry-delay: 10000
170+
143171
- name: Publish Minecraft Mods 1.20.4
144172
uses: Kir-Antipov/mc-publish@v3.3
145173
with:

README-en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Most other MC versions that are the same as the supported major versions but hav
1818
| Minecraft Version | Support Status |
1919
|-------------------|---------------------------------------------------------------------------|
2020
| 1.20.4 | Supporting, developing actively |
21-
| 1.20.1 | Not supporting, development stopped (supporting stopped on `Jul 4, 2024`) |
21+
| 1.20.1 | Supporting, developing actively |
2222
| 1.19.3 | Supporting, developing actively |
2323
| 1.18.2 | Supporting, developing actively |
2424
| 1.17.1 | Supporting, developing actively |

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ Language: [English](https://github.com/OptiJava/OptCarpetAddition/blob/master/RE
1414

1515
其他与受支持的版本大版本相同小版本不同的MC版本,大多数可以直接安装正常工作,但是**不能保证稳定性,请谨慎使用**
1616

17-
| Minecraft 版本 | 支持状态 |
18-
|--------------|----------------------------|
19-
| 1.20.4 | 支持,积极开发 |
20-
| 1.20.1 | 不支持,停止维护(在`2024/7/4`停止维护) |
21-
| 1.19.3 | 支持,积极开发 |
22-
| 1.18.2 | 支持,积极开发 |
23-
| 1.17.1 | 支持,积极开发 |
24-
| 1.16.5 | 不支持,停止维护(在`2023/1/8`停止维护) |
17+
| Minecraft 版本 | 支持状态 |
18+
|--------------|---------------------------|
19+
| 1.20.4 | 支持,积极开发 |
20+
| 1.20.1 | 支持,积极开发 |
21+
| 1.19.3 | 支持,积极开发 |
22+
| 1.18.2 | 支持,积极开发 |
23+
| 1.17.1 | 支持,积极开发 |
24+
| 1.16.5 | 不支持,停止维护(在`2023/1/8`停止维护) |
2525

2626
## 规则
2727

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ preprocess {
99
def mc117 = createNode('1.17.1' , 1_17_01, 'yarn')
1010
def mc118 = createNode('1.18.2' , 1_18_02, 'yarn')
1111
def mc1193 = createNode('1.19.3' , 1_19_03, 'yarn')
12+
def mc1201 = createNode('1.20.1' , 1_20_01, 'yarn')
1213
def mc1204 = createNode('1.20.4' , 1_20_04, 'yarn')
1314

1415
mc117 .link(mc118, null)
1516
mc118 .link(mc1193, null)
16-
mc1193.link(mc1204, null)
17+
mc1193.link(mc1201, null)
18+
mc1201.link(mc1204, null)
1719
}

versions/1.20.1/gradle.properties

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Fabric Properties
2+
# check these on https://fabricmc.net/versions.html?&version=1.20.1
3+
minecraft_version=1.20.1
4+
yarn_mappings=1.20.1+build.9
5+
6+
# Fabric Mod Metadata
7+
minecraft_requirement_version=1.20.x
8+
carpet_requirement_version=>=1.4.112
9+
10+
# Build Information
11+
# The target mc versions for the mod during mod publishing, separated with \n
12+
game_versions=1.20.1
13+
14+
# Dependencies
15+
fabric_version=0.83.1+1.20.1
16+
carpet_core_version=4573334
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
accessWidener v1 named
2+
accessible class net/minecraft/entity/mob/EndermanEntity$PickUpBlockGoal
3+
accessible class net/minecraft/entity/mob/EndermanEntity$PlaceBlockGoal
4+
mutable field net/minecraft/network/packet/c2s/play/ChatMessageC2SPacket chatMessage Ljava/lang/String;
5+
accessible field net/minecraft/network/packet/c2s/play/ChatMessageC2SPacket chatMessage Ljava/lang/String;
6+
accessible field net/minecraft/server/network/ServerLoginNetworkHandler server Lnet/minecraft/server/MinecraftServer;
7+
accessible method net/minecraft/entity/Entity unsetRemoved ()V
8+
accessible method net/minecraft/server/network/ServerPlayerEntity worldChanged (Lnet/minecraft/server/world/ServerWorld;)V
9+
accessible class net/minecraft/world/block/ChainRestrictedNeighborUpdater$Entry
10+
accessible class net/minecraft/world/block/ChainRestrictedNeighborUpdater$SimpleEntry
11+
accessible class net/minecraft/world/block/ChainRestrictedNeighborUpdater$StateReplacementEntry
12+
accessible class net/minecraft/world/block/ChainRestrictedNeighborUpdater$StatefulEntry
13+
accessible class net/minecraft/world/block/ChainRestrictedNeighborUpdater$SixWayEntry
14+
accessible field net/minecraft/world/block/ChainRestrictedNeighborUpdater$SixWayEntry sourceBlock Lnet/minecraft/block/Block;
15+
accessible field net/minecraft/world/block/ChainRestrictedNeighborUpdater$SixWayEntry pos Lnet/minecraft/util/math/BlockPos;

0 commit comments

Comments
 (0)