Skip to content

Commit c2dcff2

Browse files
committed
Cleanup and increment version
1 parent b360598 commit c2dcff2

File tree

5 files changed

+28
-8
lines changed

5 files changed

+28
-8
lines changed

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 2.0.1
4+
5+
- Updated Russian translation (rfin0)
6+
- Fixed creative search (TauCu)
7+
38
## 2.0.0
49

510
- Increased interaction interval limit to 1000ms

common/src/main/java/dev/terminalmc/clientsort/client/order/CreativeSearchOrder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ private static void refreshStackPositionMap() {
103103
displayStacks = CreativeModeTabs.searchTab().getDisplayItems()
104104
.stream().map(ItemStack::copy).toList();
105105
} finally {
106-
CreativeModeTabsAccessor.setCachedParameters(null);
106+
CreativeModeTabsAccessor.clientsort$setCachedParameters(null);
107107
}
108108

109109
new Thread(

common/src/main/java/dev/terminalmc/clientsort/mixin/client/accessor/CreativeModeTabsAccessor.java

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2025 TerminalMC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package dev.terminalmc.clientsort.mixin.client.accessor;
218

319
import net.minecraft.world.item.CreativeModeTab;
@@ -9,8 +25,7 @@
925
public interface CreativeModeTabsAccessor {
1026

1127
@Accessor("CACHED_PARAMETERS")
12-
static void setCachedParameters(CreativeModeTab.ItemDisplayParameters newParams) {
28+
static void clientsort$setCachedParameters(CreativeModeTab.ItemDisplayParameters newParams) {
1329
throw new AssertionError();
1430
}
15-
1631
}

common/src/main/resources/clientsort.mixins.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
"client.MinecraftMixin",
1717
"client.ScreenMixin",
1818
"client.accessor.AbstractContainerScreenAccessor",
19+
"client.accessor.CreativeModeTabsAccessor",
1920
"client.accessor.KeyMappingAccessor",
2021
"client.accessor.ScreenAccessor",
2122
"client.compat.emi.ReloadWorkerMixin",
22-
"client.slot.CreativeSlotMixin",
23-
"client.accessor.CreativeModeTabsAccessor"
23+
"client.slot.CreativeSlotMixin"
2424
],
2525
"server": [
2626
],

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
template_version=7
1111

1212
# Mod Version
13-
mod_version=2.0.0
13+
mod_version=2.0.1
1414
# 'STABLE', 'BETA' or 'ALPHA'
1515
mod_version_type=STABLE
1616

@@ -21,8 +21,8 @@ mod_name=ClientSort
2121
mod_description=Versatile and easy inventory sorting.
2222
mod_owner=TerminalMC
2323
mod_authors=NotRyken
24-
mod_contributors=Siphalor (Mouse Wheelie),Roundaround (Inventory Management),octoturt (#14)
25-
mod_translators=Xinyang-Gao (zh_cn),rfin0 (ru_ru)
24+
mod_contributors=Siphalor (Mouse Wheelie),Roundaround (Inventory Management),TauCu (#49),octoturt (#14)
25+
mod_translators=rfin0 (ru_ru),Xinyang-Gao (zh_cn)
2626
mod_credits=
2727
mod_license=Apache-2.0
2828

0 commit comments

Comments
 (0)