Class ShipwreckStructure
java.lang.Object
net.minecraft.world.level.levelgen.structure.Structure
net.minecraft.world.level.levelgen.structure.structures.ShipwreckStructure
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.Structure
Structure.GenerationContext, Structure.GenerationStub, Structure.StructureSettings
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ShipwreckStructure>
final boolean
Fields inherited from class net.minecraft.world.level.levelgen.structure.Structure
DIRECT_CODEC
-
Constructor Summary
ConstructorDescriptionShipwreckStructure
(Structure.StructureSettings p_229388_, boolean p_229389_) -
Method Summary
Modifier and TypeMethodDescriptionfindGenerationPoint
(Structure.GenerationContext p_229391_) private void
generatePieces
(StructurePiecesBuilder p_229396_, Structure.GenerationContext p_229397_) type()
Methods inherited from class net.minecraft.world.level.levelgen.structure.Structure
adjustBoundingBox, afterPlace, biomes, findValidGenerationPoint, generate, getLowestY, getLowestY, getLowestYIn5by5BoxOffset7Blocks, getModifiedStructureSettings, modifiableStructureInfo, onTopOfChunkCenter, settingsCodec, simpleCodec, spawnOverrides, step, terrainAdaptation
-
Field Details
-
CODEC
-
isBeached
public final boolean isBeached
-
-
Constructor Details
-
ShipwreckStructure
-
-
Method Details
-
findGenerationPoint
public Optional<Structure.GenerationStub> findGenerationPoint(Structure.GenerationContext p_229391_) - Specified by:
findGenerationPoint
in classStructure
-
generatePieces
private void generatePieces(StructurePiecesBuilder p_229396_, Structure.GenerationContext p_229397_) -
type
-