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.commands.arguments
Modifier and TypeMethodDescriptionstatic Rotation
TemplateRotationArgument.getRotation
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_234416_, String p_234417_) -
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
The field for therotation
record component.Modifier and TypeMethodDescriptionGameTestInfo.getRotation()
static Rotation
StructureUtils.getRotationForRotationSteps
(int p_127836_) TestFunction.rotation()
Returns the value of therotation
record component.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
(GameTestInfo p_312256_, BlockPos p_127892_, Rotation p_127893_, ServerLevel p_127894_) static int
StructureUtils.getRotationStepsForRotation
(Rotation p_177752_) static BoundingBox
StructureUtils.getStructureBoundingBox
(BlockPos p_177761_, Vec3i p_177762_, Rotation p_177763_) static BlockPos
StructureUtils.getTransformedFarCorner
(BlockPos p_308915_, Vec3i p_309132_, Rotation p_308895_) static StructureBlockEntity
StructureUtils.prepareTestStructure
(GameTestInfo p_312267_, BlockPos p_309600_, Rotation p_309541_, ServerLevel p_309609_) ModifierConstructorDescriptionGameTestInfo
(TestFunction p_127613_, Rotation p_127614_, ServerLevel p_127615_, RetryOptions p_320308_) 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 aTestFunction
record 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
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.server.commands
Modifier and TypeMethodDescriptionstatic int
PlaceCommand.placeTemplate
(CommandSourceStack p_214562_, ResourceLocation p_214563_, BlockPos p_214564_, Rotation p_214565_, Mirror p_214566_, float p_214567_, int p_214568_) -
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 TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Rotation> Rotation.CODEC
Modifier and TypeMethodDescriptionstatic Rotation
Rotation.getRandom
(RandomSource p_221991_) 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_) protected BlockState
AbstractFurnaceBlock.rotate
(BlockState p_48722_, Rotation p_48723_) protected BlockState
AmethystClusterBlock.rotate
(BlockState p_152033_, Rotation p_152034_) protected BlockState
AnvilBlock.rotate
(BlockState p_48811_, Rotation p_48812_) protected BlockState
AttachedStemBlock.rotate
(BlockState p_48845_, Rotation p_48846_) protected BlockState
BannerBlock.rotate
(BlockState p_49026_, Rotation p_49027_) protected BlockState
BarrelBlock.rotate
(BlockState p_49085_, Rotation p_49086_) protected BlockState
BaseCoralWallFanBlock.rotate
(BlockState p_49207_, Rotation p_49208_) 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 BlockState
CampfireBlock.rotate
(BlockState p_51295_, Rotation p_51296_) protected BlockState
CeilingHangingSignBlock.rotate
(BlockState p_251162_, Rotation p_250515_) protected BlockState
ChestBlock.rotate
(BlockState p_51552_, Rotation p_51553_) ChiseledBookShelfBlock.rotate
(BlockState p_288975_, Rotation p_288993_) protected BlockState
CommandBlock.rotate
(BlockState p_51848_, Rotation p_51849_) protected BlockState
CrafterBlock.rotate
(BlockState p_307240_, Rotation p_307431_) protected BlockState
CrossCollisionBlock.rotate
(BlockState p_52341_, Rotation p_52342_) protected BlockState
DecoratedPotBlock.rotate
(BlockState p_333895_, Rotation p_333806_) protected BlockState
DetectorRailBlock.rotate
(BlockState p_52466_, Rotation p_52467_) protected BlockState
DispenserBlock.rotate
(BlockState p_52716_, Rotation p_52717_) protected BlockState
DoorBlock.rotate
(BlockState p_52790_, Rotation p_52791_) protected BlockState
EnderChestBlock.rotate
(BlockState p_53157_, Rotation p_53158_) protected BlockState
EndPortalFrameBlock.rotate
(BlockState p_53068_, Rotation p_53069_) protected BlockState
GrindstoneBlock.rotate
(BlockState p_53835_, Rotation p_53836_) protected BlockState
HopperBlock.rotate
(BlockState p_54094_, Rotation p_54095_) protected BlockState
HorizontalDirectionalBlock.rotate
(BlockState p_54125_, Rotation p_54126_) protected BlockState
HugeMushroomBlock.rotate
(BlockState p_54143_, Rotation p_54144_) protected BlockState
InfestedRotatedPillarBlock.rotate
(BlockState p_153443_, Rotation p_153444_) protected BlockState
JigsawBlock.rotate
(BlockState p_54241_, Rotation p_54242_) protected BlockState
LadderBlock.rotate
(BlockState p_54360_, Rotation p_54361_) protected BlockState
LecternBlock.rotate
(BlockState p_54540_, Rotation p_54541_) protected BlockState
MultifaceBlock.rotate
(BlockState p_153895_, Rotation p_153896_) protected BlockState
NetherPortalBlock.rotate
(BlockState p_54925_, Rotation p_54926_) protected BlockState
ObserverBlock.rotate
(BlockState p_55115_, Rotation p_55116_) PinkPetalsBlock.rotate
(BlockState p_273485_, Rotation p_273021_) protected BlockState
PoweredRailBlock.rotate
(BlockState p_55240_, Rotation p_55241_) protected BlockState
RailBlock.rotate
(BlockState p_55405_, Rotation p_55406_) protected BlockState
RedstoneWallTorchBlock.rotate
(BlockState p_55769_, Rotation p_55770_) protected BlockState
RedStoneWireBlock.rotate
(BlockState p_55592_, Rotation p_55593_) protected BlockState
RodBlock.rotate
(BlockState p_154354_, Rotation p_154355_) protected BlockState
RotatedPillarBlock.rotate
(BlockState p_55930_, Rotation p_55931_) protected BlockState
ShulkerBoxBlock.rotate
(BlockState p_56243_, Rotation p_56244_) protected BlockState
SkullBlock.rotate
(BlockState p_56326_, Rotation p_56327_) protected BlockState
SmallDripleafBlock.rotate
(BlockState p_154622_, Rotation p_154623_) protected BlockState
StairBlock.rotate
(BlockState p_56922_, Rotation p_56923_) protected BlockState
StandingSignBlock.rotate
(BlockState p_57002_, Rotation p_57003_) protected BlockState
StonecutterBlock.rotate
(BlockState p_57093_, Rotation p_57094_) protected BlockState
TripWireBlock.rotate
(BlockState p_57639_, Rotation p_57640_) protected BlockState
TripWireHookBlock.rotate
(BlockState p_57728_, Rotation p_57729_) VaultBlock.rotate
(BlockState p_324232_, Rotation p_324443_) protected BlockState
VineBlock.rotate
(BlockState p_57868_, Rotation p_57869_) protected BlockState
WallBannerBlock.rotate
(BlockState p_57932_, Rotation p_57933_) protected BlockState
WallBlock.rotate
(BlockState p_58004_, Rotation p_58005_) protected BlockState
WallHangingSignBlock.rotate
(BlockState p_249292_, Rotation p_249867_) protected BlockState
WallSignBlock.rotate
(BlockState p_58080_, Rotation p_58081_) protected BlockState
WallSkullBlock.rotate
(BlockState p_58109_, Rotation p_58110_) protected BlockState
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 TypeMethodDescriptionprotected BlockState
MovingPistonBlock.rotate
(BlockState p_60086_, Rotation p_60087_) protected BlockState
PistonBaseBlock.rotate
(BlockState p_60215_, Rotation p_60216_) PistonBaseBlock.rotate
(BlockState state, LevelAccessor world, BlockPos pos, Rotation direction) protected BlockState
PistonHeadBlock.rotate
(BlockState p_60295_, Rotation p_60296_) -
Uses of Rotation in net.minecraft.world.level.block.state
Modifier and TypeMethodDescriptionDeprecated.protected BlockState
BlockBehaviour.rotate
(BlockState p_60530_, Rotation p_60531_) -
Uses of Rotation in net.minecraft.world.level.levelgen.structure
Modifier and TypeFieldDescriptionprotected final Rotation
PoolElementStructurePiece.rotation
private Rotation
StructurePiece.rotation
Modifier and TypeMethodDescriptionPoolElementStructurePiece.getRotation()
StructurePiece.getRotation()
TemplateStructurePiece.getRotation()
Modifier and TypeMethodDescriptionprotected BlockPos
Structure.getLowestYIn5by5BoxOffset7Blocks
(Structure.GenerationContext p_226583_, Rotation p_226584_) Deprecated.ModifierConstructorDescriptionPoolElementStructurePiece
(StructureTemplateManager p_226495_, StructurePoolElement p_226496_, BlockPos p_226497_, int p_226498_, Rotation p_226499_, BoundingBox p_226500_) -
Uses of Rotation in net.minecraft.world.level.levelgen.structure.pools
Modifier 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 BoundingBox
StructurePoolElement.getBoundingBox
(StructureTemplateManager p_227348_, BlockPos p_227349_, Rotation p_227350_) SinglePoolElement.getDataMarkers
(StructureTemplateManager p_227325_, BlockPos p_227326_, Rotation p_227327_, boolean p_227328_) JigsawPlacement.getRandomNamedJigsaw
(StructurePoolElement p_227248_, ResourceLocation p_227249_, BlockPos p_227250_, Rotation p_227251_, StructureTemplateManager p_227252_, WorldgenRandom p_227253_) 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
(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.StructureBlockInfo> StructurePoolElement.getShuffledJigsawBlocks
(StructureTemplateManager p_227351_, BlockPos p_227352_, Rotation p_227353_, RandomSource p_227354_) 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 Vec3i
StructurePoolElement.getSize
(StructureTemplateManager p_227346_, Rotation p_227347_) void
StructurePoolElement.handleDataMarker
(LevelAccessor p_227330_, StructureTemplate.StructureBlockInfo p_227331_, BlockPos p_227332_, Rotation p_227333_, RandomSource p_227334_, BoundingBox p_227335_) boolean
EmptyPoolElement.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_, boolean p_227167_) boolean
FeaturePoolElement.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_, boolean p_227190_) boolean
ListPoolElement.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_, boolean p_227281_) boolean
SinglePoolElement.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_, boolean p_227311_) abstract boolean
StructurePoolElement.place
(StructureTemplateManager p_227336_, WorldGenLevel p_227337_, StructureManager p_227338_, ChunkGenerator p_227339_, BlockPos p_227340_, BlockPos p_227341_, Rotation p_227342_, BoundingBox p_227343_, RandomSource p_227344_, boolean p_227345_) -
Uses of Rotation in net.minecraft.world.level.levelgen.structure.structures
Modifier and TypeMethodDescriptionprivate static void
OceanRuinPieces.addClusterRuins
(StructureTemplateManager p_228988_, RandomSource p_228989_, Rotation p_228990_, BlockPos p_228991_, OceanRuinStructure p_228992_, StructurePieceAccessor p_228993_) (package private) static EndCityPieces.EndCityPiece
EndCityPieces.addPiece
(StructureTemplateManager p_227430_, EndCityPieces.EndCityPiece p_227431_, BlockPos p_227432_, String p_227433_, Rotation p_227434_, boolean p_227435_) private static void
OceanRuinPieces.addPiece
(StructureTemplateManager p_229002_, BlockPos p_229003_, Rotation p_229004_, StructurePieceAccessor p_229005_, RandomSource p_229006_, OceanRuinStructure p_229007_, boolean p_229008_, float p_229009_) static void
IglooPieces.addPieces
(StructureTemplateManager p_227549_, BlockPos p_227550_, Rotation p_227551_, StructurePieceAccessor p_227552_, RandomSource p_227553_) static void
OceanRuinPieces.addPieces
(StructureTemplateManager p_228995_, BlockPos p_228996_, Rotation p_228997_, StructurePieceAccessor p_228998_, RandomSource p_228999_, OceanRuinStructure p_229000_) ShipwreckPieces.addRandomPiece
(StructureTemplateManager p_341897_, BlockPos p_341911_, Rotation p_341901_, StructurePieceAccessor p_341889_, RandomSource p_341928_, boolean p_341941_) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom1x1
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_230109_, BlockPos p_230110_, Rotation p_230111_, Direction p_230112_, WoodlandMansionPieces.FloorRoomCollection p_230113_) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom1x2
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_230122_, BlockPos p_230123_, Rotation p_230124_, Direction p_230125_, Direction p_230126_, WoodlandMansionPieces.FloorRoomCollection p_230127_, boolean p_230128_) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom2x2
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_230115_, BlockPos p_230116_, Rotation p_230117_, Direction p_230118_, Direction p_230119_, WoodlandMansionPieces.FloorRoomCollection p_230120_) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom2x2Secret
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_230098_, BlockPos p_230099_, Rotation p_230100_, WoodlandMansionPieces.FloorRoomCollection p_230101_) void
WoodlandMansionPieces.MansionPiecePlacer.createMansion
(BlockPos p_230081_, Rotation p_230082_, List<WoodlandMansionPieces.WoodlandMansionPiece> p_230083_, WoodlandMansionPieces.MansionGrid p_230084_) private void
WoodlandMansionPieces.MansionPiecePlacer.createRoof
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_230103_, BlockPos p_230104_, Rotation p_230105_, WoodlandMansionPieces.SimpleGrid p_230106_, WoodlandMansionPieces.SimpleGrid p_230107_) static void
WoodlandMansionPieces.generateMansion
(StructureTemplateManager p_229986_, BlockPos p_229987_, Rotation p_229988_, List<WoodlandMansionPieces.WoodlandMansionPiece> p_229989_, RandomSource p_229990_) private void
EndCityStructure.generatePieces
(StructurePiecesBuilder p_227530_, BlockPos p_227531_, Rotation p_227532_, Structure.GenerationContext p_227533_) private void
WoodlandMansionStructure.generatePieces
(StructurePiecesBuilder p_230242_, Structure.GenerationContext p_230243_, BlockPos p_230244_, Rotation p_230245_) private static StructurePlaceSettings
EndCityPieces.EndCityPiece.makeSettings
(boolean p_227514_, Rotation p_227515_) private static StructurePlaceSettings
IglooPieces.IglooPiece.makeSettings
(Rotation p_227576_, ResourceLocation p_227577_) private static StructurePlaceSettings
NetherFossilPieces.NetherFossilPiece.makeSettings
(Rotation p_228556_) private static StructurePlaceSettings
OceanRuinPieces.OceanRuinPiece.makeSettings
(Rotation p_277572_, float p_277489_, OceanRuinStructure.Type p_277631_) private static StructurePlaceSettings
RuinedPortalPiece.makeSettings
(Mirror p_229152_, Rotation p_229153_, RuinedPortalPiece.VerticalPlacement p_229154_, BlockPos p_229155_, RuinedPortalPiece.Properties p_229156_) private static StructurePlaceSettings
ShipwreckPieces.ShipwreckPiece.makeSettings
(Rotation p_229371_) private static StructurePlaceSettings
WoodlandMansionPieces.WoodlandMansionPiece.makeSettings
(Mirror p_230205_, Rotation p_230206_) static void
EndCityPieces.startHouseTower
(StructureTemplateManager p_227445_, BlockPos p_227446_, Rotation p_227447_, List<StructurePiece> p_227448_, RandomSource p_227449_) ModifierConstructorDescriptionEndCityPiece
(StructureTemplateManager p_227491_, String p_227492_, BlockPos p_227493_, Rotation p_227494_, boolean p_227495_) IglooPiece
(StructureTemplateManager p_227555_, ResourceLocation p_227556_, BlockPos p_227557_, Rotation p_227558_, int p_227559_) NetherFossilPiece
(StructureTemplateManager p_228540_, ResourceLocation p_228541_, BlockPos p_228542_, Rotation p_228543_) private
OceanRuinPiece
(StructureTemplateManager p_277563_, CompoundTag p_277610_, Rotation p_277637_, float p_277437_, OceanRuinStructure.Type p_277873_, boolean p_277924_) OceanRuinPiece
(StructureTemplateManager p_229018_, ResourceLocation p_229019_, BlockPos p_229020_, Rotation p_229021_, float p_229022_, OceanRuinStructure.Type p_229023_, boolean p_229024_) RuinedPortalPiece
(StructureTemplateManager p_229105_, BlockPos p_229106_, RuinedPortalPiece.VerticalPlacement p_229107_, RuinedPortalPiece.Properties p_229108_, ResourceLocation p_229109_, StructureTemplate p_229110_, Rotation p_229111_, Mirror p_229112_, BlockPos p_229113_) ShipwreckPiece
(StructureTemplateManager p_229354_, ResourceLocation p_229355_, BlockPos p_229356_, Rotation p_229357_, boolean p_229358_) WoodlandMansionPiece
(StructureTemplateManager p_230191_, String p_230192_, BlockPos p_230193_, Rotation p_230194_) WoodlandMansionPiece
(StructureTemplateManager p_230196_, String p_230197_, BlockPos p_230198_, Rotation p_230199_, Mirror p_230200_) -
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.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptiondefault BlockState
IBlockExtension.rotate
(BlockState state, LevelAccessor level, BlockPos pos, Rotation direction) default BlockState
IBlockStateExtension.rotate
(LevelAccessor level, BlockPos pos, Rotation direction) -
Uses of Rotation in net.neoforged.testframework.gametest
Modifier and TypeFieldDescriptionprivate final Rotation
GameTestData.rotation
The field for therotation
record component.Modifier and TypeMethodDescriptionGameTestData.rotation()
Returns the value of therotation
record component.ModifierConstructorDescriptionGameTestData
(@Nullable String batchName, String structureName, boolean required, int maxAttempts, int requiredSuccesses, Consumer<GameTestHelper> function, int maxTicks, long setupTicks, Rotation rotation, boolean skyAccess) Creates an instance of aGameTestData
record class.
IBlockStateExtension.rotate(LevelAccessor, BlockPos, Rotation)