Uses of Enum Class
net.minecraft.world.level.block.Rotation
Package
Description
-
Uses of Rotation in net.minecraft.client.gui.screens.inventory
-
Uses of Rotation in net.minecraft.core
-
Uses of Rotation in net.minecraft.gametest.framework
Modifier and TypeFieldDescriptionprivate final Rotation
GameTestInfo.rotation
private final Rotation
TestFunction.rotation
Modifier and TypeMethodDescriptionGameTestInfo.getRotation()
TestFunction.getRotation()
static Rotation
StructureUtils.getRotationForRotationSteps
(int p_127836_) Modifier and TypeMethodDescriptionstatic void
StructureUtils.addCommandBlockAndButtonToStartTest
(BlockPos p_127876_, BlockPos p_127877_, Rotation p_127878_, ServerLevel p_127879_) static void
StructureUtils.createNewEmptyStructureBlock
(String p_177765_, BlockPos p_177766_, Vec3i p_177767_, Rotation p_177768_, ServerLevel p_177769_) private static StructureBlockEntity
StructureUtils.createStructureBlock
(String p_127891_, BlockPos p_127892_, Rotation p_127893_, ServerLevel p_127894_, boolean p_127895_) static int
StructureUtils.getRotationStepsForRotation
(Rotation p_177752_) static BoundingBox
StructureUtils.getStructureBoundingBox
(BlockPos p_177761_, Vec3i p_177762_, Rotation p_177763_) static Collection<GameTestInfo>
GameTestRunner.runTestBatches
(Collection<GameTestBatch> p_127727_, BlockPos p_127728_, Rotation p_127729_, ServerLevel p_127730_, GameTestTicker p_127731_, int p_127732_) static Collection<GameTestInfo>
GameTestRunner.runTests
(Collection<TestFunction> p_127753_, BlockPos p_127754_, Rotation p_127755_, ServerLevel p_127756_, GameTestTicker p_127757_, int p_127758_) static StructureBlockEntity
StructureUtils.spawnStructure
(String p_127884_, BlockPos p_127885_, Rotation p_127886_, int p_127887_, ServerLevel p_127888_, boolean p_127889_) ModifierConstructorDescriptionGameTestBatchRunner
(Collection<GameTestBatch> p_127563_, BlockPos p_127564_, Rotation p_127565_, ServerLevel p_127566_, GameTestTicker p_127567_, int p_127568_) GameTestInfo
(TestFunction p_127613_, Rotation p_127614_, ServerLevel p_127615_) TestFunction
(String p_177809_, String p_177810_, String p_177811_, Rotation p_177812_, int p_177813_, long p_177814_, boolean p_177815_, int p_177816_, int p_177817_, Consumer<GameTestHelper> p_177818_) 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
Modifier and TypeFieldDescriptionprivate final Rotation
ServerboundSetStructureBlockPacket.rotation
ModifierConstructorDescriptionServerboundSetStructureBlockPacket
(BlockPos p_179771_, StructureBlockEntity.UpdateType p_179772_, StructureMode p_179773_, String p_179774_, BlockPos p_179775_, Vec3i p_179776_, Mirror p_179777_, Rotation p_179778_, String p_179779_, boolean p_179780_, boolean p_179781_, boolean p_179782_, float p_179783_, long p_179784_) -
Uses of Rotation in net.minecraft.world.entity
-
Uses of Rotation in net.minecraft.world.entity.decoration
-
Uses of Rotation in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionstatic Rotation
Rotation.getRotated
(Rotation p_55953_) Mirror.getRotation
(Direction p_54847_) static 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.Modifier and TypeMethodDescriptionRotation.getRotated
(Rotation p_55953_) AbstractFurnaceBlock.rotate
(BlockState p_48722_, Rotation p_48723_) AmethystClusterBlock.rotate
(BlockState p_152033_, Rotation p_152034_) AnvilBlock.rotate
(BlockState p_48811_, Rotation p_48812_) AttachedStemBlock.rotate
(BlockState p_48845_, Rotation p_48846_) BannerBlock.rotate
(BlockState p_49026_, Rotation p_49027_) BarrelBlock.rotate
(BlockState p_49085_, Rotation p_49086_) BaseCoralWallFanBlock.rotate
(BlockState p_49207_, Rotation p_49208_) BeehiveBlock.rotate
(BlockState blockState, Rotation rotation) CampfireBlock.rotate
(BlockState p_51295_, Rotation p_51296_) ChestBlock.rotate
(BlockState p_51552_, Rotation p_51553_) CommandBlock.rotate
(BlockState p_51848_, Rotation p_51849_) CrossCollisionBlock.rotate
(BlockState p_52341_, Rotation p_52342_) DetectorRailBlock.rotate
(BlockState p_52466_, Rotation p_52467_) DispenserBlock.rotate
(BlockState p_52716_, Rotation p_52717_) DoorBlock.rotate
(BlockState p_52790_, Rotation p_52791_) EnderChestBlock.rotate
(BlockState p_53157_, Rotation p_53158_) EndPortalFrameBlock.rotate
(BlockState p_53068_, Rotation p_53069_) GrindstoneBlock.rotate
(BlockState p_53835_, Rotation p_53836_) HopperBlock.rotate
(BlockState p_54094_, Rotation p_54095_) HorizontalDirectionalBlock.rotate
(BlockState p_54125_, Rotation p_54126_) HugeMushroomBlock.rotate
(BlockState p_54143_, Rotation p_54144_) InfestedRotatedPillarBlock.rotate
(BlockState p_153443_, Rotation p_153444_) JigsawBlock.rotate
(BlockState p_54241_, Rotation p_54242_) LadderBlock.rotate
(BlockState p_54360_, Rotation p_54361_) LecternBlock.rotate
(BlockState p_54540_, Rotation p_54541_) MultifaceBlock.rotate
(BlockState p_153895_, Rotation p_153896_) NetherPortalBlock.rotate
(BlockState p_54925_, Rotation p_54926_) ObserverBlock.rotate
(BlockState p_55115_, Rotation p_55116_) PoweredRailBlock.rotate
(BlockState p_55240_, Rotation p_55241_) RailBlock.rotate
(BlockState p_55405_, Rotation p_55406_) RedstoneWallTorchBlock.rotate
(BlockState p_55769_, Rotation p_55770_) RedStoneWireBlock.rotate
(BlockState p_55592_, Rotation p_55593_) RodBlock.rotate
(BlockState p_154354_, Rotation p_154355_) RotatedPillarBlock.rotate
(BlockState p_55930_, Rotation p_55931_) ShulkerBoxBlock.rotate
(BlockState p_56243_, Rotation p_56244_) SkullBlock.rotate
(BlockState p_56326_, Rotation p_56327_) SmallDripleafBlock.rotate
(BlockState p_154622_, Rotation p_154623_) StairBlock.rotate
(BlockState p_56922_, Rotation p_56923_) StandingSignBlock.rotate
(BlockState p_57002_, Rotation p_57003_) StonecutterBlock.rotate
(BlockState p_57093_, Rotation p_57094_) TripWireBlock.rotate
(BlockState p_57639_, Rotation p_57640_) TripWireHookBlock.rotate
(BlockState p_57728_, Rotation p_57729_) VineBlock.rotate
(BlockState p_57868_, Rotation p_57869_) WallBannerBlock.rotate
(BlockState p_57932_, Rotation p_57933_) WallBlock.rotate
(BlockState p_58004_, Rotation p_58005_) WallSignBlock.rotate
(BlockState p_58080_, Rotation p_58081_) WallSkullBlock.rotate
(BlockState p_58109_, Rotation p_58110_) WallTorchBlock.rotate
(BlockState p_58140_, Rotation p_58141_) static BlockState
RotatedPillarBlock.rotatePillar
(BlockState p_154377_, Rotation p_154378_) -
Uses of Rotation in net.minecraft.world.level.block.entity
-
Uses of Rotation in net.minecraft.world.level.block.piston
Modifier and TypeMethodDescriptionMovingPistonBlock.rotate
(BlockState p_60086_, Rotation p_60087_) PistonBaseBlock.rotate
(BlockState p_60215_, Rotation p_60216_) PistonBaseBlock.rotate
(BlockState state, LevelAccessor world, BlockPos pos, Rotation direction) PistonHeadBlock.rotate
(BlockState p_60295_, Rotation p_60296_) -
Uses of Rotation in net.minecraft.world.level.block.state
Modifier and TypeMethodDescriptionDeprecated.BlockBehaviour.rotate
(BlockState p_60530_, Rotation p_60531_) Deprecated. -
Uses of Rotation in net.minecraft.world.level.levelgen.structure
Modifier and TypeFieldDescriptionprotected final Rotation
PoolElementStructurePiece.rotation
private Rotation
StructurePiece.rotation
WoodlandMansionPieces.PlacementData.rotation
Modifier and TypeMethodDescriptionPoolElementStructurePiece.getRotation()
StructurePiece.getRotation()
TemplateStructurePiece.getRotation()
Modifier and TypeMethodDescriptionprivate static void
OceanRuinPieces.addClusterRuins
(StructureManager p_163095_, Random p_163096_, Rotation p_163097_, BlockPos p_163098_, OceanRuinConfiguration p_163099_, StructurePieceAccessor p_163100_) (package private) static EndCityPieces.EndCityPiece
EndCityPieces.addPiece
(StructureManager p_71135_, EndCityPieces.EndCityPiece p_71136_, BlockPos p_71137_, String p_71138_, Rotation p_71139_, boolean p_71140_) private static void
OceanRuinPieces.addPiece
(StructureManager p_163086_, BlockPos p_163087_, Rotation p_163088_, StructurePieceAccessor p_163089_, Random p_163090_, OceanRuinConfiguration p_163091_, boolean p_163092_, float p_163093_) static void
IglooPieces.addPieces
(StructureManager p_162435_, BlockPos p_162436_, Rotation p_162437_, StructurePieceAccessor p_162438_, Random p_162439_) static void
OceanRuinPieces.addPieces
(StructureManager p_163079_, BlockPos p_163080_, Rotation p_163081_, StructurePieceAccessor p_163082_, Random p_163083_, OceanRuinConfiguration p_163084_) static void
ShipwreckPieces.addPieces
(StructureManager p_163201_, BlockPos p_163202_, Rotation p_163203_, StructurePieceAccessor p_163204_, Random p_163205_, ShipwreckConfiguration p_163206_) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom1x1
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73810_, BlockPos p_73811_, Rotation p_73812_, Direction p_73813_, WoodlandMansionPieces.FloorRoomCollection p_73814_) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom1x2
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73823_, BlockPos p_73824_, Rotation p_73825_, Direction p_73826_, Direction p_73827_, WoodlandMansionPieces.FloorRoomCollection p_73828_, boolean p_73829_) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom2x2
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73816_, BlockPos p_73817_, Rotation p_73818_, Direction p_73819_, Direction p_73820_, WoodlandMansionPieces.FloorRoomCollection p_73821_) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom2x2Secret
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73799_, BlockPos p_73800_, Rotation p_73801_, WoodlandMansionPieces.FloorRoomCollection p_73802_) void
WoodlandMansionPieces.MansionPiecePlacer.createMansion
(BlockPos p_73782_, Rotation p_73783_, List<WoodlandMansionPieces.WoodlandMansionPiece> p_73784_, WoodlandMansionPieces.MansionGrid p_73785_) private void
WoodlandMansionPieces.MansionPiecePlacer.createRoof
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73804_, BlockPos p_73805_, Rotation p_73806_, WoodlandMansionPieces.SimpleGrid p_73807_, WoodlandMansionPieces.SimpleGrid p_73808_) static void
WoodlandMansionPieces.generateMansion
(StructureManager p_73692_, BlockPos p_73693_, Rotation p_73694_, List<WoodlandMansionPieces.WoodlandMansionPiece> p_73695_, Random p_73696_) private static StructurePlaceSettings
EndCityPieces.EndCityPiece.makeSettings
(boolean p_162430_, Rotation p_162431_) private static StructurePlaceSettings
IglooPieces.IglooPiece.makeSettings
(Rotation p_162447_, ResourceLocation p_162448_) private static StructurePlaceSettings
NetherFossilPieces.NetherFossilPiece.makeSettings
(Rotation p_162977_) private static StructurePlaceSettings
OceanRuinPieces.OceanRuinPiece.makeSettings
(Rotation p_163113_) private static StructurePlaceSettings
RuinedPortalPiece.makeSettings
(Mirror p_163155_, Rotation p_163156_, RuinedPortalPiece.VerticalPlacement p_163157_, BlockPos p_163158_, RuinedPortalPiece.Properties p_163159_) private static StructurePlaceSettings
ShipwreckPieces.ShipwreckPiece.makeSettings
(Rotation p_163214_) private static StructurePlaceSettings
WoodlandMansionPieces.WoodlandMansionPiece.makeSettings
(Mirror p_163703_, Rotation p_163704_) static void
EndCityPieces.startHouseTower
(StructureManager p_71125_, BlockPos p_71126_, Rotation p_71127_, List<StructurePiece> p_71128_, Random p_71129_) ModifierConstructorDescriptionEndCityPiece
(StructureManager p_71199_, String p_71200_, BlockPos p_71201_, Rotation p_71202_, boolean p_71203_) IglooPiece
(StructureManager p_71244_, ResourceLocation p_71245_, BlockPos p_71246_, Rotation p_71247_, int p_71248_) NetherFossilPiece
(StructureManager p_72069_, ResourceLocation p_72070_, BlockPos p_72071_, Rotation p_72072_) OceanRuinPiece
(StructureManager p_72568_, ResourceLocation p_72569_, BlockPos p_72570_, Rotation p_72571_, float p_72572_, OceanRuinFeature.Type p_72573_, boolean p_72574_) PoolElementStructurePiece
(StructureManager p_209910_, StructurePoolElement p_209911_, BlockPos p_209912_, int p_209913_, Rotation p_209914_, BoundingBox p_209915_) RuinedPortalPiece
(StructureManager p_163138_, BlockPos p_163139_, RuinedPortalPiece.VerticalPlacement p_163140_, RuinedPortalPiece.Properties p_163141_, ResourceLocation p_163142_, StructureTemplate p_163143_, Rotation p_163144_, Mirror p_163145_, BlockPos p_163146_) ShipwreckPiece
(StructureManager p_72828_, ResourceLocation p_72829_, BlockPos p_72830_, Rotation p_72831_, boolean p_72832_) WoodlandMansionPiece
(StructureManager p_73905_, String p_73906_, BlockPos p_73907_, Rotation p_73908_) WoodlandMansionPiece
(StructureManager p_73910_, String p_73911_, BlockPos p_73912_, Rotation p_73913_, Mirror p_73914_) -
Uses of Rotation in net.minecraft.world.level.levelgen.structure.pools
Modifier and TypeMethodDescriptionJigsawPlacement.PieceFactory.create
(StructureManager p_210301_, StructurePoolElement p_210302_, BlockPos p_210303_, int p_210304_, Rotation p_210305_, BoundingBox p_210306_) EmptyPoolElement.getBoundingBox
(StructureManager p_210194_, BlockPos p_210195_, Rotation p_210196_) FeaturePoolElement.getBoundingBox
(StructureManager p_210231_, BlockPos p_210232_, Rotation p_210233_) ListPoolElement.getBoundingBox
(StructureManager p_210392_, BlockPos p_210393_, Rotation p_210394_) SinglePoolElement.getBoundingBox
(StructureManager p_210449_, BlockPos p_210450_, Rotation p_210451_) abstract BoundingBox
StructurePoolElement.getBoundingBox
(StructureManager p_210495_, BlockPos p_210496_, Rotation p_210497_) SinglePoolElement.getDataMarkers
(StructureManager p_210458_, BlockPos p_210459_, Rotation p_210460_, boolean p_210461_) protected StructurePlaceSettings
LegacySinglePoolElement.getSettings
(Rotation p_210353_, BoundingBox p_210354_, boolean p_210355_) protected StructurePlaceSettings
SinglePoolElement.getSettings
(Rotation p_210421_, BoundingBox p_210422_, boolean p_210423_) EmptyPoolElement.getShuffledJigsawBlocks
(StructureManager p_210198_, BlockPos p_210199_, Rotation p_210200_, Random p_210201_) FeaturePoolElement.getShuffledJigsawBlocks
(StructureManager p_210235_, BlockPos p_210236_, Rotation p_210237_, Random p_210238_) ListPoolElement.getShuffledJigsawBlocks
(StructureManager p_210401_, BlockPos p_210402_, Rotation p_210403_, Random p_210404_) SinglePoolElement.getShuffledJigsawBlocks
(StructureManager p_210453_, BlockPos p_210454_, Rotation p_210455_, Random p_210456_) abstract List<StructureTemplate.StructureBlockInfo>
StructurePoolElement.getShuffledJigsawBlocks
(StructureManager p_210498_, BlockPos p_210499_, Rotation p_210500_, Random p_210501_) EmptyPoolElement.getSize
(StructureManager p_210191_, Rotation p_210192_) FeaturePoolElement.getSize
(StructureManager p_210228_, Rotation p_210229_) ListPoolElement.getSize
(StructureManager p_210389_, Rotation p_210390_) SinglePoolElement.getSize
(StructureManager p_210446_, Rotation p_210447_) abstract Vec3i
StructurePoolElement.getSize
(StructureManager p_210493_, Rotation p_210494_) void
StructurePoolElement.handleDataMarker
(LevelAccessor p_210473_, StructureTemplate.StructureBlockInfo p_210474_, BlockPos p_210475_, Rotation p_210476_, Random p_210477_, BoundingBox p_210478_) boolean
EmptyPoolElement.place
(StructureManager p_210180_, WorldGenLevel p_210181_, StructureFeatureManager p_210182_, ChunkGenerator p_210183_, BlockPos p_210184_, BlockPos p_210185_, Rotation p_210186_, BoundingBox p_210187_, Random p_210188_, boolean p_210189_) boolean
FeaturePoolElement.place
(StructureManager p_210217_, WorldGenLevel p_210218_, StructureFeatureManager p_210219_, ChunkGenerator p_210220_, BlockPos p_210221_, BlockPos p_210222_, Rotation p_210223_, BoundingBox p_210224_, Random p_210225_, boolean p_210226_) boolean
ListPoolElement.place
(StructureManager p_210378_, WorldGenLevel p_210379_, StructureFeatureManager p_210380_, ChunkGenerator p_210381_, BlockPos p_210382_, BlockPos p_210383_, Rotation p_210384_, BoundingBox p_210385_, Random p_210386_, boolean p_210387_) boolean
SinglePoolElement.place
(StructureManager p_210435_, WorldGenLevel p_210436_, StructureFeatureManager p_210437_, ChunkGenerator p_210438_, BlockPos p_210439_, BlockPos p_210440_, Rotation p_210441_, BoundingBox p_210442_, Random p_210443_, boolean p_210444_) abstract boolean
StructurePoolElement.place
(StructureManager p_210483_, WorldGenLevel p_210484_, StructureFeatureManager p_210485_, ChunkGenerator p_210486_, BlockPos p_210487_, BlockPos p_210488_, Rotation p_210489_, BoundingBox p_210490_, Random p_210491_, boolean p_210492_) -
Uses of Rotation in net.minecraft.world.level.levelgen.structure.templatesystem
Modifier and TypeMethodDescriptionStructureTemplate.getBoundingBox
(BlockPos p_74599_, Rotation p_74600_, BlockPos p_74601_, Mirror p_74602_) protected static BoundingBox
StructureTemplate.getBoundingBox
(BlockPos p_163811_, Rotation p_163812_, BlockPos p_163813_, Mirror p_163814_, Vec3i p_163815_) StructureTemplate.getZeroPositionWithTransform
(BlockPos p_74584_, Mirror p_74585_, Rotation p_74586_) static BlockPos
StructureTemplate.getZeroPositionWithTransform
(BlockPos p_74588_, Mirror p_74589_, Rotation p_74590_, int p_74591_, int p_74592_) StructurePlaceSettings.setRotation
(Rotation p_74380_) static BlockPos
StructureTemplate.transform
(BlockPos p_74594_, Mirror p_74595_, Rotation p_74596_, BlockPos p_74597_) static Vec3
-
Uses of Rotation in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault BlockState
IForgeBlock.rotate
(BlockState state, LevelAccessor level, BlockPos pos, Rotation direction) default BlockState
IForgeBlockState.rotate
(LevelAccessor level, BlockPos pos, Rotation direction)
IForgeBlockState.rotate(LevelAccessor, BlockPos, Rotation)