use of com.qouteall.immersive_portals.ducks.IEWorld in project ImmersivePortalsMod by qouteall.
the class MixinClientWorld method onConstructed.
@Inject(method = "Lnet/minecraft/client/world/ClientWorld;<init>(Lnet/minecraft/client/network/ClientPlayNetworkHandler;Lnet/minecraft/world/level/LevelInfo;Lnet/minecraft/world/dimension/DimensionType;ILnet/minecraft/util/profiler/Profiler;Lnet/minecraft/client/render/WorldRenderer;)V", at = @At("RETURN"))
void onConstructed(ClientPlayNetworkHandler clientPlayNetworkHandler_1, LevelInfo levelInfo_1, DimensionType dimensionType_1, int int_1, Profiler profiler_1, WorldRenderer worldRenderer_1, CallbackInfo ci) {
ClientWorld clientWorld = (ClientWorld) (Object) this;
MyClientChunkManager chunkManager = new MyClientChunkManager(clientWorld, int_1);
((IEWorld) this).setChunkManager(chunkManager);
}
Aggregations