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 RotationTemplateRotationArgument.getRotation(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) -
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 RotationGameTestInfo.rotationprivate final RotationTestFunction.rotationThe field for therotationrecord component.Methods in net.minecraft.gametest.framework that return RotationModifier and TypeMethodDescriptionGameTestInfo.getRotation()static RotationStructureUtils.getRotationForRotationSteps(int pRotationSteps) GameTestHelper.getTestRotation()TestFunction.rotation()Returns the value of therotationrecord component.Methods in net.minecraft.gametest.framework with parameters of type RotationModifier and TypeMethodDescriptionstatic voidStructureUtils.addCommandBlockAndButtonToStartTest(BlockPos pStructureBlockPos, BlockPos pOffset, Rotation pRotation, ServerLevel pServerLevel) static voidStructureUtils.createNewEmptyStructureBlock(String pStructureName, BlockPos pPos, Vec3i pSize, Rotation pRotation, ServerLevel pServerLevel) private static StructureBlockEntityStructureUtils.createStructureBlock(GameTestInfo pGameTestInfo, BlockPos pPos, Rotation pRotation, ServerLevel pLevel) static intStructureUtils.getRotationStepsForRotation(Rotation pRotation) static BlockPosStructureUtils.getStartCorner(GameTestInfo pGameTestInfo, BlockPos pPos, Rotation pRotation, ServerLevel pLevel) static BoundingBoxStructureUtils.getStructureBoundingBox(BlockPos pPos, Vec3i pOffset, Rotation pRotation) static BlockPosStructureUtils.getTransformedFarCorner(BlockPos pPos, Vec3i pOffset, Rotation pRotation) static StructureBlockEntityStructureUtils.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 aTestFunctionrecord 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 RotationServerboundSetStructureBlockPacket.rotationMethods 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 intPlaceCommand.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.CODECMethods in net.minecraft.world.level.block that return RotationModifier and TypeMethodDescriptionstatic RotationRotation.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 RotationReturns 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 BlockStateAbstractFurnaceBlock.rotate(BlockState pState, Rotation pRotation) protected BlockStateAmethystClusterBlock.rotate(BlockState p_152033_, Rotation p_152034_) protected BlockStateAnvilBlock.rotate(BlockState pState, Rotation pRot) protected BlockStateAttachedStemBlock.rotate(BlockState pState, Rotation pRot) protected BlockStateBannerBlock.rotate(BlockState pState, Rotation pRotation) protected BlockStateBarrelBlock.rotate(BlockState pState, Rotation pRotation) protected BlockStateBaseCoralWallFanBlock.rotate(BlockState pState, Rotation pRotation) BeehiveBlock.rotate(BlockState p_304785_, Rotation p_304624_) BellBlock.rotate(BlockState p_304966_, Rotation p_304463_) CalibratedSculkSensorBlock.rotate(BlockState p_277545_, Rotation p_277482_) protected BlockStateCampfireBlock.rotate(BlockState pState, Rotation pRot) protected BlockStateCeilingHangingSignBlock.rotate(BlockState p_251162_, Rotation p_250515_) protected BlockStateChestBlock.rotate(BlockState pState, Rotation pRotation) ChiseledBookShelfBlock.rotate(BlockState p_288975_, Rotation p_288993_) protected BlockStateCommandBlock.rotate(BlockState pState, Rotation pRotation) protected BlockStateCrafterBlock.rotate(BlockState p_307240_, Rotation p_307431_) protected BlockStateCreakingHeartBlock.rotate(BlockState p_380251_, Rotation p_379529_) protected BlockStateCrossCollisionBlock.rotate(BlockState pState, Rotation pRot) protected BlockStateDecoratedPotBlock.rotate(BlockState p_333895_, Rotation p_333806_) protected BlockStateDetectorRailBlock.rotate(BlockState pState, Rotation pRotation) protected BlockStateDispenserBlock.rotate(BlockState pState, Rotation pRotation) protected BlockStateDoorBlock.rotate(BlockState pState, Rotation pRotation) protected BlockStateEnderChestBlock.rotate(BlockState pState, Rotation pRot) protected BlockStateEndPortalFrameBlock.rotate(BlockState pState, Rotation pRotation) protected BlockStateGrindstoneBlock.rotate(BlockState pState, Rotation pRotation) protected BlockStateHopperBlock.rotate(BlockState pState, Rotation pRotation) protected BlockStateHorizontalDirectionalBlock.rotate(BlockState pState, Rotation pRot) protected BlockStateHugeMushroomBlock.rotate(BlockState pState, Rotation pRot) protected BlockStateInfestedRotatedPillarBlock.rotate(BlockState p_153443_, Rotation p_153444_) protected BlockStateJigsawBlock.rotate(BlockState pState, Rotation pRotation) protected BlockStateLadderBlock.rotate(BlockState pState, Rotation pRotation) protected BlockStateLecternBlock.rotate(BlockState pState, Rotation pRotation) protected BlockStateMossyCarpetBlock.rotate(BlockState p_379325_, Rotation p_380164_) protected BlockStateMultifaceBlock.rotate(BlockState p_153895_, Rotation p_153896_) protected BlockStateNetherPortalBlock.rotate(BlockState pState, Rotation pRot) protected BlockStateObserverBlock.rotate(BlockState pState, Rotation pRot) PinkPetalsBlock.rotate(BlockState p_273485_, Rotation p_273021_) protected BlockStatePoweredRailBlock.rotate(BlockState pState, Rotation pRot) protected BlockStateRailBlock.rotate(BlockState pState, Rotation pRot) protected BlockStateRedstoneWallTorchBlock.rotate(BlockState pState, Rotation pRotation) protected BlockStateRedStoneWireBlock.rotate(BlockState pState, Rotation pRotation) protected BlockStateRodBlock.rotate(BlockState p_154354_, Rotation p_154355_) protected BlockStateRotatedPillarBlock.rotate(BlockState pState, Rotation pRot) protected BlockStateShulkerBoxBlock.rotate(BlockState pState, Rotation pRot) protected BlockStateSkullBlock.rotate(BlockState pState, Rotation pRotation) protected BlockStateSmallDripleafBlock.rotate(BlockState p_154622_, Rotation p_154623_) protected BlockStateStairBlock.rotate(BlockState pState, Rotation pRot) protected BlockStateStandingSignBlock.rotate(BlockState pState, Rotation pRot) protected BlockStateStonecutterBlock.rotate(BlockState pState, Rotation pRotation) protected BlockStateTripWireBlock.rotate(BlockState pState, Rotation pRot) protected BlockStateTripWireHookBlock.rotate(BlockState pState, Rotation pRotation) VaultBlock.rotate(BlockState p_324232_, Rotation p_324443_) protected BlockStateVineBlock.rotate(BlockState pState, Rotation pRotate) protected BlockStateWallBannerBlock.rotate(BlockState pState, Rotation pRotation) protected BlockStateWallBlock.rotate(BlockState pState, Rotation pRotation) protected BlockStateWallHangingSignBlock.rotate(BlockState p_249292_, Rotation p_249867_) protected BlockStateWallSignBlock.rotate(BlockState pState, Rotation pRotation) protected BlockStateWallSkullBlock.rotate(BlockState pState, Rotation pRotation) protected BlockStateWallTorchBlock.rotate(BlockState pState, Rotation pRotation) static BlockStateRotatedPillarBlock.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 BlockStateMovingPistonBlock.rotate(BlockState pState, Rotation pRot) protected BlockStatePistonBaseBlock.rotate(BlockState pState, Rotation pRot) PistonBaseBlock.rotate(BlockState state, LevelAccessor world, BlockPos pos, Rotation direction) protected BlockStatePistonHeadBlock.rotate(BlockState pState, Rotation pRot) -
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 BlockStateBlockBehaviour.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 RotationPoolElementStructurePiece.rotationprivate RotationStructurePiece.rotationMethods 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 BlockPosStructure.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 p_227195_, BlockPos p_227196_, Rotation p_227197_) ListPoolElement.getBoundingBox(StructureTemplateManager p_227286_, BlockPos p_227287_, Rotation p_227288_) SinglePoolElement.getBoundingBox(StructureTemplateManager p_227316_, BlockPos p_227317_, Rotation p_227318_) abstract BoundingBoxStructurePoolElement.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 StructurePlaceSettingsLegacySinglePoolElement.getSettings(Rotation p_210353_, BoundingBox p_210354_, LiquidSettings p_352069_, boolean p_210355_) protected StructurePlaceSettingsSinglePoolElement.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 p_227199_, BlockPos p_227200_, Rotation p_227201_, RandomSource p_227202_) ListPoolElement.getShuffledJigsawBlocks(StructureTemplateManager p_227290_, BlockPos p_227291_, Rotation p_227292_, RandomSource p_227293_) SinglePoolElement.getShuffledJigsawBlocks(StructureTemplateManager p_227320_, BlockPos p_227321_, Rotation p_227322_, RandomSource p_227323_) abstract List<StructureTemplate.JigsawBlockInfo> StructurePoolElement.getShuffledJigsawBlocks(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) EmptyPoolElement.getSize(StructureTemplateManager p_227169_, Rotation p_227170_) FeaturePoolElement.getSize(StructureTemplateManager p_227192_, Rotation p_227193_) ListPoolElement.getSize(StructureTemplateManager p_227283_, Rotation p_227284_) SinglePoolElement.getSize(StructureTemplateManager p_227313_, Rotation p_227314_) abstract Vec3iStructurePoolElement.getSize(StructureTemplateManager pStructureTemplateManager, Rotation pRotation) voidStructurePoolElement.handleDataMarker(LevelAccessor pLevel, StructureTemplate.StructureBlockInfo pBlockInfo, BlockPos pPos, Rotation pRotation, RandomSource pRandom, BoundingBox pBox) booleanEmptyPoolElement.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_) booleanFeaturePoolElement.place(StructureTemplateManager p_227181_, WorldGenLevel p_227182_, StructureManager p_227183_, ChunkGenerator p_227184_, BlockPos p_227185_, BlockPos p_227186_, Rotation p_227187_, BoundingBox p_227188_, RandomSource p_227189_, LiquidSettings p_352143_, boolean p_227190_) booleanListPoolElement.place(StructureTemplateManager p_227272_, WorldGenLevel p_227273_, StructureManager p_227274_, ChunkGenerator p_227275_, BlockPos p_227276_, BlockPos p_227277_, Rotation p_227278_, BoundingBox p_227279_, RandomSource p_227280_, LiquidSettings p_352445_, boolean p_227281_) booleanSinglePoolElement.place(StructureTemplateManager p_227302_, WorldGenLevel p_227303_, StructureManager p_227304_, ChunkGenerator p_227305_, BlockPos p_227306_, BlockPos p_227307_, Rotation p_227308_, BoundingBox p_227309_, RandomSource p_227310_, LiquidSettings p_352088_, boolean p_227311_) abstract booleanStructurePoolElement.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 voidOceanRuinPieces.addClusterRuins(StructureTemplateManager pStructureTemplateManager, RandomSource pRandom, Rotation pRotation, BlockPos pPos, OceanRuinStructure pStructure, StructurePieceAccessor pStructurePieceAccessor) (package private) static EndCityPieces.EndCityPieceEndCityPieces.addPiece(StructureTemplateManager pStructureTemplateManager, EndCityPieces.EndCityPiece pPiece, BlockPos pStartPos, String pName, Rotation pRotation, boolean pOverwrite) private static voidOceanRuinPieces.addPiece(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, StructurePieceAccessor pStructurePieceAccessor, RandomSource pRandom, OceanRuinStructure pStructure, boolean pIsLarge, float pIntegrity) static voidIglooPieces.addPieces(StructureTemplateManager pStructureTemplateManager, BlockPos pStartPos, Rotation pRotation, StructurePieceAccessor pPieces, RandomSource pRandom) static voidOceanRuinPieces.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 voidWoodlandMansionPieces.MansionPiecePlacer.addRoom1x1(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, Direction pDirection, WoodlandMansionPieces.FloorRoomCollection pFloorRooms) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom1x2(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, Direction pFrontDirection, Direction pSideDirection, WoodlandMansionPieces.FloorRoomCollection pFloorRooms, boolean pIsStairs) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom2x2(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, Direction pFrontDirection, Direction pSideDirection, WoodlandMansionPieces.FloorRoomCollection pFloorRooms) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom2x2Secret(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, WoodlandMansionPieces.FloorRoomCollection pFloorRooms) voidWoodlandMansionPieces.MansionPiecePlacer.createMansion(BlockPos pPos, Rotation pRotation, List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, WoodlandMansionPieces.MansionGrid pGrid) private voidWoodlandMansionPieces.MansionPiecePlacer.createRoof(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, WoodlandMansionPieces.SimpleGrid pLayout, WoodlandMansionPieces.SimpleGrid pNextFloorLayout) static voidWoodlandMansionPieces.generateMansion(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, RandomSource pRandom) private voidEndCityStructure.generatePieces(StructurePiecesBuilder pBuilder, BlockPos pStartPos, Rotation pRotation, Structure.GenerationContext pContext) private voidWoodlandMansionStructure.generatePieces(StructurePiecesBuilder pBuilder, Structure.GenerationContext pContext, BlockPos pPos, Rotation pRotation) private static StructurePlaceSettingsEndCityPieces.EndCityPiece.makeSettings(boolean pOverwrite, Rotation pRotation) private static StructurePlaceSettingsIglooPieces.IglooPiece.makeSettings(Rotation pRotation, ResourceLocation pLocation) private static StructurePlaceSettingsNetherFossilPieces.NetherFossilPiece.makeSettings(Rotation pRotation) private static StructurePlaceSettingsOceanRuinPieces.OceanRuinPiece.makeSettings(Rotation pRotation, float pIntegrity, OceanRuinStructure.Type pStructureType) private static StructurePlaceSettingsRuinedPortalPiece.makeSettings(Mirror pMirror, Rotation pRotation, RuinedPortalPiece.VerticalPlacement pVerticalPlacement, BlockPos pPos, RuinedPortalPiece.Properties pProperties) private static StructurePlaceSettingsShipwreckPieces.ShipwreckPiece.makeSettings(Rotation pRotation) private static StructurePlaceSettingsWoodlandMansionPieces.WoodlandMansionPiece.makeSettings(Mirror pMirror, Rotation pRotation) static voidEndCityPieces.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) privateOceanRuinPiece(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 BoundingBoxStructureTemplate.getBoundingBox(BlockPos pStartPos, Rotation pRotation, BlockPos pPivotPos, Mirror pMirror, Vec3i pSize) StructureTemplate.getJigsaws(BlockPos pPos, Rotation pRotation) StructureTemplate.getZeroPositionWithTransform(BlockPos pTargetPos, Mirror pMirror, Rotation pRotation) static BlockPosStructureTemplate.getZeroPositionWithTransform(BlockPos pPos, Mirror pMirror, Rotation pRotation, int pSizeX, int pSizeZ) StructurePlaceSettings.setRotation(Rotation pRotation) static BlockPosStructureTemplate.transform(BlockPos pTargetPos, Mirror pMirror, Rotation pRotation, BlockPos pOffset) static Vec3StructureTemplate.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 BlockStateIBlockExtension.rotate(BlockState state, LevelAccessor level, BlockPos pos, Rotation direction) default BlockStateIBlockStateExtension.rotate(LevelAccessor level, BlockPos pos, Rotation direction)
IBlockStateExtension.rotate(LevelAccessor, BlockPos, Rotation)