Class ShipwreckPieces.ShipwreckPiece
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.TemplateStructurePiece
net.minecraft.world.level.levelgen.structure.ShipwreckPieces.ShipwreckPiece
- Enclosing class:
- ShipwreckPieces
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.structure.TemplateStructurePiece
placeSettings, template, templateName, templatePosition
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionShipwreckPiece
(StructureManager p_192475_, CompoundTag p_192476_) ShipwreckPiece
(StructureManager p_72828_, ResourceLocation p_72829_, BlockPos p_72830_, Rotation p_72831_, boolean p_72832_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_192486_, CompoundTag p_192487_) protected void
handleDataMarker
(String p_72844_, BlockPos p_72845_, ServerLevelAccessor p_72846_, Random p_72847_, BoundingBox p_72848_) private static StructurePlaceSettings
makeSettings
(Rotation p_163214_) void
postProcess
(WorldGenLevel p_192478_, StructureFeatureManager p_192479_, ChunkGenerator p_192480_, Random p_192481_, BoundingBox p_192482_, ChunkPos p_192483_, BlockPos p_192484_) Methods inherited from class net.minecraft.world.level.levelgen.structure.TemplateStructurePiece
getRotation, makeTemplateLocation, move
Methods inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
addChildren, canBeReplaced, createBoundingBox, createChest, createChest, createDispenser, createTag, fillColumnDown, findCollisionPiece, generateAirBox, generateBox, generateBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getLocatorPosition, getMirror, getNoiseEffect, getOrientation, getRandomHorizontalDirection, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, placeBlock, reorient, setOrientation
-
Field Details
-
isBeached
private final boolean isBeached
-
-
Constructor Details
-
ShipwreckPiece
public ShipwreckPiece(StructureManager p_72828_, ResourceLocation p_72829_, BlockPos p_72830_, Rotation p_72831_, boolean p_72832_) -
ShipwreckPiece
-
-
Method Details
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_192486_, CompoundTag p_192487_) - Overrides:
addAdditionalSaveData
in classTemplateStructurePiece
-
makeSettings
-
handleDataMarker
protected void handleDataMarker(String p_72844_, BlockPos p_72845_, ServerLevelAccessor p_72846_, Random p_72847_, BoundingBox p_72848_) - Specified by:
handleDataMarker
in classTemplateStructurePiece
-
postProcess
public void postProcess(WorldGenLevel p_192478_, StructureFeatureManager p_192479_, ChunkGenerator p_192480_, Random p_192481_, BoundingBox p_192482_, ChunkPos p_192483_, BlockPos p_192484_) - Overrides:
postProcess
in classTemplateStructurePiece
-