Uses of Enum Class
net.minecraft.util.BlockRotation
Packages that use BlockRotation
Package
Description
-
Uses of BlockRotation in net.minecraft.block
Methods in net.minecraft.block with parameters of type BlockRotationModifier and TypeMethodDescriptionstatic BlockStatePillarBlock.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
Fields in net.minecraft.block.entity declared as BlockRotationMethods in net.minecraft.block.entity that return BlockRotationMethods in net.minecraft.block.entity with parameters of type BlockRotationModifier and TypeMethodDescriptionvoidStructureBlockBlockEntity.setRotation(BlockRotation rotation) -
Uses of BlockRotation in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame declared as BlockRotation -
Uses of BlockRotation in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type BlockRotation -
Uses of BlockRotation in net.minecraft.entity.decoration
Methods in net.minecraft.entity.decoration with parameters of type BlockRotationModifier and TypeMethodDescriptionfloatAbstractDecorationEntity.applyRotation(BlockRotation rotation) -
Uses of BlockRotation in net.minecraft.network.packet.c2s.play
Fields in net.minecraft.network.packet.c2s.play declared as BlockRotationModifier and TypeFieldDescriptionprivate final BlockRotationUpdateStructureBlockC2SPacket.rotationMethods in net.minecraft.network.packet.c2s.play that return BlockRotationConstructors in net.minecraft.network.packet.c2s.play with parameters of type BlockRotationModifierConstructorDescriptionUpdateStructureBlockC2SPacket(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
Fields in net.minecraft.structure declared as BlockRotationModifier and TypeFieldDescriptionprotected final BlockRotationPoolStructurePiece.rotationprivate BlockRotationStructurePiece.rotationprivate BlockRotationStructurePlacementData.rotationWoodlandMansionGenerator.GenerationPiece.rotationFields in net.minecraft.structure with type parameters of type BlockRotationModifier 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_ATTACHMENTSMethods in net.minecraft.structure that return BlockRotationModifier and TypeMethodDescriptionPoolStructurePiece.getRotation()SimpleStructurePiece.getRotation()StructurePiece.getRotation()StructurePlacementData.getRotation()Methods in net.minecraft.structure with parameters of type BlockRotationModifier and TypeMethodDescriptionprivate voidWoodlandMansionGenerator.LayoutGenerator.addBigRoom(List<WoodlandMansionGenerator.Piece> list, BlockPos blockPos, BlockRotation blockRotation, Direction direction, Direction direction2, WoodlandMansionGenerator.RoomPool roomPool) private voidWoodlandMansionGenerator.LayoutGenerator.addBigSecretRoom(List<WoodlandMansionGenerator.Piece> list, BlockPos blockPos, BlockRotation blockRotation, WoodlandMansionGenerator.RoomPool roomPool) private voidWoodlandMansionGenerator.LayoutGenerator.addMediumRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction direction, Direction direction2, WoodlandMansionGenerator.RoomPool roomPool, boolean staircase) static voidShipwreckGenerator.addParts(StructureManager structureManager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder structurePiecesHolder, Random random, ShipwreckFeatureConfig config) static voidEndCityGenerator.addPieces(StructureManager structureManager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, Random random) static voidIglooGenerator.addPieces(StructureManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder structurePiecesHolder, Random random) static voidOceanRuinGenerator.addPieces(StructureManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder structurePiecesHolder, Random random, OceanRuinFeatureConfig config) static voidWoodlandMansionGenerator.addPieces(StructureManager manager, BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, Random random) private voidWoodlandMansionGenerator.LayoutGenerator.addSmallRoom(List<WoodlandMansionGenerator.Piece> list, BlockPos blockPos, BlockRotation blockRotation, Direction direction, WoodlandMansionGenerator.RoomPool roomPool) static BlockPosStructure.applyTransformedOffset(BlockPos pos, BlockMirror mirror, BlockRotation rotation, int offsetX, int offsetZ) Structure.calculateBoundingBox(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror) protected static BlockBoxStructure.createBox(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror, Vec3i dimensions) (package private) static EndCityGenerator.PieceEndCityGenerator.createPiece(StructureManager structureManager, EndCityGenerator.Piece lastPiece, BlockPos relativePosition, String template, BlockRotation rotation, boolean ignoreAir) private static StructurePlacementDataEndCityGenerator.Piece.createPlacementData(boolean includeAir, BlockRotation rotation) private static StructurePlacementDataIglooGenerator.Piece.createPlacementData(BlockRotation rotation, Identifier identifier) private static StructurePlacementDataNetherFossilGenerator.Piece.createPlacementData(BlockRotation rotation) private static StructurePlacementDataOceanRuinGenerator.Piece.createPlacementData(BlockRotation rotation) private static StructurePlacementDataRuinedPortalStructurePiece.createPlacementData(BlockMirror mirror, BlockRotation rotation, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, BlockPos pos, RuinedPortalStructurePiece.Properties properties) private static StructurePlacementDataShipwreckGenerator.Piece.createPlacementData(BlockRotation rotation) private static StructurePlacementDataWoodlandMansionGenerator.Piece.createPlacementData(BlockMirror mirror, BlockRotation rotation) voidWoodlandMansionGenerator.LayoutGenerator.generate(BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.MansionParameters parameters) Structure.getRotatedSize(BlockRotation rotation) private static voidOceanRuinGenerator.method_14822(StructureManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder structurePiecesHolder, Random random, OceanRuinFeatureConfig config, boolean large, float integrity) private static voidOceanRuinGenerator.method_14825(StructureManager manager, Random random, BlockRotation rotation, BlockPos pos, OceanRuinFeatureConfig config, StructurePiecesHolder structurePiecesHolder) private voidWoodlandMansionGenerator.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 voidStructure.spawnEntities(ServerWorldAccess world, BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot, @Nullable BlockBox area, boolean bool) static BlockPosStructure.transformAround(BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) static Vec3dStructure.transformAround(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) Constructors in net.minecraft.structure with parameters of type BlockRotationModifierConstructorDescriptionPiece(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
Methods in net.minecraft.structure.pool with parameters of type BlockRotationModifier and TypeMethodDescriptionStructurePoolBasedGenerator.PieceFactory.create(StructureManager structureManager, StructurePoolElement poolElement, BlockPos pos, int int2, BlockRotation rotation, BlockBox elementBounds) protected StructurePlacementDataLegacySinglePoolElement.createPlacementData(BlockRotation rotation, BlockBox box, boolean keepJigsaws) protected StructurePlacementDataSinglePoolElement.createPlacementData(BlockRotation rotation, BlockBox box, boolean keepJigsaws) booleanEmptyPoolElement.generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) booleanFeaturePoolElement.generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) booleanListPoolElement.generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) booleanSinglePoolElement.generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) abstract booleanStructurePoolElement.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 BlockBoxStructurePoolElement.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 Vec3iStructurePoolElement.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) voidStructurePoolElement.method_16756(WorldAccess worldAccess, Structure.StructureBlockInfo structureBlockInfo, BlockPos blockPos, BlockRotation blockRotation, Random random, BlockBox blockBox) -
Uses of BlockRotation in net.minecraft.test
Fields in net.minecraft.test declared as BlockRotationModifier and TypeFieldDescriptionprivate final BlockRotationGameTestState.rotationprivate final BlockRotationTestFunction.rotationMethods in net.minecraft.test that return BlockRotationModifier and TypeMethodDescriptionGameTestState.getRotation()static BlockRotationStructureTestUtil.getRotation(int steps) TestFunction.getRotation()Methods in net.minecraft.test with parameters of type BlockRotationModifier and TypeMethodDescriptionstatic StructureBlockBlockEntityStructureTestUtil.createStructure(String structureName, BlockPos pos, BlockRotation rotation, int int2, ServerWorld world, boolean bool) static voidStructureTestUtil.createTestArea(String structure, BlockPos pos, Vec3i relativePos, BlockRotation rotation, ServerWorld world) static intStructureTestUtil.getRotationSteps(BlockRotation rotation) static BlockBoxStructureTestUtil.getStructureBlockBox(BlockPos pos, Vec3i relativePos, BlockRotation rotation) static voidStructureTestUtil.placeStartButton(BlockPos pos, BlockPos relativePos, BlockRotation rotation, ServerWorld world) private static StructureBlockBlockEntityStructureTestUtil.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) Constructors in net.minecraft.test with parameters of type BlockRotationModifierConstructorDescriptionGameTestState(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
Methods in net.minecraft.util that return BlockRotationModifier and TypeMethodDescriptionBlockMirror.getRotation(Direction direction) static BlockRotationBlockRotation.rotate(BlockRotation rotation) static BlockRotationReturns 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.Methods in net.minecraft.util that return types with arguments of type BlockRotationModifier and TypeMethodDescriptionstatic List<BlockRotation>BlockRotation.randomRotationOrder(Random random) Methods in net.minecraft.util with parameters of type BlockRotation -
Uses of BlockRotation in net.minecraft.util.math
Methods in net.minecraft.util.math with parameters of type BlockRotationModifier and TypeMethodDescriptionBlockPos.Mutable.rotate(BlockRotation rotation) BlockPos.rotate(BlockRotation rotation)