Uses of Enum Class
net.minecraft.util.BlockRotation
Packages that use BlockRotation
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of BlockRotation in net.minecraft.block
Methods in net.minecraft.block with parameters of type BlockRotationModifier and TypeMethodDescriptionstatic BlockStatePillarBlock.changeRotation(BlockState state, BlockRotation rotation) AbstractBlock.AbstractBlockState.rotate(BlockRotation rotation) protected BlockStateAbstractBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateAbstractFurnaceBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateAmethystClusterBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateAnvilBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateAttachedStemBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateBannerBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateBarrelBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.BeehiveBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.BellBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.CalibratedSculkSensorBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateCampfireBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateChestBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.ChiseledBookshelfBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateCommandBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateCrafterBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateCreakingHeartBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateDeadCoralWallFanBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateDecoratedPotBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateDetectorRailBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateDispenserBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateDoorBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateEnderChestBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateEndPortalFrameBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.FlowerbedBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateGrindstoneBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateHangingSignBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateHopperBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateHorizontalConnectingBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateHorizontalFacingBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateJigsawBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateLadderBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.LeafLitterBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateLecternBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateMultifaceBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateMushroomBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateNetherPortalBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateObserverBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStatePaleMossCarpetBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStatePillarBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStatePistonBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStatePistonExtensionBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStatePistonHeadBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStatePoweredRailBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateRailBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateRedstoneWireBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateRodBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateRotatedInfestedBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateShulkerBoxBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateSignBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateSkullBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateSmallDripleafBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateStairsBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateStonecutterBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateTripwireBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateTripwireHookBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.VaultBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateVineBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateWallBannerBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateWallBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateWallHangingSignBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateWallRedstoneTorchBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateWallSignBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateWallSkullBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.protected BlockStateWallTorchBlock.rotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation. -
Uses of BlockRotation in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as BlockRotationModifier and TypeFieldDescriptionprivate static final BlockRotationStructureBlockBlockEntity.DEFAULT_ROTATIONprivate BlockRotationStructureBlockBlockEntity.rotationprivate final BlockRotationTestInstanceBlockEntity.Data.rotationThe field for therotationrecord component.Methods in net.minecraft.block.entity that return BlockRotationModifier and TypeMethodDescriptionStructureBlockBlockEntity.getRotation()TestInstanceBlockEntity.getRotation()TestInstanceBlockEntity.Data.rotation()Returns the value of therotationrecord component.Methods in net.minecraft.block.entity with parameters of type BlockRotationModifier and TypeMethodDescriptionvoidStructureBlockBlockEntity.setRotation(BlockRotation rotation) Constructors in net.minecraft.block.entity with parameters of type BlockRotationModifierConstructorDescriptionData(Optional<RegistryKey<TestInstance>> optional, Vec3i vec3i, BlockRotation blockRotation, boolean bool, TestInstanceBlockEntity.Status status, Optional<Text> optional2) -
Uses of BlockRotation in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame declared as BlockRotationFields in net.minecraft.client.gui.screen.ingame with type parameters of type BlockRotationModifier and TypeFieldDescriptionprivate @Nullable CyclingButtonWidget<BlockRotation> TestInstanceBlockScreen.rotationButtonMethods in net.minecraft.client.gui.screen.ingame with parameters of type BlockRotationModifier and TypeMethodDescriptionprivate static TextTestInstanceBlockScreen.rotationAsText(BlockRotation rotation) -
Uses of BlockRotation in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return BlockRotationModifier and TypeMethodDescriptionstatic BlockRotationBlockRotationArgumentType.getBlockRotation(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String id) -
Uses of BlockRotation in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type BlockRotationModifier and TypeMethodDescriptionfloatEntity.applyRotation(BlockRotation rotation) Appliesrotationto the entity's yaw. -
Uses of BlockRotation in net.minecraft.entity.decoration
Methods in net.minecraft.entity.decoration with parameters of type BlockRotationModifier and TypeMethodDescriptionfloatAbstractDecorationEntity.applyRotation(BlockRotation rotation) Appliesrotationto the entity's yaw. -
Uses of BlockRotation in net.minecraft.network.packet.c2s.play
Fields in net.minecraft.network.packet.c2s.play declared as BlockRotationModifier and TypeFieldDescriptionprivate final BlockRotationUpdateStructureBlockC2SPacket.rotationMethods in net.minecraft.network.packet.c2s.play that return BlockRotationConstructors in net.minecraft.network.packet.c2s.play with parameters of type BlockRotationModifierConstructorDescriptionTestInstanceBlockActionC2SPacket(BlockPos pos, TestInstanceBlockActionC2SPacket.Action actin, Optional<RegistryKey<TestInstance>> optional, Vec3i vec3i, BlockRotation blockRotation, boolean bool) UpdateStructureBlockC2SPacket(BlockPos pos, StructureBlockBlockEntity.Action action, StructureBlockMode mode, String templateName, BlockPos offset, Vec3i size, BlockMirror mirror, BlockRotation rotation, String metadata, boolean ignoreEntities, boolean strict, boolean showAir, boolean showBoundingBox, float integrity, long seed) -
Uses of BlockRotation in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type BlockRotationModifier and TypeMethodDescriptionstatic intPlaceCommand.executePlaceTemplate(ServerCommandSource source, Identifier id, BlockPos pos, BlockRotation rotation, BlockMirror mirror, float integrity, int seed, boolean strict) -
Uses of BlockRotation in net.minecraft.structure
Fields in net.minecraft.structure declared as BlockRotationModifier and TypeFieldDescriptionprotected final BlockRotationPoolStructurePiece.rotationprivate BlockRotationStructurePiece.rotationprivate BlockRotationStructurePlacementData.rotationWoodlandMansionGenerator.GenerationPiece.rotationFields in net.minecraft.structure with type parameters of type BlockRotationModifier and TypeFieldDescription(package private) static final List<Pair<BlockRotation, BlockPos>> EndCityGenerator.FAT_TOWER_BRIDGE_ATTACHMENTS(package private) static final List<Pair<BlockRotation, BlockPos>> EndCityGenerator.SMALL_TOWER_BRIDGE_ATTACHMENTSMethods in net.minecraft.structure that return BlockRotationModifier and TypeMethodDescriptionPoolStructurePiece.getRotation()SimpleStructurePiece.getRotation()StructurePiece.getRotation()StructurePlacementData.getRotation()Methods in net.minecraft.structure with parameters of type BlockRotationModifier and TypeMethodDescriptionprivate voidWoodlandMansionGenerator.LayoutGenerator.addBigRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction connectedRoomDirection, Direction entranceDirection, WoodlandMansionGenerator.RoomPool pool) private voidWoodlandMansionGenerator.LayoutGenerator.addBigSecretRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, WoodlandMansionGenerator.RoomPool pool) private static voidOceanRuinGenerator.addCluster(StructureTemplateManager manager, Random random, BlockRotation rotation, BlockPos pos, OceanRuinStructure structure, StructurePiecesHolder pieces) private voidWoodlandMansionGenerator.LayoutGenerator.addMediumRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction connectedRoomDirection, Direction entranceDirection, WoodlandMansionGenerator.RoomPool pool, boolean staircase) static ShipwreckGenerator.PieceShipwreckGenerator.addParts(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, boolean beached) static voidEndCityGenerator.addPieces(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, Random random) static voidIglooGenerator.addPieces(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random) static voidOceanRuinGenerator.addPieces(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, OceanRuinStructure structure) private static voidOceanRuinGenerator.addPieces(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, OceanRuinStructure structure, boolean large, float integrity) static voidWoodlandMansionGenerator.addPieces(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, Random random) private voidWoodlandMansionGenerator.LayoutGenerator.addRoof(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, WoodlandMansionGenerator.FlagMatrix layout, @Nullable WoodlandMansionGenerator.FlagMatrix nextFloorLayout) private voidWoodlandMansionGenerator.LayoutGenerator.addSmallRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction direction, WoodlandMansionGenerator.RoomPool pool) static BlockPosStructureTemplate.applyTransformedOffset(BlockPos pos, BlockMirror mirror, BlockRotation rotation, int offsetX, int offsetZ) StructureTemplate.calculateBoundingBox(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror) protected static BlockBoxStructureTemplate.createBox(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror, Vec3i dimensions) (package private) static EndCityGenerator.PieceEndCityGenerator.createPiece(StructureTemplateManager structureTemplateManager, EndCityGenerator.Piece lastPiece, BlockPos relativePosition, String template, BlockRotation rotation, boolean ignoreAir) private static StructurePlacementDataEndCityGenerator.Piece.createPlacementData(boolean includeAir, BlockRotation rotation) private static StructurePlacementDataIglooGenerator.Piece.createPlacementData(BlockRotation rotation, Identifier identifier) private static StructurePlacementDataNetherFossilGenerator.Piece.createPlacementData(BlockRotation rotation) private static StructurePlacementDataOceanRuinGenerator.Piece.createPlacementData(BlockRotation rotation, float integrity, OceanRuinStructure.BiomeTemperature temperature) private static StructurePlacementDataRuinedPortalStructurePiece.createPlacementData(BlockMirror mirror, BlockRotation rotation, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, BlockPos pos, RuinedPortalStructurePiece.Properties properties) private static StructurePlacementDataShipwreckGenerator.Piece.createPlacementData(BlockRotation rotation) private static StructurePlacementDataWoodlandMansionGenerator.Piece.createPlacementData(BlockMirror mirror, BlockRotation rotation) voidWoodlandMansionGenerator.LayoutGenerator.generate(BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.MansionParameters parameters) StructureTemplate.getJigsawInfos(BlockPos pos, BlockRotation rotation) StructureTemplate.getRotatedSize(BlockRotation rotation) StructureTemplate.offsetByTransformedSize(BlockPos pos, BlockMirror mirror, BlockRotation rotation) StructurePlacementData.setRotation(BlockRotation rotation) private voidStructureTemplate.spawnEntities(ServerWorldAccess world, BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot, @Nullable BlockBox area, boolean initializeMobs) static BlockPosStructureTemplate.transformAround(BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) static Vec3dStructureTemplate.transformAround(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) Constructors in net.minecraft.structure with parameters of type BlockRotationModifierConstructorDescriptionPiece(StructureTemplateManager manager, String template, BlockPos pos, BlockRotation rotation, boolean includeAir) Piece(StructureTemplateManager manager, Identifier identifier, BlockPos pos, BlockRotation rotation, int yOffset) Piece(StructureTemplateManager manager, Identifier template, BlockPos pos, BlockRotation rotation) privatePiece(StructureTemplateManager holder, NbtCompound nbt, BlockRotation rotation, float integrity, OceanRuinStructure.BiomeTemperature biomeType, boolean large) Piece(StructureTemplateManager structureTemplateManager, Identifier template, BlockPos pos, BlockRotation rotation, float integrity, OceanRuinStructure.BiomeTemperature biomeType, boolean large) Piece(StructureTemplateManager manager, Identifier identifier, BlockPos pos, BlockRotation rotation, boolean grounded) Piece(StructureTemplateManager manager, String template, BlockPos pos, BlockRotation rotation) Piece(StructureTemplateManager manager, String template, BlockPos pos, BlockRotation rotation, BlockMirror mirror) PoolStructurePiece(StructureTemplateManager structureTemplateManager, StructurePoolElement poolElement, BlockPos pos, int groundLevelDelta, BlockRotation rotation, BlockBox boundingBox, StructureLiquidSettings liquidSettings) RuinedPortalStructurePiece(StructureTemplateManager manager, BlockPos pos, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, RuinedPortalStructurePiece.Properties properties, Identifier id, StructureTemplate template, BlockRotation rotation, BlockMirror mirror, BlockPos blockPos) -
Uses of BlockRotation in net.minecraft.structure.pool
Methods in net.minecraft.structure.pool with parameters of type BlockRotationModifier and TypeMethodDescriptionprotected StructurePlacementDataLegacySinglePoolElement.createPlacementData(BlockRotation rotation, BlockBox box, StructureLiquidSettings liquidSettings, boolean keepJigsaws) protected StructurePlacementDataSinglePoolElement.createPlacementData(BlockRotation rotation, BlockBox box, StructureLiquidSettings liquidSettings, boolean keepJigsaws) StructurePoolBasedGenerator.findStartingJigsawPos(StructurePoolElement pool, Identifier id, BlockPos pos, BlockRotation rotation, StructureTemplateManager structureManager, ChunkRandom random) booleanEmptyPoolElement.generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws) booleanFeaturePoolElement.generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws) booleanListPoolElement.generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws) booleanSinglePoolElement.generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws) abstract booleanStructurePoolElement.generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws) EmptyPoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) FeaturePoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) ListPoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) SinglePoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) abstract BlockBoxStructurePoolElement.getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) SinglePoolElement.getDataStructureBlocks(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, boolean mirroredAndRotated) EmptyPoolElement.getStart(StructureTemplateManager structureTemplateManager, BlockRotation rotation) FeaturePoolElement.getStart(StructureTemplateManager structureTemplateManager, BlockRotation rotation) ListPoolElement.getStart(StructureTemplateManager structureTemplateManager, BlockRotation rotation) SinglePoolElement.getStart(StructureTemplateManager structureTemplateManager, BlockRotation rotation) abstract Vec3iStructurePoolElement.getStart(StructureTemplateManager structureTemplateManager, BlockRotation rotation) EmptyPoolElement.getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) FeaturePoolElement.getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) ListPoolElement.getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) SinglePoolElement.getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) abstract List<StructureTemplate.JigsawBlockInfo> StructurePoolElement.getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) voidStructurePoolElement.method_16756(WorldAccess world, StructureTemplate.StructureBlockInfo structureBlockInfo, BlockPos pos, BlockRotation rotation, Random random, BlockBox box) -
Uses of BlockRotation in net.minecraft.test
Fields in net.minecraft.test declared as BlockRotationModifier and TypeFieldDescriptionprivate final BlockRotationGameTestState.rotationprivate final BlockRotationTestData.rotationThe field for therotationrecord component.Methods in net.minecraft.test that return BlockRotationModifier and TypeMethodDescriptionGameTestState.getRotation()TestContext.getRotation()TestInstance.getRotation()static BlockRotationTestInstanceUtil.getRotation(int steps) TestData.rotation()Returns the value of therotationrecord component.Methods in net.minecraft.test with parameters of type BlockRotationModifier and TypeMethodDescriptionstatic TestInstanceBlockEntityTestInstanceUtil.createTestInstanceBlockEntity(Identifier testInstanceId, BlockPos pos, Vec3i size, BlockRotation rotation, ServerWorld world) static intTestInstanceUtil.getRotationSteps(BlockRotation rotation) static BlockBoxTestInstanceUtil.getTestInstanceBlockBox(BlockPos pos, Vec3i relativePos, BlockRotation rotation) static BlockPosTestInstanceUtil.getTestInstanceBlockBoxCornerPos(BlockPos pos, Vec3i size, BlockRotation rotation) private TestInstanceBlockEntityGameTestState.placeTestInstance(BlockPos pos, BlockRotation rotation, ServerWorld world) Constructors in net.minecraft.test with parameters of type BlockRotationModifierConstructorDescriptionGameTestState(RegistryEntry.Reference<TestInstance> instanceEntry, BlockRotation rotation, ServerWorld world, TestAttemptConfig testAttemptConfig) TestData(EnvironmentType environment, Identifier structure, int maxTicks, int setupTicks, boolean required, BlockRotation rotation) TestData(EnvironmentType environmentType, Identifier identifier, int int2, int int3, boolean bool, BlockRotation blockRotation, boolean bool2, int int4, int int5, boolean bool3) -
Uses of BlockRotation in net.minecraft.util
Fields in net.minecraft.util with type parameters of type BlockRotationModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BlockRotation> BlockRotation.CODECstatic final com.mojang.serialization.Codec<BlockRotation> BlockRotation.ENUM_NAME_CODECDeprecated.static final IntFunction<BlockRotation> BlockRotation.INDEX_MAPPERstatic final PacketCodec<ByteBuf, BlockRotation> BlockRotation.PACKET_CODECMethods in net.minecraft.util that return BlockRotationModifier and TypeMethodDescriptionBlockMirror.getRotation(Direction direction) static BlockRotationBlockRotation.rotate(BlockRotation rotation) static BlockRotationReturns the enum constant of this class with the specified name.static BlockRotation[]BlockRotation.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.util that return types with arguments of type BlockRotationModifier and TypeMethodDescriptionstatic List<BlockRotation> BlockRotation.randomRotationOrder(Random random) Methods in net.minecraft.util with parameters of type BlockRotation -
Uses of BlockRotation in net.minecraft.util.math
Methods in net.minecraft.util.math with parameters of type BlockRotationModifier and TypeMethodDescriptionBlockPos.Mutable.rotate(BlockRotation rotation) BlockPos.rotate(BlockRotation rotation) -
Uses of BlockRotation in net.minecraft.world.gen.structure
Methods in net.minecraft.world.gen.structure with parameters of type BlockRotationModifier and TypeMethodDescriptionprivate voidEndCityStructure.addPieces(StructurePiecesCollector collector, BlockPos pos, BlockRotation rotation, Structure.Context context) private voidWoodlandMansionStructure.addPieces(StructurePiecesCollector collector, Structure.Context context, BlockPos pos, BlockRotation rotation) protected BlockPosStructure.getShiftedPos(Structure.Context context, BlockRotation rotation) Deprecated.