WorldGenLevel .java

net.minecraft.world.level.WorldGenLevel (interface, 17 lines): members: setCurrentlyGenerating, ensureCanWrite, getSeed. imports: BlockPos.

net.minecraft.world.levelinterface17 linescommonextends ServerLevelAccessor401 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (2)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

WorldGenLevel.java17 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world.level;
2
3
import java.util.function.Supplier;
4
import net.minecraft.core.BlockPos;
5
import org.jspecify.annotations.Nullable;
6
7
public interface WorldGenLevel extends ServerLevelAccessor {
8
	long getSeed();
9
10
	default boolean ensureCanWrite(final BlockPos pos) {
11
		return true;
12
	}
13
14
	default void setCurrentlyGenerating(final @Nullable Supplier<String> currentlyGenerating) {
15
	}
16
}
17

Decompiled Minecraft 26.3 source of WorldGenLevel (net/minecraft/world/level/WorldGenLevel.java) with Mojang official mappings, stored verbatim on the site.