Skip to content

Commit

Permalink
AT -> AW
Browse files Browse the repository at this point in the history
  • Loading branch information
TexBlock committed Aug 11, 2024
1 parent a705fce commit 19ebe31
Show file tree
Hide file tree
Showing 4 changed files with 157 additions and 4 deletions.
8 changes: 5 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ version = "${libs.versions.version.get()}-mc${libs.versions.minecraft.version.ge
group = libs.versions.maven.group

loom {
neoForge {
accessTransformer(file("src/main/resources/META-INF/accesstransformer.cfg"))
}
accessWidenerPath = file("src/main/resources/rocknroller.accesswidener")
}

repositories {
Expand Down Expand Up @@ -60,6 +58,10 @@ java {
withSourcesJar()
}

remapJar {
atAccessWideners.add("rocknroller.accesswidener")
}

// configure the maven publication
publishing {
publications {
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/META-INF/accesstransformer.cfg

This file was deleted.

150 changes: 150 additions & 0 deletions src/main/resources/assets/rocknroller/lang/zh_tw.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
{
"itemscroller.config.generic.name.carpetCtrlQCraftingEnabledOnServer": "地毯端 Ctrl+Q 啟用",
"itemscroller.config.generic.name.clientCraftingFixOn1_12": "1.12 客戶端修復",
"itemscroller.config.generic.name.craftingRenderRecipeItems": "配方顯示",
"itemscroller.config.generic.name.debugMessages": "除錯資訊開關",
"itemscroller.config.generic.name.modMainToggle": "主開關",
"itemscroller.config.generic.name.massCraftInhibitMidUpdates": "批量合成刷新優化",
"itemscroller.config.generic.name.massCraftInterval": "批量合成速度",
"itemscroller.config.generic.name.massCraftIterations": "批量合成嘗試",
"itemscroller.config.generic.name.massCraftSwapsOnly": "批量合成新方法",
"itemscroller.config.generic.name.packetRateLimit": "最大數據流",
"itemscroller.config.generic.name.craftingRecipesSaveToFile": "配方檔案保存",
"itemscroller.config.generic.name.craftingRecipesSaveFileIsGlobal": "全域配方保存",
"itemscroller.config.generic.name.rateLimitClickPackets": "連點限制",
"itemscroller.config.generic.name.reverseScrollDirectionSingle": "反向單個移動",
"itemscroller.config.generic.name.reverseScrollDirectionStacks": "反向單組移動",
"itemscroller.config.generic.name.useRecipeCaching": "使用配方快取",
"itemscroller.config.generic.name.useSlotPositionAwareScrollDirection": "欄位滾動方向",
"itemscroller.config.generic.name.villagerTradeUseGlobalFavorites": "置頂收藏交易",
"itemscroller.config.generic.name.villagerTradeListRememberScrollPosition": "交易書籤",
"itemscroller.config.generic.name.sortAssumeEmptyBoxStacks": "嘗試堆疊空界伏盒",
"itemscroller.config.generic.name.sortShulkerBoxesAtEnd": "界伏盒置底",

"itemscroller.config.generic.comment.carpetCtrlQCraftingEnabledOnServer": "如果伺服器正在運行地毯端則建議開啟\n這將改變物品滾輪整組丟棄的使用方式\n變成 丟棄鍵+Shift+右鍵 丟棄整組。",
"itemscroller.config.generic.comment.clientCraftingFixOn1_12": "在客戶端直接更新合成配方輸出\n這修正了在1.12中快速/大量製造和右鍵點擊製造所產生的不可使用的問題。",
"itemscroller.config.generic.comment.craftingRenderRecipeItems": "啟用後,配方物品也將呈現於合成配方視圖中。",
"itemscroller.config.generic.comment.debugMessages": "啟用後,將會輸出除錯資訊到遊戲控制台中。",
"itemscroller.config.generic.comment.modMainToggle": "開啟/關閉所有功能",
"itemscroller.config.generic.comment.massCraftInhibitMidUpdates": "禁止批量合成時配方輸出槽在材料移動到合成GUI的過程中更新。\n這將會減少CPU的佔用,因為遊戲會在每次合成配方更改後\n不斷地查詢配方並顯示產物。",
"itemscroller.config.generic.comment.massCraftInterval": "每tick中批量合成的次數。",
"itemscroller.config.generic.comment.massCraftIterations": "設定每次執行多少次批次合成的迭代或嘗試,\n適用於玩家合成不可堆疊的物品或玩家背包已滿這類情況,\n這將需要玩家擁有更大的背包空間,\n因為使用shift單擊合成時,\n背包中可能只進行1或2次合成操作。",
"itemscroller.config.generic.comment.massCraftSwapsOnly": "使用新的方法填滿配方GUI,\n即只使用槽位交換包\n注意:由於只使用槽位交換包,所以不可能有部分的合成!\n而且也不會發生整組物品拆開的現象。",
"itemscroller.config.generic.comment.packetRateLimit": "當 §6[連點限制]§f 開啟後每個tick發送的最大模擬操作數據包的數量。",
"itemscroller.config.generic.comment.craftingRecipesSaveToFile": "啟用後,合成配方將保存到檔案\n\"minecraft/itemscroller/recipes_worldorservername.nbt\"\n中。這可以使得合成配方在遊戲重啟後能保持不變。",
"itemscroller.config.generic.comment.craftingRecipesSaveFileIsGlobal": "啟用後,將會使配方檔案全域化,而不是對每個世界或伺服器單獨保存。",
"itemscroller.config.generic.comment.rateLimitClickPackets": "為了與Spigot和類似伺服器相容,\n發送的資料包發送速率進行限制。\n這將模擬正常操作的數據包排隊,\n並隨著時間的推移以一定速率發送數據包。\n每個tick的限制可以在 §6[最大數據流]§f 中設置。",
"itemscroller.config.generic.comment.reverseScrollDirectionSingle": "反轉滾動方向為單個物品移動模式。",
"itemscroller.config.generic.comment.reverseScrollDirectionStacks": "反轉滾動方向為單組物品移動模式。",
"itemscroller.config.generic.comment.useRecipeCaching": "在合成配方操作取得輸出項參數時,\n傳遞快取中最後使用的配方參數。\n當大量合成物品時,這可以大大降低CPU使用率。",
"itemscroller.config.generic.comment.useSlotPositionAwareScrollDirection": "啟用後,物品的移動方向將取決於螢幕上欄位的y軸位置。\n可能導致更複雜的背包,謹慎使用!",
"itemscroller.config.generic.comment.villagerTradeUseGlobalFavorites": "啟用後,收藏的交易項目將會被置頂。",
"itemscroller.config.generic.comment.villagerTradeListRememberScrollPosition": "啟用後,退出村民交易GUI將不會重置滾動條。",
"itemscroller.config.generic.comment.sortAssumeEmptyBoxStacks": "整理物品欄時假設空界伏盒可以堆疊。\n當你在遠端伺服器啟用此特性時會很有用。\n這會多發送一個網路封包來確保伺服器同步",
"itemscroller.config.generic.comment.sortShulkerBoxesAtEnd": "整理物品欄時將界伏盒放在最後。",

"itemscroller.config.toggles.name.enableCraftingFeatures": "啟用配方視圖",
"itemscroller.config.toggles.name.enableDropkeyDropMatching": "全部丟棄",
"itemscroller.config.toggles.name.enableRightClickCraftingOneStack": "右鍵合成",
"itemscroller.config.toggles.name.enableScrollingEverything": "滾動所有",
"itemscroller.config.toggles.name.enableScrollingMatchingStacks": "滾動相同",
"itemscroller.config.toggles.name.enableScrollingSingle": "滾動單個物品",
"itemscroller.config.toggles.name.enableScrollingStacks": "滾動整組",
"itemscroller.config.toggles.name.enableScrollingStacksFallback": "回退滾動模式",
"itemscroller.config.toggles.name.enableScrollingVillager": "滾動交易",
"itemscroller.config.toggles.name.enableShiftDropItems": "Shift 丟棄物品",
"itemscroller.config.toggles.name.enableShiftPlaceItems": "Shift 移動物品",
"itemscroller.config.toggles.name.enableVillagerTradeFeatures": "交易優化",

"itemscroller.config.toggles.comment.enableCraftingFeatures": "開啟內建配方視圖功能,支持最多 8 頁,每頁 18 種配方,\n可將物品放置於合成表。\n按住 §6[配方視圖]§f 查看配方列表,並可通過滾動滾輪或數字鍵選擇配方,\n點擊配方可在工作台完成合成。\n在配方達到待命狀態(不取出合成產物)時,按下 §6[儲存配方]§f 即可在選定位置進行配方儲存(舊配方將被覆蓋)。",
"itemscroller.config.toggles.comment.enableDropkeyDropMatching": "按下 §6[全部丟棄]§f 快速鍵後,從同一庫存中丟棄所有匹配的物品。",
"itemscroller.config.toggles.comment.enableRightClickCraftingOneStack": "右鍵點擊儲存的配方後,將直接合成一個物品。",
"itemscroller.config.toggles.comment.enableScrollingEverything": "按住 §6[滾動所有]§f 快速鍵時,允許滾動滑輪來移動所有物品。",
"itemscroller.config.toggles.comment.enableScrollingMatchingStacks": "按住 §6[滾動相同]§f 快速鍵時,允許滾動滑輪來移動所有匹配的物品。",
"itemscroller.config.toggles.comment.enableScrollingSingle": "在不按任何快速鍵時,允許滾動滑輪來移動單個物品。",
"itemscroller.config.toggles.comment.enableScrollingStacks": "按住 §6[滾動整組]§f 快速鍵時,允許滾動滑輪來移動整組物品。",
"itemscroller.config.toggles.comment.enableScrollingStacksFallback": "啟用 \"回退\" 的滾動模式。\n(在工作台等位置可能會減少發包)",
"itemscroller.config.toggles.comment.enableScrollingVillager": "對交易GUI進行特殊處理,允許對輸出位的物品進行滾動以進行快速交易。",
"itemscroller.config.toggles.comment.enableShiftDropItems": "允許通過按住 Shift 鍵並單擊物品時丟出所有匹配的物品。",
"itemscroller.config.toggles.comment.enableShiftPlaceItems": "允許通過按住 Shift 鍵並將物品放置於空位時移動所有匹配的物品。",
"itemscroller.config.toggles.comment.enableVillagerTradeFeatures": "為村民交易啟用收藏和快速交易功能。\n注意: §6[滾動交易]§f 是單獨功能,不受此選項影響。\n此選項允許透過點擊滑鼠中鍵來標記最喜歡的交易,\n並開啟在交易清單上右鍵點選物品購空物品的功能。",

"itemscroller.config.hotkeys.name.openConfigGui": "打開配置介面",
"itemscroller.config.hotkeys.name.craftEverything": "全部合成",
"itemscroller.config.hotkeys.name.dropAllMatching": "全部丟棄",
"itemscroller.config.hotkeys.name.massCraft": "全部合成並抛出",
"itemscroller.config.hotkeys.name.moveCraftResults": "工作台放置",
"itemscroller.config.hotkeys.name.recipeView": "配方視圖",
"itemscroller.config.hotkeys.name.slotDebug": "除錯欄",
"itemscroller.config.hotkeys.name.storeRecipe": "儲存配方",
"itemscroller.config.hotkeys.name.throwCraftResults": "合成結果拋出",
"itemscroller.config.hotkeys.name.toggleModOnOff": "主開關",
"itemscroller.config.hotkeys.name.villagerTradeFavorites": "最優交易",
"itemscroller.config.hotkeys.name.keyDragDropLeaveOne": "丟到只剩一個",
"itemscroller.config.hotkeys.name.keyDragDropSingle": "就扔一個",
"itemscroller.config.hotkeys.name.keyDragDropStacks": "扔一份",
"itemscroller.config.hotkeys.name.keyDragMoveLeaveOne": "移到只剩一個",
"itemscroller.config.hotkeys.name.keyDragMoveMatching": "匹配的全部移動",
"itemscroller.config.hotkeys.name.keyDragMoveOne": "就移一個",
"itemscroller.config.hotkeys.name.keyDragMoveStacks": "移一份",
"itemscroller.config.hotkeys.name.keyMoveEverything": "全部移動",
"itemscroller.config.hotkeys.name.wsMoveDownLeaveOne": "只剩一個",
"itemscroller.config.hotkeys.name.wsMoveDownMatching": "全部下移",
"itemscroller.config.hotkeys.name.wsMoveDownSingle": "只下移一個",
"itemscroller.config.hotkeys.name.wsMoveDownStacks": "下移一份",
"itemscroller.config.hotkeys.name.wsMoveUpLeaveOne": "只剩一個",
"itemscroller.config.hotkeys.name.wsMoveUpMatching": "全部上移",
"itemscroller.config.hotkeys.name.wsMoveUpSingle": "只上移一個",
"itemscroller.config.hotkeys.name.wsMoveUpStacks": "上移一份",
"itemscroller.config.hotkeys.name.modifierMoveEverything": "滚動所有",
"itemscroller.config.hotkeys.name.modifierMoveMatching": "滚動相同",
"itemscroller.config.hotkeys.name.modifierMoveStack": "滚動一份",
"itemscroller.config.hotkeys.name.modifierToggleVillagerGlobalFavorite": "全局交易收藏",
"itemscroller.config.hotkeys.name.sortInventory": "整理容器",

"itemscroller.config.hotkeys.comment.openConfigGui": "打開遊戲內配置介面。",
"itemscroller.config.hotkeys.comment.craftEverything": "用目前選定的配方消耗完所有的材料進行合成。",
"itemscroller.config.hotkeys.comment.dropAllMatching": "丟棄所有與滑鼠指標指向的物品相符的物品",
"itemscroller.config.hotkeys.comment.massCraft": "按住快速鍵時,批量合成當前選擇的配方並將產物丟出。",
"itemscroller.config.hotkeys.comment.moveCraftResults": "將目前選擇配方的所有材料全部放置於合成台上。",
"itemscroller.config.hotkeys.comment.recipeView": "顯示配方GUI",
"itemscroller.config.hotkeys.comment.slotDebug": "列印滑鼠懸停欄位或GUI的除錯訊息\n(譯註:非除錯時無需設置)",
"itemscroller.config.hotkeys.comment.storeRecipe": "當滑鼠懸停在合成輸出項目上時,儲存當前的合成配方。",
"itemscroller.config.hotkeys.comment.throwCraftResults": "批量丟出當前選擇配方中的輸出物品。",
"itemscroller.config.hotkeys.comment.toggleModOnOff": "開啟/關閉所有mod功能",
"itemscroller.config.hotkeys.comment.villagerTradeFavorites": "按下快速鍵時將嘗試一鍵買空所有收藏的交易內容。",
"itemscroller.config.hotkeys.comment.keyDragDropLeaveOne": "按住快速鍵丟棄物品,被指向的物品只保留一個。",
"itemscroller.config.hotkeys.comment.keyDragDropSingle": "按住快速鍵丟棄物品,被指向的物品只丟棄一個。",
"itemscroller.config.hotkeys.comment.keyDragDropStacks": "按住快速鍵丟棄物品,被指到的格子全部丟棄。",
"itemscroller.config.hotkeys.comment.keyDragMoveLeaveOne": "按住快速鍵移動物品,被指向的物品只保留一個。",
"itemscroller.config.hotkeys.comment.keyDragMoveMatching": "按住快速鍵移動所有相同物品。",
"itemscroller.config.hotkeys.comment.keyDragMoveOne": "按住快速鍵移動物品,被指向的物品只移動一個。",
"itemscroller.config.hotkeys.comment.keyDragMoveStacks": "按住快速鍵移動物品,被指向的格子全部移動。",
"itemscroller.config.hotkeys.comment.keyMoveEverything": "點擊物品時,將所有物品移到另一個容器內。",
"itemscroller.config.hotkeys.comment.wsMoveDownLeaveOne": "將庫存中除最後一個物品之外的所有物品從每堆物品“向下”移動的鍵。",
"itemscroller.config.hotkeys.comment.wsMoveDownMatching": "將庫存中所有匹配的物品“向下”移動的鍵。",
"itemscroller.config.hotkeys.comment.wsMoveDownSingle": "在庫存中移動單個物品“向下”的鍵。",
"itemscroller.config.hotkeys.comment.wsMoveDownStacks": "在庫存中移動一份物品“向下”的鍵。",
"itemscroller.config.hotkeys.comment.wsMoveUpLeaveOne": "將庫存中除最後一個物品之外的所有物品從每堆物品“向上”移動的鍵。",
"itemscroller.config.hotkeys.comment.wsMoveUpMatching": "將庫存中所有匹配的物品“向上”移動的鍵。",
"itemscroller.config.hotkeys.comment.wsMoveUpSingle": "在庫存中移動單個物品“向上”的鍵。",
"itemscroller.config.hotkeys.comment.wsMoveUpStacks": "在庫存中移動一份物品“向上”的鍵。",
"itemscroller.config.hotkeys.comment.modifierMoveEverything": "當在物品上滚動時,按下此鍵將會使所有物品移動到另一個庫存\n(這個快速鍵並没有實際功能,類似前綴)",
"itemscroller.config.hotkeys.comment.modifierMoveMatching": "當在物品上滚動時,按下此鍵將會使所有匹配的物品移動到另一個庫存\n(這個快速鍵並没有實際功能,類似前綴)",
"itemscroller.config.hotkeys.comment.modifierMoveStack": "當在堆疊上滾動時,修飾鍵將整個堆疊移動到另一個庫存\n(這個快速鍵並没有實際功能,類似前綴)",
"itemscroller.config.hotkeys.comment.modifierToggleVillagerGlobalFavorite": "按住該快速鍵時收藏的交易將進行全局收藏\n全局收藏將會作用於所有村民。",
"itemscroller.config.hotkeys.comment.sortInventory": "對滑鼠指標所在的物品欄位進行整理。",

"itemscroller.gui.button.config_gui.generic": "通用",
"itemscroller.gui.button.config_gui.hotkeys": "快速鍵",
"itemscroller.gui.button.config_gui.toggles": "開關",

"itemscroller.gui.label.recipe_page": "頁 %d / %d",
"itemscroller.gui.label.trades": "交易",
"itemscroller.gui.label.trade_uses": "交易使用: %d / %",

"itemscroller.gui.title.configs": "%s 配置 - %s",

"itemscroller.message.toggled_mod_off": "Item Scroller 功能調整為:§c關閉",
"itemscroller.message.toggled_mod_on": "Item Scroller 功能調整為:§a開啟"
}
2 changes: 2 additions & 0 deletions src/main/resources/rocknroller.accesswidener
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
accessWidener v1 named
accessible field net/minecraft/screen/ScreenHandler trackedStacks Lnet/minecraft/util/collection/DefaultedList;

0 comments on commit 19ebe31

Please sign in to comment.