Explorar o código

25w02a part 1

Nattiden hai 1 ano
pai
achega
da26550202

+ 4 - 1
Actions/check_mcv.py

@@ -10,6 +10,9 @@ PRE_RELEASE_PATTERN = re.compile(r'^.*-pre[0-9]+$')
 RELEASE_CANDIDATE_PATTERN = re.compile(r'^.*-rc[0-9]+$')
 RELEASE_PATTERN = re.compile(r'^1\.[0-9]+(\.[0-9]+)?$')
 
+CURRENT_MAJOR_DEVELOPING_VERSION = "1.21"
+CURRENT_MINOR_DEVELOPING_VERSION = "1.21.5"
+
 require_update = False
 
 def get_version_type(vid:str):
@@ -30,7 +33,7 @@ def update_library(version_mainfest,version_libloc:str,ver_type:str,ver_id:str):
     content += 'not_finished: true\n'
     content += f'server-jar: {get_server_jar(version_mainfest,ver_id)}\n'
     content += 'translator: null\n'
-    content += "cats: ['1.21','1.21.4']\n"
+    content += f"cats: ['{CURRENT_MAJOR_DEVELOPING_VERSION}','{CURRENT_MINOR_DEVELOPING_VERSION}']\n"
     content += '---\n'
     #write file
     filepath = f'{version_libloc}{ver_type}{os.sep}{ver_id}.md'

+ 0 - 0
Project/libraries/Versions/Snapshot/24w33a.md → Project/libraries/Versions/Snapshot/2024/24w33a.md


+ 0 - 0
Project/libraries/Versions/Snapshot/24w34a.md → Project/libraries/Versions/Snapshot/2024/24w34a.md


+ 0 - 0
Project/libraries/Versions/Snapshot/24w35a.md → Project/libraries/Versions/Snapshot/2024/24w35a.md


+ 0 - 0
Project/libraries/Versions/Snapshot/24w36a.md → Project/libraries/Versions/Snapshot/2024/24w36a.md


+ 0 - 0
Project/libraries/Versions/Snapshot/24w37a.md → Project/libraries/Versions/Snapshot/2024/24w37a.md


+ 0 - 0
Project/libraries/Versions/Snapshot/24w38a.md → Project/libraries/Versions/Snapshot/2024/24w38a.md


+ 0 - 0
Project/libraries/Versions/Snapshot/24w39a.md → Project/libraries/Versions/Snapshot/2024/24w39a.md


+ 0 - 0
Project/libraries/Versions/Snapshot/24w40a.md → Project/libraries/Versions/Snapshot/2024/24w40a.md


+ 0 - 0
Project/libraries/Versions/Snapshot/24w44a.md → Project/libraries/Versions/Snapshot/2024/24w44a.md


+ 0 - 0
Project/libraries/Versions/Snapshot/24w45a.md → Project/libraries/Versions/Snapshot/2024/24w45a.md


+ 0 - 0
Project/libraries/Versions/Snapshot/24w46a.md → Project/libraries/Versions/Snapshot/2024/24w46a.md


+ 66 - 0
Project/libraries/Versions/Snapshot/2025/25w02a.md

@@ -0,0 +1,66 @@
+---
+version-image-link: https://image.stapxs.cn/i/2025/01/09/image.png
+not_finished: true
+server-jar: https://piston-data.mojang.com/v1/objects/d9bf4ff75df54a19c19cb4fbc37f020a734904e5/server.jar
+translator: 最亮的信标
+intro: 装饰更新
+cats: ['1.21','1.21.5']
+---
+## 新特性
+* 为没有粒子的树叶方块增加了落叶粒子
+* 增加了寒冷和温暖变种的[[猪]]
+* 增加了 *Wildflowers* 方块
+* 增加了 *Leaf Litter* 方块
+
+### 树叶方块粒子
+* 所有树叶方块现在有一定几率生成落叶粒子
+* 受本次更改影响的有下列方块:
+    * 橡树树叶
+    * 丛林树叶
+	* 金合欢树叶
+	* 深色橡树树叶
+	* 云杉树叶
+	* 红树树叶
+	* 白桦树叶
+	* 杜鹃树叶
+    * 盛开的杜鹃树叶
+
+### 猪变种
+* 加入了新的猪变种,变种类型取决于其生成位置所处生物群系
+* *Temperate Pig* - 我们都熟悉的猪
+    * 在 *Cold Pig* 和 *Warm Pig* 都不生成的地方默认生成该变种
+* *Cold Pig* - 在下列群系中生成:
+    * 原始松木针叶林
+    * 原始云杉针叶林
+    * 针叶林
+    * 积雪针叶林
+    * 风袭丘陵
+    * 风袭沙砾丘陵
+    * 风袭森林
+
+* *Warm Pig* - 在下列群系中生成:
+    * 热带草原
+    * 热带高原
+    * 风袭热带草原
+    * 丛林
+    * 稀疏丛林
+    * 竹林
+    * 风蚀恶地
+    * 疏林恶地
+    * 恶地
+*   当由玩家繁殖时,幼年猪的变体类型不会由当前生物群系确定,而是从其父母随机选取一方的类型。
+
+### Wildflowers
+* Wildflowers 是在桦木森林、原始桦木森林和草甸中生长的一种新的花种
+* 可以在一格中可以容纳最多 4 个 Wildflowers(类似于海泡菜)
+    * 使用骨粉可以产生更多 Wildflower
+* Wildflowers 有四种方向可供放置
+* Wildflower 可以合成黄色染料
+
+### Leaf Litter
+* Leaf Litter 是一种可在森林、黑森林和疏林恶地找到的装饰方块
+* 可以在一格中可以容纳最多 4 个 Leaf Litter
+* Leaf Litter 有四种方向可供放置
+* Leaf Litter 可由烧炼树叶获得
+* Leaf Litter 可以作为烧炼燃料
+* Leaf Litter 有独特的方块音效

+ 1 - 0
Project/libraries/Versions/Snapshot/2025/__LIBRARY__.yml

@@ -0,0 +1 @@
+name: snapshots-2025

+ 0 - 7
Project/libraries/Versions/Snapshot/25w02a.md

@@ -1,7 +0,0 @@
----
-version-image-link: null
-not_finished: true
-server-jar: https://piston-data.mojang.com/v1/objects/d9bf4ff75df54a19c19cb4fbc37f020a734904e5/server.jar
-translator: null
-cats: ['1.21','1.21.4']
----

+ 2 - 2
Project/modules/APIs.py

@@ -41,11 +41,11 @@ class LatestVersionAPI(CodeBasedPage):
         else:
             self.latest_snapshot = None
         self.respond = None
-    
+
     @property
     def display_name(self):
         return 'api/versions/latest'
-    
+
     def pregen_respond(self, context):
         respond = {}
         if self.latest_snapshot: