Update to 26.1 snapshot 3

This commit is contained in:
embeddedt 2026-01-19 20:48:30 -05:00
parent 76a2a97d2d
commit 9f7c65fc67
No known key found for this signature in database
GPG Key ID: A69433EC199B5613
3 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ mixinextras_version=0.4.1
mod_id=modernfix
minecraft_version=26.1
enabled_platforms=neoforge
forge_version=26.1.0.0-alpha.2+snapshot-1
forge_version=26.1.0.0-alpha.7+snapshot-3
parchment_version=2025.12.20
parchment_mc_version=1.21.11
refined_storage_version=4392788

View File

@ -61,8 +61,8 @@ public abstract class LevelChunkMixin extends ChunkAccess {
@Unique
private void scanSectionForBlockEntities(LevelChunkSection section, int i) {
int chunkXOff = this.chunkPos.x * 16;
int chunkZOff = this.chunkPos.z * 16;
int chunkXOff = this.chunkPos.x() * 16;
int chunkZOff = this.chunkPos.z() * 16;
BlockPos.MutableBlockPos cursor = new BlockPos.MutableBlockPos();
int sectionYOff = this.getSectionYFromSectionIndex(i) * 16;
for (int y = 0; y < 16; y++) {

View File

@ -30,7 +30,7 @@ public class MixinModelBakery {
* @author embeddedt
* @reason We want log4j to print the stacktrace and not just the exception message
*/
@ModifyConstant(method = "lambda$bakeModels$3", constant = @Constant(stringValue = "Unable to bake model: '{}': {}"))
@ModifyConstant(method = "lambda$bakeModels$0", constant = @Constant(stringValue = "Unable to bake model: '{}': {}"))
private static String showFullException(String prefix) {
return "Unable to bake model: '{}'";
}