Uses of Enum Class
net.minecraft.util.BlockRotation
Packages that use BlockRotation
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of BlockRotation in net.minecraft.block
Methods in net.minecraft.block with parameters of type BlockRotationModifier 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
CreakingHeartBlock.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
.LeafLitterBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
LecternBlock.rotate
(BlockState state, BlockRotation rotation) Returnsstate
rotated byrotation
.protected BlockState
MultifaceBlock.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
PaleMossCarpetBlock.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
.protected RailShape
AbstractRailBlock.rotateShape
(RailShape shape, BlockRotation rotation) -
Uses of BlockRotation in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as BlockRotationModifier and TypeFieldDescriptionprivate static final BlockRotation
StructureBlockBlockEntity.DEFAULT_ROTATION
private BlockRotation
StructureBlockBlockEntity.rotation
private final BlockRotation
TestInstanceBlockEntity.Data.rotation
The field for therotation
record component.Methods in net.minecraft.block.entity that return BlockRotationModifier and TypeMethodDescriptionStructureBlockBlockEntity.getRotation()
TestInstanceBlockEntity.getRotation()
TestInstanceBlockEntity.Data.rotation()
Returns the value of therotation
record component.Methods in net.minecraft.block.entity with parameters of type BlockRotationModifier and TypeMethodDescriptionvoid
StructureBlockBlockEntity.setRotation
(BlockRotation rotation) Constructors in net.minecraft.block.entity with parameters of type BlockRotationModifierConstructorDescriptionData
(Optional<RegistryKey<TestInstance>> optional, Vec3i vec3i, BlockRotation blockRotation, boolean bool, TestInstanceBlockEntity.Status status, Optional<Text> optional2) -
Uses of BlockRotation in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame declared as BlockRotationFields in net.minecraft.client.gui.screen.ingame with type parameters of type BlockRotationModifier and TypeFieldDescriptionprivate @Nullable CyclingButtonWidget
<BlockRotation> TestInstanceBlockScreen.rotationButton
Methods in net.minecraft.client.gui.screen.ingame with parameters of type BlockRotationModifier and TypeMethodDescriptionprivate static Text
TestInstanceBlockScreen.rotationAsText
(BlockRotation rotation) -
Uses of BlockRotation in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return BlockRotationModifier and TypeMethodDescriptionstatic BlockRotation
BlockRotationArgumentType.getBlockRotation
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String id) -
Uses of BlockRotation in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type BlockRotationModifier and TypeMethodDescriptionfloat
Entity.applyRotation
(BlockRotation rotation) Appliesrotation
to the entity's yaw. -
Uses of BlockRotation in net.minecraft.entity.decoration
Methods in net.minecraft.entity.decoration with parameters of type BlockRotationModifier and TypeMethodDescriptionfloat
AbstractDecorationEntity.applyRotation
(BlockRotation rotation) Appliesrotation
to the entity's yaw. -
Uses of BlockRotation in net.minecraft.network.packet.c2s.play
Fields in net.minecraft.network.packet.c2s.play declared as BlockRotationModifier and TypeFieldDescriptionprivate final BlockRotation
UpdateStructureBlockC2SPacket.rotation
Methods in net.minecraft.network.packet.c2s.play that return BlockRotationConstructors in net.minecraft.network.packet.c2s.play with parameters of type BlockRotationModifierConstructorDescriptionTestInstanceBlockActionC2SPacket
(BlockPos pos, TestInstanceBlockActionC2SPacket.Action actin, Optional<RegistryKey<TestInstance>> optional, Vec3i vec3i, BlockRotation blockRotation, boolean bool) UpdateStructureBlockC2SPacket
(BlockPos pos, StructureBlockBlockEntity.Action action, StructureBlockMode mode, String templateName, BlockPos offset, Vec3i size, BlockMirror mirror, BlockRotation rotation, String metadata, boolean ignoreEntities, boolean strict, boolean showAir, boolean showBoundingBox, float integrity, long seed) -
Uses of BlockRotation in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type BlockRotationModifier and TypeMethodDescriptionstatic int
PlaceCommand.executePlaceTemplate
(ServerCommandSource source, Identifier id, BlockPos pos, BlockRotation rotation, BlockMirror mirror, float integrity, int seed, boolean strict) -
Uses of BlockRotation in net.minecraft.structure
Fields in net.minecraft.structure declared as BlockRotationModifier and TypeFieldDescriptionprotected final BlockRotation
PoolStructurePiece.rotation
private BlockRotation
StructurePiece.rotation
private BlockRotation
StructurePlacementData.rotation
WoodlandMansionGenerator.GenerationPiece.rotation
Fields 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_ATTACHMENTS
Methods 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 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.getJigsawInfos
(BlockPos pos, BlockRotation rotation) 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, ErrorReporter errorReporter) static BlockPos
StructureTemplate.transformAround
(BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) static Vec3d
StructureTemplate.transformAround
(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) Constructors in net.minecraft.structure with parameters of type BlockRotationModifierConstructorDescriptionPiece
(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, StructureLiquidSettings liquidSettings) 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
Methods in net.minecraft.structure.pool with parameters of type BlockRotationModifier and TypeMethodDescriptionprotected StructurePlacementData
LegacySinglePoolElement.createPlacementData
(BlockRotation rotation, BlockBox box, StructureLiquidSettings liquidSettings, boolean keepJigsaws) protected StructurePlacementData
SinglePoolElement.createPlacementData
(BlockRotation rotation, BlockBox box, StructureLiquidSettings liquidSettings, 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, StructureLiquidSettings liquidSettings, boolean keepJigsaws) boolean
FeaturePoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws) boolean
ListPoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws) boolean
SinglePoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws) abstract boolean
StructurePoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, 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.JigsawBlockInfo> 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
Fields in net.minecraft.test declared as BlockRotationModifier and TypeFieldDescriptionprivate final BlockRotation
GameTestState.rotation
private final BlockRotation
TestData.rotation
The field for therotation
record component.Methods in net.minecraft.test that return BlockRotationModifier and TypeMethodDescriptionGameTestState.getRotation()
TestContext.getRotation()
TestInstance.getRotation()
static BlockRotation
TestInstanceUtil.getRotation
(int steps) TestData.rotation()
Returns the value of therotation
record component.Methods in net.minecraft.test with parameters of type BlockRotationModifier and TypeMethodDescriptionstatic TestInstanceBlockEntity
TestInstanceUtil.createTestInstanceBlockEntity
(Identifier testInstanceId, BlockPos pos, Vec3i size, BlockRotation rotation, ServerWorld world) static int
TestInstanceUtil.getRotationSteps
(BlockRotation rotation) static BlockBox
TestInstanceUtil.getTestInstanceBlockBox
(BlockPos pos, Vec3i relativePos, BlockRotation rotation) static BlockPos
TestInstanceUtil.getTestInstanceBlockBoxCornerPos
(BlockPos pos, Vec3i size, BlockRotation rotation) private @Nullable TestInstanceBlockEntity
GameTestState.placeTestInstance
(BlockPos pos, BlockRotation rotation, ServerWorld world) Constructors in net.minecraft.test with parameters of type BlockRotationModifierConstructorDescriptionGameTestState
(RegistryEntry.Reference<TestInstance> instanceEntry, BlockRotation rotation, ServerWorld world, TestAttemptConfig testAttemptConfig) TestData
(EnvironmentType environment, Identifier structure, int maxTicks, int setupTicks, boolean required, BlockRotation rotation) TestData
(EnvironmentType environmentType, Identifier identifier, int int2, int int3, boolean bool, BlockRotation blockRotation, boolean bool2, int int4, int int5, boolean bool3) -
Uses of BlockRotation in net.minecraft.util
Fields in net.minecraft.util with type parameters of type BlockRotationModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<BlockRotation> BlockRotation.CODEC
static final com.mojang.serialization.Codec
<BlockRotation> BlockRotation.ENUM_NAME_CODEC
Deprecated.static final IntFunction
<BlockRotation> BlockRotation.INDEX_MAPPER
static final PacketCodec
<ByteBuf, BlockRotation> BlockRotation.PACKET_CODEC
Methods in net.minecraft.util that return BlockRotationModifier 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.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) -
Uses of BlockRotation in net.minecraft.world.gen.structure
Methods in net.minecraft.world.gen.structure with parameters of type BlockRotationModifier 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.