Uses of Enum Class
net.minecraft.world.level.block.Rotation
Packages that use Rotation
Package
Description
-
Uses of Rotation in net.minecraft.client.gui.screens.inventory
Fields in net.minecraft.client.gui.screens.inventory declared as Rotation -
Uses of Rotation in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments that return RotationModifier and TypeMethodDescriptionstatic Rotation
TemplateRotationArgument.getRotation
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) -
Uses of Rotation in net.minecraft.core
Methods in net.minecraft.core with parameters of type Rotation -
Uses of Rotation in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework declared as RotationModifier and TypeFieldDescriptionprivate final Rotation
GameTestInfo.rotation
private final Rotation
TestFunction.rotation
The field for therotation
record component.Methods in net.minecraft.gametest.framework that return RotationModifier and TypeMethodDescriptionGameTestInfo.getRotation()
static Rotation
StructureUtils.getRotationForRotationSteps
(int rotationSteps) GameTestHelper.getTestRotation()
TestFunction.rotation()
Returns the value of therotation
record component.Methods in net.minecraft.gametest.framework with parameters of type RotationModifier and TypeMethodDescriptionstatic void
StructureUtils.addCommandBlockAndButtonToStartTest
(BlockPos structureBlockPos, BlockPos offset, Rotation rotation, ServerLevel serverLevel) static void
StructureUtils.createNewEmptyStructureBlock
(String structureName, BlockPos pos, Vec3i size, Rotation rotation, ServerLevel serverLevel) private static StructureBlockEntity
StructureUtils.createStructureBlock
(GameTestInfo gameTestInfo, BlockPos pos, Rotation rotation, ServerLevel level) static int
StructureUtils.getRotationStepsForRotation
(Rotation rotation) static BoundingBox
StructureUtils.getStructureBoundingBox
(BlockPos pos, Vec3i offset, Rotation rotation) static BlockPos
StructureUtils.getTransformedFarCorner
(BlockPos pos, Vec3i offset, Rotation rotation) static StructureBlockEntity
StructureUtils.prepareTestStructure
(GameTestInfo gameTestInfo, BlockPos pos, Rotation rotation, ServerLevel level) Constructors in net.minecraft.gametest.framework with parameters of type RotationModifierConstructorDescriptionGameTestInfo
(TestFunction testFunction, Rotation rotation, ServerLevel level, RetryOptions retryOptions) TestFunction
(String batchName, String testName, String structureName, Rotation rotation, int maxTicks, long setupTicks, boolean required, boolean manualOnly, int maxAttempts, int requiredSuccesses, boolean skyAccess, Consumer<GameTestHelper> function) Creates an instance of aTestFunction
record class.TestFunction
(String p_177820_, String p_177821_, String p_177822_, Rotation p_177823_, int p_177824_, long p_177825_, boolean p_177826_, Consumer<GameTestHelper> p_177827_) -
Uses of Rotation in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as RotationModifier and TypeFieldDescriptionprivate final Rotation
ServerboundSetStructureBlockPacket.rotation
Methods in net.minecraft.network.protocol.game that return RotationConstructors in net.minecraft.network.protocol.game with parameters of type RotationModifierConstructorDescriptionServerboundSetStructureBlockPacket
(BlockPos pos, StructureBlockEntity.UpdateType updateType, StructureMode mode, String name, BlockPos offset, Vec3i size, Mirror mirror, Rotation rotation, String data, boolean ignoreEntities, boolean showAir, boolean showBoundingBox, float integrity, long seed) -
Uses of Rotation in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type RotationModifier and TypeMethodDescriptionstatic int
PlaceCommand.placeTemplate
(CommandSourceStack source, ResourceLocation template, BlockPos pos, Rotation rotation, Mirror mirror, float integrity, int seed) -
Uses of Rotation in net.minecraft.world.entity
Methods in net.minecraft.world.entity with parameters of type Rotation -
Uses of Rotation in net.minecraft.world.entity.decoration
Methods in net.minecraft.world.entity.decoration with parameters of type Rotation -
Uses of Rotation in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block with type parameters of type RotationModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Rotation> Rotation.CODEC
Methods in net.minecraft.world.level.block that return RotationModifier and TypeMethodDescriptionstatic Rotation
Rotation.getRandom
(RandomSource random) Chooses a random rotation.Rotation.getRotated
(Rotation rotation) Mirror.getRotation
(Direction facing) Determines the rotation that is equivalent to this mirror if the rotating object faces in the given directionstatic Rotation
Returns the enum constant of this class with the specified name.static Rotation[]
Rotation.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.world.level.block that return types with arguments of type RotationModifier and TypeMethodDescriptionRotation.getShuffled
(RandomSource random) Get a list of all rotations in random order.Methods in net.minecraft.world.level.block with parameters of type RotationModifier and TypeMethodDescriptionRotation.getRotated
(Rotation rotation) protected BlockState
AbstractFurnaceBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
AmethystClusterBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
AnvilBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
AttachedStemBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
BannerBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
BarrelBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
BaseCoralWallFanBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.BeehiveBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.BellBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.CalibratedSculkSensorBlock.rotate
(BlockState p_277545_, Rotation p_277482_) protected BlockState
CampfireBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CeilingHangingSignBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
ChestBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.ChiseledBookShelfBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CommandBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CrafterBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CrossCollisionBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
DecoratedPotBlock.rotate
(BlockState p_333895_, Rotation p_333806_) protected BlockState
DetectorRailBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
DispenserBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
DoorBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
EnderChestBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
EndPortalFrameBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
GrindstoneBlock.rotate
(BlockState state, Rotation rotation) protected BlockState
HopperBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
HorizontalDirectionalBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
HugeMushroomBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
InfestedRotatedPillarBlock.rotate
(BlockState p_153443_, Rotation p_153444_) protected BlockState
JigsawBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
LadderBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
LecternBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
MultifaceBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
NetherPortalBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
ObserverBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.PinkPetalsBlock.rotate
(BlockState p_273485_, Rotation p_273021_) protected BlockState
PoweredRailBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
RailBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
RedstoneWallTorchBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
RedStoneWireBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
RodBlock.rotate
(BlockState p_154354_, Rotation p_154355_) protected BlockState
RotatedPillarBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
ShulkerBoxBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
SkullBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
SmallDripleafBlock.rotate
(BlockState p_154622_, Rotation p_154623_) protected BlockState
StairBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
StandingSignBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
StonecutterBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
TripWireBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
TripWireHookBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.VaultBlock.rotate
(BlockState p_324232_, Rotation p_324443_) protected BlockState
VineBlock.rotate
(BlockState state, Rotation rotate) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallBannerBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallHangingSignBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallSignBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallSkullBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallTorchBlock.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate.static BlockState
RotatedPillarBlock.rotatePillar
(BlockState state, Rotation rotation) -
Uses of Rotation in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as RotationMethods in net.minecraft.world.level.block.entity that return RotationMethods in net.minecraft.world.level.block.entity with parameters of type Rotation -
Uses of Rotation in net.minecraft.world.level.block.piston
Methods in net.minecraft.world.level.block.piston with parameters of type RotationModifier and TypeMethodDescriptionprotected BlockState
MovingPistonBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
PistonBaseBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate.PistonBaseBlock.rotate
(BlockState state, LevelAccessor world, BlockPos pos, Rotation direction) protected BlockState
PistonHeadBlock.rotate
(BlockState state, Rotation rot) Returns the blockstate with the given rotation from the passed blockstate. -
Uses of Rotation in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state with parameters of type RotationModifier and TypeMethodDescriptionDeprecated.protected BlockState
BlockBehaviour.rotate
(BlockState state, Rotation rotation) Returns the blockstate with the given rotation from the passed blockstate. -
Uses of Rotation in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as RotationModifier and TypeFieldDescriptionprotected final Rotation
PoolElementStructurePiece.rotation
private Rotation
StructurePiece.rotation
Methods in net.minecraft.world.level.levelgen.structure that return RotationModifier and TypeMethodDescriptionPoolElementStructurePiece.getRotation()
StructurePiece.getRotation()
TemplateStructurePiece.getRotation()
Methods in net.minecraft.world.level.levelgen.structure with parameters of type RotationModifier and TypeMethodDescriptionprotected BlockPos
Structure.getLowestYIn5by5BoxOffset7Blocks
(Structure.GenerationContext context, Rotation rotation) Deprecated.Constructors in net.minecraft.world.level.levelgen.structure with parameters of type RotationModifierConstructorDescriptionPoolElementStructurePiece
(StructureTemplateManager structureTemplateManager, StructurePoolElement element, BlockPos position, int groundLevelDelta, Rotation rotation, BoundingBox boundingBox, LiquidSettings liquidSettings) -
Uses of Rotation in net.minecraft.world.level.levelgen.structure.pools
Methods in net.minecraft.world.level.levelgen.structure.pools with parameters of type RotationModifier and TypeMethodDescriptionEmptyPoolElement.getBoundingBox
(StructureTemplateManager p_227172_, BlockPos p_227173_, Rotation p_227174_) FeaturePoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation) ListPoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation) SinglePoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation) abstract BoundingBox
StructurePoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation) SinglePoolElement.getDataMarkers
(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, boolean relativePosition) JigsawPlacement.getRandomNamedJigsaw
(StructurePoolElement element, ResourceLocation startJigsawName, BlockPos pos, Rotation rotation, StructureTemplateManager structureTemplateManager, WorldgenRandom random) protected StructurePlaceSettings
LegacySinglePoolElement.getSettings
(Rotation p_210353_, BoundingBox p_210354_, LiquidSettings p_352069_, boolean p_210355_) protected StructurePlaceSettings
SinglePoolElement.getSettings
(Rotation rotation, BoundingBox boundingBox, LiquidSettings liquidSettings, boolean offset) EmptyPoolElement.getShuffledJigsawBlocks
(StructureTemplateManager p_227176_, BlockPos p_227177_, Rotation p_227178_, RandomSource p_227179_) FeaturePoolElement.getShuffledJigsawBlocks
(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, RandomSource random) ListPoolElement.getShuffledJigsawBlocks
(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, RandomSource random) SinglePoolElement.getShuffledJigsawBlocks
(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, RandomSource random) abstract List
<StructureTemplate.StructureBlockInfo> StructurePoolElement.getShuffledJigsawBlocks
(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, RandomSource random) EmptyPoolElement.getSize
(StructureTemplateManager p_227169_, Rotation p_227170_) FeaturePoolElement.getSize
(StructureTemplateManager structureTemplateManager, Rotation rotation) ListPoolElement.getSize
(StructureTemplateManager structureTemplateManager, Rotation rotation) SinglePoolElement.getSize
(StructureTemplateManager structureTemplateManager, Rotation rotation) abstract Vec3i
StructurePoolElement.getSize
(StructureTemplateManager structureTemplateManager, Rotation rotation) void
StructurePoolElement.handleDataMarker
(LevelAccessor level, StructureTemplate.StructureBlockInfo blockInfo, BlockPos pos, Rotation rotation, RandomSource random, BoundingBox box) boolean
EmptyPoolElement.place
(StructureTemplateManager p_227158_, WorldGenLevel p_227159_, StructureManager p_227160_, ChunkGenerator p_227161_, BlockPos p_227162_, BlockPos p_227163_, Rotation p_227164_, BoundingBox p_227165_, RandomSource p_227166_, LiquidSettings p_352245_, boolean p_227167_) boolean
FeaturePoolElement.place
(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos offset, BlockPos pos, Rotation rotation, BoundingBox box, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) boolean
ListPoolElement.place
(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos offset, BlockPos pos, Rotation rotation, BoundingBox box, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) boolean
SinglePoolElement.place
(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos offset, BlockPos pos, Rotation rotation, BoundingBox box, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) abstract boolean
StructurePoolElement.place
(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos offset, BlockPos pos, Rotation rotation, BoundingBox box, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) -
Uses of Rotation in net.minecraft.world.level.levelgen.structure.structures
Fields in net.minecraft.world.level.levelgen.structure.structures declared as RotationFields in net.minecraft.world.level.levelgen.structure.structures with type parameters of type RotationMethods in net.minecraft.world.level.levelgen.structure.structures with parameters of type RotationModifier and TypeMethodDescriptionprivate static void
OceanRuinPieces.addClusterRuins
(StructureTemplateManager structureTemplateManager, RandomSource random, Rotation p_rotation, BlockPos pos, OceanRuinStructure structure, StructurePieceAccessor structurePieceAccessor) (package private) static EndCityPieces.EndCityPiece
EndCityPieces.addPiece
(StructureTemplateManager structureTemplateManager, EndCityPieces.EndCityPiece piece, BlockPos startPos, String name, Rotation rotation, boolean overwrite) private static void
OceanRuinPieces.addPiece
(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random, OceanRuinStructure structure, boolean isLarge, float integrity) static void
IglooPieces.addPieces
(StructureTemplateManager structureTemplateManager, BlockPos startPos, Rotation rotation, StructurePieceAccessor pieces, RandomSource random) static void
OceanRuinPieces.addPieces
(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random, OceanRuinStructure structure) ShipwreckPieces.addRandomPiece
(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, StructurePieceAccessor pieces, RandomSource random, boolean isBeached) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom1x1
(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos pos, Rotation p_rotation, Direction direction, WoodlandMansionPieces.FloorRoomCollection floorRooms) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom1x2
(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos pos, Rotation rotation, Direction frontDirection, Direction sideDirection, WoodlandMansionPieces.FloorRoomCollection floorRooms, boolean isStairs) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom2x2
(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos pos, Rotation p_rotation, Direction frontDirection, Direction sideDirection, WoodlandMansionPieces.FloorRoomCollection floorRooms) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom2x2Secret
(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos pos, Rotation rotation, WoodlandMansionPieces.FloorRoomCollection floorRooms) void
WoodlandMansionPieces.MansionPiecePlacer.createMansion
(BlockPos pos, Rotation rotation, List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, WoodlandMansionPieces.MansionGrid grid) private void
WoodlandMansionPieces.MansionPiecePlacer.createRoof
(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos pos, Rotation rotation, WoodlandMansionPieces.SimpleGrid layout, WoodlandMansionPieces.SimpleGrid nextFloorLayout) static void
WoodlandMansionPieces.generateMansion
(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, RandomSource random) private void
EndCityStructure.generatePieces
(StructurePiecesBuilder builder, BlockPos startPos, Rotation rotation, Structure.GenerationContext context) private void
WoodlandMansionStructure.generatePieces
(StructurePiecesBuilder builder, Structure.GenerationContext context, BlockPos pos, Rotation rotation) private static StructurePlaceSettings
EndCityPieces.EndCityPiece.makeSettings
(boolean overwrite, Rotation rotation) private static StructurePlaceSettings
IglooPieces.IglooPiece.makeSettings
(Rotation rotation, ResourceLocation location) private static StructurePlaceSettings
NetherFossilPieces.NetherFossilPiece.makeSettings
(Rotation rotation) private static StructurePlaceSettings
OceanRuinPieces.OceanRuinPiece.makeSettings
(Rotation rotation, float integrity, OceanRuinStructure.Type structureType) private static StructurePlaceSettings
RuinedPortalPiece.makeSettings
(Mirror mirror, Rotation rotation, RuinedPortalPiece.VerticalPlacement verticalPlacement, BlockPos pos, RuinedPortalPiece.Properties properties) private static StructurePlaceSettings
ShipwreckPieces.ShipwreckPiece.makeSettings
(Rotation rotation) private static StructurePlaceSettings
WoodlandMansionPieces.WoodlandMansionPiece.makeSettings
(Mirror mirror, Rotation rotation) static void
EndCityPieces.startHouseTower
(StructureTemplateManager structureTemplateManager, BlockPos startPos, Rotation rotation, List<StructurePiece> pieces, RandomSource random) Constructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type RotationModifierConstructorDescriptionEndCityPiece
(StructureTemplateManager structureTemplateManager, String name, BlockPos startPos, Rotation rotation, boolean overwrite) IglooPiece
(StructureTemplateManager structureTemplateManager, ResourceLocation location, BlockPos startPos, Rotation rotation, int down) NetherFossilPiece
(StructureTemplateManager structureManager, ResourceLocation location, BlockPos pos, Rotation rotation) private
OceanRuinPiece
(StructureTemplateManager structureTemplateManager, CompoundTag genDepth, Rotation rotation, float integrity, OceanRuinStructure.Type biomeType, boolean isLarge) OceanRuinPiece
(StructureTemplateManager structureTemplateManager, ResourceLocation location, BlockPos pos, Rotation rotation, float integrity, OceanRuinStructure.Type biomeType, boolean isLarge) RuinedPortalPiece
(StructureTemplateManager structureTemplateManager, BlockPos templatePosition, RuinedPortalPiece.VerticalPlacement verticalPlacement, RuinedPortalPiece.Properties properties, ResourceLocation location, StructureTemplate template, Rotation rotation, Mirror mirror, BlockPos pivotPos) ShipwreckPiece
(StructureTemplateManager structureTemplateManager, ResourceLocation location, BlockPos pos, Rotation rotation, boolean isBeached) WoodlandMansionPiece
(StructureTemplateManager structureTemplateManager, String templateName, BlockPos templatePosition, Rotation rotation) WoodlandMansionPiece
(StructureTemplateManager structureTemplateManager, String templateName, BlockPos templatePosition, Rotation rotation, Mirror mirror) -
Uses of Rotation in net.minecraft.world.level.levelgen.structure.templatesystem
Fields in net.minecraft.world.level.levelgen.structure.templatesystem declared as RotationMethods in net.minecraft.world.level.levelgen.structure.templatesystem that return RotationMethods in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type RotationModifier and TypeMethodDescriptionStructureTemplate.getBoundingBox
(BlockPos startPos, Rotation rotation, BlockPos pivotPos, Mirror mirror) protected static BoundingBox
StructureTemplate.getBoundingBox
(BlockPos startPos, Rotation rotation, BlockPos pivotPos, Mirror mirror, Vec3i size) StructureTemplate.getZeroPositionWithTransform
(BlockPos targetPos, Mirror mirror, Rotation rotation) static BlockPos
StructureTemplate.getZeroPositionWithTransform
(BlockPos pos, Mirror mirror, Rotation rotation, int sizeX, int sizeZ) StructurePlaceSettings.setRotation
(Rotation rotation) static BlockPos
static Vec3
-
Uses of Rotation in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions with parameters of type RotationModifier and TypeMethodDescriptiondefault BlockState
IBlockExtension.rotate
(BlockState state, LevelAccessor level, BlockPos pos, Rotation direction) default BlockState
IBlockStateExtension.rotate
(LevelAccessor level, BlockPos pos, Rotation direction)
IBlockStateExtension.rotate(LevelAccessor, BlockPos, Rotation)