Uses of Enum Class
net.minecraft.util.BlockRotation
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of BlockRotation in net.minecraft.block
Modifier and TypeMethodDescriptionstatic BlockState
PillarBlock.changeRotation
(BlockState state, BlockRotation rotation) AbstractBlock.AbstractBlockState.rotate
(BlockRotation rotation) protected BlockState
AbstractBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
AbstractFurnaceBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
AmethystClusterBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
AnvilBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
AttachedStemBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
BannerBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
BarrelBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.BeehiveBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.BellBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.CalibratedSculkSensorBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
CampfireBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
ChestBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.ChiseledBookshelfBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
CommandBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
CrafterBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
DeadCoralWallFanBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
DecoratedPotBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
DetectorRailBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
DispenserBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
DoorBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
EnderChestBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
EndPortalFrameBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.FlowerbedBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
GrindstoneBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
HangingSignBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
HopperBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
HorizontalConnectingBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
HorizontalFacingBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
JigsawBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
LadderBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
LecternBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
MultifaceGrowthBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
MushroomBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
NetherPortalBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
ObserverBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
PillarBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
PistonBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
PistonExtensionBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
PistonHeadBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
PoweredRailBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
RailBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
RedstoneWireBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
RodBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
RotatedInfestedBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
ShulkerBoxBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
SignBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
SkullBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
SmallDripleafBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
StairsBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
StonecutterBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
TripwireBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
TripwireHookBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.VaultBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
VineBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
WallBannerBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
WallBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
WallHangingSignBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
WallRedstoneTorchBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
WallSignBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
WallSkullBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
WallTorchBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
. -
Uses of BlockRotation in net.minecraft.block.entity
Modifier and TypeMethodDescriptionvoid
StructureBlockBlockEntity.setRotation
(BlockRotation rotation) -
Uses of BlockRotation in net.minecraft.client.gui.screen.ingame
-
Uses of BlockRotation in net.minecraft.command.argument
Modifier and TypeMethodDescriptionstatic BlockRotation
BlockRotationArgumentType.getBlockRotation
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String id) -
Uses of BlockRotation in net.minecraft.entity
Modifier and TypeMethodDescriptionfloat
Entity.applyRotation
(BlockRotation rotation) Appliesrotation
to the entity's yaw. -
Uses of BlockRotation in net.minecraft.entity.decoration
Modifier and TypeMethodDescriptionfloat
AbstractDecorationEntity.applyRotation
(BlockRotation rotation) Appliesrotation
to the entity's yaw. -
Uses of BlockRotation in net.minecraft.network.packet.c2s.play
Modifier and TypeFieldDescriptionprivate final BlockRotation
UpdateStructureBlockC2SPacket.rotation
ModifierConstructorDescriptionUpdateStructureBlockC2SPacket
(BlockPos pos, StructureBlockBlockEntity.Action action, StructureBlockMode mode, String templateName, BlockPos offset, Vec3i size, BlockMirror mirror, BlockRotation rotation, String metadata, boolean ignoreEntities, boolean showAir, boolean showBoundingBox, float integrity, long seed) -
Uses of BlockRotation in net.minecraft.server.command
Modifier and TypeMethodDescriptionstatic int
PlaceCommand.executePlaceTemplate
(ServerCommandSource source, Identifier id, BlockPos pos, BlockRotation rotation, BlockMirror mirror, float integrity, int seed) -
Uses of BlockRotation in net.minecraft.structure
Modifier and TypeFieldDescriptionprotected final BlockRotation
PoolStructurePiece.rotation
private BlockRotation
StructurePiece.rotation
private BlockRotation
StructurePlacementData.rotation
WoodlandMansionGenerator.GenerationPiece.rotation
Modifier and TypeFieldDescription(package private) static final List
<Pair<BlockRotation, BlockPos>> EndCityGenerator.FAT_TOWER_BRIDGE_ATTACHMENTS
(package private) static final List
<Pair<BlockRotation, BlockPos>> EndCityGenerator.SMALL_TOWER_BRIDGE_ATTACHMENTS
Modifier and TypeMethodDescriptionPoolStructurePiece.getRotation()
SimpleStructurePiece.getRotation()
StructurePiece.getRotation()
StructurePlacementData.getRotation()
Modifier and TypeMethodDescriptionprivate void
WoodlandMansionGenerator.LayoutGenerator.addBigRoom
(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction connectedRoomDirection, Direction entranceDirection, WoodlandMansionGenerator.RoomPool pool) private void
WoodlandMansionGenerator.LayoutGenerator.addBigSecretRoom
(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, WoodlandMansionGenerator.RoomPool pool) private static void
OceanRuinGenerator.addCluster
(StructureTemplateManager manager, Random random, BlockRotation rotation, BlockPos pos, OceanRuinStructure structure, StructurePiecesHolder pieces) private void
WoodlandMansionGenerator.LayoutGenerator.addMediumRoom
(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction connectedRoomDirection, Direction entranceDirection, WoodlandMansionGenerator.RoomPool pool, boolean staircase) static ShipwreckGenerator.Piece
ShipwreckGenerator.addParts
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, boolean beached) static void
EndCityGenerator.addPieces
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, Random random) static void
IglooGenerator.addPieces
(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random) static void
OceanRuinGenerator.addPieces
(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, OceanRuinStructure structure) private static void
OceanRuinGenerator.addPieces
(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, OceanRuinStructure structure, boolean large, float integrity) static void
WoodlandMansionGenerator.addPieces
(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, Random random) private void
WoodlandMansionGenerator.LayoutGenerator.addRoof
(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, WoodlandMansionGenerator.FlagMatrix layout, @Nullable WoodlandMansionGenerator.FlagMatrix nextFloorLayout) private void
WoodlandMansionGenerator.LayoutGenerator.addSmallRoom
(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction direction, WoodlandMansionGenerator.RoomPool pool) static BlockPos
StructureTemplate.applyTransformedOffset
(BlockPos pos, BlockMirror mirror, BlockRotation rotation, int offsetX, int offsetZ) StructureTemplate.calculateBoundingBox
(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror) protected static BlockBox
StructureTemplate.createBox
(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror, Vec3i dimensions) (package private) static EndCityGenerator.Piece
EndCityGenerator.createPiece
(StructureTemplateManager structureTemplateManager, EndCityGenerator.Piece lastPiece, BlockPos relativePosition, String template, BlockRotation rotation, boolean ignoreAir) private static StructurePlacementData
EndCityGenerator.Piece.createPlacementData
(boolean includeAir, BlockRotation rotation) private static StructurePlacementData
IglooGenerator.Piece.createPlacementData
(BlockRotation rotation, Identifier identifier) private static StructurePlacementData
NetherFossilGenerator.Piece.createPlacementData
(BlockRotation rotation) private static StructurePlacementData
OceanRuinGenerator.Piece.createPlacementData
(BlockRotation rotation, float integrity, OceanRuinStructure.BiomeTemperature temperature) private static StructurePlacementData
RuinedPortalStructurePiece.createPlacementData
(BlockMirror mirror, BlockRotation rotation, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, BlockPos pos, RuinedPortalStructurePiece.Properties properties) private static StructurePlacementData
ShipwreckGenerator.Piece.createPlacementData
(BlockRotation rotation) private static StructurePlacementData
WoodlandMansionGenerator.Piece.createPlacementData
(BlockMirror mirror, BlockRotation rotation) void
WoodlandMansionGenerator.LayoutGenerator.generate
(BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.MansionParameters parameters) StructureTemplate.getRotatedSize
(BlockRotation rotation) StructureTemplate.offsetByTransformedSize
(BlockPos pos, BlockMirror mirror, BlockRotation rotation) StructurePlacementData.setRotation
(BlockRotation rotation) private void
StructureTemplate.spawnEntities
(ServerWorldAccess world, BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot, @Nullable BlockBox area, boolean initializeMobs) static BlockPos
StructureTemplate.transformAround
(BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) static Vec3d
StructureTemplate.transformAround
(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) ModifierConstructorDescriptionPiece
(StructureTemplateManager manager, String template, BlockPos pos, BlockRotation rotation, boolean includeAir) Piece
(StructureTemplateManager manager, Identifier identifier, BlockPos pos, BlockRotation rotation, int yOffset) Piece
(StructureTemplateManager manager, Identifier template, BlockPos pos, BlockRotation rotation) private
Piece
(StructureTemplateManager holder, NbtCompound nbt, BlockRotation rotation, float integrity, OceanRuinStructure.BiomeTemperature biomeType, boolean large) Piece
(StructureTemplateManager structureTemplateManager, Identifier template, BlockPos pos, BlockRotation rotation, float integrity, OceanRuinStructure.BiomeTemperature biomeType, boolean large) Piece
(StructureTemplateManager manager, Identifier identifier, BlockPos pos, BlockRotation rotation, boolean grounded) Piece
(StructureTemplateManager manager, String template, BlockPos pos, BlockRotation rotation) Piece
(StructureTemplateManager manager, String template, BlockPos pos, BlockRotation rotation, BlockMirror mirror) PoolStructurePiece
(StructureTemplateManager structureTemplateManager, StructurePoolElement poolElement, BlockPos pos, int groundLevelDelta, BlockRotation rotation, BlockBox boundingBox) RuinedPortalStructurePiece
(StructureTemplateManager manager, BlockPos pos, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, RuinedPortalStructurePiece.Properties properties, Identifier id, StructureTemplate template, BlockRotation rotation, BlockMirror mirror, BlockPos blockPos) -
Uses of BlockRotation in net.minecraft.structure.pool
Modifier and TypeMethodDescriptionprotected StructurePlacementData
LegacySinglePoolElement.createPlacementData
(BlockRotation rotation, BlockBox box, boolean keepJigsaws) protected StructurePlacementData
SinglePoolElement.createPlacementData
(BlockRotation rotation, BlockBox box, boolean keepJigsaws) StructurePoolBasedGenerator.findStartingJigsawPos
(StructurePoolElement pool, Identifier id, BlockPos pos, BlockRotation rotation, StructureTemplateManager structureManager, ChunkRandom random) boolean
EmptyPoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) boolean
FeaturePoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) boolean
ListPoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) boolean
SinglePoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) abstract boolean
StructurePoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) EmptyPoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) FeaturePoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) ListPoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) SinglePoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) abstract BlockBox
StructurePoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) SinglePoolElement.getDataStructureBlocks
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, boolean mirroredAndRotated) EmptyPoolElement.getStart
(StructureTemplateManager structureTemplateManager, BlockRotation rotation) FeaturePoolElement.getStart
(StructureTemplateManager structureTemplateManager, BlockRotation rotation) ListPoolElement.getStart
(StructureTemplateManager structureTemplateManager, BlockRotation rotation) SinglePoolElement.getStart
(StructureTemplateManager structureTemplateManager, BlockRotation rotation) abstract Vec3i
StructurePoolElement.getStart
(StructureTemplateManager structureTemplateManager, BlockRotation rotation) EmptyPoolElement.getStructureBlockInfos
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) FeaturePoolElement.getStructureBlockInfos
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) ListPoolElement.getStructureBlockInfos
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) SinglePoolElement.getStructureBlockInfos
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) abstract List
<StructureTemplate.StructureBlockInfo> StructurePoolElement.getStructureBlockInfos
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) void
StructurePoolElement.method_16756
(WorldAccess world, StructureTemplate.StructureBlockInfo structureBlockInfo, BlockPos pos, BlockRotation rotation, Random random, BlockBox box) -
Uses of BlockRotation in net.minecraft.test
Modifier and TypeFieldDescriptionprivate final BlockRotation
GameTestState.rotation
private final BlockRotation
TestFunction.rotation
The field for therotation
record component.Modifier and TypeMethodDescriptionGameTestState.getRotation()
static BlockRotation
StructureTestUtil.getRotation
(int steps) TestFunction.rotation()
Returns the value of therotation
record component.Modifier and TypeMethodDescriptionstatic void
StructureTestUtil.createTestArea
(String testName, BlockPos pos, Vec3i relativePos, BlockRotation rotation, ServerWorld world) static int
StructureTestUtil.getRotationSteps
(BlockRotation rotation) static BlockBox
StructureTestUtil.getStructureBlockBox
(BlockPos pos, Vec3i relativePos, BlockRotation rotation) static BlockPos
StructureTestUtil.getStructureBlockBoxCornerPos
(BlockPos pos, Vec3i size, BlockRotation rotation) static StructureBlockBlockEntity
StructureTestUtil.initStructure
(GameTestState state, BlockPos pos, BlockRotation rotation, ServerWorld world) static void
StructureTestUtil.placeStartButton
(BlockPos pos, BlockPos relativePos, BlockRotation rotation, ServerWorld world) private static StructureBlockBlockEntity
StructureTestUtil.placeStructureTemplate
(GameTestState state, BlockPos pos, BlockRotation rotation, ServerWorld world) ModifierConstructorDescriptionGameTestState
(TestFunction testFunction, BlockRotation rotation, ServerWorld world, TestAttemptConfig testAttemptConfig) TestFunction
(String batchId, String templatePath, String templateName, BlockRotation rotation, int tickLimit, long duration, boolean required, boolean bool, int int2, int int3, boolean bool2, Consumer<TestContext> consumer) TestFunction
(String batchId, String templatePath, String templateName, BlockRotation rotation, int tickLimit, long setupTicks, boolean required, Consumer<TestContext> starter) -
Uses of BlockRotation in net.minecraft.util
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<BlockRotation> BlockRotation.CODEC
Modifier and TypeMethodDescriptionBlockMirror.getRotation
(Direction direction) static BlockRotation
BlockRotation.rotate
(BlockRotation rotation) static BlockRotation
Returns the enum constant of this class with the specified name.static BlockRotation[]
BlockRotation.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic List
<BlockRotation> BlockRotation.randomRotationOrder
(Random random) -
Uses of BlockRotation in net.minecraft.util.math
Modifier and TypeMethodDescriptionBlockPos.Mutable.rotate
(BlockRotation rotation) BlockPos.rotate
(BlockRotation rotation) -
Uses of BlockRotation in net.minecraft.world.gen.structure
Modifier and TypeMethodDescriptionprivate void
EndCityStructure.addPieces
(StructurePiecesCollector collector, BlockPos pos, BlockRotation rotation, Structure.Context context) private void
WoodlandMansionStructure.addPieces
(StructurePiecesCollector collector, Structure.Context context, BlockPos pos, BlockRotation rotation) protected BlockPos
Structure.getShiftedPos
(Structure.Context context, BlockRotation rotation) Deprecated.