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> p_234416_, String p_234417_) -
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 pRotationSteps) 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 pStructureBlockPos, BlockPos pOffset, Rotation pRotation, ServerLevel pServerLevel) static void
StructureUtils.createNewEmptyStructureBlock
(String pStructureName, BlockPos pPos, Vec3i pSize, Rotation pRotation, ServerLevel pServerLevel) private static StructureBlockEntity
StructureUtils.createStructureBlock
(GameTestInfo pGameTestInfo, BlockPos pPos, Rotation pRotation, ServerLevel pLevel) static int
StructureUtils.getRotationStepsForRotation
(Rotation pRotation) static BoundingBox
StructureUtils.getStructureBoundingBox
(BlockPos pPos, Vec3i pOffset, Rotation pRotation) static BlockPos
StructureUtils.getTransformedFarCorner
(BlockPos pPos, Vec3i pOffset, Rotation pRotation) static StructureBlockEntity
StructureUtils.prepareTestStructure
(GameTestInfo pGameTestInfo, BlockPos pPos, Rotation pRotation, ServerLevel pLevel) Constructors in net.minecraft.gametest.framework with parameters of type RotationModifierConstructorDescriptionGameTestInfo
(TestFunction pTestFunction, Rotation pRotation, ServerLevel pLevel, RetryOptions pRetryOptions) 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 pPos, StructureBlockEntity.UpdateType pUpdateType, StructureMode pMode, String pName, BlockPos pOffset, Vec3i pSize, Mirror pMirror, Rotation pRotation, String pData, boolean pIgnoreEntities, boolean pShowAir, boolean pShowBoundingBox, float pIntegrity, long pSeed) -
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 pSource, ResourceLocation pTemplate, BlockPos pPos, Rotation pRotation, Mirror pMirror, float pIntegrity, int pSeed) -
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 pRandom) Chooses a random rotation.Rotation.getRotated
(Rotation pRotation) Mirror.getRotation
(Direction pFacing) 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 pRandom) 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 pRotation) protected BlockState
AbstractFurnaceBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
AmethystClusterBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
AnvilBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
AttachedStemBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
BannerBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
BarrelBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
BaseCoralWallFanBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.BeehiveBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.BellBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.CalibratedSculkSensorBlock.rotate
(BlockState p_277545_, Rotation p_277482_) protected BlockState
CampfireBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CeilingHangingSignBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
ChestBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.ChiseledBookShelfBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CommandBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CrafterBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
CrossCollisionBlock.rotate
(BlockState pState, Rotation pRot) 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 pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
DispenserBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
DoorBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
EnderChestBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
EndPortalFrameBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
GrindstoneBlock.rotate
(BlockState pState, Rotation pRotation) protected BlockState
HopperBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
HorizontalDirectionalBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
HugeMushroomBlock.rotate
(BlockState pState, Rotation pRot) 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 pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
LadderBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
LecternBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
MultifaceBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
NetherPortalBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
ObserverBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.PinkPetalsBlock.rotate
(BlockState p_273485_, Rotation p_273021_) protected BlockState
PoweredRailBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
RailBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
RedstoneWallTorchBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
RedStoneWireBlock.rotate
(BlockState pState, Rotation pRotation) 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 pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
ShulkerBoxBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
SkullBlock.rotate
(BlockState pState, Rotation pRotation) 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 pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
StandingSignBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
StonecutterBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
TripWireBlock.rotate
(BlockState pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
TripWireHookBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.VaultBlock.rotate
(BlockState p_324232_, Rotation p_324443_) protected BlockState
VineBlock.rotate
(BlockState pState, Rotation pRotate) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallBannerBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallHangingSignBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallSignBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallSkullBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
WallTorchBlock.rotate
(BlockState pState, Rotation pRotation) Returns the blockstate with the given rotation from the passed blockstate.static BlockState
RotatedPillarBlock.rotatePillar
(BlockState pState, Rotation pRotation) -
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 pState, Rotation pRot) Returns the blockstate with the given rotation from the passed blockstate.protected BlockState
PistonBaseBlock.rotate
(BlockState pState, Rotation pRot) 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 pState, Rotation pRot) 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 pState, Rotation pRotation) 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 pContext, Rotation pRotation) Deprecated.Constructors in net.minecraft.world.level.levelgen.structure with parameters of type RotationModifierConstructorDescriptionPoolElementStructurePiece
(StructureTemplateManager pStructureTemplateManager, StructurePoolElement pElement, BlockPos pPosition, int pGroundLevelDelta, Rotation pRotation, BoundingBox pBoundingBox, LiquidSettings pLiquidSettings) -
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 pStructureTemplateManager, BlockPos pPos, Rotation pRotation) ListPoolElement.getBoundingBox
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation) SinglePoolElement.getBoundingBox
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation) abstract BoundingBox
StructurePoolElement.getBoundingBox
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation) SinglePoolElement.getDataMarkers
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, boolean pRelativePosition) JigsawPlacement.getRandomNamedJigsaw
(StructurePoolElement pElement, ResourceLocation pStartJigsawName, BlockPos pPos, Rotation pRotation, StructureTemplateManager pStructureTemplateManager, WorldgenRandom pRandom) protected StructurePlaceSettings
LegacySinglePoolElement.getSettings
(Rotation p_210353_, BoundingBox p_210354_, LiquidSettings p_352069_, boolean p_210355_) protected StructurePlaceSettings
SinglePoolElement.getSettings
(Rotation pRotation, BoundingBox pBoundingBox, LiquidSettings pLiquidSettings, boolean pOffset) EmptyPoolElement.getShuffledJigsawBlocks
(StructureTemplateManager p_227176_, BlockPos p_227177_, Rotation p_227178_, RandomSource p_227179_) FeaturePoolElement.getShuffledJigsawBlocks
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) ListPoolElement.getShuffledJigsawBlocks
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) SinglePoolElement.getShuffledJigsawBlocks
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) abstract List
<StructureTemplate.StructureBlockInfo> StructurePoolElement.getShuffledJigsawBlocks
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) EmptyPoolElement.getSize
(StructureTemplateManager p_227169_, Rotation p_227170_) FeaturePoolElement.getSize
(StructureTemplateManager pStructureTemplateManager, Rotation pRotation) ListPoolElement.getSize
(StructureTemplateManager pStructureTemplateManager, Rotation pRotation) SinglePoolElement.getSize
(StructureTemplateManager pStructureTemplateManager, Rotation pRotation) abstract Vec3i
StructurePoolElement.getSize
(StructureTemplateManager pStructureTemplateManager, Rotation pRotation) void
StructurePoolElement.handleDataMarker
(LevelAccessor pLevel, StructureTemplate.StructureBlockInfo pBlockInfo, BlockPos pPos, Rotation pRotation, RandomSource pRandom, BoundingBox pBox) 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 pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) boolean
ListPoolElement.place
(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) boolean
SinglePoolElement.place
(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) abstract boolean
StructurePoolElement.place
(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) -
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 pStructureTemplateManager, RandomSource pRandom, Rotation pRotation, BlockPos pPos, OceanRuinStructure pStructure, StructurePieceAccessor pStructurePieceAccessor) (package private) static EndCityPieces.EndCityPiece
EndCityPieces.addPiece
(StructureTemplateManager pStructureTemplateManager, EndCityPieces.EndCityPiece pPiece, BlockPos pStartPos, String pName, Rotation pRotation, boolean pOverwrite) private static void
OceanRuinPieces.addPiece
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, StructurePieceAccessor pStructurePieceAccessor, RandomSource pRandom, OceanRuinStructure pStructure, boolean pIsLarge, float pIntegrity) static void
IglooPieces.addPieces
(StructureTemplateManager pStructureTemplateManager, BlockPos pStartPos, Rotation pRotation, StructurePieceAccessor pPieces, RandomSource pRandom) static void
OceanRuinPieces.addPieces
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, StructurePieceAccessor pStructurePieceAccessor, RandomSource pRandom, OceanRuinStructure pStructure) ShipwreckPieces.addRandomPiece
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, StructurePieceAccessor pPieces, RandomSource pRandom, boolean pIsBeached) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom1x1
(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, Direction pDirection, WoodlandMansionPieces.FloorRoomCollection pFloorRooms) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom1x2
(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, Direction pFrontDirection, Direction pSideDirection, WoodlandMansionPieces.FloorRoomCollection pFloorRooms, boolean pIsStairs) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom2x2
(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, Direction pFrontDirection, Direction pSideDirection, WoodlandMansionPieces.FloorRoomCollection pFloorRooms) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom2x2Secret
(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, WoodlandMansionPieces.FloorRoomCollection pFloorRooms) void
WoodlandMansionPieces.MansionPiecePlacer.createMansion
(BlockPos pPos, Rotation pRotation, List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, WoodlandMansionPieces.MansionGrid pGrid) private void
WoodlandMansionPieces.MansionPiecePlacer.createRoof
(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, WoodlandMansionPieces.SimpleGrid pLayout, WoodlandMansionPieces.SimpleGrid pNextFloorLayout) static void
WoodlandMansionPieces.generateMansion
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, RandomSource pRandom) private void
EndCityStructure.generatePieces
(StructurePiecesBuilder pBuilder, BlockPos pStartPos, Rotation pRotation, Structure.GenerationContext pContext) private void
WoodlandMansionStructure.generatePieces
(StructurePiecesBuilder pBuilder, Structure.GenerationContext pContext, BlockPos pPos, Rotation pRotation) private static StructurePlaceSettings
EndCityPieces.EndCityPiece.makeSettings
(boolean pOverwrite, Rotation pRotation) private static StructurePlaceSettings
IglooPieces.IglooPiece.makeSettings
(Rotation pRotation, ResourceLocation pLocation) private static StructurePlaceSettings
NetherFossilPieces.NetherFossilPiece.makeSettings
(Rotation pRotation) private static StructurePlaceSettings
OceanRuinPieces.OceanRuinPiece.makeSettings
(Rotation pRotation, float pIntegrity, OceanRuinStructure.Type pStructureType) private static StructurePlaceSettings
RuinedPortalPiece.makeSettings
(Mirror pMirror, Rotation pRotation, RuinedPortalPiece.VerticalPlacement pVerticalPlacement, BlockPos pPos, RuinedPortalPiece.Properties pProperties) private static StructurePlaceSettings
ShipwreckPieces.ShipwreckPiece.makeSettings
(Rotation pRotation) private static StructurePlaceSettings
WoodlandMansionPieces.WoodlandMansionPiece.makeSettings
(Mirror pMirror, Rotation pRotation) static void
EndCityPieces.startHouseTower
(StructureTemplateManager pStructureTemplateManager, BlockPos pStartPos, Rotation pRotation, List<StructurePiece> pPieces, RandomSource pRandom) Constructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type RotationModifierConstructorDescriptionEndCityPiece
(StructureTemplateManager pStructureTemplateManager, String pName, BlockPos pStartPos, Rotation pRotation, boolean pOverwrite) IglooPiece
(StructureTemplateManager pStructureTemplateManager, ResourceLocation pLocation, BlockPos pStartPos, Rotation pRotation, int pDown) NetherFossilPiece
(StructureTemplateManager pStructureManager, ResourceLocation pLocation, BlockPos pPos, Rotation pRotation) private
OceanRuinPiece
(StructureTemplateManager pStructureTemplateManager, CompoundTag pGenDepth, Rotation pRotation, float pIntegrity, OceanRuinStructure.Type pBiomeType, boolean pIsLarge) OceanRuinPiece
(StructureTemplateManager pStructureTemplateManager, ResourceLocation pLocation, BlockPos pPos, Rotation pRotation, float pIntegrity, OceanRuinStructure.Type pBiomeType, boolean pIsLarge) RuinedPortalPiece
(StructureTemplateManager pStructureTemplateManager, BlockPos pTemplatePosition, RuinedPortalPiece.VerticalPlacement pVerticalPlacement, RuinedPortalPiece.Properties pProperties, ResourceLocation pLocation, StructureTemplate pTemplate, Rotation pRotation, Mirror pMirror, BlockPos pPivotPos) ShipwreckPiece
(StructureTemplateManager pStructureTemplateManager, ResourceLocation pLocation, BlockPos pPos, Rotation pRotation, boolean pIsBeached) WoodlandMansionPiece
(StructureTemplateManager pStructureTemplateManager, String pTemplateName, BlockPos pTemplatePosition, Rotation pRotation) WoodlandMansionPiece
(StructureTemplateManager pStructureTemplateManager, String pTemplateName, BlockPos pTemplatePosition, Rotation pRotation, Mirror pMirror) -
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 pStartPos, Rotation pRotation, BlockPos pPivotPos, Mirror pMirror) protected static BoundingBox
StructureTemplate.getBoundingBox
(BlockPos pStartPos, Rotation pRotation, BlockPos pPivotPos, Mirror pMirror, Vec3i pSize) StructureTemplate.getZeroPositionWithTransform
(BlockPos pTargetPos, Mirror pMirror, Rotation pRotation) static BlockPos
StructureTemplate.getZeroPositionWithTransform
(BlockPos pPos, Mirror pMirror, Rotation pRotation, int pSizeX, int pSizeZ) StructurePlaceSettings.setRotation
(Rotation pRotation) static BlockPos
StructureTemplate.transform
(BlockPos pTargetPos, Mirror pMirror, Rotation pRotation, BlockPos pOffset) static Vec3
StructureTemplate.transform
(Vec3 pTarget, Mirror pMirror, Rotation pRotation, BlockPos pCenterOffset) -
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) -
Uses of Rotation in net.neoforged.testframework.gametest
Fields in net.neoforged.testframework.gametest declared as RotationModifier and TypeFieldDescriptionprivate final Rotation
GameTestData.rotation
The field for therotation
record component.Methods in net.neoforged.testframework.gametest that return RotationModifier and TypeMethodDescriptionGameTestData.rotation()
Returns the value of therotation
record component.Constructors in net.neoforged.testframework.gametest with parameters of type RotationModifierConstructorDescriptionGameTestData
(@Nullable String batchName, String structureName, boolean required, int maxAttempts, int requiredSuccesses, Consumer<GameTestHelper> function, int maxTicks, long setupTicks, Rotation rotation, boolean skyAccess) Creates an instance of aGameTestData
record class.
IBlockStateExtension.rotate(LevelAccessor, BlockPos, Rotation)