Skip to content

Commit ff97c8a

Browse files
committed
build: 25w19a
1 parent 119c4e5 commit ff97c8a

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

c2me-rewrites-chunk-system/src/main/java/com/ishland/c2me/rewrites/chunksystem/common/statuses/ServerAccessible.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
import com.ishland.c2me.rewrites.chunksystem.common.fapi.LifecycleEventInvoker;
1414
import com.ishland.c2me.rewrites.chunksystem.common.threadstate.ChunkTaskWork;
1515
import com.ishland.flowsched.scheduler.Cancellable;
16-
import net.minecraft.class_11352;
17-
import net.minecraft.class_11368;
1816
import net.minecraft.entity.EntityType;
1917
import net.minecraft.entity.SpawnReason;
2018
import net.minecraft.server.world.ServerWorld;
19+
import net.minecraft.storage.NbtReadView;
20+
import net.minecraft.storage.ReadView;
2121
import net.minecraft.util.ErrorReporter;
2222
import net.minecraft.world.chunk.Chunk;
2323
import net.minecraft.world.chunk.ChunkStatus;
@@ -75,10 +75,10 @@ private static WorldChunk toFullChunk(ProtoChunk protoChunk, ServerWorld serverW
7575
worldChunk = ((WrapperProtoChunk) protoChunk).getWrappedChunk();
7676
} else {
7777
worldChunk = new WorldChunk(serverWorld, protoChunk, worldChunkx -> {
78-
try (ErrorReporter.class_11340 lv = new ErrorReporter.class_11340(protoChunk.method_71412(), LOGGER)) {
79-
class_11368.class_11370 arg = class_11352.method_71416(lv, serverWorld.getRegistryManager(), protoChunk.getEntities());
80-
if (!arg.method_71444()) {
81-
serverWorld.addEntities(EntityType.streamFromNbt(arg, serverWorld, SpawnReason.LOAD));
78+
try (ErrorReporter.Logging lv = new ErrorReporter.Logging(protoChunk.getErrorReporterContext(), LOGGER)) {
79+
ReadView.ListReadView arg = NbtReadView.createList(lv, serverWorld.getRegistryManager(), protoChunk.getEntities());
80+
if (!arg.isEmpty()) {
81+
serverWorld.addEntities(EntityType.streamFromData(arg, serverWorld, SpawnReason.LOAD));
8282
}
8383
}
8484
});

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ org.gradle.warning.mode=all
55
#org.gradle.configuration-cache=true
66
# Fabric Properties
77
# check these on https://fabricmc.net/versions.html
8-
minecraft_version=25w18a
9-
yarn_mappings=25w18a+build.1
8+
minecraft_version=25w19a
9+
yarn_mappings=25w19a+build.1
1010
loader_version=0.16.14
11-
fabric_version=0.121.1+1.21.6
11+
fabric_version=0.123.0+1.21.6
1212
# Mod Properties
1313
mod_version=0.3.3+alpha.0
1414
maven_group=com.ishland.c2me

0 commit comments

Comments
 (0)