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_341897_, BlockPos p_341911_, Rotation p_341901_, StructurePieceAccessor p_341889_, RandomSource p_341928_, boolean p_341941_)
-
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_341897_, BlockPos p_341911_, Rotation p_341901_, StructurePieceAccessor p_341889_, RandomSource p_341928_, boolean p_341941_)
-