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 Rotation
GameTestInfo.rotation
private 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
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.feature.structures
Modifier and TypeMethodDescriptionJigsawPlacement.PieceFactory.create(StructureManager p_68965_, StructurePoolElement p_68966_, BlockPos p_68967_, int p_68968_, Rotation p_68969_, BoundingBox p_68970_)
EmptyPoolElement.getBoundingBox(StructureManager p_68872_, BlockPos p_68873_, Rotation p_68874_)
FeaturePoolElement.getBoundingBox(StructureManager p_68909_, BlockPos p_68910_, Rotation p_68911_)
ListPoolElement.getBoundingBox(StructureManager p_69085_, BlockPos p_69086_, Rotation p_69087_)
SinglePoolElement.getBoundingBox(StructureManager p_69133_, BlockPos p_69134_, Rotation p_69135_)
abstract BoundingBox
StructurePoolElement.getBoundingBox(StructureManager p_69183_, BlockPos p_69184_, Rotation p_69185_)
SinglePoolElement.getDataMarkers(StructureManager p_69142_, BlockPos p_69143_, Rotation p_69144_, boolean p_69145_)
protected StructurePlaceSettings
LegacySinglePoolElement.getSettings(Rotation p_69051_, BoundingBox p_69052_, boolean p_69053_)
protected StructurePlaceSettings
SinglePoolElement.getSettings(Rotation p_69108_, BoundingBox p_69109_, boolean p_69110_)
EmptyPoolElement.getShuffledJigsawBlocks(StructureManager p_68876_, BlockPos p_68877_, Rotation p_68878_, Random p_68879_)
FeaturePoolElement.getShuffledJigsawBlocks(StructureManager p_68913_, BlockPos p_68914_, Rotation p_68915_, Random p_68916_)
ListPoolElement.getShuffledJigsawBlocks(StructureManager p_69089_, BlockPos p_69090_, Rotation p_69091_, Random p_69092_)
SinglePoolElement.getShuffledJigsawBlocks(StructureManager p_69137_, BlockPos p_69138_, Rotation p_69139_, Random p_69140_)
abstract List<StructureTemplate.StructureBlockInfo>
StructurePoolElement.getShuffledJigsawBlocks(StructureManager p_69186_, BlockPos p_69187_, Rotation p_69188_, Random p_69189_)
EmptyPoolElement.getSize(StructureManager p_161602_, Rotation p_161603_)
FeaturePoolElement.getSize(StructureManager p_161607_, Rotation p_161608_)
ListPoolElement.getSize(StructureManager p_161655_, Rotation p_161656_)
SinglePoolElement.getSize(StructureManager p_161664_, Rotation p_161665_)
abstract Vec3i
StructurePoolElement.getSize(StructureManager p_161669_, Rotation p_161670_)
void
StructurePoolElement.handleDataMarker(LevelAccessor p_69158_, StructureTemplate.StructureBlockInfo p_69159_, BlockPos p_69160_, Rotation p_69161_, Random p_69162_, BoundingBox p_69163_)
boolean
EmptyPoolElement.place(StructureManager p_68861_, WorldGenLevel p_68862_, StructureFeatureManager p_68863_, ChunkGenerator p_68864_, BlockPos p_68865_, BlockPos p_68866_, Rotation p_68867_, BoundingBox p_68868_, Random p_68869_, boolean p_68870_)
boolean
FeaturePoolElement.place(StructureManager p_68895_, WorldGenLevel p_68896_, StructureFeatureManager p_68897_, ChunkGenerator p_68898_, BlockPos p_68899_, BlockPos p_68900_, Rotation p_68901_, BoundingBox p_68902_, Random p_68903_, boolean p_68904_)
boolean
ListPoolElement.place(StructureManager p_69074_, WorldGenLevel p_69075_, StructureFeatureManager p_69076_, ChunkGenerator p_69077_, BlockPos p_69078_, BlockPos p_69079_, Rotation p_69080_, BoundingBox p_69081_, Random p_69082_, boolean p_69083_)
boolean
SinglePoolElement.place(StructureManager p_69122_, WorldGenLevel p_69123_, StructureFeatureManager p_69124_, ChunkGenerator p_69125_, BlockPos p_69126_, BlockPos p_69127_, Rotation p_69128_, BoundingBox p_69129_, Random p_69130_, boolean p_69131_)
abstract boolean
StructurePoolElement.place(StructureManager p_69173_, WorldGenLevel p_69174_, StructureFeatureManager p_69175_, ChunkGenerator p_69176_, BlockPos p_69177_, BlockPos p_69178_, Rotation p_69179_, BoundingBox p_69180_, Random p_69181_, boolean p_69182_)
-
Uses of Rotation in net.minecraft.world.level.levelgen.structure
Modifier and TypeFieldDescriptionprotected 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_72606_, StructurePoolElement p_72607_, BlockPos p_72608_, int p_72609_, Rotation p_72610_, BoundingBox p_72611_)
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.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 world, BlockPos pos, Rotation direction)
default BlockState
IForgeBlockState.rotate(LevelAccessor world, BlockPos pos, Rotation direction)
IForgeBlockState.rotate(LevelAccessor, BlockPos, Rotation)