Skip to content

Commit ce1210e

Browse files
committed
[WIP][core] Port to 1.21.11
* update dependencies - yarn mappings 1.21.11+build.1 - fabric api 0.139.4+1.21.11 - fabric loader 0.18.2 - fabric loom 1.14 - Gradle 9.2.1 - SoundCategories * new sounds - Nautilus armor - Netherite horse armor
1 parent aba5f11 commit ce1210e

24 files changed

Lines changed: 169 additions & 30 deletions

File tree

build.gradle

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,8 @@ plugins {
99

1010
var targetJavaLang = Integer.parseInt(project.java_lang_version)
1111

12-
tasks.named('runClient').with {
13-
if (isPresent()) {
14-
configure {
15-
dependsOn(build)
16-
}
17-
}
12+
tasks.named('runClient').configure {
13+
dependsOn(build)
1814
}
1915

2016
var verStr = (project.findProperty('verStr') ?: versionDetails().gitHash[0..7]).toString()

gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ org.gradle.caching=true
55
org.gradle.configureondemand=true
66
# Fabric Properties
77
# check these on https://fabricmc.net/develop/
8-
minecraft_version=1.21.10
8+
minecraft_version=1.21.11
99
yarn_mappings=+build.1
10-
loader_version=0.17.3
11-
loom_version=1.11-SNAPSHOT
10+
loader_version=0.18.2
11+
loom_version=1.14-SNAPSHOT
1212
#Fabric api
13-
fabric_api_version=0.135.0+1.21.10
13+
fabric_api_version=0.139.4+1.21.11
1414
# Java
1515
java_lang_version=17
1616
# Mod Properties

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.0-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pluginManagement {
1616
// SoundCategories modules
1717
include 'sound-categories', 'sound-categories:shared'
1818
// 1.21 family
19-
include 'sound-categories:versioned:sc1.21.9', 'sound-categories:versioned:sc1.21'
19+
include 'sound-categories:versioned:sc1.21.11', 'sound-categories:versioned:sc1.21.9', 'sound-categories:versioned:sc1.21'
2020
// 1.20 family
2121
include 'sound-categories:versioned:sc1.20.5', 'sound-categories:versioned:sc1.20.3', 'sound-categories:versioned:sc1.20.2', 'sound-categories:versioned:sc1.20'
2222
// 1.19 family

sound-categories

Submodule sound-categories updated 21 files

src/main/resources/assets/extrasounds/sounds.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,6 +1103,16 @@
11031103
}
11041104
]
11051105
},
1106+
"item.pickup.minecraft.netherite_horse_armor": {
1107+
"replace": true,
1108+
"sounds": [
1109+
{
1110+
"name": "extrasounds:item.category.gear.netherite",
1111+
"pitch": 0.8,
1112+
"type": "event"
1113+
}
1114+
]
1115+
},
11061116
"item.pickup.minecraft.diamond_horse_armor": {
11071117
"replace": true,
11081118
"sounds": [
@@ -2101,5 +2111,55 @@
21012111
"type": "event"
21022112
}
21032113
]
2114+
},
2115+
"item.pickup.minecraft.netherite_nautilus_armor": {
2116+
"replace": true,
2117+
"sounds": [
2118+
{
2119+
"name": "extrasounds:item.category.gear.netherite",
2120+
"pitch": 0.8,
2121+
"type": "event"
2122+
}
2123+
]
2124+
},
2125+
"item.pickup.minecraft.diamond_nautilus_armor": {
2126+
"replace": true,
2127+
"sounds": [
2128+
{
2129+
"name": "extrasounds:item.category.gear.diamond",
2130+
"pitch": 0.8,
2131+
"type": "event"
2132+
}
2133+
]
2134+
},
2135+
"item.pickup.minecraft.golden_nautilus_armor": {
2136+
"replace": true,
2137+
"sounds": [
2138+
{
2139+
"name": "extrasounds:item.category.gear.golden",
2140+
"pitch": 0.8,
2141+
"type": "event"
2142+
}
2143+
]
2144+
},
2145+
"item.pickup.minecraft.iron_nautilus_armor": {
2146+
"replace": true,
2147+
"sounds": [
2148+
{
2149+
"name": "extrasounds:item.category.gear.iron",
2150+
"pitch": 0.8,
2151+
"type": "event"
2152+
}
2153+
]
2154+
},
2155+
"item.pickup.minecraft.copper_nautilus_armor": {
2156+
"replace": true,
2157+
"sounds": [
2158+
{
2159+
"name": "extrasounds:item.category.gear.copper",
2160+
"pitch": 0.8,
2161+
"type": "event"
2162+
}
2163+
]
21042164
}
21052165
}

versioned/es1.18.2/src/main/java/dev/stashy/extrasounds/mc1_18_2/mixin/inventory/CreativeInventoryScreenMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected boolean isCreativeInventorySlot(Slot slot) {
5454

5555
@Override
5656
protected Slot getDeleteItemSlot() {
57-
return deleteItemSlot;
57+
return CreativeInventoryScreenMixin.this.deleteItemSlot;
5858
}
5959
};
6060

versioned/es1.18/src/main/java/dev/stashy/extrasounds/mc1_18/mixin/inventory/CreativeInventoryScreenMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected boolean isCreativeInventorySlot(Slot slot) {
5454

5555
@Override
5656
protected Slot getDeleteItemSlot() {
57-
return deleteItemSlot;
57+
return CreativeInventoryScreenMixin.this.deleteItemSlot;
5858
}
5959
};
6060

versioned/es1.19.1/src/main/java/dev/stashy/extrasounds/mc1_19_1/mixin/inventory/CreativeInventoryScreenMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected boolean isCreativeInventorySlot(Slot slot) {
5454

5555
@Override
5656
protected Slot getDeleteItemSlot() {
57-
return deleteItemSlot;
57+
return CreativeInventoryScreenMixin.this.deleteItemSlot;
5858
}
5959
};
6060

versioned/es1.19.3/src/main/java/dev/stashy/extrasounds/mc1_19_3/mixin/inventory/CreativeInventoryScreenMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ protected boolean isCreativeInventorySlot(Slot slot) {
5353

5454
@Override
5555
protected Slot getDeleteItemSlot() {
56-
return deleteItemSlot;
56+
return CreativeInventoryScreenMixin.this.deleteItemSlot;
5757
}
5858
};
5959

0 commit comments

Comments
 (0)