Uses of Enum Class
net.minecraft.util.BlockRotation
Package
Description
-
Uses of BlockRotation in net.minecraft.block
Modifier and TypeMethodDescriptionstatic BlockState
PillarBlock.changeRotation
(BlockState state, BlockRotation rotation) AbstractBlock.AbstractBlockState.rotate
(BlockRotation rotation) AbstractBlock.rotate
(BlockState state, BlockRotation rotation) Deprecated.AbstractFurnaceBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.AbstractLichenBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.AmethystClusterBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.AnvilBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.AttachedStemBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.BannerBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.BarrelBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.CampfireBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.ChestBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.CommandBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.DeadCoralWallFanBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.DetectorRailBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.DispenserBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.DoorBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.EnderChestBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.EndPortalFrameBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.GrindstoneBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.HopperBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.HorizontalConnectingBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.HorizontalFacingBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.JigsawBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.LadderBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.LecternBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.MushroomBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.NetherPortalBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.ObserverBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.PillarBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.PistonBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.PistonExtensionBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.PistonHeadBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.PoweredRailBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.RailBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.RedstoneWireBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.RodBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.RotatedInfestedBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.ShulkerBoxBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.SignBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.SkullBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.SmallDripleafBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.StairsBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.StonecutterBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.TripwireBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.TripwireHookBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.VineBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.WallBannerBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.WallBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.WallRedstoneTorchBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.WallSignBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.WallSkullBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.WallTorchBlock.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state. -
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.entity
-
Uses of BlockRotation in net.minecraft.entity.decoration
Modifier and TypeMethodDescriptionfloat
AbstractDecorationEntity.applyRotation
(BlockRotation rotation) -
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 structureName, 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.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> list, BlockPos blockPos, BlockRotation blockRotation, Direction direction, Direction direction2, WoodlandMansionGenerator.RoomPool roomPool) private void
WoodlandMansionGenerator.LayoutGenerator.addBigSecretRoom
(List<WoodlandMansionGenerator.Piece> list, BlockPos blockPos, BlockRotation blockRotation, WoodlandMansionGenerator.RoomPool roomPool) private void
WoodlandMansionGenerator.LayoutGenerator.addMediumRoom
(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction direction, Direction direction2, WoodlandMansionGenerator.RoomPool roomPool, boolean staircase) static void
ShipwreckGenerator.addParts
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder structurePiecesHolder, Random random, ShipwreckFeatureConfig config) static void
EndCityGenerator.addPieces
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, Random random) static void
IglooGenerator.addPieces
(StructureManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder structurePiecesHolder, Random random) static void
OceanRuinGenerator.addPieces
(StructureManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder structurePiecesHolder, Random random, OceanRuinFeatureConfig config) static void
WoodlandMansionGenerator.addPieces
(StructureManager manager, BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, Random random) private void
WoodlandMansionGenerator.LayoutGenerator.addSmallRoom
(List<WoodlandMansionGenerator.Piece> list, BlockPos blockPos, BlockRotation blockRotation, Direction direction, WoodlandMansionGenerator.RoomPool roomPool) static BlockPos
Structure.applyTransformedOffset
(BlockPos pos, BlockMirror mirror, BlockRotation rotation, int offsetX, int offsetZ) Structure.calculateBoundingBox
(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror) protected static BlockBox
Structure.createBox
(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror, Vec3i dimensions) (package private) static EndCityGenerator.Piece
EndCityGenerator.createPiece
(StructureManager structureManager, 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) 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) Structure.getRotatedSize
(BlockRotation rotation) private static void
OceanRuinGenerator.method_14822
(StructureManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder structurePiecesHolder, Random random, OceanRuinFeatureConfig config, boolean large, float integrity) private static void
OceanRuinGenerator.method_14825
(StructureManager manager, Random random, BlockRotation rotation, BlockPos pos, OceanRuinFeatureConfig config, StructurePiecesHolder structurePiecesHolder) private void
WoodlandMansionGenerator.LayoutGenerator.method_15055
(List<WoodlandMansionGenerator.Piece> list, BlockPos blockPos, BlockRotation blockRotation, WoodlandMansionGenerator.FlagMatrix flagMatrix, @Nullable WoodlandMansionGenerator.FlagMatrix flagMatrix2) Structure.offsetByTransformedSize
(BlockPos pos, BlockMirror mirror, BlockRotation rotation) StructurePlacementData.setRotation
(BlockRotation rotation) private void
Structure.spawnEntities
(ServerWorldAccess world, BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot, @Nullable BlockBox area, boolean bool) static BlockPos
Structure.transformAround
(BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) static Vec3d
Structure.transformAround
(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) ModifierConstructorDescriptionPiece
(StructureManager manager, String template, BlockPos pos, BlockRotation rotation, boolean includeAir) Piece
(StructureManager manager, Identifier identifier, BlockPos pos, BlockRotation rotation, int yOffset) Piece
(StructureManager manager, Identifier template, BlockPos pos, BlockRotation rotation) Piece
(StructureManager structureManager, Identifier template, BlockPos pos, BlockRotation rotation, float integrity, OceanRuinFeature.BiomeType biomeType, boolean large) Piece
(StructureManager manager, Identifier identifier, BlockPos pos, BlockRotation rotation, boolean grounded) Piece
(StructureManager structureManager, String template, BlockPos pos, BlockRotation rotation) Piece
(StructureManager structureManager, String template, BlockPos pos, BlockRotation rotation, BlockMirror mirror) PoolStructurePiece
(StructureManager structureManager, StructurePoolElement poolElement, BlockPos pos, int groundLevelDelta, BlockRotation rotation, BlockBox boundingBox) RuinedPortalStructurePiece
(StructureManager structureManager, BlockPos blockPos, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, RuinedPortalStructurePiece.Properties properties, Identifier identifier, Structure structure, BlockRotation rotation, BlockMirror mirror, BlockPos blockPos2) -
Uses of BlockRotation in net.minecraft.structure.pool
Modifier and TypeMethodDescriptionStructurePoolBasedGenerator.PieceFactory.create
(StructureManager structureManager, StructurePoolElement poolElement, BlockPos pos, int int2, BlockRotation rotation, BlockBox elementBounds) protected StructurePlacementData
LegacySinglePoolElement.createPlacementData
(BlockRotation rotation, BlockBox box, boolean keepJigsaws) protected StructurePlacementData
SinglePoolElement.createPlacementData
(BlockRotation rotation, BlockBox box, boolean keepJigsaws) boolean
EmptyPoolElement.generate
(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) boolean
FeaturePoolElement.generate
(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) boolean
ListPoolElement.generate
(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) boolean
SinglePoolElement.generate
(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) abstract boolean
StructurePoolElement.generate
(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) EmptyPoolElement.getBoundingBox
(StructureManager structureManager, BlockPos pos, BlockRotation rotation) FeaturePoolElement.getBoundingBox
(StructureManager structureManager, BlockPos pos, BlockRotation rotation) ListPoolElement.getBoundingBox
(StructureManager structureManager, BlockPos pos, BlockRotation rotation) SinglePoolElement.getBoundingBox
(StructureManager structureManager, BlockPos pos, BlockRotation rotation) abstract BlockBox
StructurePoolElement.getBoundingBox
(StructureManager structureManager, BlockPos pos, BlockRotation rotation) SinglePoolElement.getDataStructureBlocks
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, boolean mirroredAndRotated) EmptyPoolElement.getStart
(StructureManager structureManager, BlockRotation rotation) FeaturePoolElement.getStart
(StructureManager structureManager, BlockRotation rotation) ListPoolElement.getStart
(StructureManager structureManager, BlockRotation rotation) SinglePoolElement.getStart
(StructureManager structureManager, BlockRotation rotation) abstract Vec3i
StructurePoolElement.getStart
(StructureManager structureManager, BlockRotation rotation) EmptyPoolElement.getStructureBlockInfos
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random) FeaturePoolElement.getStructureBlockInfos
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random) ListPoolElement.getStructureBlockInfos
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random) SinglePoolElement.getStructureBlockInfos
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random) abstract List<Structure.StructureBlockInfo>
StructurePoolElement.getStructureBlockInfos
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random) void
StructurePoolElement.method_16756
(WorldAccess worldAccess, Structure.StructureBlockInfo structureBlockInfo, BlockPos blockPos, BlockRotation blockRotation, Random random, BlockBox blockBox) -
Uses of BlockRotation in net.minecraft.test
Modifier and TypeFieldDescriptionprivate final BlockRotation
GameTestState.rotation
private final BlockRotation
TestFunction.rotation
Modifier and TypeMethodDescriptionGameTestState.getRotation()
static BlockRotation
StructureTestUtil.getRotation
(int steps) TestFunction.getRotation()
Modifier and TypeMethodDescriptionstatic StructureBlockBlockEntity
StructureTestUtil.createStructure
(String structureName, BlockPos pos, BlockRotation rotation, int int2, ServerWorld world, boolean bool) static void
StructureTestUtil.createTestArea
(String structure, 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 void
StructureTestUtil.placeStartButton
(BlockPos pos, BlockPos relativePos, BlockRotation rotation, ServerWorld world) private static StructureBlockBlockEntity
StructureTestUtil.placeStructure
(String name, BlockPos pos, BlockRotation rotation, ServerWorld world, boolean bool) static Collection<GameTestState>
TestUtil.runTestBatches
(Collection<GameTestBatch> batches, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ) static Collection<GameTestState>
TestUtil.runTestFunctions
(Collection<TestFunction> testFunctions, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ) ModifierConstructorDescriptionGameTestState
(TestFunction testFunction, BlockRotation rotation, ServerWorld world) TestFunction
(String batchId, String structurePath, String structureName, BlockRotation rotation, int tickLimit, long duration, boolean required, int requiredSuccesses, int maxAttempts, Consumer<TestContext> starter) TestFunction
(String batchId, String structurePath, String structureName, BlockRotation rotation, int tickLimit, long duration, boolean required, Consumer<TestContext> starter) TestRunner
(Collection<GameTestBatch> batches, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ) -
Uses of BlockRotation in net.minecraft.util
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)