Uses of Enum Class
net.minecraft.core.Direction
Package
Description
Extension interfaces for
client
-only classes.-
Uses of Direction in com.mojang.math
Modifier and TypeFieldDescriptionOctahedralGroup.rotatedDirections
OctahedralGroup.rotatedDirections
-
Uses of Direction in net.minecraft
Modifier and TypeMethodDescriptionprivate static int
BlockUtil.getLimit
(Predicate<BlockPos> p_124342_, BlockPos.MutableBlockPos p_124343_, Direction p_124344_, int p_124345_) BlockUtil.getTopConnectedBlock
(BlockGetter p_177846_, BlockPos p_177847_, Block p_177848_, Direction p_177849_, Block p_177850_) -
Uses of Direction in net.minecraft.client.model.geom
ModifierConstructorDescriptionPolygon
(ModelPart.Vertex[] p_104362_, float p_104363_, float p_104364_, float p_104365_, float p_104366_, float p_104367_, float p_104368_, boolean p_104369_, Direction p_104370_) -
Uses of Direction in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionboolean
MultiPlayerGameMode.continueDestroyBlock
(BlockPos p_105284_, Direction p_105285_) float
boolean
MultiPlayerGameMode.startDestroyBlock
(BlockPos p_105270_, Direction p_105271_) -
Uses of Direction in net.minecraft.client.particle
-
Uses of Direction in net.minecraft.client.renderer
Modifier and TypeMethodDescriptionvoid
LevelRenderer.RenderChunkInfo.addSourceDirection
(Direction p_173029_) static FaceInfo
FaceInfo.fromFacing
(Direction p_108985_) LevelRenderer.getRelativeFrom
(BlockPos p_109729_, ChunkRenderDispatcher.RenderChunk p_109730_, Direction p_109731_) boolean
LevelRenderer.RenderChunkInfo.hasDirection
(Direction p_109860_) void
LevelRenderer.RenderChunkInfo.setDirections
(byte p_109855_, Direction p_109856_) ModifierConstructorDescription(package private)
RenderChunkInfo
(ChunkRenderDispatcher.RenderChunk p_173022_, Direction p_173023_, int p_173024_) -
Uses of Direction in net.minecraft.client.renderer.block
Modifier and TypeFieldDescription(package private) final Direction[]
ModelBlockRenderer.AdjacencyInfo.corners
(package private) static final Direction[]
ModelBlockRenderer.DIRECTIONS
Modifier and TypeMethodDescriptionvoid
ModelBlockRenderer.AmbientOcclusionFace.calculate
(BlockAndTintGetter p_111168_, BlockState p_111169_, BlockPos p_111170_, Direction p_111171_, float[] p_111172_, BitSet p_111173_, boolean p_111174_) private void
ModelBlockRenderer.calculateShape
(BlockAndTintGetter p_111040_, BlockState p_111041_, BlockPos p_111042_, int[] p_111043_, Direction p_111044_, float[] p_111045_, BitSet p_111046_) ModelBlockRenderer.AdjacencyInfo.fromFacing
(Direction p_111132_) ModelBlockRenderer.AmbientVertexRemap.fromFacing
(Direction p_111202_) private static boolean
LiquidBlockRenderer.isFaceOccludedByNeighbor
(BlockGetter p_203180_, BlockPos p_203181_, Direction p_203182_, float p_203183_, BlockState p_203184_) private static boolean
LiquidBlockRenderer.isFaceOccludedBySelf
(BlockGetter p_110960_, BlockPos p_110961_, BlockState p_110962_, Direction p_110963_) private static boolean
LiquidBlockRenderer.isFaceOccludedByState
(BlockGetter p_110979_, Direction p_110980_, float p_110981_, BlockPos p_110982_, BlockState p_110983_) static boolean
LiquidBlockRenderer.shouldRenderFace
(BlockAndTintGetter p_203167_, BlockPos p_203168_, FluidState p_203169_, BlockState p_203170_, Direction p_203171_, FluidState p_203172_) ModifierConstructorDescriptionprivate
AdjacencyInfo
(Direction[] p_111122_, float p_111123_, boolean p_111124_, ModelBlockRenderer.SizeInfo[] p_111125_, ModelBlockRenderer.SizeInfo[] p_111126_, ModelBlockRenderer.SizeInfo[] p_111127_, ModelBlockRenderer.SizeInfo[] p_111128_) private
-
Uses of Direction in net.minecraft.client.renderer.block.model
Modifier and TypeFieldDescriptionfinal Direction
BlockElementFace.cullForDirection
protected final Direction
BakedQuad.direction
private final Direction
ItemModelGenerator.SpanFacing.direction
Modifier and TypeMethodDescriptionstatic Direction
FaceBakery.calculateFacing
(int[] p_111613_) private Direction
BlockElementFace.Deserializer.getCullFacing
(com.google.gson.JsonObject p_111373_) BakedQuad.getDirection()
ItemModelGenerator.SpanFacing.getDirection()
private Direction
Modifier and TypeMethodDescriptionprivate Map<Direction,
BlockElementFace> BlockElement.Deserializer.filterNullFromFaces
(com.google.gson.JsonDeserializationContext p_111340_, com.google.gson.JsonObject p_111341_) private Map<Direction,
BlockElementFace> BlockElement.Deserializer.getFaces
(com.google.gson.JsonDeserializationContext p_111326_, com.google.gson.JsonObject p_111327_) Modifier and TypeMethodDescriptionstatic BakedQuad
BlockModel.bakeFace
(BlockElement p_111438_, BlockElementFace p_111439_, TextureAtlasSprite p_111440_, Direction p_111441_, ModelState p_111442_, ResourceLocation p_111443_) FaceBakery.bakeQuad
(Vector3f p_111601_, Vector3f p_111602_, BlockElementFace p_111603_, TextureAtlasSprite p_111604_, Direction p_111605_, ModelState p_111606_, BlockElementRotation p_111607_, boolean p_111608_, ResourceLocation p_111609_) private void
FaceBakery.bakeVertex
(int[] p_111621_, int p_111622_, Direction p_111623_, BlockFaceUV p_111624_, float[] p_111625_, TextureAtlasSprite p_111626_, Transformation p_111627_, BlockElementRotation p_111628_, boolean p_111629_) private int[]
FaceBakery.makeVertices
(BlockFaceUV p_111574_, TextureAtlasSprite p_111575_, Direction p_111576_, float[] p_111577_, Transformation p_111578_, BlockElementRotation p_111579_, boolean p_111580_) private void
FaceBakery.recalculateWinding
(int[] p_111631_, Direction p_111632_) static BlockFaceUV
FaceBakery.recomputeUVs
(BlockFaceUV p_111582_, Direction p_111583_, Transformation p_111584_, ResourceLocation p_111585_) float[]
ModifierConstructorDescriptionBakedQuad
(int[] p_111298_, int p_111299_, Direction p_111300_, TextureAtlasSprite p_111301_, boolean p_111302_) BakedQuad
(int[] p_111298_, int p_111299_, Direction p_111300_, TextureAtlasSprite p_111301_, boolean p_111302_, boolean hasAmbientOcclusion) BlockElementFace
(Direction p_111359_, int p_111360_, String p_111361_, BlockFaceUV p_111362_) BlockElementFace
(Direction p_111359_, int p_111360_, String p_111361_, BlockFaceUV p_111362_, int emissivity) BlockElementFace
(Direction p_111359_, int p_111360_, String p_111361_, BlockFaceUV p_111362_, int emissivity, boolean hasAmbientOcclusion) private
SpanFacing
(Direction p_111701_, int p_111702_, int p_111703_) ModifierConstructorDescriptionBlockElement
(Vector3f p_111314_, Vector3f p_111315_, Map<Direction, BlockElementFace> p_111316_, BlockElementRotation p_111317_, boolean p_111318_) -
Uses of Direction in net.minecraft.client.renderer.blockentity
Modifier and TypeMethodDescriptionprivate void
TheEndPortalRenderer.renderFace
(T p_173695_, Matrix4f p_173696_, VertexConsumer p_173697_, float p_173698_, float p_173699_, float p_173700_, float p_173701_, float p_173702_, float p_173703_, float p_173704_, float p_173705_, Direction p_173706_) private void
BedRenderer.renderPiece
(PoseStack p_173542_, MultiBufferSource p_173543_, ModelPart p_173544_, Direction p_173545_, Material p_173546_, int p_173547_, int p_173548_, boolean p_173549_) static void
SkullBlockRenderer.renderSkull
(Direction p_173664_, float p_173665_, float p_173666_, PoseStack p_173667_, MultiBufferSource p_173668_, int p_173669_, SkullModelBase p_173670_, RenderType p_173671_) -
Uses of Direction in net.minecraft.client.renderer.chunk
Modifier and TypeMethodDescriptionboolean
ChunkRenderDispatcher.CompiledChunk.facesCanSeeEachother
(Direction p_112771_, Direction p_112772_) private int
VisGraph.getNeighborIndexAtFace
(int p_112966_, Direction p_112967_) ChunkRenderDispatcher.RenderChunk.getRelativeOrigin
(Direction p_112825_) float
void
boolean
VisibilitySet.visibilityBetween
(Direction p_112984_, Direction p_112985_) -
Uses of Direction in net.minecraft.client.renderer.entity
Modifier and TypeMethodDescriptionprivate static float
LivingEntityRenderer.sleepDirectionToRotation
(Direction p_115329_) -
Uses of Direction in net.minecraft.client.resources.model
Modifier and TypeFieldDescriptionSimpleBakedModel.Builder.culledFaces
SimpleBakedModel.culledFaces
Modifier and TypeMethodDescriptionSimpleBakedModel.Builder.addCulledFace
(Direction p_119531_, BakedQuad p_119532_) BakedModel.getQuads
(BlockState p_235039_, Direction p_235040_, RandomSource p_235041_) Deprecated.BuiltInModel.getQuads
(BlockState p_235043_, Direction p_235044_, RandomSource p_235045_) MultiPartBakedModel.getQuads
(BlockState p_235050_, Direction p_235051_, RandomSource p_235052_, ModelData modelData, RenderType renderType) SimpleBakedModel.getQuads
(BlockState p_235054_, Direction p_235055_, RandomSource p_235056_) WeightedBakedModel.getQuads
(BlockState p_235058_, Direction p_235059_, RandomSource p_235060_, ModelData modelData, RenderType renderType) ModifierConstructorDescriptionSimpleBakedModel
(List<BakedQuad> p_119489_, Map<Direction, List<BakedQuad>> p_119490_, boolean p_119491_, boolean p_119492_, boolean p_119493_, TextureAtlasSprite p_119494_, ItemTransforms p_119495_, ItemOverrides p_119496_) Deprecated.Forge: Use variant with RenderTypeGroupSimpleBakedModel
(List<BakedQuad> p_119489_, Map<Direction, List<BakedQuad>> p_119490_, boolean p_119491_, boolean p_119492_, boolean p_119493_, TextureAtlasSprite p_119494_, ItemTransforms p_119495_, ItemOverrides p_119496_, RenderTypeGroup renderTypes) -
Uses of Direction in net.minecraft.core
Modifier and TypeFieldDescriptionprivate static final Direction[]
Direction.BY_2D_DATA
private static final Direction[]
Direction.BY_3D_DATA
private final Direction[]
Direction.Plane.faces
private final Direction
FrontAndTop.front
private final Direction
FrontAndTop.top
private static final Direction[]
Direction.VALUES
Modifier and TypeFieldDescriptionprivate static final it.unimi.dsi.fastutil.longs.Long2ObjectMap<Direction>
Direction.BY_NORMAL
static final StringRepresentable.EnumCodec<Direction>
Direction.CODEC
Direction8.directions
static final Map<Direction,
Transformation> BlockMath.VANILLA_UV_TRANSFORM_GLOBAL_TO_LOCAL
static final Map<Direction,
Transformation> BlockMath.VANILLA_UV_TRANSFORM_LOCAL_TO_GLOBAL
static final com.mojang.serialization.Codec<Direction>
Direction.VERTICAL_CODEC
Modifier and TypeMethodDescriptionstatic Direction
static Direction
Direction.from2DDataValue
(int p_122408_) static Direction
Direction.from3DDataValue
(int p_122377_) static Direction
Direction.fromAxisAndDirection
(Direction.Axis p_122388_, Direction.AxisDirection p_122389_) static Direction
Direction.fromNormal
(int p_122379_, int p_122380_, int p_122381_) static Direction
Direction.fromNormal
(BlockPos p_175361_) static Direction
Direction.fromYRot
(double p_122365_) FrontAndTop.front()
static Direction
Direction.get
(Direction.AxisDirection p_122391_, Direction.Axis p_122392_) Direction.getClockWise()
Direction.getClockWise
(Direction.Axis p_175363_) private Direction
Direction.getClockWiseX()
private Direction
Direction.getClockWiseZ()
Direction.getCounterClockWise()
Direction.getCounterClockWise
(Direction.Axis p_175365_) private Direction
Direction.getCounterClockWiseX()
private Direction
Direction.getCounterClockWiseZ()
static Direction
Direction.getFacingAxis
(Entity p_175358_, Direction.Axis p_175359_) static Direction
Direction.getNearest
(double p_122367_, double p_122368_, double p_122369_) static Direction
Direction.getNearest
(float p_122373_, float p_122374_, float p_122375_) Direction.getOpposite()
static Direction
Direction.getRandom
(RandomSource p_235673_) Direction.Plane.getRandomDirection
(RandomSource p_235691_) private static Direction[]
Direction.makeDirectionArray
(Direction p_122399_, Direction p_122400_, Direction p_122401_) static Direction[]
Direction.orderedByNearest
(Entity p_122383_) static Direction
FrontAndTop.top()
static Direction
Returns the enum constant of this class with the specified name.static Direction[]
Direction.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic Collection<Direction>
Direction.allShuffled
(RandomSource p_235668_) Direction8.getDirections()
Direction.Plane.iterator()
Direction.Plane.shuffledCopy
(RandomSource p_235695_) Direction.Plane.stream()
Direction.stream()
private static com.mojang.serialization.DataResult<Direction>
Direction.verifyVertical
(Direction p_194529_) Modifier and TypeMethodDescriptionstatic FrontAndTop
FrontAndTop.fromFrontAndTop
(Direction p_122623_, Direction p_122624_) static Transformation
BlockMath.getUVLockTransform
(Transformation p_121845_, Direction p_121846_, Supplier<String> p_121847_) private static int
private static Direction[]
Direction.makeDirectionArray
(Direction p_122399_, Direction p_122400_, Direction p_122401_) static long
static long
static Direction
BlockPos.MutableBlockPos.setWithOffset
(Vec3i p_122160_, Direction p_122161_) static Iterable<BlockPos.MutableBlockPos>
BlockPos.spiralAround
(BlockPos p_121936_, int p_121937_, Direction p_121938_, Direction p_121939_) boolean
boolean
private static com.mojang.serialization.DataResult<Direction>
Direction.verifyVertical
(Direction p_194529_) ModifierConstructorDescriptionprivate
Direction8
(Direction... p_122592_) private
FrontAndTop
(String p_122618_, Direction p_122619_, Direction p_122620_) private
Plane
(Direction[] p_122555_, Direction.Axis[] p_122556_) -
Uses of Direction in net.minecraft.core.dispenser
Modifier and TypeMethodDescriptionprotected void
DefaultDispenseItemBehavior.playAnimation
(BlockSource p_123388_, Direction p_123389_) static void
DispenseItemBehavior.setEntityPokingOutOfBlock
(BlockSource p_123396_, Entity p_123397_, Direction p_123398_) static void
DefaultDispenseItemBehavior.spawnItem
(Level p_123379_, ItemStack p_123380_, int p_123381_, Direction p_123382_, Position p_123383_) -
Uses of Direction in net.minecraft.data.models
Modifier and TypeMethodDescriptionprivate static PropertyDispatch.C4<Direction,
DoubleBlockHalf, DoorHingeSide, Boolean> BlockModelGenerators.configureDoorHalf
(PropertyDispatch.C4<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> p_236305_, DoubleBlockHalf p_236306_, ResourceLocation p_236307_, ResourceLocation p_236308_, ResourceLocation p_236309_, ResourceLocation p_236310_) Modifier and TypeMethodDescriptionprivate Variant
BlockModelGenerators.createPointedDripstoneVariant
(Direction p_176117_, DripstoneThickness p_176118_) Modifier and TypeMethodDescriptionprivate static PropertyDispatch.C4<Direction,
DoubleBlockHalf, DoorHingeSide, Boolean> BlockModelGenerators.configureDoorHalf
(PropertyDispatch.C4<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> p_236305_, DoubleBlockHalf p_236306_, ResourceLocation p_236307_, ResourceLocation p_236308_, ResourceLocation p_236309_, ResourceLocation p_236310_) -
Uses of Direction in net.minecraft.data.worldgen.features
Modifier and TypeMethodDescriptionprivate static Holder<PlacedFeature>
CaveFeatures.makeDripleaf
(Direction p_206468_) -
Uses of Direction in net.minecraft.network.protocol.game
ModifierConstructorDescriptionServerboundPlayerActionPacket
(ServerboundPlayerActionPacket.Action p_134272_, BlockPos p_134273_, Direction p_134274_) ServerboundPlayerActionPacket
(ServerboundPlayerActionPacket.Action p_237983_, BlockPos p_237984_, Direction p_237985_, int p_237986_) -
Uses of Direction in net.minecraft.network.syncher
Modifier and TypeFieldDescriptionstatic final EntityDataSerializer<Direction>
EntityDataSerializers.DIRECTION
-
Uses of Direction in net.minecraft.server.level
Modifier and TypeMethodDescriptionprivate boolean
ServerPlayer.bedBlocked
(BlockPos p_9192_, Direction p_9193_) private boolean
ServerPlayer.bedInRange
(BlockPos p_9117_, Direction p_9118_) float
float
void
DemoMode.handleBlockBreakAction
(BlockPos p_214976_, ServerboundPlayerActionPacket.Action p_214977_, Direction p_214978_, int p_214979_, int p_214980_) void
ServerPlayerGameMode.handleBlockBreakAction
(BlockPos p_215120_, ServerboundPlayerActionPacket.Action p_215121_, Direction p_215122_, int p_215123_, int p_215124_) void
ServerLevel.updateNeighborsAtExceptFromFacing
(BlockPos p_215052_, Block p_215053_, Direction p_215054_) -
Uses of Direction in net.minecraft.util
Modifier and TypeMethodDescriptionstatic void
ParticleUtils.spawnParticleOnFace
(Level p_216307_, BlockPos p_216308_, Direction p_216309_, ParticleOptions p_216310_, Vec3 p_216311_, double p_216312_) static void
ParticleUtils.spawnParticlesOnBlockFace
(Level p_216319_, BlockPos p_216320_, ParticleOptions p_216321_, IntProvider p_216322_, Direction p_216323_, Supplier<Vec3> p_216324_, double p_216325_) -
Uses of Direction in net.minecraft.world
Modifier and TypeMethodDescriptionboolean
WorldlyContainer.canPlaceItemThroughFace
(int p_19235_, ItemStack p_19236_, Direction p_19237_) boolean
WorldlyContainer.canTakeItemThroughFace
(int p_19239_, ItemStack p_19240_, Direction p_19241_) int[]
WorldlyContainer.getSlotsForFace
(Direction p_19238_) -
Uses of Direction in net.minecraft.world.entity
Modifier and TypeMethodDescriptionLivingEntity.getBedOrientation()
Entity.getDirection()
Entity.getMotionDirection()
Modifier and TypeMethodDescription<T> LazyOptional<T>
LivingEntity.getCapability
(Capability<T> capability, Direction facing) -
Uses of Direction in net.minecraft.world.entity.animal.horse
Modifier and TypeMethodDescription<T> LazyOptional<T>
AbstractHorse.getCapability
(Capability<T> capability, Direction facing) -
Uses of Direction in net.minecraft.world.entity.decoration
Modifier and TypeMethodDescriptionprotected void
HangingEntity.setDirection
(Direction p_31728_) protected void
ItemFrame.setDirection
(Direction p_31793_) void
LeashFenceKnotEntity.setDirection
(Direction p_31848_) ModifierConstructorDescriptionGlowItemFrame
(Level p_149610_, BlockPos p_149611_, Direction p_149612_) ItemFrame
(EntityType<? extends ItemFrame> p_149621_, Level p_149622_, BlockPos p_149623_, Direction p_149624_) Painting
(Level p_218877_, BlockPos p_218878_, Direction p_218879_, Holder<PaintingVariant> p_218880_) -
Uses of Direction in net.minecraft.world.entity.monster
Modifier and TypeFieldDescriptionprivate Direction
Silverfish.SilverfishMergeWithStoneGoal.selectedDirection
Modifier and TypeFieldDescriptionprotected static final EntityDataAccessor<Direction>
Shulker.DATA_ATTACH_FACE_ID
Modifier and TypeMethodDescriptionprotected Direction
Shulker.findAttachableSurface
(BlockPos p_149811_) Shulker.getAttachFace()
Modifier and TypeMethodDescription(package private) boolean
static AABB
Shulker.getProgressAabb
(Direction p_149791_, float p_149792_) static AABB
Shulker.getProgressDeltaAabb
(Direction p_149794_, float p_149795_, float p_149796_) private void
Shulker.setAttachFace
(Direction p_149789_) -
Uses of Direction in net.minecraft.world.entity.player
Modifier and TypeMethodDescription<T> LazyOptional<T>
Player.getCapability
(Capability<T> capability, Direction facing) boolean
Player.mayUseItemAt
(BlockPos p_36205_, Direction p_36206_, ItemStack p_36207_) -
Uses of Direction in net.minecraft.world.entity.projectile
Modifier and TypeMethodDescriptionprivate void
ShulkerBullet.setMoveDirection
(Direction p_37351_) -
Uses of Direction in net.minecraft.world.entity.vehicle
Modifier and TypeMethodDescriptionAbstractMinecart.getMotionDirection()
Boat.getMotionDirection()
Modifier and TypeMethodDescription<T> LazyOptional<T>
AbstractMinecartContainer.getCapability
(Capability<T> capability, Direction facing) <T> LazyOptional<T>
ChestBoat.getCapability
(Capability<T> capability, Direction facing) static int[][]
DismountHelper.offsetsForDirection
(Direction p_38468_) -
Uses of Direction in net.minecraft.world.item
-
Uses of Direction in net.minecraft.world.item.context
Modifier and TypeMethodDescriptionUseOnContext.getClickedFace()
DirectionalPlaceContext.getHorizontalDirection()
UseOnContext.getHorizontalDirection()
BlockPlaceContext.getNearestLookingDirection()
DirectionalPlaceContext.getNearestLookingDirection()
BlockPlaceContext.getNearestLookingDirections()
DirectionalPlaceContext.getNearestLookingDirections()
BlockPlaceContext.getNearestLookingVerticalDirection()
Modifier and TypeMethodDescriptionstatic BlockPlaceContext
BlockPlaceContext.at
(BlockPlaceContext p_43645_, BlockPos p_43646_, Direction p_43647_) -
Uses of Direction in net.minecraft.world.level
Modifier and TypeMethodDescriptiondefault int
LevelReader.getDirectSignal
(BlockPos p_46853_, Direction p_46854_) float
int
boolean
boolean
Level.loadedAndEntityCanStandOnFace
(BlockPos p_46579_, Entity p_46580_, Direction p_46581_) void
Level.neighborShapeChanged
(Direction p_220385_, BlockState p_220386_, BlockPos p_220387_, BlockPos p_220388_, int p_220389_, int p_220390_) default void
LevelAccessor.neighborShapeChanged
(Direction p_220411_, BlockState p_220412_, BlockPos p_220413_, BlockPos p_220414_, int p_220415_, int p_220416_) void
Level.updateNeighborsAtExceptFromFacing
(BlockPos p_46591_, Block p_46592_, Direction p_46593_) -
Uses of Direction in net.minecraft.world.level.block
Modifier and TypeFieldDescriptionprivate final Direction
Block.BlockStatePairKey.direction
private static final Direction[]
BuddingAmethystBlock.DIRECTIONS
protected static final Direction[]
MultifaceBlock.DIRECTIONS
private static final Direction[]
PipeBlock.DIRECTIONS
private final Direction
MultifaceSpreader.SpreadPos.face
The field for theface
record component.protected final Direction
GrowingPlantBlock.growthDirection
Modifier and TypeFieldDescriptionprivate static final Map<Direction,
VoxelShape> AttachedStemBlock.AABBS
private static final Map<Direction,
VoxelShape> WallSignBlock.AABBS
private static final Map<Direction,
VoxelShape> WallSkullBlock.AABBS
private static final Map<Direction,
VoxelShape> WallTorchBlock.AABBS
SculkSpreader.ChargeCursor.DIRECTION_SET
static final EnumProperty<Direction>
ShulkerBoxBlock.FACING
SculkSpreader.ChargeCursor.facings
static final com.google.common.collect.ImmutableList<Direction>
LiquidBlock.POSSIBLE_FLOW_DIRECTIONS
protected static final Map<Direction,
BooleanProperty> CrossCollisionBlock.PROPERTY_BY_DIRECTION
private static final Map<Direction,
BooleanProperty> FireBlock.PROPERTY_BY_DIRECTION
private static final Map<Direction,
BooleanProperty> HugeMushroomBlock.PROPERTY_BY_DIRECTION
private static final Map<Direction,
BooleanProperty> MultifaceBlock.PROPERTY_BY_DIRECTION
static final Map<Direction,
BooleanProperty> PipeBlock.PROPERTY_BY_DIRECTION
static final Map<Direction,
EnumProperty<RedstoneSide>> RedStoneWireBlock.PROPERTY_BY_DIRECTION
private static final Map<Direction,
BooleanProperty> TripWireBlock.PROPERTY_BY_DIRECTION
static final Map<Direction,
BooleanProperty> VineBlock.PROPERTY_BY_DIRECTION
private static final Map<Direction,
VoxelShape> MultifaceBlock.SHAPE_BY_DIRECTION
private static final Map<Direction,
VoxelShape> BaseCoralWallFanBlock.SHAPES
private static final Map<Direction,
VoxelShape> WallBannerBlock.SHAPES
private static final Map<Direction,
VoxelShape> RedStoneWireBlock.SHAPES_FLOOR
private static final Map<Direction,
VoxelShape> RedStoneWireBlock.SHAPES_UP
private static final Map<Direction,
VoxelShape> BigDripleafBlock.STEM_SHAPES
Modifier and TypeMethodDescriptionprivate static Direction
PointedDripstoneBlock.calculateTipDirection
(LevelReader p_154191_, BlockPos p_154192_, Direction p_154193_) private Direction
ChestBlock.candidatePartnerFacing
(BlockPlaceContext p_51495_, Direction p_51496_) MultifaceSpreader.SpreadPos.face()
Returns the value of theface
record component.static Direction
BedBlock.getBedOrientation
(BlockGetter p_49486_, BlockPos p_49487_) static Direction
BedBlock.getConnectedDirection
(BlockState p_49558_) private static Direction
BellBlock.getConnectedDirection
(BlockState p_49769_) static Direction
ChestBlock.getConnectedDirection
(BlockState p_51585_) protected static Direction
FaceAttachedHorizontalDirectionalBlock.getConnectedDirection
(BlockState p_53201_) protected static Direction
LanternBlock.getConnectedDirection
(BlockState p_153496_) static Direction
JigsawBlock.getFrontFacing
(BlockState p_54251_) private static Direction
BedBlock.getNeighbourDirection
(BedPart p_49534_, Direction p_49535_) static Direction
JigsawBlock.getTopFacing
(BlockState p_54253_) Modifier and TypeMethodDescriptionMultifaceBlock.availableFaces
(BlockState p_221585_) SculkSpreader.ChargeCursor.getFacingData()
MultifaceBlock.unpack
(byte p_221570_) Modifier and TypeMethodDescriptionprivate static boolean
ChorusFlowerBlock.allNeighborsEmpty
(LevelReader p_51698_, BlockPos p_51699_, Direction p_51700_) boolean
BellBlock.attemptToRing
(Entity p_152189_, Level p_152190_, BlockPos p_152191_, Direction p_152192_) boolean
BellBlock.attemptToRing
(Level p_49713_, BlockPos p_49714_, Direction p_49715_) private static int[][]
BedBlock.bedAboveStandUpOffsets
(Direction p_49537_) private static int[][]
BedBlock.bedStandUpOffsets
(Direction p_49539_, Direction p_49540_) private static int[][]
BedBlock.bedSurroundStandUpOffsets
(Direction p_49552_, Direction p_49553_) private static DripstoneThickness
PointedDripstoneBlock.calculateDripstoneThickness
(LevelReader p_154093_, BlockPos p_154094_, Direction p_154095_, boolean p_154096_) private static Direction
PointedDripstoneBlock.calculateTipDirection
(LevelReader p_154191_, BlockPos p_154192_, Direction p_154193_) static boolean
FaceAttachedHorizontalDirectionalBlock.canAttach
(LevelReader p_53197_, BlockPos p_53198_, Direction p_53199_) private boolean
LadderBlock.canAttachTo
(BlockGetter p_54349_, BlockPos p_54350_, Direction p_54351_) static boolean
MultifaceBlock.canAttachTo
(BlockGetter p_153830_, Direction p_153831_, BlockPos p_153832_, BlockState p_153833_) static boolean
BaseFireBlock.canBePlacedAt
(Level p_49256_, BlockPos p_49257_, Direction p_49258_) boolean
FireBlock.canCatchFire
(BlockGetter world, BlockPos pos, Direction face) Side sensitive version that calls the block function.private Direction
ChestBlock.candidatePartnerFacing
(BlockPlaceContext p_51495_, Direction p_51496_) boolean
ComposterBlock.EmptyContainer.canPlaceItemThroughFace
(int p_52008_, ItemStack p_52009_, Direction p_52010_) boolean
ComposterBlock.InputContainer.canPlaceItemThroughFace
(int p_52028_, ItemStack p_52029_, Direction p_52030_) boolean
ComposterBlock.OutputContainer.canPlaceItemThroughFace
(int p_52049_, ItemStack p_52050_, Direction p_52051_) default boolean
MultifaceSpreader.SpreadConfig.canSpreadFrom
(BlockState p_221715_, Direction p_221716_) boolean
MultifaceSpreader.canSpreadInAnyDirection
(BlockState p_221602_, BlockGetter p_221603_, BlockPos p_221604_, Direction p_221605_) private boolean
VineBlock.canSupportAtFace
(BlockGetter p_57888_, BlockPos p_57889_, Direction p_57890_) static boolean
Block.canSupportCenter
(LevelReader p_49864_, BlockPos p_49865_, Direction p_49866_) boolean
Block.canSustainPlant
(BlockState state, BlockGetter world, BlockPos pos, Direction facing, IPlantable plantable) boolean
ComposterBlock.EmptyContainer.canTakeItemThroughFace
(int p_52014_, ItemStack p_52015_, Direction p_52016_) boolean
ComposterBlock.InputContainer.canTakeItemThroughFace
(int p_52034_, ItemStack p_52035_, Direction p_52036_) boolean
ComposterBlock.OutputContainer.canTakeItemThroughFace
(int p_52055_, ItemStack p_52056_, Direction p_52057_) private static boolean
StairBlock.canTakeShape
(BlockState p_56971_, BlockGetter p_56972_, BlockPos p_56973_, Direction p_56974_) boolean
FenceBlock.connectsTo
(BlockState p_53330_, boolean p_53331_, Direction p_53332_) private boolean
WallBlock.connectsTo
(BlockState p_58021_, boolean p_58022_, Direction p_58023_) static boolean
FenceGateBlock.connectsToDirection
(BlockState p_53379_, Direction p_53380_) private static void
PointedDripstoneBlock.createDripstone
(LevelAccessor p_154088_, BlockPos p_154089_, Direction p_154090_, DripstoneThickness p_154091_) private static void
CommandBlock.executeChain
(Level p_51810_, BlockPos p_51811_, Direction p_51812_) BedBlock.findBunkBedStandUpPosition
(EntityType<?> p_49464_, CollisionGetter p_49465_, BlockPos p_49466_, Direction p_49467_, Direction p_49468_) protected int
DiodeBlock.getAlternateSignalAt
(LevelReader p_52552_, BlockPos p_52553_, Direction p_52554_) private RedstoneSide
RedStoneWireBlock.getConnectingSide
(BlockGetter p_55519_, BlockPos p_55520_, Direction p_55521_) private RedstoneSide
RedStoneWireBlock.getConnectingSide
(BlockGetter p_55523_, BlockPos p_55524_, Direction p_55525_, boolean p_55526_) int
BasePressurePlateBlock.getDirectSignal
(BlockState p_49346_, BlockGetter p_49347_, BlockPos p_49348_, Direction p_49349_) int
ButtonBlock.getDirectSignal
(BlockState p_51109_, BlockGetter p_51110_, BlockPos p_51111_, Direction p_51112_) int
DetectorRailBlock.getDirectSignal
(BlockState p_52478_, BlockGetter p_52479_, BlockPos p_52480_, Direction p_52481_) int
DiodeBlock.getDirectSignal
(BlockState p_52561_, BlockGetter p_52562_, BlockPos p_52563_, Direction p_52564_) int
LecternBlock.getDirectSignal
(BlockState p_54566_, BlockGetter p_54567_, BlockPos p_54568_, Direction p_54569_) int
LeverBlock.getDirectSignal
(BlockState p_54670_, BlockGetter p_54671_, BlockPos p_54672_, Direction p_54673_) int
LightningRodBlock.getDirectSignal
(BlockState p_153748_, BlockGetter p_153749_, BlockPos p_153750_, Direction p_153751_) int
ObserverBlock.getDirectSignal
(BlockState p_55127_, BlockGetter p_55128_, BlockPos p_55129_, Direction p_55130_) int
RedstoneTorchBlock.getDirectSignal
(BlockState p_55719_, BlockGetter p_55720_, BlockPos p_55721_, Direction p_55722_) int
RedStoneWireBlock.getDirectSignal
(BlockState p_55625_, BlockGetter p_55626_, BlockPos p_55627_, Direction p_55628_) int
TrappedChestBlock.getDirectSignal
(BlockState p_57582_, BlockGetter p_57583_, BlockPos p_57584_, Direction p_57585_) int
TripWireHookBlock.getDirectSignal
(BlockState p_57745_, BlockGetter p_57746_, BlockPos p_57747_, Direction p_57748_) static BooleanProperty
MultifaceBlock.getFaceProperty
(Direction p_153934_) private ItemFrame
ComparatorBlock.getItemFrame
(Level p_51865_, Direction p_51866_, BlockPos p_51867_) private static Direction
BedBlock.getNeighbourDirection
(BedPart p_49534_, Direction p_49535_) static BooleanProperty
VineBlock.getPropertyForFace
(Direction p_57884_) Mirror.getRotation
(Direction p_54847_) int
BasePressurePlateBlock.getSignal
(BlockState p_49309_, BlockGetter p_49310_, BlockPos p_49311_, Direction p_49312_) int
ButtonBlock.getSignal
(BlockState p_51078_, BlockGetter p_51079_, BlockPos p_51080_, Direction p_51081_) int
DaylightDetectorBlock.getSignal
(BlockState p_52386_, BlockGetter p_52387_, BlockPos p_52388_, Direction p_52389_) int
DetectorRailBlock.getSignal
(BlockState p_52449_, BlockGetter p_52450_, BlockPos p_52451_, Direction p_52452_) int
DiodeBlock.getSignal
(BlockState p_52520_, BlockGetter p_52521_, BlockPos p_52522_, Direction p_52523_) int
LecternBlock.getSignal
(BlockState p_54515_, BlockGetter p_54516_, BlockPos p_54517_, Direction p_54518_) int
LeverBlock.getSignal
(BlockState p_54635_, BlockGetter p_54636_, BlockPos p_54637_, Direction p_54638_) int
LightningRodBlock.getSignal
(BlockState p_153723_, BlockGetter p_153724_, BlockPos p_153725_, Direction p_153726_) int
ObserverBlock.getSignal
(BlockState p_55101_, BlockGetter p_55102_, BlockPos p_55103_, Direction p_55104_) int
PoweredBlock.getSignal
(BlockState p_55208_, BlockGetter p_55209_, BlockPos p_55210_, Direction p_55211_) int
RedstoneTorchBlock.getSignal
(BlockState p_55694_, BlockGetter p_55695_, BlockPos p_55696_, Direction p_55697_) int
RedstoneWallTorchBlock.getSignal
(BlockState p_55752_, BlockGetter p_55753_, BlockPos p_55754_, Direction p_55755_) int
RedStoneWireBlock.getSignal
(BlockState p_55549_, BlockGetter p_55550_, BlockPos p_55551_, Direction p_55552_) int
SculkSensorBlock.getSignal
(BlockState p_154437_, BlockGetter p_154438_, BlockPos p_154439_, Direction p_154440_) int
TargetBlock.getSignal
(BlockState p_57402_, BlockGetter p_57403_, BlockPos p_57404_, Direction p_57405_) int
TrappedChestBlock.getSignal
(BlockState p_57577_, BlockGetter p_57578_, BlockPos p_57579_, Direction p_57580_) int
TripWireHookBlock.getSignal
(BlockState p_57710_, BlockGetter p_57711_, BlockPos p_57712_, Direction p_57713_) int[]
ComposterBlock.EmptyContainer.getSlotsForFace
(Direction p_52012_) int[]
ComposterBlock.InputContainer.getSlotsForFace
(Direction p_52032_) int[]
ComposterBlock.OutputContainer.getSlotsForFace
(Direction p_52053_) MultifaceSpreader.getSpreadFromFaceTowardDirection
(BlockState p_221613_, BlockGetter p_221614_, BlockPos p_221615_, Direction p_221616_, Direction p_221617_, MultifaceSpreader.SpreadPredicate p_221618_) abstract MultifaceSpreader.SpreadPos
MultifaceSpreader.SpreadType.getSpreadPos
(BlockPos p_221741_, Direction p_221742_, Direction p_221743_) MultifaceBlock.getStateForPlacement
(BlockState p_153941_, BlockGetter p_153942_, BlockPos p_153943_, Direction p_153944_) MultifaceSpreader.DefaultSpreaderConfig.getStateForPlacement
(BlockState p_221694_, BlockGetter p_221695_, BlockPos p_221696_, Direction p_221697_) MultifaceSpreader.SpreadConfig.getStateForPlacement
(BlockState p_221707_, BlockGetter p_221708_, BlockPos p_221709_, Direction p_221710_) private static void
PointedDripstoneBlock.grow
(ServerLevel p_154036_, BlockPos p_154037_, Direction p_154038_) static boolean
MultifaceBlock.hasFace
(BlockState p_153901_, Direction p_153902_) default boolean
MultifaceSpreader.SpreadConfig.hasFace
(BlockState p_221712_, Direction p_221713_) private static int
static boolean
VineBlock.isAcceptableNeighbour
(BlockGetter p_57854_, BlockPos p_57855_, Direction p_57856_) static boolean
Block.isFaceFull
(VoxelShape p_49919_, Direction p_49920_) protected boolean
MultifaceBlock.isFaceSupported
(Direction p_153921_) private static boolean
PointedDripstoneBlock.isPointedDripstoneWithDirection
(BlockState p_154208_, Direction p_154209_) private static boolean
private boolean
BellBlock.isProperHit
(BlockState p_49740_, Direction p_49741_, double p_49742_) abstract boolean
SupportType.isSupporting
(BlockState p_57209_, BlockGetter p_57210_, BlockPos p_57211_, Direction p_57212_) private static boolean
PointedDripstoneBlock.isUnmergedTipWithDirection
(BlockState p_154144_, Direction p_154145_) private static boolean
SculkSpreader.ChargeCursor.isUnobstructed
(LevelAccessor p_222322_, BlockPos p_222323_, Direction p_222324_) private static boolean
PointedDripstoneBlock.isValidPointedDripstonePlacement
(LevelReader p_154222_, BlockPos p_154223_, Direction p_154224_) boolean
MultifaceBlock.isValidStateForPlacement
(BlockGetter p_221572_, BlockState p_221573_, BlockPos p_221574_, Direction p_221575_) private void
TripWireHookBlock.notifyNeighbors
(Level p_57694_, BlockPos p_57695_, Direction p_57696_) void
TntBlock.onCaughtFire
(BlockState state, Level world, BlockPos pos, Direction face, LivingEntity igniter) protected static boolean
BigDripleafBlock.place
(LevelAccessor p_152242_, BlockPos p_152243_, FluidState p_152244_, Direction p_152245_) protected static boolean
BigDripleafStemBlock.place
(LevelAccessor p_152350_, BlockPos p_152351_, FluidState p_152352_, Direction p_152353_) static void
BigDripleafBlock.placeWithRandomHeight
(LevelAccessor p_220793_, RandomSource p_220794_, BlockPos p_220795_, Direction p_220796_) static void
Block.popResourceFromFace
(Level p_152436_, BlockPos p_152437_, Direction p_152438_, ItemStack p_152439_) protected static boolean
RedStoneWireBlock.shouldConnectTo
(BlockState p_55595_, Direction p_55596_) boolean
TripWireBlock.shouldConnectTo
(BlockState p_57642_, Direction p_57643_) static boolean
Block.shouldRenderFace
(BlockState p_152445_, BlockGetter p_152446_, BlockPos p_152447_, Direction p_152448_, BlockPos p_152449_) private BlockState
WallBlock.sideUpdate
(LevelReader p_57989_, BlockPos p_57990_, BlockState p_57991_, BlockPos p_57992_, BlockState p_57993_, Direction p_57994_) boolean
HalfTransparentBlock.skipRendering
(BlockState p_53972_, BlockState p_53973_, Direction p_53974_) boolean
IronBarsBlock.skipRendering
(BlockState p_54207_, BlockState p_54208_, Direction p_54209_) boolean
LiquidBlock.skipRendering
(BlockState p_54716_, BlockState p_54717_, Direction p_54718_) boolean
MangroveRootsBlock.skipRendering
(BlockState p_221510_, BlockState p_221511_, Direction p_221512_) boolean
PowderSnowBlock.skipRendering
(BlockState p_154268_, BlockState p_154269_, Direction p_154270_) private void
RedStoneWireBlock.spawnParticlesAlongLine
(Level p_221923_, RandomSource p_221924_, BlockPos p_221925_, Vec3 p_221926_, Direction p_221927_, Direction p_221928_, float p_221929_, float p_221930_) private long
MultifaceSpreader.spreadFromFaceTowardAllDirections
(BlockState p_221645_, LevelAccessor p_221646_, BlockPos p_221647_, Direction p_221648_, boolean p_221649_) MultifaceSpreader.spreadFromFaceTowardDirection
(BlockState p_221638_, LevelAccessor p_221639_, BlockPos p_221640_, Direction p_221641_, Direction p_221642_, boolean p_221643_) MultifaceSpreader.spreadFromFaceTowardRandomDirection
(BlockState p_221631_, LevelAccessor p_221632_, BlockPos p_221633_, Direction p_221634_, RandomSource p_221635_, boolean p_221636_) protected boolean
MultifaceSpreader.DefaultSpreaderConfig.stateCanBeReplaced
(BlockGetter p_221688_, BlockPos p_221689_, BlockPos p_221690_, Direction p_221691_, BlockState p_221692_) boolean
SculkVeinBlock.SculkVeinSpreaderConfig.stateCanBeReplaced
(BlockGetter p_222405_, BlockPos p_222406_, BlockPos p_222407_, Direction p_222408_, BlockState p_222409_) private void
FireBlock.tryCatchFire
(Level p_53432_, BlockPos p_53433_, int p_53434_, RandomSource p_53435_, int p_53436_, Direction face) AmethystClusterBlock.updateShape
(BlockState p_152036_, Direction p_152037_, BlockState p_152038_, LevelAccessor p_152039_, BlockPos p_152040_, BlockPos p_152041_) AttachedStemBlock.updateShape
(BlockState p_48848_, Direction p_48849_, BlockState p_48850_, LevelAccessor p_48851_, BlockPos p_48852_, BlockPos p_48853_) BambooBlock.updateShape
(BlockState p_48921_, Direction p_48922_, BlockState p_48923_, LevelAccessor p_48924_, BlockPos p_48925_, BlockPos p_48926_) BambooSaplingBlock.updateShape
(BlockState p_48990_, Direction p_48991_, BlockState p_48992_, LevelAccessor p_48993_, BlockPos p_48994_, BlockPos p_48995_) BannerBlock.updateShape
(BlockState p_49029_, Direction p_49030_, BlockState p_49031_, LevelAccessor p_49032_, BlockPos p_49033_, BlockPos p_49034_) BaseCoralPlantTypeBlock.updateShape
(BlockState p_49173_, Direction p_49174_, BlockState p_49175_, LevelAccessor p_49176_, BlockPos p_49177_, BlockPos p_49178_) BaseCoralWallFanBlock.updateShape
(BlockState p_49210_, Direction p_49211_, BlockState p_49212_, LevelAccessor p_49213_, BlockPos p_49214_, BlockPos p_49215_) BasePressurePlateBlock.updateShape
(BlockState p_49329_, Direction p_49330_, BlockState p_49331_, LevelAccessor p_49332_, BlockPos p_49333_, BlockPos p_49334_) BaseRailBlock.updateShape
(BlockState p_152151_, Direction p_152152_, BlockState p_152153_, LevelAccessor p_152154_, BlockPos p_152155_, BlockPos p_152156_) BedBlock.updateShape
(BlockState p_49525_, Direction p_49526_, BlockState p_49527_, LevelAccessor p_49528_, BlockPos p_49529_, BlockPos p_49530_) BeehiveBlock.updateShape
(BlockState p_49639_, Direction p_49640_, BlockState p_49641_, LevelAccessor p_49642_, BlockPos p_49643_, BlockPos p_49644_) BellBlock.updateShape
(BlockState p_49744_, Direction p_49745_, BlockState p_49746_, LevelAccessor p_49747_, BlockPos p_49748_, BlockPos p_49749_) BigDripleafBlock.updateShape
(BlockState p_152293_, Direction p_152294_, BlockState p_152295_, LevelAccessor p_152296_, BlockPos p_152297_, BlockPos p_152298_) BigDripleafStemBlock.updateShape
(BlockState p_152369_, Direction p_152370_, BlockState p_152371_, LevelAccessor p_152372_, BlockPos p_152373_, BlockPos p_152374_) BubbleColumnBlock.updateShape
(BlockState p_50990_, Direction p_50991_, BlockState p_50992_, LevelAccessor p_50993_, BlockPos p_50994_, BlockPos p_50995_) BushBlock.updateShape
(BlockState p_51032_, Direction p_51033_, BlockState p_51034_, LevelAccessor p_51035_, BlockPos p_51036_, BlockPos p_51037_) CactusBlock.updateShape
(BlockState p_51157_, Direction p_51158_, BlockState p_51159_, LevelAccessor p_51160_, BlockPos p_51161_, BlockPos p_51162_) CakeBlock.updateShape
(BlockState p_51213_, Direction p_51214_, BlockState p_51215_, LevelAccessor p_51216_, BlockPos p_51217_, BlockPos p_51218_) CampfireBlock.updateShape
(BlockState p_51298_, Direction p_51299_, BlockState p_51300_, LevelAccessor p_51301_, BlockPos p_51302_, BlockPos p_51303_) CandleBlock.updateShape
(BlockState p_152833_, Direction p_152834_, BlockState p_152835_, LevelAccessor p_152836_, BlockPos p_152837_, BlockPos p_152838_) CandleCakeBlock.updateShape
(BlockState p_152898_, Direction p_152899_, BlockState p_152900_, LevelAccessor p_152901_, BlockPos p_152902_, BlockPos p_152903_) CarpetBlock.updateShape
(BlockState p_152926_, Direction p_152927_, BlockState p_152928_, LevelAccessor p_152929_, BlockPos p_152930_, BlockPos p_152931_) ChainBlock.updateShape
(BlockState p_51461_, Direction p_51462_, BlockState p_51463_, LevelAccessor p_51464_, BlockPos p_51465_, BlockPos p_51466_) ChestBlock.updateShape
(BlockState p_51555_, Direction p_51556_, BlockState p_51557_, LevelAccessor p_51558_, BlockPos p_51559_, BlockPos p_51560_) ChorusFlowerBlock.updateShape
(BlockState p_51687_, Direction p_51688_, BlockState p_51689_, LevelAccessor p_51690_, BlockPos p_51691_, BlockPos p_51692_) ChorusPlantBlock.updateShape
(BlockState p_51728_, Direction p_51729_, BlockState p_51730_, LevelAccessor p_51731_, BlockPos p_51732_, BlockPos p_51733_) CocoaBlock.updateShape
(BlockState p_51771_, Direction p_51772_, BlockState p_51773_, LevelAccessor p_51774_, BlockPos p_51775_, BlockPos p_51776_) ConcretePowderBlock.updateShape
(BlockState p_52074_, Direction p_52075_, BlockState p_52076_, LevelAccessor p_52077_, BlockPos p_52078_, BlockPos p_52079_) ConduitBlock.updateShape
(BlockState p_52111_, Direction p_52112_, BlockState p_52113_, LevelAccessor p_52114_, BlockPos p_52115_, BlockPos p_52116_) CoralBlock.updateShape
(BlockState p_52143_, Direction p_52144_, BlockState p_52145_, LevelAccessor p_52146_, BlockPos p_52147_, BlockPos p_52148_) CoralFanBlock.updateShape
(BlockState p_52159_, Direction p_52160_, BlockState p_52161_, LevelAccessor p_52162_, BlockPos p_52163_, BlockPos p_52164_) CoralPlantBlock.updateShape
(BlockState p_52183_, Direction p_52184_, BlockState p_52185_, LevelAccessor p_52186_, BlockPos p_52187_, BlockPos p_52188_) CoralWallFanBlock.updateShape
(BlockState p_52210_, Direction p_52211_, BlockState p_52212_, LevelAccessor p_52213_, BlockPos p_52214_, BlockPos p_52215_) DirtPathBlock.updateShape
(BlockState p_153152_, Direction p_153153_, BlockState p_153154_, LevelAccessor p_153155_, BlockPos p_153156_, BlockPos p_153157_) DoorBlock.updateShape
(BlockState p_52796_, Direction p_52797_, BlockState p_52798_, LevelAccessor p_52799_, BlockPos p_52800_, BlockPos p_52801_) DoublePlantBlock.updateShape
(BlockState p_52894_, Direction p_52895_, BlockState p_52896_, LevelAccessor p_52897_, BlockPos p_52898_, BlockPos p_52899_) EnderChestBlock.updateShape
(BlockState p_53160_, Direction p_53161_, BlockState p_53162_, LevelAccessor p_53163_, BlockPos p_53164_, BlockPos p_53165_) FaceAttachedHorizontalDirectionalBlock.updateShape
(BlockState p_53190_, Direction p_53191_, BlockState p_53192_, LevelAccessor p_53193_, BlockPos p_53194_, BlockPos p_53195_) FallingBlock.updateShape
(BlockState p_53226_, Direction p_53227_, BlockState p_53228_, LevelAccessor p_53229_, BlockPos p_53230_, BlockPos p_53231_) FarmBlock.updateShape
(BlockState p_53276_, Direction p_53277_, BlockState p_53278_, LevelAccessor p_53279_, BlockPos p_53280_, BlockPos p_53281_) FenceBlock.updateShape
(BlockState p_53323_, Direction p_53324_, BlockState p_53325_, LevelAccessor p_53326_, BlockPos p_53327_, BlockPos p_53328_) FenceGateBlock.updateShape
(BlockState p_53382_, Direction p_53383_, BlockState p_53384_, LevelAccessor p_53385_, BlockPos p_53386_, BlockPos p_53387_) FireBlock.updateShape
(BlockState p_53458_, Direction p_53459_, BlockState p_53460_, LevelAccessor p_53461_, BlockPos p_53462_, BlockPos p_53463_) FlowerPotBlock.updateShape
(BlockState p_53547_, Direction p_53548_, BlockState p_53549_, LevelAccessor p_53550_, BlockPos p_53551_, BlockPos p_53552_) FrogspawnBlock.updateShape
(BlockState p_221213_, Direction p_221214_, BlockState p_221215_, LevelAccessor p_221216_, BlockPos p_221217_, BlockPos p_221218_) GlowLichenBlock.updateShape
(BlockState p_153302_, Direction p_153303_, BlockState p_153304_, LevelAccessor p_153305_, BlockPos p_153306_, BlockPos p_153307_) GrowingPlantBodyBlock.updateShape
(BlockState p_53913_, Direction p_53914_, BlockState p_53915_, LevelAccessor p_53916_, BlockPos p_53917_, BlockPos p_53918_) GrowingPlantHeadBlock.updateShape
(BlockState p_53951_, Direction p_53952_, BlockState p_53953_, LevelAccessor p_53954_, BlockPos p_53955_, BlockPos p_53956_) HangingRootsBlock.updateShape
(BlockState p_153351_, Direction p_153352_, BlockState p_153353_, LevelAccessor p_153354_, BlockPos p_153355_, BlockPos p_153356_) HugeMushroomBlock.updateShape
(BlockState p_54146_, Direction p_54147_, BlockState p_54148_, LevelAccessor p_54149_, BlockPos p_54150_, BlockPos p_54151_) IronBarsBlock.updateShape
(BlockState p_54211_, Direction p_54212_, BlockState p_54213_, LevelAccessor p_54214_, BlockPos p_54215_, BlockPos p_54216_) LadderBlock.updateShape
(BlockState p_54363_, Direction p_54364_, BlockState p_54365_, LevelAccessor p_54366_, BlockPos p_54367_, BlockPos p_54368_) LanternBlock.updateShape
(BlockState p_153483_, Direction p_153484_, BlockState p_153485_, LevelAccessor p_153486_, BlockPos p_153487_, BlockPos p_153488_) LeavesBlock.updateShape
(BlockState p_54440_, Direction p_54441_, BlockState p_54442_, LevelAccessor p_54443_, BlockPos p_54444_, BlockPos p_54445_) LightBlock.updateShape
(BlockState p_153680_, Direction p_153681_, BlockState p_153682_, LevelAccessor p_153683_, BlockPos p_153684_, BlockPos p_153685_) LightningRodBlock.updateShape
(BlockState p_153739_, Direction p_153740_, BlockState p_153741_, LevelAccessor p_153742_, BlockPos p_153743_, BlockPos p_153744_) LiquidBlock.updateShape
(BlockState p_54723_, Direction p_54724_, BlockState p_54725_, LevelAccessor p_54726_, BlockPos p_54727_, BlockPos p_54728_) MagmaBlock.updateShape
(BlockState p_54811_, Direction p_54812_, BlockState p_54813_, LevelAccessor p_54814_, BlockPos p_54815_, BlockPos p_54816_) MangrovePropaguleBlock.updateShape
(BlockState p_221477_, Direction p_221478_, BlockState p_221479_, LevelAccessor p_221480_, BlockPos p_221481_, BlockPos p_221482_) MangroveRootsBlock.updateShape
(BlockState p_221514_, Direction p_221515_, BlockState p_221516_, LevelAccessor p_221517_, BlockPos p_221518_, BlockPos p_221519_) MultifaceBlock.updateShape
(BlockState p_153904_, Direction p_153905_, BlockState p_153906_, LevelAccessor p_153907_, BlockPos p_153908_, BlockPos p_153909_) NetherPortalBlock.updateShape
(BlockState p_54928_, Direction p_54929_, BlockState p_54930_, LevelAccessor p_54931_, BlockPos p_54932_, BlockPos p_54933_) NoteBlock.updateShape
(BlockState p_55048_, Direction p_55049_, BlockState p_55050_, LevelAccessor p_55051_, BlockPos p_55052_, BlockPos p_55053_) ObserverBlock.updateShape
(BlockState p_55118_, Direction p_55119_, BlockState p_55120_, LevelAccessor p_55121_, BlockPos p_55122_, BlockPos p_55123_) PointedDripstoneBlock.updateShape
(BlockState p_154147_, Direction p_154148_, BlockState p_154149_, LevelAccessor p_154150_, BlockPos p_154151_, BlockPos p_154152_) RedstoneWallTorchBlock.updateShape
(BlockState p_55772_, Direction p_55773_, BlockState p_55774_, LevelAccessor p_55775_, BlockPos p_55776_, BlockPos p_55777_) RedStoneWireBlock.updateShape
(BlockState p_55598_, Direction p_55599_, BlockState p_55600_, LevelAccessor p_55601_, BlockPos p_55602_, BlockPos p_55603_) RepeaterBlock.updateShape
(BlockState p_55821_, Direction p_55822_, BlockState p_55823_, LevelAccessor p_55824_, BlockPos p_55825_, BlockPos p_55826_) ScaffoldingBlock.updateShape
(BlockState p_56044_, Direction p_56045_, BlockState p_56046_, LevelAccessor p_56047_, BlockPos p_56048_, BlockPos p_56049_) SculkSensorBlock.updateShape
(BlockState p_154457_, Direction p_154458_, BlockState p_154459_, LevelAccessor p_154460_, BlockPos p_154461_, BlockPos p_154462_) SculkShriekerBlock.updateShape
(BlockState p_222204_, Direction p_222205_, BlockState p_222206_, LevelAccessor p_222207_, BlockPos p_222208_, BlockPos p_222209_) SculkVeinBlock.updateShape
(BlockState p_222384_, Direction p_222385_, BlockState p_222386_, LevelAccessor p_222387_, BlockPos p_222388_, BlockPos p_222389_) SeagrassBlock.updateShape
(BlockState p_154530_, Direction p_154531_, BlockState p_154532_, LevelAccessor p_154533_, BlockPos p_154534_, BlockPos p_154535_) SeaPickleBlock.updateShape
(BlockState p_56113_, Direction p_56114_, BlockState p_56115_, LevelAccessor p_56116_, BlockPos p_56117_, BlockPos p_56118_) SignBlock.updateShape
(BlockState p_56285_, Direction p_56286_, BlockState p_56287_, LevelAccessor p_56288_, BlockPos p_56289_, BlockPos p_56290_) SlabBlock.updateShape
(BlockState p_56381_, Direction p_56382_, BlockState p_56383_, LevelAccessor p_56384_, BlockPos p_56385_, BlockPos p_56386_) SmallDripleafBlock.updateShape
(BlockState p_154625_, Direction p_154626_, BlockState p_154627_, LevelAccessor p_154628_, BlockPos p_154629_, BlockPos p_154630_) SnowLayerBlock.updateShape
(BlockState p_56606_, Direction p_56607_, BlockState p_56608_, LevelAccessor p_56609_, BlockPos p_56610_, BlockPos p_56611_) SnowyDirtBlock.updateShape
(BlockState p_56644_, Direction p_56645_, BlockState p_56646_, LevelAccessor p_56647_, BlockPos p_56648_, BlockPos p_56649_) SoulFireBlock.updateShape
(BlockState p_56659_, Direction p_56660_, BlockState p_56661_, LevelAccessor p_56662_, BlockPos p_56663_, BlockPos p_56664_) SoulSandBlock.updateShape
(BlockState p_56689_, Direction p_56690_, BlockState p_56691_, LevelAccessor p_56692_, BlockPos p_56693_, BlockPos p_56694_) SporeBlossomBlock.updateShape
(BlockState p_154713_, Direction p_154714_, BlockState p_154715_, LevelAccessor p_154716_, BlockPos p_154717_, BlockPos p_154718_) StairBlock.updateShape
(BlockState p_56925_, Direction p_56926_, BlockState p_56927_, LevelAccessor p_56928_, BlockPos p_56929_, BlockPos p_56930_) StandingSignBlock.updateShape
(BlockState p_57005_, Direction p_57006_, BlockState p_57007_, LevelAccessor p_57008_, BlockPos p_57009_, BlockPos p_57010_) SugarCaneBlock.updateShape
(BlockState p_57179_, Direction p_57180_, BlockState p_57181_, LevelAccessor p_57182_, BlockPos p_57183_, BlockPos p_57184_) TorchBlock.updateShape
(BlockState p_57503_, Direction p_57504_, BlockState p_57505_, LevelAccessor p_57506_, BlockPos p_57507_, BlockPos p_57508_) TrapDoorBlock.updateShape
(BlockState p_57554_, Direction p_57555_, BlockState p_57556_, LevelAccessor p_57557_, BlockPos p_57558_, BlockPos p_57559_) TripWireBlock.updateShape
(BlockState p_57645_, Direction p_57646_, BlockState p_57647_, LevelAccessor p_57648_, BlockPos p_57649_, BlockPos p_57650_) TripWireHookBlock.updateShape
(BlockState p_57731_, Direction p_57732_, BlockState p_57733_, LevelAccessor p_57734_, BlockPos p_57735_, BlockPos p_57736_) VineBlock.updateShape
(BlockState p_57875_, Direction p_57876_, BlockState p_57877_, LevelAccessor p_57878_, BlockPos p_57879_, BlockPos p_57880_) WallBannerBlock.updateShape
(BlockState p_57935_, Direction p_57936_, BlockState p_57937_, LevelAccessor p_57938_, BlockPos p_57939_, BlockPos p_57940_) WallBlock.updateShape
(BlockState p_58014_, Direction p_58015_, BlockState p_58016_, LevelAccessor p_58017_, BlockPos p_58018_, BlockPos p_58019_) WallSignBlock.updateShape
(BlockState p_58083_, Direction p_58084_, BlockState p_58085_, LevelAccessor p_58086_, BlockPos p_58087_, BlockPos p_58088_) WallTorchBlock.updateShape
(BlockState p_58143_, Direction p_58144_, BlockState p_58145_, LevelAccessor p_58146_, BlockPos p_58147_, BlockPos p_58148_) Modifier and TypeMethodDescriptiondefault boolean
SculkBehaviour.attemptSpreadVein
(LevelAccessor p_222034_, BlockPos p_222035_, BlockState p_222036_, Collection<Direction> p_222037_, boolean p_222038_) private BlockState
MultifaceBlock.mapDirections
(BlockState p_153911_, Function<Direction, Direction> p_153912_) private BlockState
MultifaceBlock.mapDirections
(BlockState p_153911_, Function<Direction, Direction> p_153912_) static byte
MultifaceBlock.pack
(Collection<Direction> p_221577_) static boolean
SculkVeinBlock.regrow
(LevelAccessor p_222364_, BlockPos p_222365_, BlockState p_222366_, Collection<Direction> p_222367_) ModifierConstructorDescriptionBlockStatePairKey
(BlockState p_49984_, BlockState p_49985_, Direction p_49986_) protected
GrowingPlantBlock
(BlockBehaviour.Properties p_53863_, Direction p_53864_, VoxelShape p_53865_, boolean p_53866_) protected
GrowingPlantBodyBlock
(BlockBehaviour.Properties p_53886_, Direction p_53887_, VoxelShape p_53888_, boolean p_53889_) protected
GrowingPlantHeadBlock
(BlockBehaviour.Properties p_53928_, Direction p_53929_, VoxelShape p_53930_, boolean p_53931_, double p_53932_) Creates an instance of aSpreadPos
record class.ModifierConstructorDescriptionprivate
ChargeCursor
(BlockPos p_222299_, int p_222300_, int p_222301_, int p_222302_, Optional<Set<Direction>> p_222303_) -
Uses of Direction in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescriptionstatic ItemStack
HopperBlockEntity.addItem
(Container p_59327_, Container p_59328_, ItemStack p_59329_, Direction p_59330_) private static boolean
HopperBlockEntity.canPlaceItemInContainer
(Container p_59335_, ItemStack p_59336_, int p_59337_, Direction p_59338_) boolean
AbstractFurnaceBlockEntity.canPlaceItemThroughFace
(int p_58336_, ItemStack p_58337_, Direction p_58338_) boolean
BrewingStandBlockEntity.canPlaceItemThroughFace
(int p_58996_, ItemStack p_58997_, Direction p_58998_) boolean
ShulkerBoxBlockEntity.canPlaceItemThroughFace
(int p_59663_, ItemStack p_59664_, Direction p_59665_) private static boolean
HopperBlockEntity.canTakeItemFromContainer
(Container p_59381_, ItemStack p_59382_, int p_59383_, Direction p_59384_) boolean
AbstractFurnaceBlockEntity.canTakeItemThroughFace
(int p_58392_, ItemStack p_58393_, Direction p_58394_) boolean
BrewingStandBlockEntity.canTakeItemThroughFace
(int p_59020_, ItemStack p_59021_, Direction p_59022_) boolean
ShulkerBoxBlockEntity.canTakeItemThroughFace
(int p_59682_, ItemStack p_59683_, Direction p_59684_) <T> LazyOptional<T>
AbstractFurnaceBlockEntity.getCapability
(Capability<T> capability, Direction facing) <T> LazyOptional<T>
BaseContainerBlockEntity.getCapability
(Capability<T> cap, Direction side) <T> LazyOptional<T>
BrewingStandBlockEntity.getCapability
(Capability<T> capability, Direction facing) <T> LazyOptional<T>
ChestBlockEntity.getCapability
(Capability<T> cap, Direction side) private static IntStream
int[]
AbstractFurnaceBlockEntity.getSlotsForFace
(Direction p_58363_) int[]
BrewingStandBlockEntity.getSlotsForFace
(Direction p_59010_) int[]
ShulkerBoxBlockEntity.getSlotsForFace
(Direction p_59672_) private static boolean
HopperBlockEntity.isEmptyContainer
(Container p_59398_, Direction p_59399_) private static boolean
HopperBlockEntity.isFullContainer
(Container p_59386_, Direction p_59387_) void
boolean
TheEndGatewayBlockEntity.shouldRenderFace
(Direction p_59959_) boolean
TheEndPortalBlockEntity.shouldRenderFace
(Direction p_59980_) private static ItemStack
HopperBlockEntity.tryMoveInItem
(Container p_59321_, Container p_59322_, ItemStack p_59323_, int p_59324_, Direction p_59325_) private static boolean
HopperBlockEntity.tryTakeInItemFromSlot
(Hopper p_59355_, Container p_59356_, int p_59357_, Direction p_59358_) -
Uses of Direction in net.minecraft.world.level.block.piston
Modifier and TypeFieldDescriptionprivate Direction
PistonMovingBlockEntity.direction
private final Direction
PistonStructureResolver.pistonDirection
private final Direction
PistonStructureResolver.pushDirection
Modifier and TypeFieldDescriptionprivate static final ThreadLocal<Direction>
PistonMovingBlockEntity.NOCLIP
Modifier and TypeMethodDescriptionPistonMovingBlockEntity.getDirection()
PistonMovingBlockEntity.getMovementDirection()
PistonStructureResolver.getPushDirection()
Modifier and TypeMethodDescriptionprivate boolean
PistonStructureResolver.addBlockLine
(BlockPos p_60434_, Direction p_60435_) private static VoxelShape
PistonHeadBlock.calculateShape
(Direction p_60310_, boolean p_60311_) private static void
PistonMovingBlockEntity.fixEntityWithinPistonBase
(BlockPos p_155921_, Entity p_155922_, Direction p_155923_, double p_155924_) private static double
PistonMovingBlockEntity.getMovement
(AABB p_60368_, Direction p_60369_, AABB p_60370_) static AABB
PistonMath.getMovementArea
(AABB p_60329_, Direction p_60330_, double p_60331_) private boolean
PistonBaseBlock.getNeighborSignal
(Level p_60178_, BlockPos p_60179_, Direction p_60180_) static boolean
PistonBaseBlock.isPushable
(BlockState p_60205_, Level p_60206_, BlockPos p_60207_, Direction p_60208_, boolean p_60209_, Direction p_60210_) private boolean
PistonBaseBlock.moveBlocks
(Level p_60182_, BlockPos p_60183_, Direction p_60184_, boolean p_60185_) private static void
PistonMovingBlockEntity.moveEntityByPiston
(Direction p_60372_, Entity p_60373_, double p_60374_, Direction p_60375_) static BlockEntity
MovingPistonBlock.newMovingBlockEntity
(BlockPos p_155882_, BlockState p_155883_, BlockState p_155884_, Direction p_155885_, boolean p_155886_, boolean p_155887_) PistonHeadBlock.updateShape
(BlockState p_60301_, Direction p_60302_, BlockState p_60303_, LevelAccessor p_60304_, BlockPos p_60305_, BlockPos p_60306_) ModifierConstructorDescriptionPistonMovingBlockEntity
(BlockPos p_155904_, BlockState p_155905_, BlockState p_155906_, Direction p_155907_, boolean p_155908_, boolean p_155909_) PistonStructureResolver
(Level p_60418_, BlockPos p_60419_, Direction p_60420_, boolean p_60421_) -
Uses of Direction in net.minecraft.world.level.block.state
Modifier and TypeFieldDescriptionprivate static final Direction[]
BlockBehaviour.BlockStateBase.Cache.DIRECTIONS
protected static final Direction[]
BlockBehaviour.UPDATE_SHAPE_ORDER
Modifier and TypeMethodDescriptionfinal boolean
BlockBehaviour.BlockStateBase.entityCanStandOnFace
(BlockGetter p_60639_, BlockPos p_60640_, Entity p_60641_, Direction p_60642_) int
BlockBehaviour.BlockStateBase.getDirectSignal
(BlockGetter p_60776_, BlockPos p_60777_, Direction p_60778_) int
BlockBehaviour.getDirectSignal
(BlockState p_60559_, BlockGetter p_60560_, BlockPos p_60561_, Direction p_60562_) Deprecated.BlockBehaviour.BlockStateBase.getFaceOcclusionShape
(BlockGetter p_60656_, BlockPos p_60657_, Direction p_60658_) private static int
BlockBehaviour.BlockStateBase.Cache.getFaceSupportIndex
(Direction p_60867_, SupportType p_60868_) int
BlockBehaviour.BlockStateBase.getSignal
(BlockGetter p_60747_, BlockPos p_60748_, Direction p_60749_) int
BlockBehaviour.getSignal
(BlockState p_60483_, BlockGetter p_60484_, BlockPos p_60485_, Direction p_60486_) Deprecated.boolean
BlockBehaviour.BlockStateBase.Cache.isFaceSturdy
(Direction p_60862_, SupportType p_60863_) boolean
BlockBehaviour.BlockStateBase.isFaceSturdy
(BlockGetter p_60784_, BlockPos p_60785_, Direction p_60786_) boolean
BlockBehaviour.BlockStateBase.isFaceSturdy
(BlockGetter p_60660_, BlockPos p_60661_, Direction p_60662_, SupportType p_60663_) boolean
BlockBehaviour.BlockStateBase.skipRendering
(BlockState p_60720_, Direction p_60721_) boolean
BlockBehaviour.skipRendering
(BlockState p_60532_, BlockState p_60533_, Direction p_60534_) Deprecated.BlockBehaviour.BlockStateBase.updateShape
(Direction p_60729_, BlockState p_60730_, LevelAccessor p_60731_, BlockPos p_60732_, BlockPos p_60733_) BlockBehaviour.updateShape
(BlockState p_60541_, Direction p_60542_, BlockState p_60543_, LevelAccessor p_60544_, BlockPos p_60545_, BlockPos p_60546_) Deprecated. -
Uses of Direction in net.minecraft.world.level.block.state.pattern
Modifier and TypeFieldDescriptionprivate final Direction
BlockPattern.BlockPatternMatch.forwards
private final Direction
BlockPattern.BlockPatternMatch.up
Modifier and TypeMethodDescriptionBlockPattern.BlockPatternMatch.getForwards()
BlockPattern.BlockPatternMatch.getUp()
Modifier and TypeMethodDescriptionprivate BlockPattern.BlockPatternMatch
BlockPattern.matches
(BlockPos p_61198_, Direction p_61199_, Direction p_61200_, com.google.common.cache.LoadingCache<BlockPos, BlockInWorld> p_61201_) BlockPattern.matches
(LevelReader p_155965_, BlockPos p_155966_, Direction p_155967_, Direction p_155968_) protected static BlockPos
BlockPattern.translateAndRotate
(BlockPos p_61191_, Direction p_61192_, Direction p_61193_, int p_61194_, int p_61195_, int p_61196_) ModifierConstructorDescriptionBlockPatternMatch
(BlockPos p_61221_, Direction p_61222_, Direction p_61223_, com.google.common.cache.LoadingCache<BlockPos, BlockInWorld> p_61224_, int p_61225_, int p_61226_, int p_61227_) -
Uses of Direction in net.minecraft.world.level.block.state.properties
Modifier and TypeMethodDescriptionstatic DirectionProperty
DirectionProperty.create
(String p_61544_, Collection<Direction> p_61545_) static DirectionProperty
ModifierConstructorDescriptionprotected
DirectionProperty
(String p_61541_, Collection<Direction> p_61542_) -
Uses of Direction in net.minecraft.world.level.chunk
Modifier and TypeMethodDescription<T> LazyOptional<T>
LevelChunk.getCapability
(Capability<T> cap, Direction side) UpgradeData.BlockFixer.updateShape
(BlockState p_63352_, Direction p_63353_, BlockState p_63354_, LevelAccessor p_63355_, BlockPos p_63356_, BlockPos p_63357_) private static BlockState
UpgradeData.updateState
(BlockState p_63336_, Direction p_63337_, LevelAccessor p_63338_, BlockPos p_63339_, BlockPos p_63340_) -
Uses of Direction in net.minecraft.world.level.levelgen
Modifier and TypeMethodDescriptionprivate static OptionalInt
Column.scanDirection
(LevelSimulatedReader p_158168_, int p_158169_, Predicate<BlockState> p_158170_, Predicate<BlockState> p_158171_, BlockPos.MutableBlockPos p_158172_, int p_158173_, Direction p_158174_) -
Uses of Direction in net.minecraft.world.level.levelgen.blockpredicates
Modifier and TypeMethodDescriptionstatic BlockPredicate
BlockPredicate.hasSturdyFace
(Direction p_198914_) static BlockPredicate
BlockPredicate.hasSturdyFace
(Vec3i p_198309_, Direction p_198310_) -
Uses of Direction in net.minecraft.world.level.levelgen.feature
Modifier and TypeFieldDescriptionprivate static final Direction[]
DeltaFeature.DIRECTIONS
private static final Direction[]
GeodeFeature.DIRECTIONS
private static final Direction[]
WeepingVinesFeature.DIRECTIONS
Modifier and TypeMethodDescriptionPointedDripstoneFeature.getTipDirection
(LevelAccessor p_225199_, BlockPos p_225200_, RandomSource p_225201_) Modifier and TypeMethodDescriptionprotected static void
DripstoneUtils.buildBaseToTipColumn
(Direction p_159652_, int p_159653_, boolean p_159654_, Consumer<BlockState> p_159655_) private static BlockState
DripstoneUtils.createPointedDripstone
(Direction p_159657_, DripstoneThickness p_159658_) protected static void
DripstoneUtils.growPointedDripstone
(LevelAccessor p_190848_, BlockPos p_190849_, Direction p_190850_, int p_190851_, boolean p_190852_) private static boolean
WaterloggedVegetationPatchFeature.isExposedDirection
(WorldGenLevel p_160651_, BlockPos p_160652_, BlockPos.MutableBlockPos p_160653_, Direction p_160654_) private void
DripstoneClusterFeature.replaceBlocksWithDripstoneBlocks
(WorldGenLevel p_159589_, BlockPos p_159590_, int p_159591_, Direction p_159592_) Modifier and TypeMethodDescriptionstatic boolean
MultifaceGrowthFeature.placeGrowthIfPossible
(WorldGenLevel p_225158_, BlockPos p_225159_, BlockState p_225160_, MultifaceGrowthConfiguration p_225161_, RandomSource p_225162_, List<Direction> p_225163_) -
Uses of Direction in net.minecraft.world.level.levelgen.feature.configurations
Modifier and TypeFieldDescriptionprivate final Direction
BlockColumnConfiguration.direction
The field for thedirection
record component.Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.ObjectArrayList<Direction>
MultifaceGrowthConfiguration.validDirections
Modifier and TypeMethodDescriptionBlockColumnConfiguration.direction()
Returns the value of thedirection
record component.Modifier and TypeMethodDescriptionMultifaceGrowthConfiguration.getShuffledDirections
(RandomSource p_225400_) MultifaceGrowthConfiguration.getShuffledDirectionsExcept
(RandomSource p_225402_, Direction p_225403_) Modifier and TypeMethodDescriptionMultifaceGrowthConfiguration.getShuffledDirectionsExcept
(RandomSource p_225402_, Direction p_225403_) ModifierConstructorDescriptionBlockColumnConfiguration
(List<BlockColumnConfiguration.Layer> layers, Direction direction, BlockPredicate allowedPlacement, boolean prioritizeTip) Creates an instance of aBlockColumnConfiguration
record class. -
Uses of Direction in net.minecraft.world.level.levelgen.feature.rootplacers
Modifier and TypeMethodDescriptionMangroveRootPlacer.potentialRootPositions
(BlockPos p_225851_, Direction p_225852_, RandomSource p_225853_, BlockPos p_225854_) private boolean
MangroveRootPlacer.simulateRoots
(LevelSimulatedReader p_225823_, RandomSource p_225824_, BlockPos p_225825_, Direction p_225826_, BlockPos p_225827_, List<BlockPos> p_225828_, int p_225829_) -
Uses of Direction in net.minecraft.world.level.levelgen.feature.treedecorators
Modifier and TypeFieldDescriptionprivate static final Direction[]
BeehiveDecorator.SPAWN_DIRECTIONS
private static final Direction
BeehiveDecorator.WORLDGEN_FACING
Modifier and TypeMethodDescriptionprivate boolean
AttachedToLeavesDecorator.hasRequiredEmptyBlocks
(TreeDecorator.Context p_226002_, BlockPos p_226003_, Direction p_226004_) ModifierConstructorDescriptionAttachedToLeavesDecorator
(float p_225988_, int p_225989_, int p_225990_, BlockStateProvider p_225991_, int p_225992_, List<Direction> p_225993_) -
Uses of Direction in net.minecraft.world.level.levelgen.feature.trunkplacers
Modifier and TypeMethodDescriptionprivate void
UpwardsBranchingTrunkPlacer.placeBranch
(LevelSimulatedReader p_226213_, BiConsumer<BlockPos, BlockState> p_226214_, RandomSource p_226215_, int p_226216_, TreeConfiguration p_226217_, List<FoliagePlacer.FoliageAttachment> p_226218_, BlockPos.MutableBlockPos p_226219_, int p_226220_, Direction p_226221_, int p_226222_, int p_226223_) -
Uses of Direction in net.minecraft.world.level.levelgen.placement
Modifier and TypeFieldDescriptionprivate final Direction
CaveSurface.direction
private final Direction
EnvironmentScanPlacement.directionOfSearch
Modifier and TypeMethodDescriptionstatic EnvironmentScanPlacement
EnvironmentScanPlacement.scanningFor
(Direction p_191654_, BlockPredicate p_191655_, int p_191656_) static EnvironmentScanPlacement
EnvironmentScanPlacement.scanningFor
(Direction p_191658_, BlockPredicate p_191659_, BlockPredicate p_191660_, int p_191661_) ModifierConstructorDescriptionprivate
CaveSurface
(Direction p_162104_, int p_162105_, String p_162106_) private
EnvironmentScanPlacement
(Direction p_191645_, BlockPredicate p_191646_, BlockPredicate p_191647_, int p_191648_) -
Uses of Direction in net.minecraft.world.level.levelgen.structure
Modifier and TypeMethodDescriptionStructurePiece.getOrientation()
protected static Direction
StructurePiece.getRandomHorizontalDirection
(RandomSource p_226761_) Modifier and TypeMethodDescriptionprotected boolean
StructurePiece.createDispenser
(WorldGenLevel p_226820_, BoundingBox p_226821_, RandomSource p_226822_, int p_226823_, int p_226824_, int p_226825_, Direction p_226826_, ResourceLocation p_226827_) protected static BoundingBox
StructurePiece.makeBoundingBox
(int p_163542_, int p_163543_, int p_163544_, Direction p_163545_, int p_163546_, int p_163547_, int p_163548_) static BoundingBox
BoundingBox.orientBox
(int p_71032_, int p_71033_, int p_71034_, int p_71035_, int p_71036_, int p_71037_, int p_71038_, int p_71039_, int p_71040_, Direction p_71041_) void
StructurePiece.setOrientation
(Direction p_73520_) ModifierConstructorDescriptionprotected
ScatteredFeaturePiece
(StructurePieceType p_209920_, int p_209921_, int p_209922_, int p_209923_, int p_209924_, int p_209925_, int p_209926_, Direction p_209927_) -
Uses of Direction in net.minecraft.world.level.levelgen.structure.structures
Modifier and TypeFieldDescriptionprivate final Direction
MineshaftPieces.MineShaftCrossing.direction
Modifier and TypeMethodDescriptionWoodlandMansionPieces.MansionGrid.get1x2RoomDirection
(WoodlandMansionPieces.SimpleGrid p_230068_, int p_230069_, int p_230070_, int p_230071_, int p_230072_) Modifier and TypeMethodDescriptionprivate 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_) OceanMonumentPieces.FitDoubleXRoom.create
(Direction p_228594_, OceanMonumentPieces.RoomDefinition p_228595_, RandomSource p_228596_) OceanMonumentPieces.FitDoubleXYRoom.create
(Direction p_228601_, OceanMonumentPieces.RoomDefinition p_228602_, RandomSource p_228603_) OceanMonumentPieces.FitDoubleYRoom.create
(Direction p_228608_, OceanMonumentPieces.RoomDefinition p_228609_, RandomSource p_228610_) OceanMonumentPieces.FitDoubleYZRoom.create
(Direction p_228615_, OceanMonumentPieces.RoomDefinition p_228616_, RandomSource p_228617_) OceanMonumentPieces.FitDoubleZRoom.create
(Direction p_228622_, OceanMonumentPieces.RoomDefinition p_228623_, RandomSource p_228624_) OceanMonumentPieces.FitSimpleRoom.create
(Direction p_228629_, OceanMonumentPieces.RoomDefinition p_228630_, RandomSource p_228631_) OceanMonumentPieces.FitSimpleTopRoom.create
(Direction p_228636_, OceanMonumentPieces.RoomDefinition p_228637_, RandomSource p_228638_) OceanMonumentPieces.MonumentRoomFitter.create
(Direction p_228695_, OceanMonumentPieces.RoomDefinition p_228696_, RandomSource p_228697_) NetherFortressPieces.BridgeCrossing.createPiece
(StructurePieceAccessor p_228047_, int p_228048_, int p_228049_, int p_228050_, Direction p_228051_, int p_228052_) NetherFortressPieces.BridgeEndFiller.createPiece
(StructurePieceAccessor p_228073_, RandomSource p_228074_, int p_228075_, int p_228076_, int p_228077_, Direction p_228078_, int p_228079_) NetherFortressPieces.BridgeStraight.createPiece
(StructurePieceAccessor p_228106_, RandomSource p_228107_, int p_228108_, int p_228109_, int p_228110_, Direction p_228111_, int p_228112_) NetherFortressPieces.CastleCorridorStairsPiece.createPiece
(StructurePieceAccessor p_228135_, int p_228136_, int p_228137_, int p_228138_, Direction p_228139_, int p_228140_) NetherFortressPieces.CastleCorridorTBalconyPiece.createPiece
(StructurePieceAccessor p_228163_, int p_228164_, int p_228165_, int p_228166_, Direction p_228167_, int p_228168_) NetherFortressPieces.CastleEntrance.createPiece
(StructurePieceAccessor p_228192_, RandomSource p_228193_, int p_228194_, int p_228195_, int p_228196_, Direction p_228197_, int p_228198_) NetherFortressPieces.CastleSmallCorridorCrossingPiece.createPiece
(StructurePieceAccessor p_228221_, int p_228222_, int p_228223_, int p_228224_, Direction p_228225_, int p_228226_) NetherFortressPieces.CastleSmallCorridorLeftTurnPiece.createPiece
(StructurePieceAccessor p_228251_, RandomSource p_228252_, int p_228253_, int p_228254_, int p_228255_, Direction p_228256_, int p_228257_) NetherFortressPieces.CastleSmallCorridorPiece.createPiece
(StructurePieceAccessor p_228283_, int p_228284_, int p_228285_, int p_228286_, Direction p_228287_, int p_228288_) NetherFortressPieces.CastleSmallCorridorRightTurnPiece.createPiece
(StructurePieceAccessor p_228313_, RandomSource p_228314_, int p_228315_, int p_228316_, int p_228317_, Direction p_228318_, int p_228319_) NetherFortressPieces.CastleStalkRoom.createPiece
(StructurePieceAccessor p_228345_, int p_228346_, int p_228347_, int p_228348_, Direction p_228349_, int p_228350_) NetherFortressPieces.MonsterThrone.createPiece
(StructurePieceAccessor p_228370_, int p_228371_, int p_228372_, int p_228373_, int p_228374_, Direction p_228375_) NetherFortressPieces.RoomCrossing.createPiece
(StructurePieceAccessor p_228473_, int p_228474_, int p_228475_, int p_228476_, Direction p_228477_, int p_228478_) NetherFortressPieces.StairsRoom.createPiece
(StructurePieceAccessor p_228501_, int p_228502_, int p_228503_, int p_228504_, int p_228505_, Direction p_228506_) StrongholdPieces.ChestCorridor.createPiece
(StructurePieceAccessor p_229484_, RandomSource p_229485_, int p_229486_, int p_229487_, int p_229488_, Direction p_229489_, int p_229490_) StrongholdPieces.FiveCrossing.createPiece
(StructurePieceAccessor p_229546_, RandomSource p_229547_, int p_229548_, int p_229549_, int p_229550_, Direction p_229551_, int p_229552_) static StrongholdPieces.LeftTurn
StrongholdPieces.LeftTurn.createPiece
(StructurePieceAccessor p_229576_, RandomSource p_229577_, int p_229578_, int p_229579_, int p_229580_, Direction p_229581_, int p_229582_) static StrongholdPieces.Library
StrongholdPieces.Library.createPiece
(StructurePieceAccessor p_229604_, RandomSource p_229605_, int p_229606_, int p_229607_, int p_229608_, Direction p_229609_, int p_229610_) static StrongholdPieces.PortalRoom
StrongholdPieces.PortalRoom.createPiece
(StructurePieceAccessor p_229647_, int p_229648_, int p_229649_, int p_229650_, Direction p_229651_, int p_229652_) static StrongholdPieces.PrisonHall
StrongholdPieces.PrisonHall.createPiece
(StructurePieceAccessor p_229679_, RandomSource p_229680_, int p_229681_, int p_229682_, int p_229683_, Direction p_229684_, int p_229685_) static StrongholdPieces.RightTurn
StrongholdPieces.RightTurn.createPiece
(StructurePieceAccessor p_229706_, RandomSource p_229707_, int p_229708_, int p_229709_, int p_229710_, Direction p_229711_, int p_229712_) StrongholdPieces.RoomCrossing.createPiece
(StructurePieceAccessor p_229737_, RandomSource p_229738_, int p_229739_, int p_229740_, int p_229741_, Direction p_229742_, int p_229743_) static StrongholdPieces.StairsDown
StrongholdPieces.StairsDown.createPiece
(StructurePieceAccessor p_229787_, RandomSource p_229788_, int p_229789_, int p_229790_, int p_229791_, Direction p_229792_, int p_229793_) static StrongholdPieces.Straight
StrongholdPieces.Straight.createPiece
(StructurePieceAccessor p_229832_, RandomSource p_229833_, int p_229834_, int p_229835_, int p_229836_, Direction p_229837_, int p_229838_) StrongholdPieces.StraightStairsDown.createPiece
(StructurePieceAccessor p_229865_, RandomSource p_229866_, int p_229867_, int p_229868_, int p_229869_, Direction p_229870_, int p_229871_) private static MineshaftPieces.MineShaftPiece
MineshaftPieces.createRandomShaftPiece
(StructurePieceAccessor p_227716_, RandomSource p_227717_, int p_227718_, int p_227719_, int p_227720_, Direction p_227721_, int p_227722_, MineshaftStructure.Type p_227723_) (package private) static NetherFortressPieces.NetherBridgePiece
NetherFortressPieces.findAndCreateBridgePieceFactory
(NetherFortressPieces.PieceWeight p_228008_, StructurePieceAccessor p_228009_, RandomSource p_228010_, int p_228011_, int p_228012_, int p_228013_, Direction p_228014_, int p_228015_) private static StrongholdPieces.StrongholdPiece
StrongholdPieces.findAndCreatePieceFactory
(Class<? extends StrongholdPieces.StrongholdPiece> p_229427_, StructurePieceAccessor p_229428_, RandomSource p_229429_, int p_229430_, int p_229431_, int p_229432_, Direction p_229433_, int p_229434_) static BoundingBox
MineshaftPieces.MineShaftCorridor.findCorridorSize
(StructurePieceAccessor p_227799_, RandomSource p_227800_, int p_227801_, int p_227802_, int p_227803_, Direction p_227804_) static BoundingBox
MineshaftPieces.MineShaftCrossing.findCrossing
(StructurePieceAccessor p_227855_, RandomSource p_227856_, int p_227857_, int p_227858_, int p_227859_, Direction p_227860_) static BoundingBox
StrongholdPieces.FillerCorridor.findPieceBox
(StructurePieceAccessor p_229510_, RandomSource p_229511_, int p_229512_, int p_229513_, int p_229514_, Direction p_229515_) static BoundingBox
MineshaftPieces.MineShaftStairs.findStairs
(StructurePieceAccessor p_227951_, RandomSource p_227952_, int p_227953_, int p_227954_, int p_227955_, Direction p_227956_) (package private) static MineshaftPieces.MineShaftPiece
MineshaftPieces.generateAndAddPiece
(StructurePiece p_227707_, StructurePieceAccessor p_227708_, RandomSource p_227709_, int p_227710_, int p_227711_, int p_227712_, Direction p_227713_, int p_227714_) private StructurePiece
NetherFortressPieces.NetherBridgePiece.generateAndAddPiece
(NetherFortressPieces.StartPiece p_228392_, StructurePieceAccessor p_228393_, RandomSource p_228394_, int p_228395_, int p_228396_, int p_228397_, Direction p_228398_, int p_228399_, boolean p_228400_) (package private) static StructurePiece
StrongholdPieces.generateAndAddPiece
(StrongholdPieces.StartPiece p_229437_, StructurePieceAccessor p_229438_, RandomSource p_229439_, int p_229440_, int p_229441_, int p_229442_, Direction p_229443_, int p_229444_) NetherFortressPieces.NetherBridgePiece.generatePiece
(NetherFortressPieces.StartPiece p_228409_, List<NetherFortressPieces.PieceWeight> p_228410_, StructurePieceAccessor p_228411_, RandomSource p_228412_, int p_228413_, int p_228414_, int p_228415_, Direction p_228416_, int p_228417_) private static StrongholdPieces.StrongholdPiece
StrongholdPieces.generatePieceFromSmallDoor
(StrongholdPieces.StartPiece p_229418_, StructurePieceAccessor p_229419_, RandomSource p_229420_, int p_229421_, int p_229422_, int p_229423_, Direction p_229424_, int p_229425_) private static BoundingBox
OceanMonumentPieces.OceanMonumentPiece.makeBoundingBox
(Direction p_228875_, OceanMonumentPieces.RoomDefinition p_228876_, int p_228877_, int p_228878_, int p_228879_) private void
WoodlandMansionPieces.MansionGrid.recursiveCorridor
(WoodlandMansionPieces.SimpleGrid p_230058_, int p_230059_, int p_230060_, Direction p_230061_, int p_230062_) void
OceanMonumentPieces.RoomDefinition.setConnection
(Direction p_228948_, OceanMonumentPieces.RoomDefinition p_228949_) private void
WoodlandMansionPieces.MansionPiecePlacer.traverseOuterWalls
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_230089_, WoodlandMansionPieces.PlacementData p_230090_, WoodlandMansionPieces.SimpleGrid p_230091_, Direction p_230092_, int p_230093_, int p_230094_, int p_230095_, int p_230096_) ModifierConstructorDescriptionprotected
BridgeCrossing
(int p_228022_, int p_228023_, Direction p_228024_) BridgeCrossing
(int p_228026_, BoundingBox p_228027_, Direction p_228028_) BridgeEndFiller
(int p_228058_, RandomSource p_228059_, BoundingBox p_228060_, Direction p_228061_) BridgeStraight
(int p_228087_, RandomSource p_228088_, BoundingBox p_228089_, Direction p_228090_) CastleCorridorStairsPiece
(int p_228117_, BoundingBox p_228118_, Direction p_228119_) CastleCorridorTBalconyPiece
(int p_228145_, BoundingBox p_228146_, Direction p_228147_) CastleEntrance
(int p_228173_, RandomSource p_228174_, BoundingBox p_228175_, Direction p_228176_) CastleSmallCorridorCrossingPiece
(int p_228203_, BoundingBox p_228204_, Direction p_228205_) CastleSmallCorridorLeftTurnPiece
(int p_228232_, RandomSource p_228233_, BoundingBox p_228234_, Direction p_228235_) CastleSmallCorridorPiece
(int p_228265_, BoundingBox p_228266_, Direction p_228267_) CastleSmallCorridorRightTurnPiece
(int p_228294_, RandomSource p_228295_, BoundingBox p_228296_, Direction p_228297_) CastleStalkRoom
(int p_228327_, BoundingBox p_228328_, Direction p_228329_) ChestCorridor
(int p_229465_, RandomSource p_229466_, BoundingBox p_229467_, Direction p_229468_) FillerCorridor
(int p_229496_, BoundingBox p_229497_, Direction p_229498_) FiveCrossing
(int p_229527_, RandomSource p_229528_, BoundingBox p_229529_, Direction p_229530_) LeftTurn
(int p_229557_, RandomSource p_229558_, BoundingBox p_229559_, Direction p_229560_) Library
(int p_229589_, RandomSource p_229590_, BoundingBox p_229591_, Direction p_229592_) MineShaftCorridor
(int p_227731_, RandomSource p_227732_, BoundingBox p_227733_, Direction p_227734_, MineshaftStructure.Type p_227735_) MineShaftCrossing
(int p_227829_, BoundingBox p_227830_, Direction p_227831_, MineshaftStructure.Type p_227832_) MineShaftStairs
(int p_227932_, BoundingBox p_227933_, Direction p_227934_, MineshaftStructure.Type p_227935_) MonsterThrone
(int p_228356_, BoundingBox p_228357_, Direction p_228358_) MonumentBuilding
(RandomSource p_228648_, int p_228649_, int p_228650_, Direction p_228651_) OceanMonumentCoreRoom
(Direction p_228699_, OceanMonumentPieces.RoomDefinition p_228700_) OceanMonumentDoubleXRoom
(Direction p_228712_, OceanMonumentPieces.RoomDefinition p_228713_) OceanMonumentDoubleXYRoom
(Direction p_228725_, OceanMonumentPieces.RoomDefinition p_228726_) OceanMonumentDoubleYRoom
(Direction p_228738_, OceanMonumentPieces.RoomDefinition p_228739_) OceanMonumentDoubleYZRoom
(Direction p_228751_, OceanMonumentPieces.RoomDefinition p_228752_) OceanMonumentDoubleZRoom
(Direction p_228764_, OceanMonumentPieces.RoomDefinition p_228765_) OceanMonumentEntryRoom
(Direction p_228777_, OceanMonumentPieces.RoomDefinition p_228778_) OceanMonumentPenthouse
(Direction p_228790_, BoundingBox p_228791_) protected
OceanMonumentPiece
(StructurePieceType p_228828_, int p_228829_, Direction p_228830_, OceanMonumentPieces.RoomDefinition p_228831_, int p_228832_, int p_228833_, int p_228834_) OceanMonumentPiece
(StructurePieceType p_228836_, Direction p_228837_, int p_228838_, BoundingBox p_228839_) OceanMonumentSimpleRoom
(Direction p_228895_, OceanMonumentPieces.RoomDefinition p_228896_, RandomSource p_228897_) OceanMonumentSimpleTopRoom
(Direction p_228909_, OceanMonumentPieces.RoomDefinition p_228910_) OceanMonumentWingRoom
(Direction p_228923_, BoundingBox p_228924_, int p_228925_) PortalRoom
(int p_229629_, BoundingBox p_229630_, Direction p_229631_) PrisonHall
(int p_229660_, RandomSource p_229661_, BoundingBox p_229662_, Direction p_229663_) RightTurn
(int p_229687_, RandomSource p_229688_, BoundingBox p_229689_, Direction p_229690_) RoomCrossing
(int p_228455_, BoundingBox p_228456_, Direction p_228457_) RoomCrossing
(int p_229718_, RandomSource p_229719_, BoundingBox p_229720_, Direction p_229721_) StairsDown
(int p_229759_, RandomSource p_229760_, BoundingBox p_229761_, Direction p_229762_) StairsDown
(StructurePieceType p_229764_, int p_229765_, int p_229766_, int p_229767_, Direction p_229768_) StairsRoom
(int p_228483_, BoundingBox p_228484_, Direction p_228485_) Straight
(int p_229813_, RandomSource p_229814_, BoundingBox p_229815_, Direction p_229816_) StraightStairsDown
(int p_229846_, RandomSource p_229847_, BoundingBox p_229848_, Direction p_229849_) -
Uses of Direction in net.minecraft.world.level.lighting
Modifier and TypeFieldDescriptionprivate static final Direction[]
BlockLightEngine.DIRECTIONS
private static final Direction[]
LayerLightEngine.DIRECTIONS
private static final Direction[]
LayerLightSectionStorage.DIRECTIONS
private static final Direction[]
SkyLightEngine.DIRECTIONS
private static final Direction[]
SkyLightEngine.HORIZONTALS
private static final Direction[]
SkyLightSectionStorage.HORIZONTALS
Modifier and TypeMethodDescriptionstatic int
LayerLightEngine.getLightBlockInto
(BlockGetter p_75668_, BlockState p_75669_, BlockPos p_75670_, BlockState p_75671_, BlockPos p_75672_, Direction p_75673_, int p_75674_) protected VoxelShape
LayerLightEngine.getShape
(BlockState p_75679_, long p_75680_, Direction p_75681_) -
Uses of Direction in net.minecraft.world.level.material
Modifier and TypeMethodDescriptionprotected Map<Direction,
FluidState> FlowingFluid.getSpread
(LevelReader p_76080_, BlockPos p_76081_, BlockState p_76082_) Modifier and TypeMethodDescriptionboolean
EmptyFluid.canBeReplacedWith
(FluidState p_75930_, BlockGetter p_75931_, BlockPos p_75932_, Fluid p_75933_, Direction p_75934_) protected abstract boolean
Fluid.canBeReplacedWith
(FluidState p_76127_, BlockGetter p_76128_, BlockPos p_76129_, Fluid p_76130_, Direction p_76131_) boolean
FluidState.canBeReplacedWith
(BlockGetter p_76159_, BlockPos p_76160_, Fluid p_76161_, Direction p_76162_) boolean
LavaFluid.canBeReplacedWith
(FluidState p_76233_, BlockGetter p_76234_, BlockPos p_76235_, Fluid p_76236_, Direction p_76237_) boolean
WaterFluid.canBeReplacedWith
(FluidState p_76458_, BlockGetter p_76459_, BlockPos p_76460_, Fluid p_76461_, Direction p_76462_) private boolean
FlowingFluid.canPassThrough
(BlockGetter p_75964_, Fluid p_75965_, BlockPos p_75966_, BlockState p_75967_, Direction p_75968_, BlockPos p_75969_, BlockState p_75970_, FluidState p_75971_) private boolean
FlowingFluid.canPassThroughWall
(Direction p_76062_, BlockGetter p_76063_, BlockPos p_76064_, BlockState p_76065_, BlockPos p_76066_, BlockState p_76067_) protected boolean
FlowingFluid.canSpreadTo
(BlockGetter p_75978_, BlockPos p_75979_, BlockState p_75980_, Direction p_75981_, BlockPos p_75982_, BlockState p_75983_, FluidState p_75984_, Fluid p_75985_) protected int
FlowingFluid.getSlopeDistance
(LevelReader p_76027_, BlockPos p_76028_, int p_76029_, Direction p_76030_, BlockState p_76031_, BlockPos p_76032_, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> p_76033_, it.unimi.dsi.fastutil.shorts.Short2BooleanMap p_76034_) private boolean
LavaFluid.isFlammable
(LevelReader level, BlockPos pos, Direction face) protected boolean
FlowingFluid.isSolidFace
(BlockGetter p_75991_, BlockPos p_75992_, Direction p_75993_) protected void
FlowingFluid.spreadTo
(LevelAccessor p_76005_, BlockPos p_76006_, BlockState p_76007_, Direction p_76008_, FluidState p_76009_) protected void
LavaFluid.spreadTo
(LevelAccessor p_76220_, BlockPos p_76221_, BlockState p_76222_, Direction p_76223_, FluidState p_76224_) -
Uses of Direction in net.minecraft.world.level.pathfinder
Modifier and TypeMethodDescriptionprotected Node
WalkNodeEvaluator.findAcceptedNode
(int p_164726_, int p_164727_, int p_164728_, int p_164729_, double p_164730_, Direction p_164731_, BlockPathTypes p_164732_) -
Uses of Direction in net.minecraft.world.level.portal
Modifier and TypeMethodDescriptionprivate boolean
PortalForcer.canHostFrame
(BlockPos p_77662_, BlockPos.MutableBlockPos p_77663_, Direction p_77664_, int p_77665_) private int
PortalShape.getDistanceUntilEdgeAboveFrame
(BlockPos p_77736_, Direction p_77737_) -
Uses of Direction in net.minecraft.world.level.redstone
Modifier and TypeFieldDescriptionprivate final Direction
CollectingNeighborUpdater.ShapeUpdate.direction
The field for thedirection
record component.private final Direction
CollectingNeighborUpdater.MultiNeighborUpdate.skipDirection
static final Direction[]
NeighborUpdater.UPDATE_ORDER
Modifier and TypeMethodDescriptionCollectingNeighborUpdater.ShapeUpdate.direction()
Returns the value of thedirection
record component.Modifier and TypeMethodDescriptionstatic void
NeighborUpdater.executeShapeUpdate
(LevelAccessor p_230771_, Direction p_230772_, BlockState p_230773_, BlockPos p_230774_, BlockPos p_230775_, int p_230776_, int p_230777_) void
CollectingNeighborUpdater.shapeUpdate
(Direction p_230664_, BlockState p_230665_, BlockPos p_230666_, BlockPos p_230667_, int p_230668_, int p_230669_) void
InstantNeighborUpdater.shapeUpdate
(Direction p_230755_, BlockState p_230756_, BlockPos p_230757_, BlockPos p_230758_, int p_230759_, int p_230760_) void
NeighborUpdater.shapeUpdate
(Direction p_230791_, BlockState p_230792_, BlockPos p_230793_, BlockPos p_230794_, int p_230795_, int p_230796_) void
CollectingNeighborUpdater.updateNeighborsAtExceptFromFacing
(BlockPos p_230657_, Block p_230658_, Direction p_230659_) default void
NeighborUpdater.updateNeighborsAtExceptFromFacing
(BlockPos p_230788_, Block p_230789_, Direction p_230790_) ModifierConstructorDescription(package private)
MultiNeighborUpdate
(BlockPos p_230697_, Block p_230698_, Direction p_230699_) (package private)
ShapeUpdate
(Direction direction, BlockState state, BlockPos pos, BlockPos neighborPos, int updateFlags) Creates an instance of aShapeUpdate
record class. -
Uses of Direction in net.minecraft.world.phys
Modifier and TypeMethodDescriptionprivate static Direction
AABB.clipPoint
(double[] p_82348_, Direction p_82349_, double p_82350_, double p_82351_, double p_82352_, double p_82353_, double p_82354_, double p_82355_, double p_82356_, double p_82357_, Direction p_82358_, double p_82359_, double p_82360_, double p_82361_) private static Direction
AABB.getDirection
(AABB p_82326_, Vec3 p_82327_, double[] p_82328_, Direction p_82329_, double p_82330_, double p_82331_, double p_82332_) BlockHitResult.getDirection()
Modifier and TypeMethodDescriptionprivate static Direction
AABB.clipPoint
(double[] p_82348_, Direction p_82349_, double p_82350_, double p_82351_, double p_82352_, double p_82353_, double p_82354_, double p_82355_, double p_82356_, double p_82357_, Direction p_82358_, double p_82359_, double p_82360_, double p_82361_) private static Direction
AABB.getDirection
(AABB p_82326_, Vec3 p_82327_, double[] p_82328_, Direction p_82329_, double p_82330_, double p_82331_, double p_82332_) static BlockHitResult
BlockHitResult.withDirection
(Direction p_82433_) ModifierConstructorDescriptionprivate
BlockHitResult
(boolean p_82420_, Vec3 p_82421_, Direction p_82422_, BlockPos p_82423_, boolean p_82424_) BlockHitResult
(Vec3 p_82415_, Direction p_82416_, BlockPos p_82417_, boolean p_82418_) -
Uses of Direction in net.minecraft.world.phys.shapes
Modifier and TypeMethodDescriptionstatic boolean
Shapes.blockOccudes
(VoxelShape p_83118_, VoxelShape p_83119_, Direction p_83120_) private VoxelShape
VoxelShape.calculateFace
(Direction p_83295_) void
DiscreteVoxelShape.IntFaceConsumer.consume
(Direction p_82854_, int p_82855_, int p_82856_, int p_82857_) static VoxelShape
Shapes.getFaceShape
(VoxelShape p_83122_, Direction p_83123_) VoxelShape.getFaceShape
(Direction p_83264_) static boolean
Shapes.mergedFaceOccludes
(VoxelShape p_83153_, VoxelShape p_83154_, Direction p_83155_) -
Uses of Direction in net.minecraftforge.client
Modifier and TypeMethodDescriptionstatic void
ForgeHooksClient.fillNormal
(int[] faceData, Direction facing) internal, relies on fixed format of FaceBakery -
Uses of Direction in net.minecraftforge.client.extensions
Modifier and TypeMethodDescriptiondefault Direction
IForgeTransformation.rotateTransform
(Direction facing) Rotates the direction according to this transformation and returns the nearestDirection
to the resulting direction.Modifier and TypeMethodDescriptionIForgeBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull ModelData data, @Nullable RenderType renderType) A nullRenderType
is used for the breaking overlay as well as non-standard rendering, so models should return all their quads.default Direction
IForgeTransformation.rotateTransform
(Direction facing) Rotates the direction according to this transformation and returns the nearestDirection
to the resulting direction. -
Uses of Direction in net.minecraftforge.client.model
Modifier and TypeMethodDescriptionIModelBuilder.addCulledFace
(Direction facing, BakedQuad quad) IModelBuilder.Collecting.addCulledFace
(Direction facing, BakedQuad quad) IModelBuilder.Simple.addCulledFace
(Direction facing, BakedQuad quad) BakedModelWrapper.getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull ModelData extraData, @Nullable RenderType renderType) BakedModelWrapper.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand) CompositeModel.Baked.getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull ModelData data, @Nullable RenderType renderType) IDynamicBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand) IDynamicBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull ModelData extraData, @Nullable RenderType renderType) SeparateTransformsModel.Baked.getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull ModelData data, @Nullable RenderType renderType) -
Uses of Direction in net.minecraftforge.client.model.generators
Modifier and TypeFieldDescriptionprivate Direction
ModelBuilder.ElementBuilder.FaceBuilder.cullface
Modifier and TypeFieldDescriptionprivate final Map<Direction,
ModelBuilder<T>.ElementBuilder.FaceBuilder> ModelBuilder.ElementBuilder.faces
BlockStateProvider.WALL_PROPS
Modifier and TypeMethodDescriptionprivate BiConsumer<Direction,
ModelBuilder<T>.ElementBuilder.FaceBuilder> ModelBuilder.ElementBuilder.addTexture
(String texture) Modifier and TypeMethodDescriptionReturn or create the face builder for the given direction.Modifier and TypeMethodDescriptionModelBuilder.ElementBuilder.allFaces
(BiConsumer<Direction, ModelBuilder<T>.ElementBuilder.FaceBuilder> action) Modify all possible faces dynamically using a function, creating new faces as necessary.ModelBuilder.ElementBuilder.faces
(BiConsumer<Direction, ModelBuilder<T>.ElementBuilder.FaceBuilder> action) Modify all existing faces dynamically using a function.private void
BlockStateProvider.wallSidePart
(MultiPartBlockStateBuilder builder, ModelFile model, Map.Entry<Direction, Property<WallSide>> entry, WallSide height) -
Uses of Direction in net.minecraftforge.client.model.geometry
Modifier and TypeMethodDescriptionstatic BakedQuad
UnbakedGeometryHelper.bakeElementFace
(BlockElement element, BlockElementFace face, TextureAtlasSprite sprite, Direction direction, ModelState state, ResourceLocation modelLocation) Turns a singleBlockElementFace
into aBakedQuad
. -
Uses of Direction in net.minecraftforge.client.model.lighting
-
Uses of Direction in net.minecraftforge.client.model.obj
Modifier and TypeMethodDescriptionObjModel.makeQuad
(int[][] indices, int tintIndex, Vector4f colorTint, Vector4f ambientColor, TextureAtlasSprite texture, Transformation transform) -
Uses of Direction in net.minecraftforge.client.model.pipeline
Modifier and TypeMethodDescriptionvoid
QuadBakingVertexConsumer.setDirection
(Direction direction) -
Uses of Direction in net.minecraftforge.client.model.renderable
Modifier and TypeFieldDescriptionprivate static final Direction[]
BakedModelRenderable.Context.ALL_FACES_AND_NULL
private final Direction[]
BakedModelRenderable.Context.faces
The field for thefaces
record component.Modifier and TypeMethodDescriptionBakedModelRenderable.Context.faces()
Returns the value of thefaces
record component.ModifierConstructorDescriptionContext
(@Nullable BlockState state, Direction[] faces, RandomSource randomSource, long seed, ModelData data, Vector4f tint) Creates an instance of aContext
record class. -
Uses of Direction in net.minecraftforge.common
Modifier and TypeMethodDescriptionForgeHooks.onLeftClickBlock
(Player player, BlockPos pos, Direction face) -
Uses of Direction in net.minecraftforge.common.capabilities
Modifier and TypeMethodDescription<T> LazyOptional<T>
CapabilityDispatcher.getCapability
(Capability<T> cap, @Nullable Direction side) <T> @NotNull LazyOptional<T>
CapabilityProvider.getCapability
(@NotNull Capability<T> cap, @Nullable Direction side) <T> @NotNull LazyOptional<T>
ICapabilityProvider.getCapability
(@NotNull Capability<T> cap, @Nullable Direction side) Retrieves the Optional handler for the capability requested on the specific side. -
Uses of Direction in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault Direction
IForgeBlock.getBedDirection
(BlockState state, LevelReader level, BlockPos pos) Returns the direction of the block.default Direction
IForgeBlockState.getBedDirection
(LevelReader level, BlockPos pos) Returns the direction of the block.Modifier and TypeMethodDescriptiondefault boolean
IForgeBlock.canConnectRedstone
(BlockState state, BlockGetter level, BlockPos pos, @Nullable Direction direction) Whether redstone dust should visually connect to this block on a given sidedefault boolean
IForgeBlockState.canRedstoneConnectTo
(BlockGetter level, BlockPos pos, @Nullable Direction direction) Whether redstone dust should visually connect to this block on a side.boolean
IForgeBlock.canSustainPlant
(BlockState state, BlockGetter level, BlockPos pos, Direction facing, IPlantable plantable) Determines if this block can support the passed in plant, allowing it to be planted and grow.default boolean
IForgeBlockState.canSustainPlant
(BlockGetter level, BlockPos pos, Direction facing, IPlantable plantable) Determines if this block can support the passed in plant, allowing it to be planted and grow.default BlockState
IForgeBlock.getAppearance
(BlockState state, BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockState
that this block reports to look like on the given side, for querying by other mods.default BlockState
IForgeBlockState.getAppearance
(BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockState
that this state reports to look like on the given side for querying by other mods.default int
IForgeBlock.getFireSpreadSpeed
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when fire is updating on a neighbor block.default int
IForgeBlockState.getFireSpreadSpeed
(BlockGetter level, BlockPos pos, Direction face) Called when fire is updating on a neighbor block.default int
IForgeBlock.getFlammability
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Chance that fire will spread and consume this block.default int
IForgeBlockState.getFlammability
(BlockGetter level, BlockPos pos, Direction face) Chance that fire will spread and consume this block.default boolean
IForgeBlock.hidesNeighborFace
(BlockGetter level, BlockPos pos, BlockState state, BlockState neighborState, Direction dir) Whether this block hides the neighbors face pointed towards by the given direction.default boolean
IForgeBlockState.hidesNeighborFace
(BlockGetter level, BlockPos pos, BlockState neighborState, Direction dir) Whether this block hides the neighbors face pointed towards by the given direction.default boolean
IForgeBlock.isFireSource
(BlockState state, LevelReader level, BlockPos pos, Direction direction) Currently only called by fire when it is on top of this block.default boolean
IForgeBlockState.isFireSource
(LevelReader level, BlockPos pos, Direction side) Currently only called by fire when it is on top of this block.default boolean
IForgeBlock.isFlammable
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when fire is updating, checks if a block face can catch fire.default boolean
IForgeBlockState.isFlammable
(BlockGetter level, BlockPos pos, Direction face) Called when fire is updating, checks if a block face can catch fire.default void
IForgeBlock.onCaughtFire
(BlockState state, Level level, BlockPos pos, @Nullable Direction direction, @Nullable LivingEntity igniter) If the block is flammable, this is called when it gets lit on fire.default void
IForgeBlockState.onCaughtFire
(Level level, BlockPos pos, @Nullable Direction face, @Nullable LivingEntity igniter) If the block is flammable, this is called when it gets lit on fire.default boolean
IForgeBlock.shouldCheckWeakPower
(BlockState state, LevelReader level, BlockPos pos, Direction side) Called to determine whether to allow the a block to handle its own indirect power rather than using the default rules.default boolean
IForgeBlockState.shouldCheckWeakPower
(LevelReader level, BlockPos pos, Direction side) Called to determine whether to allow the a block to handle its own indirect power rather than using the default rules. -
Uses of Direction in net.minecraftforge.debug.block
Modifier and TypeMethodDescriptionboolean
RedstoneSidedConnectivityTest.EastRedstoneBlock.canConnectRedstone
(BlockState state, BlockGetter level, BlockPos pos, @Nullable Direction direction) boolean
CustomPlantTypeTest.CustomBlock.canSustainPlant
(BlockState state, BlockGetter level, BlockPos pos, Direction facing, IPlantable plantable) FullPotsAccessorDemo.ClientHandler.DioritePotModel.getPlantQuads
(Block plant, @Nullable Direction face, RandomSource rand, @Nullable RenderType renderType) FullPotsAccessorDemo.ClientHandler.DioritePotModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull ModelData extraData, @Nullable RenderType renderType) boolean
HideNeighborFaceTest.GlassSlab.hidesNeighborFace
(BlockGetter level, BlockPos pos, BlockState state, BlockState neighborState, Direction dir) boolean
HideNeighborFaceTest.GlassSlab.skipRendering
(BlockState state, BlockState neighborState, Direction face) -
Uses of Direction in net.minecraftforge.debug.client.model
Modifier and TypeMethodDescriptionMegaModelTest.TransformingModelWrapper.getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull ModelData data, @Nullable RenderType renderType) TRSRTransformerTest.MyBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) -
Uses of Direction in net.minecraftforge.debug.misc
Modifier and TypeMethodDescription<T> @NotNull LazyOptional<T>
GameTestTest.EnergyBlockEntity.getCapability
(@NotNull Capability<T> capability, @Nullable Direction facing) -
Uses of Direction in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic boolean
ForgeEventFactory.onBlockPlace
(@Nullable Entity entity, @NotNull BlockSnapshot blockSnapshot, @NotNull Direction direction) static boolean
ForgeEventFactory.onMultiBlockPlace
(@Nullable Entity entity, List<BlockSnapshot> blockSnapshots, Direction direction) static boolean
ForgeEventFactory.onPistonMovePost
(Level level, BlockPos pos, Direction direction, boolean extending) static boolean
ForgeEventFactory.onPistonMovePre
(Level level, BlockPos pos, Direction direction, boolean extending) Modifier and TypeMethodDescriptionForgeEventFactory.onNeighborNotify
(Level level, BlockPos pos, BlockState state, EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate) -
Uses of Direction in net.minecraftforge.event.entity.player
ModifierConstructorDescriptionLeftClickBlock
(Player player, BlockPos pos, Direction face) private
PlayerInteractEvent
(Player player, InteractionHand hand, BlockPos pos, @Nullable Direction face) -
Uses of Direction in net.minecraftforge.event.level
Modifier and TypeMethodDescriptionBlockEvent.NeighborNotifyEvent.getNotifiedSides()
Gets a list of directions from the base block that updates will occur upon.ModifierConstructorDescriptionPistonEvent
(Level world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) Post
(Level world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) Pre
(Level world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) ModifierConstructorDescriptionNeighborNotifyEvent
(Level level, BlockPos pos, BlockState state, EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate) -
Uses of Direction in net.minecraftforge.fluids
Modifier and TypeMethodDescriptionprotected boolean
ForgeFlowingFluid.canBeReplacedWith
(FluidState state, BlockGetter level, BlockPos pos, Fluid fluidIn, Direction direction) static LazyOptional<IFluidHandler>
FluidUtil.getFluidHandler
(Level level, BlockPos blockPos, @Nullable Direction side) Helper method to get an IFluidHandler for at a block position.static boolean
FluidUtil.interactWithFluidHandler
(@NotNull Player player, @NotNull InteractionHand hand, @NotNull Level level, @NotNull BlockPos pos, @Nullable Direction side) Used to handle the common case of a player holding a fluid item and right-clicking on a fluid handler block.static @NotNull FluidActionResult
FluidUtil.tryPickUpFluid
(@NotNull ItemStack emptyContainer, @Nullable Player playerIn, Level level, BlockPos pos, Direction side) Attempts to pick up a fluid in the level and put it in an empty container item. -
Uses of Direction in net.minecraftforge.fluids.capability
Modifier and TypeMethodDescription<T> @NotNull LazyOptional<T>
FluidHandlerBlockEntity.getCapability
(@NotNull Capability<T> capability, @Nullable Direction facing) -
Uses of Direction in net.minecraftforge.fluids.capability.templates
Modifier and TypeMethodDescription<T> @NotNull LazyOptional<T>
FluidHandlerItemStack.getCapability
(@NotNull Capability<T> capability, @Nullable Direction facing) <T> @NotNull LazyOptional<T>
FluidHandlerItemStackSimple.getCapability
(@NotNull Capability<T> capability, @Nullable Direction facing) -
Uses of Direction in net.minecraftforge.fluids.capability.wrappers
Modifier and TypeMethodDescription<T> @NotNull LazyOptional<T>
FluidBucketWrapper.getCapability
(@NotNull Capability<T> capability, @Nullable Direction facing) -
Uses of Direction in net.minecraftforge.items
Modifier and TypeMethodDescriptionstatic Optional<org.apache.commons.lang3.tuple.Pair<IItemHandler,
Object>> VanillaInventoryCodeHooks.getItemHandler
(Level worldIn, double x, double y, double z, Direction side) private static Optional<org.apache.commons.lang3.tuple.Pair<IItemHandler,
Object>> VanillaInventoryCodeHooks.getItemHandler
(Level level, Hopper hopper, Direction hopperFacing) -
Uses of Direction in net.minecraftforge.items.wrapper
Modifier and TypeMethodDescriptionstatic LazyOptional<IItemHandlerModifiable>[]
SidedInvWrapper.create
(WorldlyContainer inv, Direction... sides) <T> @NotNull LazyOptional<T>
ShulkerItemStackInvWrapper.getCapability
(@NotNull Capability<T> cap, @Nullable Direction side) static int
SidedInvWrapper.getSlot
(WorldlyContainer inv, int slot, @Nullable Direction side)
IForgeBakedModel.getQuads(BlockState, Direction, RandomSource, net.minecraftforge.client.model.data.ModelData, net.minecraft.client.renderer.RenderType)