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 RotationFields in net.minecraft.client.gui.screens.inventory with type parameters of type RotationModifier and TypeFieldDescriptionprivate @Nullable CycleButton<Rotation> TestInstanceBlockEditScreen.rotationButtonMethods in net.minecraft.client.gui.screens.inventory with parameters of type RotationModifier and TypeMethodDescriptionprivate static ComponentTestInstanceBlockEditScreen.rotationDisplay(Rotation rotation) -
Uses of Rotation in net.minecraft.commands.arguments
Subclasses with type arguments of type Rotation in net.minecraft.commands.argumentsMethods in net.minecraft.commands.arguments that return RotationModifier and TypeMethodDescriptionstatic RotationTemplateRotationArgument.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 RotationGameTestInfo.extraRotationprivate final RotationTestData.rotationThe field for therotationrecord component.Methods in net.minecraft.gametest.framework that return RotationModifier and TypeMethodDescriptionGameTestInfo.getRotation()static RotationStructureUtils.getRotationForRotationSteps(int rotationSteps) GameTestHelper.getTestRotation()GameTestInstance.rotation()TestData.rotation()Returns the value of therotationrecord component.Methods in net.minecraft.gametest.framework with parameters of type RotationModifier and TypeMethodDescriptionstatic TestInstanceBlockEntityStructureUtils.createNewEmptyTest(Identifier id, BlockPos structurePos, Vec3i size, Rotation rotation, ServerLevel level) private @Nullable TestInstanceBlockEntityGameTestInfo.createTestInstanceBlock(BlockPos testPos, Rotation rotation, ServerLevel level) static intStructureUtils.getRotationStepsForRotation(Rotation rotation) static BoundingBoxStructureUtils.getStructureBoundingBox(BlockPos northWestCorner, Vec3i size, Rotation rotation) static BlockPosStructureUtils.getTransformedFarCorner(BlockPos structurePosition, Vec3i size, Rotation rotation) Constructors in net.minecraft.gametest.framework with parameters of type RotationModifierConstructorDescriptionGameTestInfo(Holder.Reference<GameTestInstance> test, Rotation extraRotation, ServerLevel level, RetryOptions retryOptions) TestData(EnvironmentType environment, Identifier structure, int maxTicks, int setupTicks, boolean required, Rotation rotation) TestData(EnvironmentType environment, Identifier structure, int maxTicks, int setupTicks, boolean required, Rotation rotation, boolean manualOnly, int maxAttempts, int requiredSuccesses, boolean skyAccess, int padding) Creates an instance of aTestDatarecord class. -
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 pos, StructureBlockEntity.UpdateType updateType, StructureMode mode, String name, BlockPos offset, Vec3i size, Mirror mirror, Rotation rotation, String data, boolean ignoreEntities, boolean strict, boolean showAir, boolean showBoundingBox, float integrity, long seed) ServerboundTestInstanceBlockActionPacket(BlockPos pos, ServerboundTestInstanceBlockActionPacket.Action action, Optional<ResourceKey<GameTestInstance>> test, Vec3i size, Rotation rotation, boolean ignoreEntities) -
Uses of Rotation in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type RotationModifier and TypeMethodDescriptionstatic intPlaceCommand.placeTemplate(CommandSourceStack source, Identifier template, BlockPos pos, Rotation rotation, Mirror mirror, float integrity, int seed, boolean strict) -
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
Subclasses with type arguments of type Rotation in net.minecraft.world.level.blockFields in net.minecraft.world.level.block with type parameters of type RotationModifier and TypeFieldDescriptionstatic final IntFunction<Rotation> Rotation.BY_IDstatic final com.mojang.serialization.Codec<Rotation> Rotation.CODECstatic final com.mojang.serialization.Codec<Rotation> Rotation.LEGACY_CODECDeprecated.static final StreamCodec<io.netty.buffer.ByteBuf, Rotation> Rotation.STREAM_CODECMethods in net.minecraft.world.level.block that return RotationModifier and TypeMethodDescriptionstatic RotationRotation.getRandom(RandomSource random) Chooses a random rotation.Rotation.getRotated(Rotation rot) Mirror.getRotation(Direction value) 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 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 rot) protected BlockStateAbstractFurnaceBlock.rotate(BlockState state, Rotation rotation) protected BlockStateAmethystClusterBlock.rotate(BlockState state, Rotation rotation) protected BlockStateAnvilBlock.rotate(BlockState state, Rotation rotation) protected BlockStateAttachedStemBlock.rotate(BlockState state, Rotation rotation) protected BlockStateBannerBlock.rotate(BlockState state, Rotation rotation) protected BlockStateBarrelBlock.rotate(BlockState state, Rotation rotation) protected BlockStateBaseCoralWallFanBlock.rotate(BlockState state, Rotation rotation) protected RailShapeBeehiveBlock.rotate(BlockState state, Rotation rotation) BellBlock.rotate(BlockState state, Rotation rotation) CalibratedSculkSensorBlock.rotate(BlockState state, Rotation rotation) protected BlockStateCampfireBlock.rotate(BlockState state, Rotation rotation) protected BlockStateCeilingHangingSignBlock.rotate(BlockState state, Rotation rotation) protected BlockStateChestBlock.rotate(BlockState state, Rotation rotation) ChiseledBookShelfBlock.rotate(BlockState state, Rotation rotation) protected BlockStateCommandBlock.rotate(BlockState state, Rotation rotation) protected BlockStateCopperGolemStatueBlock.rotate(BlockState state, Rotation rotation) protected BlockStateCrafterBlock.rotate(BlockState state, Rotation rotation) protected BlockStateCreakingHeartBlock.rotate(BlockState state, Rotation rotation) protected BlockStateCrossCollisionBlock.rotate(BlockState state, Rotation rotation) protected BlockStateDecoratedPotBlock.rotate(BlockState state, Rotation rotation) protected BlockStateDetectorRailBlock.rotate(BlockState state, Rotation rotation) protected BlockStateDispenserBlock.rotate(BlockState state, Rotation rotation) protected BlockStateDoorBlock.rotate(BlockState state, Rotation rotation) protected BlockStateEnderChestBlock.rotate(BlockState state, Rotation rotation) protected BlockStateEndPortalFrameBlock.rotate(BlockState state, Rotation rotation) FlowerBedBlock.rotate(BlockState state, Rotation rotation) protected BlockStateGrindstoneBlock.rotate(BlockState state, Rotation rotation) protected BlockStateHopperBlock.rotate(BlockState state, Rotation rotation) protected BlockStateHorizontalDirectionalBlock.rotate(BlockState state, Rotation rotation) protected BlockStateHugeMushroomBlock.rotate(BlockState state, Rotation rotation) protected BlockStateInfestedRotatedPillarBlock.rotate(BlockState state, Rotation rotation) protected BlockStateJigsawBlock.rotate(BlockState state, Rotation rotation) protected BlockStateLadderBlock.rotate(BlockState state, Rotation rotation) LeafLitterBlock.rotate(BlockState state, Rotation rotation) protected BlockStateLecternBlock.rotate(BlockState state, Rotation rotation) protected BlockStateMossyCarpetBlock.rotate(BlockState state, Rotation rotation) protected BlockStateMultifaceBlock.rotate(BlockState state, Rotation rotation) protected BlockStateNetherPortalBlock.rotate(BlockState state, Rotation rotation) protected BlockStateObserverBlock.rotate(BlockState state, Rotation rotation) protected BlockStatePoweredRailBlock.rotate(BlockState state, Rotation rotation) protected BlockStateRailBlock.rotate(BlockState state, Rotation rotation) protected BlockStateRedstoneWallTorchBlock.rotate(BlockState state, Rotation rotation) protected BlockStateRedStoneWireBlock.rotate(BlockState state, Rotation rotation) protected BlockStateRodBlock.rotate(BlockState state, Rotation rotation) protected BlockStateRotatedPillarBlock.rotate(BlockState state, Rotation rotation) ShelfBlock.rotate(BlockState state, Rotation rotation) protected BlockStateShulkerBoxBlock.rotate(BlockState state, Rotation rotation) protected BlockStateSkullBlock.rotate(BlockState state, Rotation rotation) protected BlockStateSmallDripleafBlock.rotate(BlockState state, Rotation rotation) protected BlockStateStairBlock.rotate(BlockState state, Rotation rotation) protected BlockStateStandingSignBlock.rotate(BlockState state, Rotation rotation) protected BlockStateStonecutterBlock.rotate(BlockState state, Rotation rotation) protected BlockStateTripWireBlock.rotate(BlockState state, Rotation rotation) protected BlockStateTripWireHookBlock.rotate(BlockState state, Rotation rotation) VaultBlock.rotate(BlockState state, Rotation rotation) protected BlockStateVineBlock.rotate(BlockState state, Rotation rotation) protected BlockStateWallBannerBlock.rotate(BlockState state, Rotation rotation) protected BlockStateWallBlock.rotate(BlockState state, Rotation rotation) protected BlockStateWallHangingSignBlock.rotate(BlockState state, Rotation rotation) protected BlockStateWallSignBlock.rotate(BlockState state, Rotation rotation) protected BlockStateWallSkullBlock.rotate(BlockState state, Rotation rotation) protected BlockStateWallTorchBlock.rotate(BlockState state, Rotation rotation) static BlockStateRotatedPillarBlock.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 RotationModifier and TypeFieldDescriptionprivate static final RotationStructureBlockEntity.DEFAULT_ROTATIONprivate RotationStructureBlockEntity.rotationprivate final RotationTestInstanceBlockEntity.Data.rotationThe field for therotationrecord component.Methods in net.minecraft.world.level.block.entity that return RotationModifier and TypeMethodDescriptionStructureBlockEntity.getRotation()TestInstanceBlockEntity.getRotation()TestInstanceBlockEntity.Data.rotation()Returns the value of therotationrecord component.Methods in net.minecraft.world.level.block.entity with parameters of type RotationConstructors in net.minecraft.world.level.block.entity with parameters of type RotationModifierConstructorDescriptionData(Optional<ResourceKey<GameTestInstance>> test, Vec3i size, Rotation rotation, boolean ignoreEntities, TestInstanceBlockEntity.Status status, Optional<Component> errorMessage) Creates an instance of aDatarecord class. -
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 state, Rotation rotation) protected BlockStatePistonBaseBlock.rotate(BlockState state, Rotation rotation) PistonBaseBlock.rotate(BlockState state, LevelAccessor world, BlockPos pos, Rotation direction) protected BlockStatePistonHeadBlock.rotate(BlockState state, Rotation rotation) -
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 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 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 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 structureTemplateManager, BlockPos position, Rotation rotation) FeaturePoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation) ListPoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation) SinglePoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation) abstract BoundingBoxStructurePoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation) SinglePoolElement.getDataMarkers(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, boolean absolute) JigsawPlacement.getRandomNamedJigsaw(StructurePoolElement element, Identifier targetJigsawId, BlockPos position, Rotation rotation, StructureTemplateManager structureTemplateManager, WorldgenRandom random) protected StructurePlaceSettingsLegacySinglePoolElement.getSettings(Rotation rotation, BoundingBox chunkBB, LiquidSettings liquidSettings, boolean keepJigsaws) protected StructurePlaceSettingsSinglePoolElement.getSettings(Rotation rotation, BoundingBox chunkBB, LiquidSettings liquidSettings, boolean keepJigsaws) EmptyPoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, RandomSource random) FeaturePoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, RandomSource random) ListPoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, RandomSource random) SinglePoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, RandomSource random) abstract List<StructureTemplate.JigsawBlockInfo> StructurePoolElement.getShuffledJigsawBlocks(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, RandomSource random) EmptyPoolElement.getSize(StructureTemplateManager structureTemplateManager, Rotation rotation) FeaturePoolElement.getSize(StructureTemplateManager structureTemplateManager, Rotation rotation) ListPoolElement.getSize(StructureTemplateManager structureTemplateManager, Rotation rotation) SinglePoolElement.getSize(StructureTemplateManager structureTemplateManager, Rotation rotation) abstract Vec3iStructurePoolElement.getSize(StructureTemplateManager structureTemplateManager, Rotation rotation) voidStructurePoolElement.handleDataMarker(LevelAccessor level, StructureTemplate.StructureBlockInfo dataMarker, BlockPos position, Rotation rotation, RandomSource random, BoundingBox chunkBB) booleanEmptyPoolElement.place(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos position, BlockPos referencePos, Rotation rotation, BoundingBox chunkBB, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) booleanFeaturePoolElement.place(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos position, BlockPos referencePos, Rotation rotation, BoundingBox chunkBB, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) booleanListPoolElement.place(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos position, BlockPos referencePos, Rotation rotation, BoundingBox chunkBB, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) booleanSinglePoolElement.place(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos position, BlockPos referencePos, Rotation rotation, BoundingBox chunkBB, RandomSource random, LiquidSettings liquidSettings, boolean keepJigsaws) abstract booleanStructurePoolElement.place(StructureTemplateManager structureTemplateManager, WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, BlockPos position, BlockPos referencePos, Rotation rotation, BoundingBox chunkBB, 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 voidOceanRuinPieces.addClusterRuins(StructureTemplateManager structureTemplateManager, RandomSource random, Rotation rotation, BlockPos p, OceanRuinStructure structure, StructurePieceAccessor structurePieceAccessor) private static EndCityPieces.EndCityPieceEndCityPieces.addPiece(StructureTemplateManager structureTemplateManager, EndCityPieces.EndCityPiece parent, BlockPos offset, String templateName, Rotation rotation, boolean overwrite) private static voidOceanRuinPieces.addPiece(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random, OceanRuinStructure structure, boolean isLarge, float baseIntegrity) static voidIglooPieces.addPieces(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random) static voidOceanRuinPieces.addPieces(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random, OceanRuinStructure structure) ShipwreckPieces.addRandomPiece(StructureTemplateManager structureTemplateManager, BlockPos position, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random, boolean isBeached) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom1x1(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos roomPos, Rotation rotation, Direction doorDir, WoodlandMansionPieces.FloorRoomCollection rooms) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom1x2(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos roomPos, Rotation rotation, Direction roomDir, Direction doorDir, WoodlandMansionPieces.FloorRoomCollection rooms, boolean isStairsRoom) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom2x2(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos roomPos, Rotation rotation, Direction roomDir, Direction doorDir, WoodlandMansionPieces.FloorRoomCollection rooms) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom2x2Secret(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos roomPos, Rotation rotation, WoodlandMansionPieces.FloorRoomCollection rooms) voidWoodlandMansionPieces.MansionPiecePlacer.createMansion(BlockPos origin, Rotation rotation, List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, WoodlandMansionPieces.MansionGrid mansion) private voidWoodlandMansionPieces.MansionPiecePlacer.createRoof(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos roofOrigin, Rotation rotation, WoodlandMansionPieces.SimpleGrid grid, @Nullable WoodlandMansionPieces.SimpleGrid aboveGrid) static voidWoodlandMansionPieces.generateMansion(StructureTemplateManager structureTemplateManager, BlockPos origin, Rotation rotation, List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, RandomSource random) private voidEndCityStructure.generatePieces(StructurePiecesBuilder builder, BlockPos startPos, Rotation rotation, Structure.GenerationContext context) private voidWoodlandMansionStructure.generatePieces(StructurePiecesBuilder builder, Structure.GenerationContext context, BlockPos startPos, Rotation rotation) private static StructurePlaceSettingsEndCityPieces.EndCityPiece.makeSettings(boolean overwrite, Rotation rotation) private static StructurePlaceSettingsIglooPieces.IglooPiece.makeSettings(Rotation rotation, Identifier templateLocation) private static StructurePlaceSettingsNetherFossilPieces.NetherFossilPiece.makeSettings(Rotation rotation) private static StructurePlaceSettingsOceanRuinPieces.OceanRuinPiece.makeSettings(Rotation rotation, float integrity, OceanRuinStructure.Type biomeType) private static StructurePlaceSettingsRuinedPortalPiece.makeSettings(Mirror mirror, Rotation rotation, RuinedPortalPiece.VerticalPlacement verticalPlacement, BlockPos pivot, RuinedPortalPiece.Properties properties) private static StructurePlaceSettingsShipwreckPieces.ShipwreckPiece.makeSettings(Rotation rotation) private static StructurePlaceSettingsWoodlandMansionPieces.WoodlandMansionPiece.makeSettings(Mirror mirror, Rotation rotation) static voidEndCityPieces.startHouseTower(StructureTemplateManager structureTemplateManager, BlockPos origin, Rotation rotation, List<StructurePiece> pieces, RandomSource random) Constructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type RotationModifierConstructorDescriptionEndCityPiece(StructureTemplateManager structureTemplateManager, String templateName, BlockPos position, Rotation rotation, boolean overwrite) IglooPiece(StructureTemplateManager structureTemplateManager, Identifier templateLocation, BlockPos position, Rotation rotation, int depth) NetherFossilPiece(StructureTemplateManager structureTemplateManager, Identifier templateLocation, BlockPos position, Rotation rotation) privateOceanRuinPiece(StructureTemplateManager structureTemplateManager, CompoundTag tag, Rotation rotation, float integrity, OceanRuinStructure.Type biomeType, boolean isLarge) OceanRuinPiece(StructureTemplateManager structureTemplateManager, Identifier templateLocation, BlockPos position, Rotation rotation, float integrity, OceanRuinStructure.Type biomeType, boolean isLarge) RuinedPortalPiece(StructureTemplateManager structureTemplateManager, BlockPos templatePosition, RuinedPortalPiece.VerticalPlacement verticalPlacement, RuinedPortalPiece.Properties properties, Identifier templateLocation, StructureTemplate template, Rotation rotation, Mirror mirror, BlockPos pivot) ShipwreckPiece(StructureTemplateManager structureTemplateManager, Identifier templateLocation, BlockPos position, Rotation rotation, boolean isBeached) WoodlandMansionPiece(StructureTemplateManager structureTemplateManager, String templateName, BlockPos position, Rotation rotation) WoodlandMansionPiece(StructureTemplateManager structureTemplateManager, String templateName, BlockPos position, 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 position, Rotation rotation, BlockPos pivot, Mirror mirror) protected static BoundingBoxStructureTemplate.getBoundingBox(BlockPos position, Rotation rotation, BlockPos pivot, Mirror mirror, Vec3i size) StructureTemplate.getJigsaws(BlockPos position, Rotation rotation) StructureTemplate.getZeroPositionWithTransform(BlockPos zeroPos, Mirror mirror, Rotation rotation) static BlockPosStructureTemplate.getZeroPositionWithTransform(BlockPos zeroPos, Mirror mirror, Rotation rotation, int sizeX, int sizeZ) StructurePlaceSettings.setRotation(Rotation rotation) static BlockPosstatic Vec3 -
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)