Skip to content

Commit 9f7c65f

Browse files
committed
Update to 26.1 snapshot 3
1 parent 76a2a97 commit 9f7c65f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ mixinextras_version=0.4.1
77
mod_id=modernfix
88
minecraft_version=26.1
99
enabled_platforms=neoforge
10-
forge_version=26.1.0.0-alpha.2+snapshot-1
10+
forge_version=26.1.0.0-alpha.7+snapshot-3
1111
parchment_version=2025.12.20
1212
parchment_mc_version=1.21.11
1313
refined_storage_version=4392788

src/main/java/org/embeddedt/modernfix/common/mixin/bugfix/missing_block_entities/LevelChunkMixin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ private void validateBlockEntitiesInChunk(CallbackInfo ci) {
6161

6262
@Unique
6363
private void scanSectionForBlockEntities(LevelChunkSection section, int i) {
64-
int chunkXOff = this.chunkPos.x * 16;
65-
int chunkZOff = this.chunkPos.z * 16;
64+
int chunkXOff = this.chunkPos.x() * 16;
65+
int chunkZOff = this.chunkPos.z() * 16;
6666
BlockPos.MutableBlockPos cursor = new BlockPos.MutableBlockPos();
6767
int sectionYOff = this.getSectionYFromSectionIndex(i) * 16;
6868
for (int y = 0; y < 16; y++) {

src/main/java/org/embeddedt/modernfix/common/mixin/perf/dynamic_resources/MixinModelBakery.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ private <K, U, V> CompletableFuture<Map<K, V>> dynamicallyBake(Map<K, U> input,
3030
* @author embeddedt
3131
* @reason We want log4j to print the stacktrace and not just the exception message
3232
*/
33-
@ModifyConstant(method = "lambda$bakeModels$3", constant = @Constant(stringValue = "Unable to bake model: '{}': {}"))
33+
@ModifyConstant(method = "lambda$bakeModels$0", constant = @Constant(stringValue = "Unable to bake model: '{}': {}"))
3434
private static String showFullException(String prefix) {
3535
return "Unable to bake model: '{}'";
3636
}

0 commit comments

Comments
 (0)