public class StructureAccessHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.List<net.minecraft.world.gen.feature.structure.Structure<?>> |
LAKE_STRUCTURES
A list of structures that lakes are not allowed to generate in.
|
Constructor and Description |
---|
StructureAccessHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
addLakeProofStructure(net.minecraft.world.gen.feature.structure.Structure<?> structure)
Adds the structure to the list of structures that lakes cannot generate in.
|
static void |
removeLakeProofStructure(net.minecraft.world.gen.feature.structure.Structure<?> structure)
Removes the structure from the list of structures that lakes cannot generate
in.
|
public static java.util.List<net.minecraft.world.gen.feature.structure.Structure<?>> LAKE_STRUCTURES
public static void addLakeProofStructure(net.minecraft.world.gen.feature.structure.Structure<?> structure)
structure
- StructureGelHooks.lakeCheckForStructures(IWorld, ChunkPos)
public static void removeLakeProofStructure(net.minecraft.world.gen.feature.structure.Structure<?> structure)
structure
- StructureGelHooks.lakeCheckForStructures(IWorld, ChunkPos)