Class ShipwreckPieces
java.lang.Object
net.minecraft.world.level.levelgen.structure.structures.ShipwreckPieces
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescription(package private) static final Map
<String, ResourceKey<LootTable>> private static final int
(package private) static final BlockPos
private static final ResourceLocation[]
private static final ResourceLocation[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddRandomPiece
(StructureTemplateManager p_334187_, BlockPos p_334016_, Rotation p_333925_, StructurePieceAccessor p_330683_, RandomSource p_331305_, boolean p_332987_)
-
Field Details
-
NUMBER_OF_BLOCKS_ALLOWED_IN_WORLD_GEN_REGION
private static final int NUMBER_OF_BLOCKS_ALLOWED_IN_WORLD_GEN_REGION- See Also:
-
PIVOT
-
STRUCTURE_LOCATION_BEACHED
-
STRUCTURE_LOCATION_OCEAN
-
MARKERS_TO_LOOT
-
-
Constructor Details
-
ShipwreckPieces
public ShipwreckPieces()
-
-
Method Details
-
addRandomPiece
public static ShipwreckPieces.ShipwreckPiece addRandomPiece(StructureTemplateManager p_334187_, BlockPos p_334016_, Rotation p_333925_, StructurePieceAccessor p_330683_, RandomSource p_331305_, boolean p_332987_)
-