Fixup renaming

This commit is contained in:
MrHua269
2026-07-09 19:23:23 +08:00
parent f64a7435e2
commit 420bb5e7e8
8 changed files with 8 additions and 54 deletions
@@ -24,7 +24,6 @@
package com.ishland.c2me.base.common.scheduler;
import com.ishland.c2me.base.common.GlobalExecutors;
import com.ishland.flowsched.executor.ExecutorManager;
import it.unimi.dsi.fastutil.longs.Long2IntOpenHashMap;
import it.unimi.dsi.fastutil.objects.ObjectArraySet;
@@ -1,45 +0,0 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2021-2026 ishland
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.ishland.c2me.base.common.scheduler;
import net.minecraft.server.world.ChunkHolder;
public class ThreadLocalWorldGenSchedulingState {
private static final ThreadLocal<ChunkHolder> chunkHolder = new ThreadLocal<>();
public static ChunkHolder getChunkHolder() {
return chunkHolder.get();
}
public static void setChunkHolder(ChunkHolder holder) {
chunkHolder.set(holder);
}
public static void clearChunkHolder() {
chunkHolder.remove();
}
}
@@ -1,7 +1,7 @@
package su.plo.matter;
import com.google.common.collect.Iterables;
import me.earthme.luminol.config.modules.function.SecureSeedConfig;
import moe.monnairealms.camellia.config.modules.function.SecureSeedConfig;
import net.minecraft.server.level.ServerLevel;
import java.math.BigInteger;
@@ -1,6 +1,6 @@
package su.plo.matter;
import me.earthme.luminol.config.modules.function.SecureSeedConfig;
import moe.monnairealms.camellia.config.modules.function.SecureSeedConfig;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
@@ -1,6 +1,6 @@
package su.plo.matter;
import me.earthme.luminol.config.modules.function.SecureSeedConfig;
import moe.monnairealms.camellia.config.modules.function.SecureSeedConfig;
import net.minecraft.util.Mth;
import net.minecraft.util.RandomSource;
import net.minecraft.world.level.levelgen.LegacyRandomSource;