Uses of Class
net.minecraft.util.BlockRotation
-
Uses of BlockRotation in net.minecraft.block
Methods in net.minecraft.block with parameters of type BlockRotation Modifier and Type Method Description BlockState
AbstractBlock.AbstractBlockState. rotate(BlockRotation rotation)
BlockState
AbstractBlock. rotate(BlockState state, BlockRotation rotation)
Deprecated.BlockState
AbstractFurnaceBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
AbstractLichenBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
AmethystClusterBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
AnvilBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
AttachedStemBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
BannerBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
BarrelBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
CampfireBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
ChestBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
CommandBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
DeadCoralWallFanBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
DetectorRailBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
DispenserBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
DoorBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
EnderChestBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
EndPortalFrameBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
GrindstoneBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
HopperBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
HorizontalConnectingBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
HorizontalFacingBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
JigsawBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
LadderBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
LecternBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
MushroomBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
NetherPortalBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
ObserverBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
PillarBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
PistonBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
PistonExtensionBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
PistonHeadBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
PoweredRailBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
RailBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
RedstoneWireBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
RodBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
ShulkerBoxBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
SignBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
SkullBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
SmallDripleafBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
StairsBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
StonecutterBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
TripwireBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
TripwireHookBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
VineBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
WallBannerBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
WallBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
WallRedstoneTorchBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
WallSignBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
WallSkullBlock. rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.BlockState
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 BlockRotation Modifier and Type Field Description private BlockRotation
StructureBlockBlockEntity. rotation
Methods in net.minecraft.block.entity that return BlockRotation Modifier and Type Method Description BlockRotation
StructureBlockBlockEntity. getRotation()
Methods in net.minecraft.block.entity with parameters of type BlockRotation Modifier and Type Method Description void
StructureBlockBlockEntity. setRotation(BlockRotation rotation)
-
Uses of BlockRotation in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame declared as BlockRotation Modifier and Type Field Description private BlockRotation
StructureBlockScreen. rotation
-
Uses of BlockRotation in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type BlockRotation Modifier and Type Method Description float
Entity. applyRotation(BlockRotation rotation)
-
Uses of BlockRotation in net.minecraft.entity.decoration
Methods in net.minecraft.entity.decoration with parameters of type BlockRotation Modifier and Type Method Description float
AbstractDecorationEntity. applyRotation(BlockRotation rotation)
-
Uses of BlockRotation in net.minecraft.network.packet.c2s.play
Fields in net.minecraft.network.packet.c2s.play declared as BlockRotation Modifier and Type Field Description private BlockRotation
UpdateStructureBlockC2SPacket. rotation
Methods in net.minecraft.network.packet.c2s.play that return BlockRotation Modifier and Type Method Description BlockRotation
UpdateStructureBlockC2SPacket. getRotation()
Constructors in net.minecraft.network.packet.c2s.play with parameters of type BlockRotation Constructor Description UpdateStructureBlockC2SPacket(BlockPos pos, StructureBlockBlockEntity.Action action, StructureBlockMode mode, String structureName, BlockPos offset, Vec3i vec3i, 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 BlockRotation Modifier and Type Field Description protected BlockRotation
PoolStructurePiece. rotation
private BlockRotation
StructurePiece. rotation
private BlockRotation
StructurePlacementData. rotation
BlockRotation
WoodlandMansionGenerator.GenerationPiece. rotation
Fields in net.minecraft.structure with type parameters of type BlockRotation Modifier and Type Field Description private static List<Pair<BlockRotation,BlockPos>>
EndCityGenerator. FAT_TOWER_BRIDGE_ATTACHMENTS
private static List<Pair<BlockRotation,BlockPos>>
EndCityGenerator. SMALL_TOWER_BRIDGE_ATTACHMENTS
Methods in net.minecraft.structure that return BlockRotation Modifier and Type Method Description BlockRotation
PoolStructurePiece. getRotation()
BlockRotation
SimpleStructurePiece. getRotation()
BlockRotation
StructurePiece. getRotation()
BlockRotation
StructurePlacementData. getRotation()
Methods in net.minecraft.structure with parameters of type BlockRotation Modifier and Type Method Description private 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, class_6130 class_6130, 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, class_6130 class_6130, Random random)
static void
OceanRuinGenerator. addPieces(StructureManager manager, BlockPos pos, BlockRotation rotation, class_6130 class_6130, 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)
BlockBox
Structure. calculateBoundingBox(BlockPos pos, BlockRotation rotation, BlockPos blockPos, BlockMirror mirror)
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)
Vec3i
Structure. getRotatedSize(BlockRotation rotation)
private static void
OceanRuinGenerator. method_14822(StructureManager manager, BlockPos pos, BlockRotation rotation, class_6130 class_6130, Random random, OceanRuinFeatureConfig config, boolean large, float integrity)
private static void
OceanRuinGenerator. method_14825(StructureManager manager, Random random, BlockRotation rotation, BlockPos pos, OceanRuinFeatureConfig config, class_6130 class_6130)
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)
BlockPos
Structure. offsetByTransformedSize(BlockPos pos, BlockMirror mirror, BlockRotation rotation)
StructurePlacementData
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)
Constructors in net.minecraft.structure with parameters of type BlockRotation Constructor Description Piece(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
Methods in net.minecraft.structure.pool with parameters of type BlockRotation Modifier and Type Method Description PoolStructurePiece
StructurePoolBasedGenerator.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)
BlockBox
EmptyPoolElement. getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
BlockBox
FeaturePoolElement. getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
BlockBox
ListPoolElement. getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
BlockBox
SinglePoolElement. getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
abstract BlockBox
StructurePoolElement. getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
List<Structure.StructureBlockInfo>
SinglePoolElement. getDataStructureBlocks(StructureManager structureManager, BlockPos pos, BlockRotation rotation, boolean mirroredAndRotated)
Vec3i
EmptyPoolElement. getStart(StructureManager structureManager, BlockRotation blockRotation)
Vec3i
FeaturePoolElement. getStart(StructureManager structureManager, BlockRotation blockRotation)
Vec3i
ListPoolElement. getStart(StructureManager structureManager, BlockRotation blockRotation)
Vec3i
SinglePoolElement. getStart(StructureManager structureManager, BlockRotation blockRotation)
abstract Vec3i
StructurePoolElement. getStart(StructureManager structureManager, BlockRotation blockRotation)
List<Structure.StructureBlockInfo>
EmptyPoolElement. getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)
List<Structure.StructureBlockInfo>
FeaturePoolElement. getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)
List<Structure.StructureBlockInfo>
ListPoolElement. getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)
List<Structure.StructureBlockInfo>
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
Fields in net.minecraft.test declared as BlockRotation Modifier and Type Field Description private BlockRotation
GameTest. rotation
private BlockRotation
TestFunction. rotation
Methods in net.minecraft.test that return BlockRotation Modifier and Type Method Description BlockRotation
GameTest. getRotation()
static BlockRotation
StructureTestUtil. getRotation(int steps)
BlockRotation
TestFunction. getRotation()
Methods in net.minecraft.test with parameters of type BlockRotation Modifier and Type Method Description static 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<GameTest>
TestUtil. runTestBatches(Collection<GameTestBatch> batches, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ)
static Collection<GameTest>
TestUtil. runTestFunctions(Collection<TestFunction> testFunctions, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ)
Constructors in net.minecraft.test with parameters of type BlockRotation Constructor Description GameTest(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<StartupParameter> starter)
TestFunction(String batchId, String structurePath, String structureName, BlockRotation rotation, int tickLimit, long duration, boolean required, Consumer<StartupParameter> 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 BlockRotation Modifier and Type Method Description BlockRotation
BlockMirror. getRotation(Direction direction)
static BlockRotation
BlockRotation. random(Random random)
BlockRotation
BlockRotation. rotate(BlockRotation rotation)
static BlockRotation
BlockRotation. valueOf(String name)
Returns the enum constant of this type with the specified name.static BlockRotation[]
BlockRotation. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.minecraft.util that return types with arguments of type BlockRotation Modifier and Type Method Description static List<BlockRotation>
BlockRotation. randomRotationOrder(Random random)
Methods in net.minecraft.util with parameters of type BlockRotation Modifier and Type Method Description BlockRotation
BlockRotation. rotate(BlockRotation rotation)
-
Uses of BlockRotation in net.minecraft.util.math
Methods in net.minecraft.util.math with parameters of type BlockRotation Modifier and Type Method Description BlockPos
BlockPos.Mutable. rotate(BlockRotation rotation)
BlockPos
BlockPos. rotate(BlockRotation rotation)