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
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 BlockRotation
PoolStructurePiece.rotation
private BlockRotation
StructurePiece.rotation
private BlockRotation
StructurePlacementData.rotation
WoodlandMansionGenerator.GenerationPiece.rotation
Modifier and TypeFieldDescription(package private) static List<Pair<BlockRotation,BlockPos>>
EndCityGenerator.FAT_TOWER_BRIDGE_ATTACHMENTS
(package private) static 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 blockPos, BlockMirror mirror)
(package private) static EndCityGenerator.Piece
EndCityGenerator.createPiece(StructureManager structureManager, EndCityGenerator.Piece lastPiece, BlockPos relativePosition, String template, BlockRotation rotation, boolean ignoreAir)
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)
protected static BlockBox
Structure.method_34400(BlockPos blockPos, BlockRotation blockRotation, BlockPos blockPos2, BlockMirror blockMirror, Vec3i vec3i)
private static StructurePlacementData
EndCityGenerator.Piece.method_35427(boolean bool, BlockRotation blockRotation)
private static StructurePlacementData
IglooGenerator.Piece.method_35428(BlockRotation blockRotation, Identifier identifier)
private static StructurePlacementData
NetherFossilGenerator.Piece.method_35431(BlockRotation blockRotation)
private static StructurePlacementData
OceanRuinGenerator.Piece.method_35446(BlockRotation blockRotation)
private static StructurePlacementData
RuinedPortalStructurePiece.method_35450(BlockMirror blockMirror, BlockRotation blockRotation, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, BlockPos blockPos, RuinedPortalStructurePiece.Properties properties)
private static StructurePlacementData
ShipwreckGenerator.Piece.method_35452(BlockRotation blockRotation)
private static StructurePlacementData
WoodlandMansionGenerator.Piece.method_35473(BlockMirror blockMirror, BlockRotation blockRotation)
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 ignoreAir)
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 blockRotation, BlockMirror blockMirror, 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 blockRotation)
FeaturePoolElement.getStart(StructureManager structureManager, BlockRotation blockRotation)
ListPoolElement.getStart(StructureManager structureManager, BlockRotation blockRotation)
SinglePoolElement.getStart(StructureManager structureManager, BlockRotation blockRotation)
abstract Vec3i
StructurePoolElement.getStart(StructureManager structureManager, BlockRotation blockRotation)
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 BlockRotation
GameTestState.rotation
private 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)