Package net.minecraft.structure
Class OceanMonumentGenerator.SimpleRoom
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.OceanMonumentGenerator.Piece
net.minecraft.structure.OceanMonumentGenerator.SimpleRoom
- Enclosing class:
- OceanMonumentGenerator
public static class OceanMonumentGenerator.SimpleRoom extends OceanMonumentGenerator.Piece
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer
-
Field Summary
Fields Modifier and Type Field Description private int
field_14480
Fields inherited from class net.minecraft.structure.OceanMonumentGenerator.Piece
DARK_PRISMARINE, field_14470, FOUR_ONE_ZERO_INDEX, ICE_BLOCKS, PRISMARINE, PRISMARINE_BRICKS, SEA_LANTERN, setting, TWO_TWO_ZERO_INDEX, TWO_ZERO_ZERO_INDEX, WATER, ZERO_ONE_ZERO_INDEX
Fields inherited from class net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength
-
Constructor Summary
Constructors Constructor Description SimpleRoom(StructureManager structureManager, CompoundTag compoundTag)
SimpleRoom(Direction direction, OceanMonumentGenerator.PieceSetting pieceSetting, Random random)
-
Method Summary
Modifier and Type Method Description boolean
generate(StructureWorldAccess structureWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)
Methods inherited from class net.minecraft.structure.OceanMonumentGenerator.Piece
getIndex, method_14771, method_14772, method_14774, method_14775, setAirAndWater, toNbt
Methods inherited from class net.minecraft.structure.StructurePiece
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, fill, fillDownwards, fillHalfEllipsoid, fillOpenings, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, getBlockAt, getBoundingBox, getChainLength, getFacing, getOverlappingPiece, getRotation, getTag, getType, intersectsChunk, isTouchingLiquid, isUnderSeaLevel, orientateChest, setOrientation, translate
-
Field Details
-
field_14480
private int field_14480
-
-
Constructor Details
-
SimpleRoom
public SimpleRoom(Direction direction, OceanMonumentGenerator.PieceSetting pieceSetting, Random random) -
SimpleRoom
-
-
Method Details
-
generate
public boolean generate(StructureWorldAccess structureWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)- Specified by:
generate
in classStructurePiece
-