StructurePlacements .java

net.minecraft.world.level.levelgen.structure.placement.StructurePlacements (interface): members: bootstrap. strings: "concentric_rings", "random_spread".

net.minecraft.world.level.levelgen.structure.placementinterface13 linescommon589 B

API Surface (0)

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

String literals (3)

"concentric_rings"
"dimension_origin"
"random_spread"

Code Graph: Dependencies (2)

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

Full Source

StructurePlacements.java13 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world.level.levelgen.structure.placement;
2
3
import com.mojang.serialization.MapCodec;
4
import net.minecraft.core.Registry;
5
6
public interface StructurePlacements {
7
	static MapCodec<? extends StructurePlacement> bootstrap(final Registry<MapCodec<? extends StructurePlacement>> registry) {
8
		Registry.register(registry, "concentric_rings", ConcentricRingsStructurePlacement.CODEC);
9
		Registry.register(registry, "dimension_origin", DimensionOriginStructurePlacement.CODEC);
10
		return Registry.register(registry, "random_spread", RandomSpreadStructurePlacement.CODEC);
11
	}
12
}
13

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