Uses of Enum Class
net.minecraft.core.Direction
Packages that use Direction
Package
Description
-
Uses of Direction in com.mojang.math
Fields in com.mojang.math with type parameters of type DirectionModifier and TypeFieldDescriptionOctahedralGroup.rotatedDirections
OctahedralGroup.rotatedDirections
Methods in com.mojang.math that return DirectionMethods in com.mojang.math with parameters of type Direction -
Uses of Direction in net.minecraft
Methods in net.minecraft with parameters of type DirectionModifier 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.data.models
Fields in net.minecraft.client.data.models with type parameters of type DirectionModifier and TypeFieldDescriptionstatic final Map
<Direction, VariantMutator> BlockModelGenerators.MULTIFACE_GENERATOR
Methods in net.minecraft.client.data.models with parameters of type DirectionModifier and TypeMethodDescriptionBlockModelGenerators.createPointedDripstoneVariant
(Direction p_387068_, DripstoneThickness p_388190_) Method parameters in net.minecraft.client.data.models with type arguments of type DirectionModifier and TypeMethodDescriptionstatic <T extends Property<?>>
Map<T, VariantMutator> BlockModelGenerators.selectMultifaceProperties
(StateHolder<?, ?> p_405175_, Function<Direction, T> p_404830_) -
Uses of Direction in net.minecraft.client.model.geom
Constructors in net.minecraft.client.model.geom with parameters of type DirectionModifierConstructorDescriptionPolygon
(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_) Constructor parameters in net.minecraft.client.model.geom with type arguments of type Direction -
Uses of Direction in net.minecraft.client.model.geom.builders
Fields in net.minecraft.client.model.geom.builders with type parameters of type DirectionMethod parameters in net.minecraft.client.model.geom.builders with type arguments of type DirectionModifier and TypeMethodDescriptionCubeListBuilder.addBox
(float p_272653_, float p_273044_, float p_272720_, float p_273739_, float p_273613_, float p_273328_, Set<Direction> p_273277_) Constructor parameters in net.minecraft.client.model.geom.builders with type arguments of type DirectionModifierConstructorDescriptionprotected
CubeDefinition
(String p_273024_, float p_273620_, float p_273436_, float p_273139_, float p_273013_, float p_272874_, float p_273100_, float p_273756_, float p_273105_, CubeDeformation p_272818_, boolean p_273585_, float p_272829_, float p_273119_, Set<Direction> p_273201_) -
Uses of Direction in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type DirectionModifier 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
Methods in net.minecraft.client.particle with parameters of type Direction -
Uses of Direction in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction[]
SectionOcclusionGraph.DIRECTIONS
Methods in net.minecraft.client.renderer with parameters of type DirectionModifier and TypeMethodDescription(package private) void
SectionOcclusionGraph.Node.addSourceDirection
(Direction p_295444_) static FaceInfo
FaceInfo.fromFacing
(Direction p_108985_) SectionOcclusionGraph.getRelativeFrom
(long p_366669_, SectionRenderDispatcher.RenderSection p_295211_, Direction p_294491_) (package private) boolean
SectionOcclusionGraph.Node.hasDirection
(Direction p_294996_) static void
ShapeRenderer.renderFace
(PoseStack p_364593_, VertexConsumer p_364615_, Direction p_362455_, float p_360745_, float p_364472_, float p_361704_, float p_362107_, float p_362819_, float p_362959_, float p_364620_, float p_362074_, float p_363881_, float p_360670_) (package private) void
SectionOcclusionGraph.Node.setDirections
(byte p_295029_, Direction p_296033_) Constructors in net.minecraft.client.renderer with parameters of type DirectionModifierConstructorDescription(package private)
Node
(SectionRenderDispatcher.RenderSection p_295110_, Direction p_295920_, int p_295951_) -
Uses of Direction in net.minecraft.client.renderer.block
Fields in net.minecraft.client.renderer.block declared as DirectionModifier and TypeFieldDescriptionfinal Direction[]
ModelBlockRenderer.AdjacencyInfo.corners
private static final Direction[]
ModelBlockRenderer.DIRECTIONS
Methods in net.minecraft.client.renderer.block with parameters of type DirectionModifier and TypeMethodDescriptionvoid
ModelBlockRenderer.AmbientOcclusionRenderStorage.calculate
(BlockAndTintGetter p_412286_, BlockState p_412102_, BlockPos p_412730_, Direction p_412336_, boolean p_412430_) private static void
ModelBlockRenderer.calculateShape
(BlockAndTintGetter p_111040_, BlockState p_111041_, BlockPos p_111042_, int[] p_111043_, Direction p_111044_, ModelBlockRenderer.CommonRenderStorage p_412438_) ModelBlockRenderer.AdjacencyInfo.fromFacing
(Direction p_111132_) ModelBlockRenderer.AmbientVertexRemap.fromFacing
(Direction p_111202_) private static boolean
LiquidBlockRenderer.isFaceOccludedByNeighbor
(Direction p_203182_, float p_203183_, BlockState p_203184_) private static boolean
LiquidBlockRenderer.isFaceOccludedBySelf
(BlockState p_110962_, Direction p_110963_) private static boolean
LiquidBlockRenderer.isFaceOccludedByState
(Direction p_110980_, float p_110981_, BlockState p_110983_) private static boolean
LiquidBlockRenderer.isNeighborStateHidingOverlay
(FluidState selfState, BlockState otherState, Direction neighborFace) static boolean
LiquidBlockRenderer.shouldRenderFace
(FluidState fluidState, BlockState selfState, Direction direction, BlockState otherState) static boolean
LiquidBlockRenderer.shouldRenderFace
(FluidState p_203169_, BlockState p_203170_, Direction p_203171_, FluidState p_203172_) Deprecated.Neo: use overload that accepts BlockStateprotected static boolean
ModelBlockRenderer.shouldRenderFace
(BlockAndTintGetter p_412640_, BlockPos pos, BlockState p_412168_, boolean p_412054_, Direction p_412130_, BlockPos p_412608_) private static boolean
ModelBlockRenderer.shouldRenderFace
(BlockAndTintGetter p_412640_, BlockState p_412168_, boolean p_412054_, Direction p_412130_, BlockPos p_412608_) Deprecated.Constructors in net.minecraft.client.renderer.block with parameters of type DirectionModifierConstructorDescriptionprivate
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_) -
Uses of Direction in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model declared as DirectionModifier and TypeFieldDescriptionprivate final Direction
BlockElementFace.cullForDirection
The field for thecullForDirection
record component.private final Direction
BakedQuad.direction
The field for thedirection
record component.private final Direction
ItemModelGenerator.SpanFacing.direction
Fields in net.minecraft.client.renderer.block.model with type parameters of type DirectionModifier and TypeFieldDescriptionprivate final Map
<Direction, BlockElementFace> BlockElement.faces
The field for thefaces
record component.Methods in net.minecraft.client.renderer.block.model that return DirectionModifier and TypeMethodDescriptionprivate static Direction
FaceBakery.calculateFacing
(int[] p_111613_) BlockElementFace.cullForDirection()
Returns the value of thecullForDirection
record component.BakedQuad.direction()
Returns the value of thedirection
record component.private static Direction
BlockElementFace.Deserializer.getCullFacing
(com.google.gson.JsonObject p_111373_) ItemModelGenerator.SpanFacing.getDirection()
private Direction
Methods in net.minecraft.client.renderer.block.model that return types with arguments of type DirectionModifier and TypeMethodDescriptionBlockElement.faces()
Returns the value of thefaces
record component.private 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_) Methods in net.minecraft.client.renderer.block.model with parameters of type DirectionModifier and TypeMethodDescriptionstatic BakedQuad
SimpleUnbakedGeometry.bakeFace
(BlockElement p_405715_, BlockElementFace p_405073_, TextureAtlasSprite p_404850_, Direction p_404976_, ModelState p_405762_) static BakedQuad
FaceBakery.bakeQuad
(org.joml.Vector3fc p_404957_, org.joml.Vector3fc p_405340_, BlockElementFace p_111603_, TextureAtlasSprite p_111604_, Direction p_111605_, ModelState p_111606_, BlockElementRotation p_111607_, boolean p_111608_, int p_364857_) static BlockElementFace.UVs
FaceBakery.defaultFaceUV
(org.joml.Vector3fc p_404839_, org.joml.Vector3fc p_405755_, Direction p_404690_) private static int[]
FaceBakery.makeVertices
(BlockElementFace.UVs p_405062_, Quadrant p_405779_, org.joml.Matrix4fc p_404746_, TextureAtlasSprite p_111575_, Direction p_111576_, float[] p_111577_, Transformation p_111578_, BlockElementRotation p_111579_) private static void
FaceBakery.recalculateWinding
(int[] p_111631_, Direction p_111632_) Constructors in net.minecraft.client.renderer.block.model with parameters of type DirectionModifierConstructorDescriptionBakedQuad
(int[] vertices, int tintIndex, Direction direction, TextureAtlasSprite sprite, boolean shade, int lightEmission) BakedQuad
(int[] vertices, int tintIndex, Direction direction, TextureAtlasSprite sprite, boolean shade, int lightEmission, boolean hasAmbientOcclusion) Creates an instance of aBakedQuad
record class.BlockElementFace
(Direction cullForDirection, int tintIndex, String texture, BlockElementFace.UVs uvs, Quadrant rotation) BlockElementFace
(Direction cullForDirection, int tintIndex, String texture, BlockElementFace.UVs uvs, Quadrant rotation, ExtraFaceData faceData, org.apache.commons.lang3.mutable.MutableObject<BlockElement> parent) Creates an instance of aBlockElementFace
record class.private
SpanFacing
(Direction p_111701_, int p_111702_, int p_111703_) Constructor parameters in net.minecraft.client.renderer.block.model with type arguments of type DirectionModifierConstructorDescriptionBlockElement
(org.joml.Vector3fc p_405527_, org.joml.Vector3fc p_405454_, Map<Direction, BlockElementFace> p_362722_) BlockElement
(org.joml.Vector3fc from, org.joml.Vector3fc to, Map<Direction, BlockElementFace> faces, BlockElementRotation rotation, boolean shade, int lightEmission) BlockElement
(org.joml.Vector3fc from, org.joml.Vector3fc to, Map<Direction, BlockElementFace> faces, BlockElementRotation rotation, boolean shade, int lightEmission, ExtraFaceData faceData) Creates an instance of aBlockElement
record class. -
Uses of Direction in net.minecraft.client.renderer.blockentity
Methods in net.minecraft.client.renderer.blockentity with parameters of type DirectionModifier and TypeMethodDescriptionvoid
ShulkerBoxRenderer.render
(PoseStack p_388735_, MultiBufferSource p_386677_, int p_388822_, int p_386683_, Direction p_387528_, float p_387342_, Material p_387103_) private void
TheEndPortalRenderer.renderFace
(T p_253949_, org.joml.Matrix4f p_254247_, VertexConsumer p_254390_, float p_254147_, float p_253639_, float p_254107_, float p_254109_, float p_254021_, float p_254458_, float p_254086_, float p_254310_, Direction p_253619_) private void
BedRenderer.renderPiece
(PoseStack p_173542_, MultiBufferSource p_173543_, Model p_363684_, 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_) private float[]
BrushableBlockRenderer.translations
(Direction p_278030_, int p_277997_) -
Uses of Direction in net.minecraft.client.renderer.chunk
Fields in net.minecraft.client.renderer.chunk declared as DirectionMethods in net.minecraft.client.renderer.chunk that return types with arguments of type DirectionMethods in net.minecraft.client.renderer.chunk with parameters of type DirectionModifier and TypeMethodDescriptionboolean
SectionRenderDispatcher.CompiledSection.facesCanSeeEachother
(Direction p_295753_, Direction p_294424_) private int
VisGraph.getNeighborIndexAtFace
(int p_112966_, Direction p_112967_) long
SectionRenderDispatcher.RenderSection.getNeighborSectionNode
(Direction p_366736_) float
void
boolean
VisibilitySet.visibilityBetween
(Direction p_112984_, Direction p_112985_) Method parameters in net.minecraft.client.renderer.chunk with type arguments of type Direction -
Uses of Direction in net.minecraft.client.renderer.debug
Fields in net.minecraft.client.renderer.debug declared as DirectionMethods in net.minecraft.client.renderer.debug with parameters of type DirectionModifier and TypeMethodDescriptionprivate static void
LightSectionDebugRenderer.renderFace
(PoseStack p_283612_, VertexConsumer p_281996_, Direction p_282340_, double p_281988_, double p_282440_, double p_282235_, int p_282751_, int p_282270_, int p_282159_, org.joml.Vector4f p_283316_) -
Uses of Direction in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity with parameters of type DirectionModifier and TypeMethodDescriptionprivate static float
LivingEntityRenderer.sleepDirectionToRotation
(Direction p_115329_) -
Uses of Direction in net.minecraft.client.renderer.entity.state
Fields in net.minecraft.client.renderer.entity.state declared as DirectionModifier and TypeFieldDescriptionShulkerRenderState.attachFace
LivingEntityRenderState.bedOrientation
ItemFrameRenderState.direction
PaintingRenderState.direction
Methods in net.minecraft.client.renderer.entity.state with parameters of type Direction -
Uses of Direction in net.minecraft.client.renderer.special
Fields in net.minecraft.client.renderer.special declared as DirectionModifier and TypeFieldDescriptionprivate final Direction
ShulkerBoxSpecialRenderer.orientation
private final Direction
ShulkerBoxSpecialRenderer.Unbaked.orientation
The field for theorientation
record component.Methods in net.minecraft.client.renderer.special that return DirectionModifier and TypeMethodDescriptionShulkerBoxSpecialRenderer.Unbaked.orientation()
Returns the value of theorientation
record component.Constructors in net.minecraft.client.renderer.special with parameters of type DirectionModifierConstructorDescriptionShulkerBoxSpecialRenderer
(ShulkerBoxRenderer p_387519_, float p_387173_, Direction p_388269_, Material p_387242_) Unbaked
(ResourceLocation texture, float openness, Direction orientation) Creates an instance of aUnbaked
record class. -
Uses of Direction in net.minecraft.client.resources.model
Fields in net.minecraft.client.resources.model with type parameters of type DirectionModifier and TypeFieldDescriptionQuadCollection.Builder.culledFaces
BlockModelRotation.faceMapping
BlockModelRotation.inverseFaceMapping
Methods in net.minecraft.client.resources.model with parameters of type DirectionModifier and TypeMethodDescriptionQuadCollection.Builder.addCulledFace
(Direction p_405416_, BakedQuad p_405678_) org.joml.Matrix4fc
BlockModelRotation.WithUvLock.faceTransformation
(Direction p_405486_) default org.joml.Matrix4fc
ModelState.faceTransformation
(Direction p_405422_) org.joml.Matrix4fc
BlockModelRotation.WithUvLock.inverseFaceTransformation
(Direction p_404754_) default org.joml.Matrix4fc
ModelState.inverseFaceTransformation
(Direction p_405142_) -
Uses of Direction in net.minecraft.core
Fields in net.minecraft.core declared as DirectionModifier 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
Fields in net.minecraft.core with type parameters of type DirectionModifier and TypeFieldDescriptionstatic final IntFunction
<Direction> Direction.BY_ID
static final StringRepresentable.EnumCodec
<Direction> Direction.CODEC
Direction8.directions
static final com.mojang.serialization.Codec
<Direction> Direction.LEGACY_ID_CODEC
Deprecated.static final com.mojang.serialization.Codec
<Direction> Direction.LEGACY_ID_CODEC_2D
Deprecated.static final StreamCodec
<io.netty.buffer.ByteBuf, Direction> Direction.STREAM_CODEC
private static final Map
<Direction, Transformation> BlockMath.VANILLA_UV_TRANSFORM_GLOBAL_TO_LOCAL
private static final Map
<Direction, Transformation> BlockMath.VANILLA_UV_TRANSFORM_LOCAL_TO_GLOBAL
static final com.mojang.serialization.Codec
<Direction> Direction.VERTICAL_CODEC
Methods in net.minecraft.core that return DirectionModifier 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.fromYRot
(double p_122365_) FrontAndTop.front()
static Direction
Direction.get
(Direction.AxisDirection p_122391_, Direction.Axis p_122392_) static Direction
Direction.getApproximateNearest
(double p_362121_, double p_364871_, double p_364153_) static Direction
Direction.getApproximateNearest
(float p_122373_, float p_122374_, float p_122375_) static Direction
Direction.getApproximateNearest
(Vec3 p_361200_) 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()
Direction.Axis.getDirections()
static Direction
Direction.getFacingAxis
(Entity p_175358_, Direction.Axis p_175359_) static Direction
Direction.getNearest
(int p_365087_, int p_364094_, int p_361757_, Direction p_364698_) static Direction
Direction.getNearest
(Vec3i p_362245_, Direction p_363910_) abstract Direction
Direction.Axis.getNegative()
Direction.getOpposite()
abstract Direction
Direction.Axis.getPositive()
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.Methods in net.minecraft.core that return types with arguments of type DirectionModifier 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_) Methods in net.minecraft.core with parameters of type DirectionModifier and TypeMethodDescriptionstatic FrontAndTop
FrontAndTop.fromFrontAndTop
(Direction p_122623_, Direction p_122624_) static Transformation
BlockMath.getFaceTransformation
(Transformation p_404802_, Direction p_405816_) static Direction
Direction.getNearest
(int p_365087_, int p_364094_, int p_361757_, Direction p_364698_) static Direction
Direction.getNearest
(Vec3i p_362245_, Direction p_363910_) static float
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_) Constructors in net.minecraft.core with parameters of type DirectionModifierConstructorDescriptionprivate
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
Methods in net.minecraft.core.dispenser with parameters of type DirectionModifier and TypeMethodDescriptionprotected void
DefaultDispenseItemBehavior.playAnimation
(BlockSource p_302462_, Direction p_123389_) private static void
DefaultDispenseItemBehavior.playDefaultAnimation
(BlockSource p_347531_, Direction p_347570_) 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.worldgen.features
Methods in net.minecraft.data.worldgen.features with parameters of type DirectionModifier and TypeMethodDescriptionprivate static Holder
<PlacedFeature> CaveFeatures.makeDripleaf
(Direction p_206468_) Method parameters in net.minecraft.data.worldgen.features with type arguments of type DirectionModifier and TypeMethodDescriptionprivate static WeightedList.Builder
<BlockState> VegetationFeatures.segmentedBlockPatchBuilder
(Block p_394669_, int p_394218_, int p_393622_, IntegerProperty p_393893_, EnumProperty<Direction> p_394193_) -
Uses of Direction in net.minecraft.gametest.framework
Methods in net.minecraft.gametest.framework with parameters of type Direction -
Uses of Direction in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as DirectionMethods in net.minecraft.network.protocol.game that return DirectionConstructors in net.minecraft.network.protocol.game with parameters of type DirectionModifierConstructorDescriptionServerboundPlayerActionPacket
(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
Fields in net.minecraft.network.syncher with type parameters of type DirectionModifier and TypeFieldDescriptionstatic final EntityDataSerializer
<Direction> EntityDataSerializers.DIRECTION
-
Uses of Direction in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type DirectionModifier 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_, Orientation p_365231_) -
Uses of Direction in net.minecraft.util
Methods in net.minecraft.util with parameters of type DirectionModifier and TypeMethodDescriptionint
SegmentedAnglePrecision.fromDirection
(Direction p_265731_) static 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
Methods in net.minecraft.world with parameters of type DirectionModifier 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
Methods in net.minecraft.world.entity that return DirectionModifier and TypeMethodDescriptionLivingEntity.getBedOrientation()
Entity.getDirection()
Entity.getMotionDirection()
Entity.getNearestViewDirection()
-
Uses of Direction in net.minecraft.world.entity.decoration
Fields in net.minecraft.world.entity.decoration declared as DirectionMethods in net.minecraft.world.entity.decoration that return DirectionMethods in net.minecraft.world.entity.decoration with parameters of type DirectionModifier and TypeMethodDescriptionprotected abstract AABB
HangingEntity.calculateBoundingBox
(BlockPos p_344773_, Direction p_345719_) protected AABB
ItemFrame.calculateBoundingBox
(BlockPos p_345363_, Direction p_344892_) protected AABB
Painting.calculateBoundingBox
(BlockPos p_344831_, Direction p_345917_) protected void
HangingEntity.setDirection
(Direction p_31728_) protected void
ItemFrame.setDirection
(Direction p_31793_) Constructors in net.minecraft.world.entity.decoration with parameters of type DirectionModifierConstructorDescriptionGlowItemFrame
(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
Fields in net.minecraft.world.entity.monster declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction
Shulker.DEFAULT_ATTACH_FACE
private Direction
Silverfish.SilverfishMergeWithStoneGoal.selectedDirection
Fields in net.minecraft.world.entity.monster with type parameters of type DirectionModifier and TypeFieldDescriptionprotected static final EntityDataAccessor
<Direction> Shulker.DATA_ATTACH_FACE_ID
Methods in net.minecraft.world.entity.monster that return DirectionModifier and TypeMethodDescriptionprotected Direction
Shulker.findAttachableSurface
(BlockPos p_149811_) Shulker.getAttachFace()
Methods in net.minecraft.world.entity.monster with parameters of type DirectionModifier and TypeMethodDescription(package private) boolean
static AABB
Shulker.getProgressAabb
(float p_149792_, Direction p_149791_, float p_320551_, Vec3 p_390415_) static AABB
Shulker.getProgressDeltaAabb
(float p_149795_, Direction p_149794_, float p_149796_, float p_320876_, Vec3 p_390404_) private void
Shulker.setAttachFace
(Direction p_149789_) -
Uses of Direction in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player with parameters of type DirectionModifier and TypeMethodDescriptionboolean
Player.mayUseItemAt
(BlockPos p_36205_, Direction p_36206_, ItemStack p_36207_) -
Uses of Direction in net.minecraft.world.entity.projectile
Fields in net.minecraft.world.entity.projectile declared as DirectionMethods in net.minecraft.world.entity.projectile that return DirectionMethods in net.minecraft.world.entity.projectile with parameters of type DirectionModifier and TypeMethodDescriptionprivate void
ShulkerBullet.setMoveDirection
(Direction p_37351_) -
Uses of Direction in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle that return DirectionModifier and TypeMethodDescriptionAbstractBoat.getMotionDirection()
AbstractMinecart.getMotionDirection()
MinecartBehavior.getMotionDirection()
OldMinecartBehavior.getMotionDirection()
Methods in net.minecraft.world.entity.vehicle with parameters of type DirectionModifier and TypeMethodDescriptionstatic int[][]
DismountHelper.offsetsForDirection
(Direction p_38468_) -
Uses of Direction in net.minecraft.world.item
Fields in net.minecraft.world.item declared as DirectionModifier and TypeFieldDescriptionprivate final Direction
StandingAndWallBlockItem.attachmentDirection
Methods in net.minecraft.world.item with parameters of type DirectionModifier and TypeMethodDescriptionArrowItem.asProjectile
(Level p_338330_, Position p_338329_, ItemStack p_338197_, Direction p_338469_) EggItem.asProjectile
(Level p_338884_, Position p_338312_, ItemStack p_338704_, Direction p_338366_) ExperienceBottleItem.asProjectile
(Level p_338868_, Position p_338766_, ItemStack p_338321_, Direction p_338772_) FireChargeItem.asProjectile
(Level p_338826_, Position p_338780_, ItemStack p_338320_, Direction p_338841_) FireworkRocketItem.asProjectile
(Level p_338390_, Position p_338574_, ItemStack p_338487_, Direction p_338368_) ProjectileItem.asProjectile
(Level p_338867_, Position p_338379_, ItemStack p_338543_, Direction p_338380_) SnowballItem.asProjectile
(Level p_338685_, Position p_338637_, ItemStack p_338820_, Direction p_338856_) SpectralArrowItem.asProjectile
(Level p_338332_, Position p_338313_, ItemStack p_338304_, Direction p_338842_) ThrowablePotionItem.asProjectile
(Level p_338465_, Position p_338661_, ItemStack p_338506_, Direction p_338517_) TridentItem.asProjectile
(Level p_338505_, Position p_338277_, ItemStack p_338353_, Direction p_338220_) WindChargeItem.asProjectile
(Level p_338589_, Position p_338670_, ItemStack p_338308_, Direction p_338206_) static BrushItem.DustParticlesDelta
BrushItem.DustParticlesDelta.fromDirection
(Vec3 p_273421_, Direction p_272987_) ProjectileItem.PositionFunction.getDispensePosition
(BlockSource p_338784_, Direction p_338422_) private static Vec3
FireworkRocketItem.getEntityJustOutsideOfBlockPos
(BlockSource p_371687_, Direction p_371656_) static boolean
BoneMealItem.growWaterPlant
(ItemStack p_40632_, Level p_40633_, BlockPos p_40634_, Direction p_40635_) protected boolean
HangingEntityItem.mayPlace
(Player p_41326_, Direction p_41327_, ItemStack p_41328_, BlockPos p_41329_) protected boolean
Constructors in net.minecraft.world.item with parameters of type DirectionModifierConstructorDescriptionSignItem
(Item.Properties p_278081_, Block p_277743_, Block p_277375_, Direction p_278052_) StandingAndWallBlockItem
(Block p_248873_, Block p_251044_, Direction p_250800_, Item.Properties p_249308_) -
Uses of Direction in net.minecraft.world.item.context
Fields in net.minecraft.world.item.context declared as DirectionMethods in net.minecraft.world.item.context that return DirectionModifier and TypeMethodDescriptionUseOnContext.getClickedFace()
DirectionalPlaceContext.getHorizontalDirection()
UseOnContext.getHorizontalDirection()
BlockPlaceContext.getNearestLookingDirection()
DirectionalPlaceContext.getNearestLookingDirection()
BlockPlaceContext.getNearestLookingDirections()
DirectionalPlaceContext.getNearestLookingDirections()
BlockPlaceContext.getNearestLookingVerticalDirection()
Methods in net.minecraft.world.item.context with parameters of type DirectionModifier and TypeMethodDescriptionstatic BlockPlaceContext
BlockPlaceContext.at
(BlockPlaceContext p_43645_, BlockPos p_43646_, Direction p_43647_) Constructors in net.minecraft.world.item.context with parameters of type Direction -
Uses of Direction in net.minecraft.world.level
Fields in net.minecraft.world.level declared as DirectionMethods in net.minecraft.world.level with parameters of type DirectionModifier and TypeMethodDescriptiondefault int
SignalGetter.getControlInputSignal
(BlockPos p_277757_, Direction p_278104_, boolean p_277707_) default int
SignalGetter.getDirectSignal
(BlockPos p_277954_, Direction p_277342_) float
float
default int
default boolean
boolean
Level.loadedAndEntityCanStandOnFace
(BlockPos p_46579_, Entity p_46580_, Direction p_46581_) void
Level.neighborShapeChanged
(Direction p_220385_, BlockPos p_220387_, BlockPos p_220388_, BlockState p_220386_, int p_220389_, int p_220390_) default void
LevelAccessor.neighborShapeChanged
(Direction p_220411_, BlockPos p_220413_, BlockPos p_220414_, BlockState p_220412_, int p_220415_, int p_220416_) void
Level.updateNeighborsAtExceptFromFacing
(BlockPos p_46591_, Block p_46592_, Direction p_46593_, Orientation p_362952_) -
Uses of Direction in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction[]
SpongeBlock.ALL_DIRECTIONS
private static final Direction[]
BuddingAmethystBlock.DIRECTIONS
protected static final Direction[]
MultifaceBlock.DIRECTIONS
private final Direction
MultifaceSpreader.SpreadPos.face
The field for theface
record component.protected final Direction
GrowingPlantBlock.growthDirection
Fields in net.minecraft.world.level.block with type parameters of type DirectionModifier and TypeFieldDescriptionSculkSpreader.ChargeCursor.DIRECTION_SET
static final EnumProperty
<Direction> AbstractFurnaceBlock.FACING
static final EnumProperty
<Direction> AmethystClusterBlock.FACING
static final EnumProperty
<Direction> AnvilBlock.FACING
static final EnumProperty
<Direction> AttachedStemBlock.FACING
static final EnumProperty
<Direction> BarrelBlock.FACING
static final EnumProperty
<Direction> BaseCoralWallFanBlock.FACING
static final EnumProperty
<Direction> BeehiveBlock.FACING
static final EnumProperty
<Direction> BellBlock.FACING
static final EnumProperty
<Direction> CalibratedSculkSensorBlock.FACING
static final EnumProperty
<Direction> CampfireBlock.FACING
static final EnumProperty
<Direction> CarvedPumpkinBlock.FACING
static final EnumProperty
<Direction> ChestBlock.FACING
static final EnumProperty
<Direction> CommandBlock.FACING
static final EnumProperty
<Direction> DirectionalBlock.FACING
static final EnumProperty
<Direction> DispenserBlock.FACING
static final EnumProperty
<Direction> DoorBlock.FACING
static final EnumProperty
<Direction> EnderChestBlock.FACING
static final EnumProperty
<Direction> EndPortalFrameBlock.FACING
static final EnumProperty
<Direction> FlowerBedBlock.FACING
static final EnumProperty
<Direction> HopperBlock.FACING
static final EnumProperty
<Direction> HorizontalDirectionalBlock.FACING
static final EnumProperty
<Direction> LadderBlock.FACING
static final EnumProperty
<Direction> LeafLitterBlock.FACING
static final EnumProperty
<Direction> LecternBlock.FACING
static final EnumProperty
<Direction> RedstoneWallTorchBlock.FACING
static final EnumProperty
<Direction> ShulkerBoxBlock.FACING
static final EnumProperty
<Direction> SmallDripleafBlock.FACING
static final EnumProperty
<Direction> StairBlock.FACING
static final EnumProperty
<Direction> StonecutterBlock.FACING
static final EnumProperty
<Direction> TripWireHookBlock.FACING
static final EnumProperty
<Direction> VaultBlock.FACING
static final EnumProperty
<Direction> WallBannerBlock.FACING
static final EnumProperty
<Direction> WallHangingSignBlock.FACING
static final EnumProperty
<Direction> WallSignBlock.FACING
static final EnumProperty
<Direction> WallSkullBlock.FACING
static final EnumProperty
<Direction> WallTorchBlock.FACING
SculkSpreader.ChargeCursor.facings
private static final Map
<Direction, VoxelShape> ChestBlock.HALF_SHAPES
static final EnumProperty
<Direction> DecoratedPotBlock.HORIZONTAL_FACING
private final Map
<Direction, VoxelShape> HopperBlock.interactionShapes
static final com.google.common.collect.ImmutableList
<Direction> LiquidBlock.POSSIBLE_FLOW_DIRECTIONS
static final Map
<Direction, BooleanProperty> CrossCollisionBlock.PROPERTY_BY_DIRECTION
static final Map
<Direction, BooleanProperty> FireBlock.PROPERTY_BY_DIRECTION
private static final Map
<Direction, BooleanProperty> HugeMushroomBlock.PROPERTY_BY_DIRECTION
static final Map
<Direction, EnumProperty<WallSide>> MossyCarpetBlock.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
static final Map
<Direction, EnumProperty<WallSide>> WallBlock.PROPERTY_BY_DIRECTION
private static final Map
<Direction, VoxelShape> StairBlock.SHAPE_BOTTOM_INNER
private static final Map
<Direction, VoxelShape> StairBlock.SHAPE_BOTTOM_OUTER
private static final Map
<Direction, VoxelShape> StairBlock.SHAPE_BOTTOM_STRAIGHT
private static final Map
<Direction, VoxelShape> BellBlock.SHAPE_SINGLE_WALL
private static final Map
<Direction, VoxelShape> StairBlock.SHAPE_TOP_INNER
private static final Map
<Direction, VoxelShape> StairBlock.SHAPE_TOP_OUTER
private static final Map
<Direction, VoxelShape> StairBlock.SHAPE_TOP_STRAIGHT
private final Map
<Direction, VoxelShape> AmethystClusterBlock.shapes
private static final Map
<Direction, VoxelShape> AttachedStemBlock.SHAPES
private static final Map
<Direction, VoxelShape> BaseCoralWallFanBlock.SHAPES
private static final Map
<Direction, VoxelShape> BedBlock.SHAPES
private static final Map
<Direction, VoxelShape> BigDripleafStemBlock.SHAPES
private static final List
<Map<Direction, VoxelShape>> CocoaBlock.SHAPES
private static final Map
<Direction, VoxelShape> DoorBlock.SHAPES
static final Map
<Direction, VoxelShape> LadderBlock.SHAPES
private static final Map
<Direction, VoxelShape> LecternBlock.SHAPES
private static final Map
<Direction, VoxelShape> PiglinWallSkullBlock.SHAPES
private static final Map
<Direction, VoxelShape> TrapDoorBlock.SHAPES
private static final Map
<Direction, VoxelShape> TripWireHookBlock.SHAPES
private static final Map
<Direction, VoxelShape> WallBannerBlock.SHAPES
private static final Map
<Direction, VoxelShape> WallSignBlock.SHAPES
private static final Map
<Direction, VoxelShape> WallSkullBlock.SHAPES
private static final Map
<Direction, VoxelShape> WallTorchBlock.SHAPES
static final Map
<Direction, VoxelShape> ShulkerBoxBlock.SHAPES_OPEN_SUPPORT
private static final Map
<Direction, VoxelShape> WallBlock.TEST_SHAPES_WALL
static final EnumProperty
<Direction> PointedDripstoneBlock.TIP_DIRECTION
Methods in net.minecraft.world.level.block that return DirectionModifier 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_) Methods in net.minecraft.world.level.block that return types with arguments of type DirectionModifier and TypeMethodDescriptionMultifaceBlock.availableFaces
(BlockState p_221585_) SculkSpreader.ChargeCursor.getFacingData()
MultifaceBlock.unpack
(byte p_221570_) Methods in net.minecraft.world.level.block with parameters of type DirectionModifier 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_383192_, BlockPos p_383013_, Direction p_383221_) static boolean
MultifaceBlock.canAttachTo
(BlockGetter p_153830_, Direction p_153831_, BlockPos p_153832_, BlockState p_153833_) boolean
WallHangingSignBlock.canAttachTo
(LevelReader p_249746_, BlockState p_251128_, BlockPos p_250583_, Direction p_250567_) 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 static boolean
MossyCarpetBlock.canSupportAtFace
(BlockGetter p_380047_, BlockPos p_379895_, Direction p_380188_) 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_) static boolean
WallTorchBlock.canSurvive
(LevelReader p_320074_, BlockPos p_320860_, Direction p_320326_) 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_) private void
FireBlock.checkBurnOut
(Level p_221151_, BlockPos p_221152_, int p_221153_, RandomSource p_221154_, int p_221155_, Direction face) 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
(ServerLevel p_376781_, BlockPos p_51811_, Direction p_51812_) BedBlock.findBunkBedStandUpPosition
(EntityType<?> p_49464_, CollisionGetter p_49465_, BlockPos p_49466_, Direction p_49467_, Direction p_49468_) BedBlock.findStandUpPosition
(EntityType<?> p_261547_, CollisionGetter p_261946_, BlockPos p_261614_, Direction p_261648_, float p_261680_) 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_) protected int
BasePressurePlateBlock.getDirectSignal
(BlockState p_49346_, BlockGetter p_49347_, BlockPos p_49348_, Direction p_49349_) protected int
ButtonBlock.getDirectSignal
(BlockState p_51109_, BlockGetter p_51110_, BlockPos p_51111_, Direction p_51112_) protected int
DetectorRailBlock.getDirectSignal
(BlockState p_52478_, BlockGetter p_52479_, BlockPos p_52480_, Direction p_52481_) protected int
DiodeBlock.getDirectSignal
(BlockState p_52561_, BlockGetter p_52562_, BlockPos p_52563_, Direction p_52564_) protected int
LecternBlock.getDirectSignal
(BlockState p_54566_, BlockGetter p_54567_, BlockPos p_54568_, Direction p_54569_) protected int
LeverBlock.getDirectSignal
(BlockState p_54670_, BlockGetter p_54671_, BlockPos p_54672_, Direction p_54673_) protected int
LightningRodBlock.getDirectSignal
(BlockState p_153748_, BlockGetter p_153749_, BlockPos p_153750_, Direction p_153751_) protected int
ObserverBlock.getDirectSignal
(BlockState p_55127_, BlockGetter p_55128_, BlockPos p_55129_, Direction p_55130_) protected int
RedstoneTorchBlock.getDirectSignal
(BlockState p_55719_, BlockGetter p_55720_, BlockPos p_55721_, Direction p_55722_) protected int
RedStoneWireBlock.getDirectSignal
(BlockState p_55625_, BlockGetter p_55626_, BlockPos p_55627_, Direction p_55628_) int
SculkSensorBlock.getDirectSignal
(BlockState p_279407_, BlockGetter p_279217_, BlockPos p_279190_, Direction p_279273_) protected int
TrappedChestBlock.getDirectSignal
(BlockState p_57582_, BlockGetter p_57583_, BlockPos p_57584_, Direction p_57585_) protected 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 EnumProperty
<WallSide> MossyCarpetBlock.getPropertyForFace
(Direction p_379421_) static BooleanProperty
VineBlock.getPropertyForFace
(Direction p_57884_) ChiseledBookShelfBlock.getRelativeHitCoordinatesForBlockFace
(BlockHitResult p_261714_, Direction p_262116_) Mirror.getRotation
(Direction p_54847_) protected int
BasePressurePlateBlock.getSignal
(BlockState p_49309_, BlockGetter p_49310_, BlockPos p_49311_, Direction p_49312_) protected int
ButtonBlock.getSignal
(BlockState p_51078_, BlockGetter p_51079_, BlockPos p_51080_, Direction p_51081_) int
CalibratedSculkSensorBlock.getSignal
(BlockState p_277782_, BlockGetter p_277556_, BlockPos p_277903_, Direction p_278059_) protected int
DaylightDetectorBlock.getSignal
(BlockState p_52386_, BlockGetter p_52387_, BlockPos p_52388_, Direction p_52389_) protected int
DetectorRailBlock.getSignal
(BlockState p_52449_, BlockGetter p_52450_, BlockPos p_52451_, Direction p_52452_) protected int
DiodeBlock.getSignal
(BlockState p_52520_, BlockGetter p_52521_, BlockPos p_52522_, Direction p_52523_) int
JukeboxBlock.getSignal
(BlockState p_272942_, BlockGetter p_273232_, BlockPos p_273524_, Direction p_272902_) protected int
LecternBlock.getSignal
(BlockState p_54515_, BlockGetter p_54516_, BlockPos p_54517_, Direction p_54518_) protected int
LeverBlock.getSignal
(BlockState p_54635_, BlockGetter p_54636_, BlockPos p_54637_, Direction p_54638_) protected int
LightningRodBlock.getSignal
(BlockState p_153723_, BlockGetter p_153724_, BlockPos p_153725_, Direction p_153726_) protected int
ObserverBlock.getSignal
(BlockState p_55101_, BlockGetter p_55102_, BlockPos p_55103_, Direction p_55104_) protected int
PoweredBlock.getSignal
(BlockState p_55208_, BlockGetter p_55209_, BlockPos p_55210_, Direction p_55211_) protected int
RedstoneTorchBlock.getSignal
(BlockState p_55694_, BlockGetter p_55695_, BlockPos p_55696_, Direction p_55697_) protected int
RedstoneWallTorchBlock.getSignal
(BlockState p_55752_, BlockGetter p_55753_, BlockPos p_55754_, Direction p_55755_) protected int
RedStoneWireBlock.getSignal
(BlockState p_55549_, BlockGetter p_55550_, BlockPos p_55551_, Direction p_55552_) protected int
SculkSensorBlock.getSignal
(BlockState p_154437_, BlockGetter p_154438_, BlockPos p_154439_, Direction p_154440_) protected int
TargetBlock.getSignal
(BlockState p_57402_, BlockGetter p_57403_, BlockPos p_57404_, Direction p_57405_) int
TestBlock.getSignal
(BlockState p_397637_, BlockGetter p_397297_, BlockPos p_397948_, Direction p_397493_) protected int
TrappedChestBlock.getSignal
(BlockState p_57577_, BlockGetter p_57578_, BlockPos p_57579_, Direction p_57580_) protected 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_) 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 static void
TripWireHookBlock.notifyNeighbors
(Block p_304466_, Level p_57694_, BlockPos p_57695_, Direction p_57696_) boolean
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_, BlockState p_361252_, Direction p_152448_) Deprecated.Neo: use overload with level context insteadstatic boolean
Block.shouldRenderFace
(BlockGetter level, BlockPos pos, BlockState p_152445_, BlockState p_361252_, Direction p_152448_) private BlockState
WallBlock.sideUpdate
(LevelReader p_57989_, BlockPos p_57990_, BlockState p_57991_, BlockPos p_57992_, BlockState p_57993_, Direction p_57994_) protected boolean
HalfTransparentBlock.skipRendering
(BlockState p_53972_, BlockState p_53973_, Direction p_53974_) protected boolean
IronBarsBlock.skipRendering
(BlockState p_54207_, BlockState p_54208_, Direction p_54209_) protected boolean
LiquidBlock.skipRendering
(BlockState p_54716_, BlockState p_54717_, Direction p_54718_) protected boolean
MangroveRootsBlock.skipRendering
(BlockState p_221510_, BlockState p_221511_, Direction p_221512_) protected boolean
PowderSnowBlock.skipRendering
(BlockState p_154268_, BlockState p_154269_, Direction p_154270_) private static void
RedStoneWireBlock.spawnParticlesAlongLine
(Level p_221923_, RandomSource p_221924_, BlockPos p_221925_, int p_380943_, 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_) protected BlockState
AmethystClusterBlock.updateShape
(BlockState p_152036_, LevelReader p_374202_, ScheduledTickAccess p_374490_, BlockPos p_152040_, Direction p_152037_, BlockPos p_152041_, BlockState p_152038_, RandomSource p_374353_) protected BlockState
AttachedStemBlock.updateShape
(BlockState p_48848_, LevelReader p_374143_, ScheduledTickAccess p_374241_, BlockPos p_48852_, Direction p_48849_, BlockPos p_48853_, BlockState p_48850_, RandomSource p_374410_) protected BlockState
BambooSaplingBlock.updateShape
(BlockState p_48990_, LevelReader p_374098_, ScheduledTickAccess p_374342_, BlockPos p_48994_, Direction p_48991_, BlockPos p_48995_, BlockState p_48992_, RandomSource p_374069_) protected BlockState
BambooStalkBlock.updateShape
(BlockState p_261476_, LevelReader p_374219_, ScheduledTickAccess p_374048_, BlockPos p_261876_, Direction p_261512_, BlockPos p_262140_, BlockState p_262167_, RandomSource p_374194_) protected BlockState
BannerBlock.updateShape
(BlockState p_49029_, LevelReader p_374424_, ScheduledTickAccess p_374052_, BlockPos p_49033_, Direction p_49030_, BlockPos p_49034_, BlockState p_49031_, RandomSource p_374142_) protected BlockState
BarrierBlock.updateShape
(BlockState p_296123_, LevelReader p_374369_, ScheduledTickAccess p_374403_, BlockPos p_294499_, Direction p_294509_, BlockPos p_295044_, BlockState p_296367_, RandomSource p_374441_) protected BlockState
BaseCoralPlantTypeBlock.updateShape
(BlockState p_49173_, LevelReader p_374072_, ScheduledTickAccess p_374103_, BlockPos p_49177_, Direction p_49174_, BlockPos p_49178_, BlockState p_49175_, RandomSource p_374124_) protected BlockState
BaseCoralWallFanBlock.updateShape
(BlockState p_49210_, LevelReader p_374317_, ScheduledTickAccess p_374285_, BlockPos p_49214_, Direction p_49211_, BlockPos p_49215_, BlockState p_49212_, RandomSource p_374146_) protected BlockState
BasePressurePlateBlock.updateShape
(BlockState p_49329_, LevelReader p_374394_, ScheduledTickAccess p_374263_, BlockPos p_49333_, Direction p_49330_, BlockPos p_49334_, BlockState p_49331_, RandomSource p_374547_) protected BlockState
BaseRailBlock.updateShape
(BlockState p_152151_, LevelReader p_374498_, ScheduledTickAccess p_374379_, BlockPos p_152155_, Direction p_152152_, BlockPos p_152156_, BlockState p_152153_, RandomSource p_374573_) protected BlockState
BaseTorchBlock.updateShape
(BlockState p_304418_, LevelReader p_374159_, ScheduledTickAccess p_374152_, BlockPos p_304633_, Direction p_304475_, BlockPos p_304603_, BlockState p_304669_, RandomSource p_374111_) protected BlockState
BedBlock.updateShape
(BlockState p_49525_, LevelReader p_374508_, ScheduledTickAccess p_374420_, BlockPos p_49529_, Direction p_49526_, BlockPos p_49530_, BlockState p_49527_, RandomSource p_374423_) protected BlockState
BeehiveBlock.updateShape
(BlockState p_49639_, LevelReader p_374043_, ScheduledTickAccess p_374351_, BlockPos p_49643_, Direction p_49640_, BlockPos p_49644_, BlockState p_49641_, RandomSource p_374258_) protected BlockState
BellBlock.updateShape
(BlockState p_49744_, LevelReader p_374108_, ScheduledTickAccess p_374552_, BlockPos p_49748_, Direction p_49745_, BlockPos p_49749_, BlockState p_49746_, RandomSource p_374282_) protected BlockState
BigDripleafBlock.updateShape
(BlockState p_152293_, LevelReader p_374459_, ScheduledTickAccess p_374181_, BlockPos p_152297_, Direction p_152294_, BlockPos p_152298_, BlockState p_152295_, RandomSource p_374504_) protected BlockState
BigDripleafStemBlock.updateShape
(BlockState p_152369_, LevelReader p_374512_, ScheduledTickAccess p_374089_, BlockPos p_152373_, Direction p_152370_, BlockPos p_152374_, BlockState p_152371_, RandomSource p_374360_) BrushableBlock.updateShape
(BlockState p_277801_, LevelReader p_374239_, ScheduledTickAccess p_374044_, BlockPos p_278111_, Direction p_277455_, BlockPos p_277904_, BlockState p_277832_, RandomSource p_374558_) protected BlockState
BubbleColumnBlock.updateShape
(BlockState p_50990_, LevelReader p_374232_, ScheduledTickAccess p_374471_, BlockPos p_50994_, Direction p_50991_, BlockPos p_50995_, BlockState p_50992_, RandomSource p_374033_) protected BlockState
CactusBlock.updateShape
(BlockState p_51157_, LevelReader p_374196_, ScheduledTickAccess p_374319_, BlockPos p_51161_, Direction p_51158_, BlockPos p_51162_, BlockState p_51159_, RandomSource p_374070_) protected BlockState
CakeBlock.updateShape
(BlockState p_51213_, LevelReader p_374144_, ScheduledTickAccess p_374554_, BlockPos p_51217_, Direction p_51214_, BlockPos p_51218_, BlockState p_51215_, RandomSource p_374177_) protected BlockState
CampfireBlock.updateShape
(BlockState p_51298_, LevelReader p_374562_, ScheduledTickAccess p_374439_, BlockPos p_51302_, Direction p_51299_, BlockPos p_51303_, BlockState p_51300_, RandomSource p_374147_) protected BlockState
CandleBlock.updateShape
(BlockState p_152833_, LevelReader p_374497_, ScheduledTickAccess p_374340_, BlockPos p_152837_, Direction p_152834_, BlockPos p_152838_, BlockState p_152835_, RandomSource p_374318_) protected BlockState
CandleCakeBlock.updateShape
(BlockState p_152898_, LevelReader p_374136_, ScheduledTickAccess p_374358_, BlockPos p_152902_, Direction p_152899_, BlockPos p_152903_, BlockState p_152900_, RandomSource p_374518_) protected BlockState
CarpetBlock.updateShape
(BlockState p_152926_, LevelReader p_374550_, ScheduledTickAccess p_374188_, BlockPos p_152930_, Direction p_152927_, BlockPos p_152931_, BlockState p_152928_, RandomSource p_374375_) protected BlockState
CeilingHangingSignBlock.updateShape
(BlockState p_251270_, LevelReader p_374479_, ScheduledTickAccess p_374489_, BlockPos p_249685_, Direction p_250331_, BlockPos p_251506_, BlockState p_249591_, RandomSource p_374041_) protected BlockState
ChainBlock.updateShape
(BlockState p_51461_, LevelReader p_374312_, ScheduledTickAccess p_374505_, BlockPos p_51465_, Direction p_51462_, BlockPos p_51466_, BlockState p_51463_, RandomSource p_374235_) protected BlockState
ChestBlock.updateShape
(BlockState p_51555_, LevelReader p_374487_, ScheduledTickAccess p_374060_, BlockPos p_51559_, Direction p_51556_, BlockPos p_51560_, BlockState p_51557_, RandomSource p_374212_) protected BlockState
ChorusFlowerBlock.updateShape
(BlockState p_51687_, LevelReader p_374269_, ScheduledTickAccess p_374493_, BlockPos p_51691_, Direction p_51688_, BlockPos p_51692_, BlockState p_51689_, RandomSource p_374130_) protected BlockState
ChorusPlantBlock.updateShape
(BlockState p_51728_, LevelReader p_374320_, ScheduledTickAccess p_374500_, BlockPos p_51732_, Direction p_51729_, BlockPos p_51733_, BlockState p_51730_, RandomSource p_374170_) protected BlockState
CocoaBlock.updateShape
(BlockState p_51771_, LevelReader p_374569_, ScheduledTickAccess p_374118_, BlockPos p_51775_, Direction p_51772_, BlockPos p_51776_, BlockState p_51773_, RandomSource p_374448_) ComparatorBlock.updateShape
(BlockState p_301069_, LevelReader p_374094_, ScheduledTickAccess p_374252_, BlockPos p_301025_, Direction p_301249_, BlockPos p_301045_, BlockState p_301318_, RandomSource p_374228_) protected BlockState
ConcretePowderBlock.updateShape
(BlockState p_52074_, LevelReader p_374245_, ScheduledTickAccess p_374286_, BlockPos p_52078_, Direction p_52075_, BlockPos p_52079_, BlockState p_52076_, RandomSource p_374119_) protected BlockState
ConduitBlock.updateShape
(BlockState p_52111_, LevelReader p_374404_, ScheduledTickAccess p_374238_, BlockPos p_52115_, Direction p_52112_, BlockPos p_52116_, BlockState p_52113_, RandomSource p_374453_) protected BlockState
CoralBlock.updateShape
(BlockState p_52143_, LevelReader p_374246_, ScheduledTickAccess p_374434_, BlockPos p_52147_, Direction p_52144_, BlockPos p_52148_, BlockState p_52145_, RandomSource p_374050_) protected BlockState
CoralFanBlock.updateShape
(BlockState p_52159_, LevelReader p_374555_, ScheduledTickAccess p_374197_, BlockPos p_52163_, Direction p_52160_, BlockPos p_52164_, BlockState p_52161_, RandomSource p_374083_) protected BlockState
CoralPlantBlock.updateShape
(BlockState p_52183_, LevelReader p_374499_, ScheduledTickAccess p_374397_, BlockPos p_52187_, Direction p_52184_, BlockPos p_52188_, BlockState p_52185_, RandomSource p_374079_) protected BlockState
CoralWallFanBlock.updateShape
(BlockState p_52210_, LevelReader p_374445_, ScheduledTickAccess p_374341_, BlockPos p_52214_, Direction p_52211_, BlockPos p_52215_, BlockState p_52212_, RandomSource p_374523_) protected BlockState
CreakingHeartBlock.updateShape
(BlockState p_379552_, LevelReader p_379446_, ScheduledTickAccess p_379318_, BlockPos p_379343_, Direction p_380340_, BlockPos p_380150_, BlockState p_379791_, RandomSource p_379888_) protected BlockState
DecoratedPotBlock.updateShape
(BlockState p_276307_, LevelReader p_374037_, ScheduledTickAccess p_374267_, BlockPos p_276270_, Direction p_276322_, BlockPos p_276312_, BlockState p_276280_, RandomSource p_374464_) protected BlockState
DirtPathBlock.updateShape
(BlockState p_153152_, LevelReader p_374225_, ScheduledTickAccess p_374127_, BlockPos p_153156_, Direction p_153153_, BlockPos p_153157_, BlockState p_153154_, RandomSource p_374236_) protected BlockState
DoorBlock.updateShape
(BlockState p_52796_, LevelReader p_374501_, ScheduledTickAccess p_374380_, BlockPos p_52800_, Direction p_52797_, BlockPos p_52801_, BlockState p_52798_, RandomSource p_374395_) protected BlockState
DoublePlantBlock.updateShape
(BlockState p_52894_, LevelReader p_374107_, ScheduledTickAccess p_374359_, BlockPos p_52898_, Direction p_52895_, BlockPos p_52899_, BlockState p_52896_, RandomSource p_374454_) protected BlockState
EnderChestBlock.updateShape
(BlockState p_53160_, LevelReader p_374322_, ScheduledTickAccess p_374149_, BlockPos p_53164_, Direction p_53161_, BlockPos p_53165_, BlockState p_53162_, RandomSource p_374199_) protected BlockState
FaceAttachedHorizontalDirectionalBlock.updateShape
(BlockState p_53190_, LevelReader p_374233_, ScheduledTickAccess p_374169_, BlockPos p_53194_, Direction p_53191_, BlockPos p_53195_, BlockState p_53192_, RandomSource p_374040_) protected BlockState
FallingBlock.updateShape
(BlockState p_53226_, LevelReader p_374327_, ScheduledTickAccess p_374521_, BlockPos p_53230_, Direction p_53227_, BlockPos p_53231_, BlockState p_53228_, RandomSource p_374287_) protected BlockState
FarmBlock.updateShape
(BlockState p_53276_, LevelReader p_374411_, ScheduledTickAccess p_374221_, BlockPos p_53280_, Direction p_53277_, BlockPos p_53281_, BlockState p_53278_, RandomSource p_374244_) protected BlockState
FenceBlock.updateShape
(BlockState p_53323_, LevelReader p_374492_, ScheduledTickAccess p_374576_, BlockPos p_53327_, Direction p_53324_, BlockPos p_53328_, BlockState p_53325_, RandomSource p_374530_) protected BlockState
FenceGateBlock.updateShape
(BlockState p_53382_, LevelReader p_374250_, ScheduledTickAccess p_374455_, BlockPos p_53386_, Direction p_53383_, BlockPos p_53387_, BlockState p_53384_, RandomSource p_374522_) protected BlockState
FireBlock.updateShape
(BlockState p_53458_, LevelReader p_374288_, ScheduledTickAccess p_374582_, BlockPos p_53462_, Direction p_53459_, BlockPos p_53463_, BlockState p_53460_, RandomSource p_374484_) protected BlockState
FlowerPotBlock.updateShape
(BlockState p_53547_, LevelReader p_374311_, ScheduledTickAccess p_374506_, BlockPos p_53551_, Direction p_53548_, BlockPos p_53552_, BlockState p_53549_, RandomSource p_374435_) protected BlockState
FrogspawnBlock.updateShape
(BlockState p_221213_, LevelReader p_374087_, ScheduledTickAccess p_374429_, BlockPos p_221217_, Direction p_221214_, BlockPos p_221218_, BlockState p_221215_, RandomSource p_374092_) protected BlockState
GrowingPlantBodyBlock.updateShape
(BlockState p_53913_, LevelReader p_374366_, ScheduledTickAccess p_374173_, BlockPos p_53917_, Direction p_53914_, BlockPos p_53918_, BlockState p_53915_, RandomSource p_374442_) protected BlockState
GrowingPlantHeadBlock.updateShape
(BlockState p_53951_, LevelReader p_374080_, ScheduledTickAccess p_374450_, BlockPos p_53955_, Direction p_53952_, BlockPos p_53956_, BlockState p_53953_, RandomSource p_374560_) protected BlockState
HangingMossBlock.updateShape
(BlockState p_380182_, LevelReader p_380219_, ScheduledTickAccess p_380011_, BlockPos p_380024_, Direction p_380101_, BlockPos p_380258_, BlockState p_379654_, RandomSource p_379547_) protected BlockState
HangingRootsBlock.updateShape
(BlockState p_153351_, LevelReader p_374138_, ScheduledTickAccess p_374229_, BlockPos p_153355_, Direction p_153352_, BlockPos p_153356_, BlockState p_153353_, RandomSource p_374467_) protected BlockState
HeavyCoreBlock.updateShape
(BlockState p_338756_, LevelReader p_374371_, ScheduledTickAccess p_374063_, BlockPos p_338346_, Direction p_338189_, BlockPos p_338401_, BlockState p_338723_, RandomSource p_374262_) protected BlockState
HugeMushroomBlock.updateShape
(BlockState p_54146_, LevelReader p_374323_, ScheduledTickAccess p_374514_, BlockPos p_54150_, Direction p_54147_, BlockPos p_54151_, BlockState p_54148_, RandomSource p_374091_) protected BlockState
IronBarsBlock.updateShape
(BlockState p_54211_, LevelReader p_374527_, ScheduledTickAccess p_374556_, BlockPos p_54215_, Direction p_54212_, BlockPos p_54216_, BlockState p_54213_, RandomSource p_374254_) protected BlockState
LadderBlock.updateShape
(BlockState p_54363_, LevelReader p_374096_, ScheduledTickAccess p_374237_, BlockPos p_54367_, Direction p_54364_, BlockPos p_54368_, BlockState p_54365_, RandomSource p_374476_) protected BlockState
LanternBlock.updateShape
(BlockState p_153483_, LevelReader p_374491_, ScheduledTickAccess p_374260_, BlockPos p_153487_, Direction p_153484_, BlockPos p_153488_, BlockState p_153485_, RandomSource p_374175_) protected BlockState
LeavesBlock.updateShape
(BlockState p_54440_, LevelReader p_374064_, ScheduledTickAccess p_374538_, BlockPos p_54444_, Direction p_54441_, BlockPos p_54445_, BlockState p_54442_, RandomSource p_374122_) protected BlockState
LightBlock.updateShape
(BlockState p_153680_, LevelReader p_374432_, ScheduledTickAccess p_374195_, BlockPos p_153684_, Direction p_153681_, BlockPos p_153685_, BlockState p_153682_, RandomSource p_374328_) protected BlockState
LightningRodBlock.updateShape
(BlockState p_153739_, LevelReader p_374261_, ScheduledTickAccess p_374456_, BlockPos p_153743_, Direction p_153740_, BlockPos p_153744_, BlockState p_153741_, RandomSource p_374086_) protected BlockState
LiquidBlock.updateShape
(BlockState p_54723_, LevelReader p_374418_, ScheduledTickAccess p_374542_, BlockPos p_54727_, Direction p_54724_, BlockPos p_54728_, BlockState p_54725_, RandomSource p_374563_) protected BlockState
MagmaBlock.updateShape
(BlockState p_54811_, LevelReader p_374494_, ScheduledTickAccess p_374388_, BlockPos p_54815_, Direction p_54812_, BlockPos p_54816_, BlockState p_54813_, RandomSource p_374472_) protected BlockState
MangrovePropaguleBlock.updateShape
(BlockState p_221477_, LevelReader p_374145_, ScheduledTickAccess p_374362_, BlockPos p_221481_, Direction p_221478_, BlockPos p_221482_, BlockState p_221479_, RandomSource p_374203_) protected BlockState
MangroveRootsBlock.updateShape
(BlockState p_221514_, LevelReader p_374345_, ScheduledTickAccess p_374139_, BlockPos p_221518_, Direction p_221515_, BlockPos p_221519_, BlockState p_221516_, RandomSource p_374100_) protected BlockState
MossyCarpetBlock.updateShape
(BlockState p_379698_, LevelReader p_379600_, ScheduledTickAccess p_380394_, BlockPos p_380051_, Direction p_380408_, BlockPos p_380380_, BlockState p_379613_, RandomSource p_379309_) protected BlockState
MultifaceBlock.updateShape
(BlockState p_153904_, LevelReader p_374463_, ScheduledTickAccess p_374073_, BlockPos p_153908_, Direction p_153905_, BlockPos p_153909_, BlockState p_153906_, RandomSource p_374390_) protected BlockState
NetherPortalBlock.updateShape
(BlockState p_54928_, LevelReader p_374413_, ScheduledTickAccess p_374339_, BlockPos p_54932_, Direction p_54929_, BlockPos p_54933_, BlockState p_54930_, RandomSource p_374242_) protected BlockState
NoteBlock.updateShape
(BlockState p_55048_, LevelReader p_374298_, ScheduledTickAccess p_374153_, BlockPos p_55052_, Direction p_55049_, BlockPos p_55053_, BlockState p_55050_, RandomSource p_374540_) protected BlockState
ObserverBlock.updateShape
(BlockState p_55118_, LevelReader p_374557_, ScheduledTickAccess p_374458_, BlockPos p_55122_, Direction p_55119_, BlockPos p_55123_, BlockState p_55120_, RandomSource p_374161_) PitcherCropBlock.updateShape
(BlockState p_277518_, LevelReader p_374059_, ScheduledTickAccess p_374076_, BlockPos p_277982_, Direction p_277700_, BlockPos p_278106_, BlockState p_277660_, RandomSource p_374409_) protected BlockState
PointedDripstoneBlock.updateShape
(BlockState p_154147_, LevelReader p_374104_, ScheduledTickAccess p_374078_, BlockPos p_154151_, Direction p_154148_, BlockPos p_154152_, BlockState p_154149_, RandomSource p_374393_) protected BlockState
RedstoneWallTorchBlock.updateShape
(BlockState p_55772_, LevelReader p_374227_, ScheduledTickAccess p_374302_, BlockPos p_55776_, Direction p_55773_, BlockPos p_55777_, BlockState p_55774_, RandomSource p_374372_) protected BlockState
RedStoneWireBlock.updateShape
(BlockState p_55598_, LevelReader p_374191_, ScheduledTickAccess p_374077_, BlockPos p_55602_, Direction p_55599_, BlockPos p_55603_, BlockState p_55600_, RandomSource p_374364_) protected BlockState
RepeaterBlock.updateShape
(BlockState p_55821_, LevelReader p_374255_, ScheduledTickAccess p_374035_, BlockPos p_55825_, Direction p_55822_, BlockPos p_55826_, BlockState p_55823_, RandomSource p_374140_) protected BlockState
ScaffoldingBlock.updateShape
(BlockState p_56044_, LevelReader p_374031_, ScheduledTickAccess p_374303_, BlockPos p_56048_, Direction p_56045_, BlockPos p_56049_, BlockState p_56046_, RandomSource p_374574_) protected BlockState
SculkSensorBlock.updateShape
(BlockState p_154457_, LevelReader p_374292_, ScheduledTickAccess p_374575_, BlockPos p_154461_, Direction p_154458_, BlockPos p_154462_, BlockState p_154459_, RandomSource p_374248_) protected BlockState
SculkShriekerBlock.updateShape
(BlockState p_222204_, LevelReader p_374289_, ScheduledTickAccess p_374095_, BlockPos p_222208_, Direction p_222205_, BlockPos p_222209_, BlockState p_222206_, RandomSource p_374058_) protected BlockState
SeagrassBlock.updateShape
(BlockState p_154530_, LevelReader p_374421_, ScheduledTickAccess p_374071_, BlockPos p_154534_, Direction p_154531_, BlockPos p_154535_, BlockState p_154532_, RandomSource p_374406_) protected BlockState
SeaPickleBlock.updateShape
(BlockState p_56113_, LevelReader p_374408_, ScheduledTickAccess p_374099_, BlockPos p_56117_, Direction p_56114_, BlockPos p_56118_, BlockState p_56115_, RandomSource p_374294_) protected BlockState
SignBlock.updateShape
(BlockState p_56285_, LevelReader p_374509_, ScheduledTickAccess p_374520_, BlockPos p_56289_, Direction p_56286_, BlockPos p_56290_, BlockState p_56287_, RandomSource p_374213_) protected BlockState
SlabBlock.updateShape
(BlockState p_56381_, LevelReader p_374541_, ScheduledTickAccess p_374470_, BlockPos p_56385_, Direction p_56382_, BlockPos p_56386_, BlockState p_56383_, RandomSource p_374101_) protected BlockState
SmallDripleafBlock.updateShape
(BlockState p_154625_, LevelReader p_374488_, ScheduledTickAccess p_374525_, BlockPos p_154629_, Direction p_154626_, BlockPos p_154630_, BlockState p_154627_, RandomSource p_374277_) protected BlockState
SnowLayerBlock.updateShape
(BlockState p_56606_, LevelReader p_374469_, ScheduledTickAccess p_374526_, BlockPos p_56610_, Direction p_56607_, BlockPos p_56611_, BlockState p_56608_, RandomSource p_374113_) protected BlockState
SnowyDirtBlock.updateShape
(BlockState p_56644_, LevelReader p_374564_, ScheduledTickAccess p_374201_, BlockPos p_56648_, Direction p_56645_, BlockPos p_56649_, BlockState p_56646_, RandomSource p_374447_) protected BlockState
SoulFireBlock.updateShape
(BlockState p_56659_, LevelReader p_374511_, ScheduledTickAccess p_374567_, BlockPos p_56663_, Direction p_56660_, BlockPos p_56664_, BlockState p_56661_, RandomSource p_374480_) protected BlockState
SoulSandBlock.updateShape
(BlockState p_56689_, LevelReader p_374561_, ScheduledTickAccess p_374416_, BlockPos p_56693_, Direction p_56690_, BlockPos p_56694_, BlockState p_56691_, RandomSource p_374114_) protected BlockState
SporeBlossomBlock.updateShape
(BlockState p_154713_, LevelReader p_374047_, ScheduledTickAccess p_374543_, BlockPos p_154717_, Direction p_154714_, BlockPos p_154718_, BlockState p_154715_, RandomSource p_374461_) protected BlockState
StairBlock.updateShape
(BlockState p_56925_, LevelReader p_374183_, ScheduledTickAccess p_374352_, BlockPos p_56929_, Direction p_56926_, BlockPos p_56930_, BlockState p_56927_, RandomSource p_374581_) protected BlockState
StandingSignBlock.updateShape
(BlockState p_57005_, LevelReader p_374220_, ScheduledTickAccess p_374377_, BlockPos p_57009_, Direction p_57006_, BlockPos p_57010_, BlockState p_57007_, RandomSource p_374251_) protected BlockState
SugarCaneBlock.updateShape
(BlockState p_57179_, LevelReader p_374168_, ScheduledTickAccess p_374217_, BlockPos p_57183_, Direction p_57180_, BlockPos p_57184_, BlockState p_57181_, RandomSource p_374240_) protected BlockState
TrapDoorBlock.updateShape
(BlockState p_57554_, LevelReader p_374386_, ScheduledTickAccess p_374038_, BlockPos p_57558_, Direction p_57555_, BlockPos p_57559_, BlockState p_57556_, RandomSource p_374093_) protected BlockState
TripWireBlock.updateShape
(BlockState p_57645_, LevelReader p_374437_, ScheduledTickAccess p_374214_, BlockPos p_57649_, Direction p_57646_, BlockPos p_57650_, BlockState p_57647_, RandomSource p_374065_) protected BlockState
TripWireHookBlock.updateShape
(BlockState p_57731_, LevelReader p_374415_, ScheduledTickAccess p_374046_, BlockPos p_57735_, Direction p_57732_, BlockPos p_57736_, BlockState p_57733_, RandomSource p_374155_) protected BlockState
VegetationBlock.updateShape
(BlockState p_401118_, LevelReader p_401198_, ScheduledTickAccess p_401107_, BlockPos p_401142_, Direction p_401236_, BlockPos p_401082_, BlockState p_401336_, RandomSource p_401169_) protected BlockState
VineBlock.updateShape
(BlockState p_57875_, LevelReader p_374150_, ScheduledTickAccess p_374192_, BlockPos p_57879_, Direction p_57876_, BlockPos p_57880_, BlockState p_57877_, RandomSource p_374278_) protected BlockState
WallBannerBlock.updateShape
(BlockState p_57935_, LevelReader p_374553_, ScheduledTickAccess p_374106_, BlockPos p_57939_, Direction p_57936_, BlockPos p_57940_, BlockState p_57937_, RandomSource p_374162_) protected BlockState
WallBlock.updateShape
(BlockState p_58014_, LevelReader p_374577_, ScheduledTickAccess p_374176_, BlockPos p_58018_, Direction p_58015_, BlockPos p_58019_, BlockState p_58016_, RandomSource p_374535_) protected BlockState
WallHangingSignBlock.updateShape
(BlockState p_249879_, LevelReader p_374368_, ScheduledTickAccess p_374179_, BlockPos p_252327_, Direction p_249939_, BlockPos p_251853_, BlockState p_250767_, RandomSource p_374570_) protected BlockState
WallSignBlock.updateShape
(BlockState p_58083_, LevelReader p_374417_, ScheduledTickAccess p_374151_, BlockPos p_58087_, Direction p_58084_, BlockPos p_58088_, BlockState p_58085_, RandomSource p_374032_) protected BlockState
WallTorchBlock.updateShape
(BlockState p_58143_, LevelReader p_374329_, ScheduledTickAccess p_374207_, BlockPos p_58147_, Direction p_58144_, BlockPos p_58148_, BlockState p_58145_, RandomSource p_374234_) protected BlockState
WaterloggedTransparentBlock.updateShape
(BlockState p_313906_, LevelReader p_374178_, ScheduledTickAccess p_374293_, BlockPos p_313842_, Direction p_313739_, BlockPos p_313843_, BlockState p_313829_, RandomSource p_374433_) Method parameters in net.minecraft.world.level.block with type arguments of type DirectionModifier and TypeMethodDescriptiondefault boolean
SculkBehaviour.attemptSpreadVein
(LevelAccessor p_222034_, BlockPos p_222035_, BlockState p_222036_, Collection<Direction> p_222037_, boolean p_222038_) static <S extends BlockEntity>
DoubleBlockCombiner.NeighborCombineResult<S> DoubleBlockCombiner.combineWithNeigbour
(BlockEntityType<S> p_52823_, Function<BlockState, DoubleBlockCombiner.BlockType> p_52824_, Function<BlockState, Direction> p_52825_, Property<Direction> p_374310_, BlockState p_52827_, LevelAccessor p_52828_, BlockPos p_52829_, BiPredicate<LevelAccessor, BlockPos> p_52830_) default Function
<BlockState, VoxelShape> SegmentableBlock.getShapeCalculator
(EnumProperty<Direction> p_394273_, IntegerProperty p_394415_) BonemealableBlock.getSpreadableNeighbourPos
(List<Direction> p_401891_, LevelReader p_401878_, BlockPos p_401894_, BlockState p_401830_) default BlockState
SegmentableBlock.getStateForPlacement
(BlockPlaceContext p_394035_, Block p_393593_, IntegerProperty p_394488_, EnumProperty<Direction> p_393563_) 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_) Constructors in net.minecraft.world.level.block with parameters of type DirectionModifierConstructorDescriptionGrowingPlantBlock
(BlockBehaviour.Properties p_53863_, Direction p_53864_, VoxelShape p_53865_, boolean p_53866_) GrowingPlantBodyBlock
(BlockBehaviour.Properties p_53886_, Direction p_53887_, VoxelShape p_53888_, boolean p_53889_) GrowingPlantHeadBlock
(BlockBehaviour.Properties p_53928_, Direction p_53929_, VoxelShape p_53930_, boolean p_53931_, double p_53932_) Creates an instance of aSpreadPos
record class.Constructor parameters in net.minecraft.world.level.block with type arguments of type DirectionModifierConstructorDescriptionprivate
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
Fields in net.minecraft.world.level.block.entity declared as DirectionModifier and TypeFieldDescriptionBellBlockEntity.clickDirection
private Direction
HopperBlockEntity.facing
private Direction
BrushableBlockEntity.hitDirection
Methods in net.minecraft.world.level.block.entity that return DirectionModifier and TypeMethodDescriptionDecoratedPotBlockEntity.getDirection()
BrushableBlockEntity.getHitDirection()
Methods in net.minecraft.world.level.block.entity with parameters of type DirectionModifier and TypeMethodDescriptionstatic ItemStack
HopperBlockEntity.addItem
(Container p_59327_, Container p_59328_, ItemStack p_59329_, Direction p_59330_) boolean
BrushableBlockEntity.brush
(long p_277786_, ServerLevel p_373105_, LivingEntity p_393879_, Direction p_277424_, ItemStack p_372848_) 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_273433_, Container p_273542_, ItemStack p_273400_, int p_273519_, Direction p_273088_) 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_) static ContainerOrHandler
HopperBlockEntity.getContainerOrHandlerAt
(Level level, BlockPos pos, Direction side) private static ContainerOrHandler
HopperBlockEntity.getContainerOrHandlerAt
(Level level, BlockPos pos, BlockState state, double x, double y, double z, Direction side) private static int[]
int[]
AbstractFurnaceBlockEntity.getSlotsForFace
(Direction p_58363_) int[]
BrewingStandBlockEntity.getSlotsForFace
(Direction p_59010_) int[]
ShulkerBoxBlockEntity.getSlotsForFace
(Direction p_59672_) 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.entity.vault
Methods in net.minecraft.world.level.block.entity.vault with parameters of type DirectionModifier and TypeMethodDescriptionprivate static Vec3
VaultBlockEntity.Client.keyholePos
(BlockPos p_323572_, Direction p_324503_) -
Uses of Direction in net.minecraft.world.level.block.piston
Fields in net.minecraft.world.level.block.piston declared as DirectionModifier and TypeFieldDescriptionprivate Direction
PistonMovingBlockEntity.direction
private final Direction
PistonStructureResolver.pistonDirection
private final Direction
PistonStructureResolver.pushDirection
Fields in net.minecraft.world.level.block.piston with type parameters of type DirectionModifier and TypeFieldDescriptionstatic final EnumProperty
<Direction> MovingPistonBlock.FACING
private static final ThreadLocal
<Direction> PistonMovingBlockEntity.NOCLIP
private static final Map
<Direction, VoxelShape> PistonBaseBlock.SHAPES
private static final Map
<Direction, VoxelShape> PistonHeadBlock.SHAPES
private static final Map
<Direction, VoxelShape> PistonHeadBlock.SHAPES_SHORT
Methods in net.minecraft.world.level.block.piston that return DirectionModifier and TypeMethodDescriptionPistonMovingBlockEntity.getDirection()
PistonMovingBlockEntity.getMovementDirection()
PistonMovingBlockEntity.getPushDirection()
PistonStructureResolver.getPushDirection()
Methods in net.minecraft.world.level.block.piston with parameters of type DirectionModifier and TypeMethodDescriptionprivate boolean
PistonStructureResolver.addBlockLine
(BlockPos p_60434_, Direction p_60435_) 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
(SignalGetter p_277378_, 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_) protected BlockState
PistonHeadBlock.updateShape
(BlockState p_60301_, LevelReader p_374256_, ScheduledTickAccess p_374426_, BlockPos p_60305_, Direction p_60302_, BlockPos p_60306_, BlockState p_60303_, RandomSource p_374478_) Constructors in net.minecraft.world.level.block.piston with parameters of type DirectionModifierConstructorDescriptionPistonMovingBlockEntity
(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
Fields in net.minecraft.world.level.block.state declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction[]
BlockBehaviour.BlockStateBase.Cache.DIRECTIONS
private static final Direction[]
BlockBehaviour.BlockStateBase.DIRECTIONS
protected static final Direction[]
BlockBehaviour.UPDATE_SHAPE_ORDER
Methods in net.minecraft.world.level.block.state with parameters of type DirectionModifier 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_) protected int
BlockBehaviour.getDirectSignal
(BlockState p_60559_, BlockGetter p_60560_, BlockPos p_60561_, Direction p_60562_) BlockBehaviour.BlockStateBase.getFaceOcclusionShape
(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_) protected int
BlockBehaviour.getSignal
(BlockState p_60483_, BlockGetter p_60484_, BlockPos p_60485_, Direction p_60486_) 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_) protected boolean
BlockBehaviour.skipRendering
(BlockState p_60532_, BlockState p_60533_, Direction p_60534_) BlockBehaviour.BlockStateBase.updateShape
(LevelReader p_374280_, ScheduledTickAccess p_374430_, BlockPos p_60732_, Direction p_60729_, BlockPos p_60733_, BlockState p_60730_, RandomSource p_374164_) protected BlockState
BlockBehaviour.updateShape
(BlockState p_60541_, LevelReader p_374332_, ScheduledTickAccess p_374457_, BlockPos p_60545_, Direction p_60542_, BlockPos p_60546_, BlockState p_60543_, RandomSource p_374120_) -
Uses of Direction in net.minecraft.world.level.block.state.pattern
Fields in net.minecraft.world.level.block.state.pattern declared as DirectionModifier and TypeFieldDescriptionprivate final Direction
BlockPattern.BlockPatternMatch.forwards
private final Direction
BlockPattern.BlockPatternMatch.up
Methods in net.minecraft.world.level.block.state.pattern that return DirectionModifier and TypeMethodDescriptionBlockPattern.BlockPatternMatch.getForwards()
BlockPattern.BlockPatternMatch.getUp()
Methods in net.minecraft.world.level.block.state.pattern with parameters of type DirectionModifier 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_) Constructors in net.minecraft.world.level.block.state.pattern with parameters of type DirectionModifierConstructorDescriptionBlockPatternMatch
(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
Fields in net.minecraft.world.level.block.state.properties declared as DirectionFields in net.minecraft.world.level.block.state.properties with type parameters of type DirectionModifier and TypeFieldDescriptionstatic final EnumProperty
<Direction> BlockStateProperties.FACING
static final EnumProperty
<Direction> BlockStateProperties.FACING_HOPPER
static final EnumProperty
<Direction> BlockStateProperties.HORIZONTAL_FACING
static final EnumProperty
<Direction> BlockStateProperties.VERTICAL_DIRECTION
Methods in net.minecraft.world.level.block.state.properties that return DirectionMethods in net.minecraft.world.level.block.state.properties that return types with arguments of type DirectionMethods in net.minecraft.world.level.block.state.properties with parameters of type DirectionModifier and TypeMethodDescriptionstatic int
RotationSegment.convertToSegment
(Direction p_249634_) Constructors in net.minecraft.world.level.block.state.properties with parameters of type Direction -
Uses of Direction in net.minecraft.world.level.border
Fields in net.minecraft.world.level.border declared as DirectionModifier and TypeFieldDescriptionprivate final Direction
WorldBorder.DistancePerDirection.direction
The field for thedirection
record component.Methods in net.minecraft.world.level.border that return DirectionModifier and TypeMethodDescriptionWorldBorder.DistancePerDirection.direction()
Returns the value of thedirection
record component.Constructors in net.minecraft.world.level.border with parameters of type DirectionModifierConstructorDescriptionDistancePerDirection
(Direction direction, double distance) Creates an instance of aDistancePerDirection
record class. -
Uses of Direction in net.minecraft.world.level.chunk
Fields in net.minecraft.world.level.chunk declared as DirectionMethods in net.minecraft.world.level.chunk with parameters of type DirectionModifier and TypeMethodDescriptionUpgradeData.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
Methods in net.minecraft.world.level.levelgen with parameters of type DirectionModifier 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
Fields in net.minecraft.world.level.levelgen.blockpredicates declared as DirectionMethods in net.minecraft.world.level.levelgen.blockpredicates with parameters of type DirectionModifier and TypeMethodDescriptionstatic BlockPredicate
BlockPredicate.hasSturdyFace
(Direction p_198914_) static BlockPredicate
BlockPredicate.hasSturdyFace
(Vec3i p_198309_, Direction p_198310_) Constructors in net.minecraft.world.level.levelgen.blockpredicates with parameters of type Direction -
Uses of Direction in net.minecraft.world.level.levelgen.feature
Fields in net.minecraft.world.level.levelgen.feature declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction[]
DeltaFeature.DIRECTIONS
private static final Direction[]
GeodeFeature.DIRECTIONS
private static final Direction[]
WeepingVinesFeature.DIRECTIONS
Methods in net.minecraft.world.level.levelgen.feature that return types with arguments of type DirectionModifier and TypeMethodDescriptionPointedDripstoneFeature.getTipDirection
(LevelAccessor p_225199_, BlockPos p_225200_, RandomSource p_225201_) Methods in net.minecraft.world.level.levelgen.feature with parameters of type DirectionModifier and TypeMethodDescriptionprotected static void
DripstoneUtils.buildBaseToTipColumn
(Direction p_159652_, int p_159653_, boolean p_159654_, Consumer<BlockState> p_159655_) private boolean
FallenTreeFeature.canPlaceEntireFallenLog
(WorldGenLevel p_409872_, int p_409631_, BlockPos.MutableBlockPos p_409954_, Direction p_409753_) private static BlockState
DripstoneUtils.createPointedDripstone
(Direction p_159657_, DripstoneThickness p_159658_) private static Function
<BlockState, BlockState> FallenTreeFeature.getSidewaysStateModifier
(Direction p_410699_) 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
FallenTreeFeature.placeFallenLog
(FallenTreeConfiguration p_410657_, WorldGenLevel p_409594_, RandomSource p_410124_, int p_410497_, BlockPos.MutableBlockPos p_410509_, Direction p_409944_) private void
DripstoneClusterFeature.replaceBlocksWithDripstoneBlocks
(WorldGenLevel p_159589_, BlockPos p_159590_, int p_159591_, Direction p_159592_) Method parameters in net.minecraft.world.level.levelgen.feature with type arguments of type DirectionModifier 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
Fields in net.minecraft.world.level.levelgen.feature.configurations declared as DirectionModifier and TypeFieldDescriptionprivate final Direction
BlockColumnConfiguration.direction
The field for thedirection
record component.Fields in net.minecraft.world.level.levelgen.feature.configurations with type parameters of type DirectionModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.ObjectArrayList
<Direction> MultifaceGrowthConfiguration.validDirections
Methods in net.minecraft.world.level.levelgen.feature.configurations that return DirectionModifier and TypeMethodDescriptionBlockColumnConfiguration.direction()
Returns the value of thedirection
record component.Methods in net.minecraft.world.level.levelgen.feature.configurations that return types with arguments of type DirectionModifier and TypeMethodDescriptionMultifaceGrowthConfiguration.getShuffledDirections
(RandomSource p_225400_) MultifaceGrowthConfiguration.getShuffledDirectionsExcept
(RandomSource p_225402_, Direction p_225403_) Methods in net.minecraft.world.level.levelgen.feature.configurations with parameters of type DirectionModifier and TypeMethodDescriptionMultifaceGrowthConfiguration.getShuffledDirectionsExcept
(RandomSource p_225402_, Direction p_225403_) Constructors in net.minecraft.world.level.levelgen.feature.configurations with parameters of type DirectionModifierConstructorDescriptionBlockColumnConfiguration
(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
Methods in net.minecraft.world.level.levelgen.feature.rootplacers with parameters of type DirectionModifier 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
Fields in net.minecraft.world.level.levelgen.feature.treedecorators declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction[]
BeehiveDecorator.SPAWN_DIRECTIONS
private static final Direction
BeehiveDecorator.WORLDGEN_FACING
Fields in net.minecraft.world.level.levelgen.feature.treedecorators with type parameters of type DirectionModifier and TypeFieldDescriptionAttachedToLeavesDecorator.directions
AttachedToLogsDecorator.directions
Methods in net.minecraft.world.level.levelgen.feature.treedecorators with parameters of type DirectionModifier and TypeMethodDescriptionprivate boolean
AttachedToLeavesDecorator.hasRequiredEmptyBlocks
(TreeDecorator.Context p_226002_, BlockPos p_226003_, Direction p_226004_) Constructor parameters in net.minecraft.world.level.levelgen.feature.treedecorators with type arguments of type DirectionModifierConstructorDescriptionAttachedToLeavesDecorator
(float p_225988_, int p_225989_, int p_225990_, BlockStateProvider p_225991_, int p_225992_, List<Direction> p_225993_) AttachedToLogsDecorator
(float p_410363_, BlockStateProvider p_410551_, List<Direction> p_409683_) -
Uses of Direction in net.minecraft.world.level.levelgen.feature.trunkplacers
Methods in net.minecraft.world.level.levelgen.feature.trunkplacers with parameters of type DirectionModifier and TypeMethodDescriptionprivate FoliagePlacer.FoliageAttachment
CherryTrunkPlacer.generateBranch
(LevelSimulatedReader p_272736_, BiConsumer<BlockPos, BlockState> p_273092_, RandomSource p_273449_, int p_272659_, BlockPos p_273743_, TreeConfiguration p_273027_, Function<BlockState, BlockState> p_273558_, Direction p_273712_, int p_272980_, boolean p_272719_, BlockPos.MutableBlockPos p_273496_) private 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
Fields in net.minecraft.world.level.levelgen.placement declared as DirectionModifier and TypeFieldDescriptionprivate final Direction
CaveSurface.direction
private final Direction
EnvironmentScanPlacement.directionOfSearch
Methods in net.minecraft.world.level.levelgen.placement that return DirectionMethods in net.minecraft.world.level.levelgen.placement with parameters of type DirectionModifier 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_) Constructors in net.minecraft.world.level.levelgen.placement with parameters of type DirectionModifierConstructorDescriptionprivate
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
Fields in net.minecraft.world.level.levelgen.structure declared as DirectionMethods in net.minecraft.world.level.levelgen.structure that return DirectionModifier and TypeMethodDescriptionStructurePiece.getOrientation()
protected static Direction
StructurePiece.getRandomHorizontalDirection
(RandomSource p_226761_) Methods in net.minecraft.world.level.levelgen.structure with parameters of type DirectionModifier 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_, ResourceKey<LootTable> p_336026_) 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_) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type DirectionModifierConstructorDescriptionprotected
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
Fields in net.minecraft.world.level.levelgen.structure.structures declared as DirectionModifier and TypeFieldDescriptionprivate final Direction
MineshaftPieces.MineShaftCrossing.direction
Methods in net.minecraft.world.level.levelgen.structure.structures that return DirectionModifier and TypeMethodDescriptionWoodlandMansionPieces.MansionGrid.get1x2RoomDirection
(WoodlandMansionPieces.SimpleGrid p_230068_, int p_230069_, int p_230070_, int p_230071_, int p_230072_) Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type DirectionModifier 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_) Constructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type DirectionModifierConstructorDescriptionprotected
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
Fields in net.minecraft.world.level.lighting declared as DirectionModifier and TypeFieldDescriptionprotected static final Direction[]
LightEngine.PROPAGATION_DIRECTIONS
Methods in net.minecraft.world.level.lighting with parameters of type DirectionModifier and TypeMethodDescriptionprivate static boolean
SkyLightEngine.crossedSectionEdge
(Direction p_285014_, int p_284991_, int p_285468_) static long
LightEngine.QueueEntry.decreaseSkipOneDirection
(int p_285429_, Direction p_285207_) static int
LightEngine.getLightBlockInto
(BlockState p_285453_, BlockState p_285318_, Direction p_285196_, int p_285248_) static VoxelShape
LightEngine.getOcclusionShape
(BlockState p_285020_, Direction p_285455_) static long
LightEngine.QueueEntry.increaseOnlyOneDirection
(int p_285025_, boolean p_285384_, Direction p_285072_) static long
LightEngine.QueueEntry.increaseSkipOneDirection
(int p_285091_, boolean p_285186_, Direction p_285382_) private void
SkyLightEngine.propagateFromEmptySections
(long p_284965_, Direction p_285308_, int p_284977_, boolean p_285001_, int p_285052_) protected boolean
LightEngine.shapeOccludes
(BlockState p_285154_, BlockState p_285155_, Direction p_285327_) static boolean
LightEngine.QueueEntry.shouldPropagateInDirection
(long p_285347_, Direction p_285291_) private static long
LightEngine.QueueEntry.withDirection
(long p_285295_, Direction p_285016_) private static long
LightEngine.QueueEntry.withoutDirection
(long p_285366_, Direction p_285489_) -
Uses of Direction in net.minecraft.world.level.material
Fields in net.minecraft.world.level.material declared as DirectionModifier and TypeFieldDescriptionprivate final Direction
FlowingFluid.BlockStatePairKey.direction
The field for thedirection
record component.Methods in net.minecraft.world.level.material that return DirectionModifier and TypeMethodDescriptionFlowingFluid.BlockStatePairKey.direction()
Returns the value of thedirection
record component.Methods in net.minecraft.world.level.material that return types with arguments of type DirectionModifier and TypeMethodDescriptionprotected Map
<Direction, FluidState> FlowingFluid.getSpread
(ServerLevel p_376283_, BlockPos p_76081_, BlockState p_76082_) Methods in net.minecraft.world.level.material with parameters of type DirectionModifier 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.canMaybePassThrough
(BlockGetter p_361039_, BlockPos p_364099_, BlockState p_363055_, Direction p_361101_, BlockPos p_362307_, BlockState p_363139_, FluidState p_362538_) 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 static boolean
FlowingFluid.canPassThroughWall
(Direction p_76062_, BlockGetter p_76063_, BlockPos p_76064_, BlockState p_76065_, BlockPos p_76066_, BlockState p_76067_) protected int
FlowingFluid.getSlopeDistance
(LevelReader p_76027_, BlockPos p_76028_, int p_76029_, Direction p_76030_, BlockState p_76031_, FlowingFluid.SpreadContext p_364491_) 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_) Constructors in net.minecraft.world.level.material with parameters of type DirectionModifierConstructorDescription(package private)
BlockStatePairKey
(BlockState first, BlockState second, Direction direction) Creates an instance of aBlockStatePairKey
record class. -
Uses of Direction in net.minecraft.world.level.pathfinder
Methods in net.minecraft.world.level.pathfinder with parameters of type DirectionModifier and TypeMethodDescriptionprotected Node
WalkNodeEvaluator.findAcceptedNode
(int p_164726_, int p_164727_, int p_164728_, int p_164729_, double p_164730_, Direction p_164731_, PathType p_326873_) private Node
WalkNodeEvaluator.tryJumpOn
(int p_326914_, int p_326900_, int p_326886_, int p_326902_, double p_326800_, Direction p_326868_, PathType p_326831_, BlockPos.MutableBlockPos p_326839_) -
Uses of Direction in net.minecraft.world.level.portal
Fields in net.minecraft.world.level.portal declared as DirectionMethods in net.minecraft.world.level.portal with parameters of type DirectionModifier and TypeMethodDescriptionprivate static BlockPos
PortalShape.calculateBottomLeft
(BlockGetter p_374347_, Direction p_374365_, BlockPos p_77734_) private static int
PortalShape.calculateHeight
(BlockGetter p_374198_, BlockPos p_374414_, Direction p_374486_, int p_374126_, org.apache.commons.lang3.mutable.MutableInt p_374165_) private static int
PortalShape.calculateWidth
(BlockGetter p_374528_, BlockPos p_374039_, Direction p_374180_) private boolean
PortalForcer.canHostFrame
(BlockPos p_77662_, BlockPos.MutableBlockPos p_77663_, Direction p_77664_, int p_77665_) private static int
PortalShape.getDistanceUntilEdgeAboveFrame
(BlockGetter p_374084_, BlockPos p_77736_, Direction p_77737_) private static int
PortalShape.getDistanceUntilTop
(BlockGetter p_374443_, BlockPos p_374231_, Direction p_374062_, BlockPos.MutableBlockPos p_77729_, int p_374313_, org.apache.commons.lang3.mutable.MutableInt p_374330_) private static boolean
PortalShape.hasTopFrame
(BlockGetter p_374223_, BlockPos p_374398_, Direction p_374129_, BlockPos.MutableBlockPos p_77731_, int p_77732_, int p_374112_) Constructors in net.minecraft.world.level.portal with parameters of type DirectionModifierConstructorDescriptionprivate
PortalShape
(Direction.Axis p_77697_, int p_374222_, Direction p_374407_, BlockPos p_77696_, int p_374218_, int p_374477_) -
Uses of Direction in net.minecraft.world.level.redstone
Fields in net.minecraft.world.level.redstone declared as DirectionModifier and TypeFieldDescriptionprivate final Direction
CollectingNeighborUpdater.ShapeUpdate.direction
The field for thedirection
record component.private final Direction
Orientation.front
private final Direction
Orientation.side
private final Direction
CollectingNeighborUpdater.MultiNeighborUpdate.skipDirection
private final Direction
Orientation.up
static final Direction[]
NeighborUpdater.UPDATE_ORDER
Fields in net.minecraft.world.level.redstone with type parameters of type DirectionModifier and TypeFieldDescriptionOrientation.horizontalNeighbors
Orientation.neighbors
Orientation.verticalNeighbors
private final Map
<Direction, Orientation> Orientation.withFront
private final Map
<Direction, Orientation> Orientation.withUp
Methods in net.minecraft.world.level.redstone that return DirectionModifier and TypeMethodDescriptionCollectingNeighborUpdater.ShapeUpdate.direction()
Returns the value of thedirection
record component.Orientation.getFront()
Orientation.getSide()
Orientation.getUp()
Methods in net.minecraft.world.level.redstone that return types with arguments of type DirectionModifier and TypeMethodDescriptionOrientation.getDirections()
Orientation.getHorizontalDirections()
Orientation.getVerticalDirections()
Methods in net.minecraft.world.level.redstone with parameters of type DirectionModifier and TypeMethodDescriptionstatic void
NeighborUpdater.executeShapeUpdate
(LevelAccessor p_230771_, Direction p_230772_, BlockPos p_230774_, BlockPos p_230775_, BlockState p_230773_, int p_230776_, int p_230777_) protected static int
Orientation.generateIndex
(Direction p_363983_, Direction p_362587_, Orientation.SideBias p_364035_) static Orientation
ExperimentalRedstoneUtils.initialOrientation
(Level p_366754_, Direction p_366872_, Direction p_366796_) private static boolean
ExperimentalRedstoneWireEvaluator.isConnected
(BlockState p_363855_, Direction p_362257_) static Orientation
Orientation.of
(Direction p_364419_, Direction p_364902_, Orientation.SideBias p_361055_) 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_, Orientation p_365269_) default void
NeighborUpdater.updateNeighborsAtExceptFromFacing
(BlockPos p_230788_, Block p_230789_, Direction p_230790_, Orientation p_365241_) static Orientation
ExperimentalRedstoneUtils.withFront
(Orientation p_361215_, Direction p_362021_) Orientation.withFrontAdjustSideBias
(Direction p_360736_) Orientation.withFrontPreserveUp
(Direction p_366441_) Constructors in net.minecraft.world.level.redstone with parameters of type DirectionModifierConstructorDescription(package private)
MultiNeighborUpdate
(BlockPos p_230697_, Block p_230698_, Orientation p_362762_, Direction p_230699_) private
Orientation
(Direction p_362594_, Direction p_362639_, Orientation.SideBias p_361294_) (package private)
ShapeUpdate
(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int updateFlags, int updateLimit) Creates an instance of aShapeUpdate
record class. -
Uses of Direction in net.minecraft.world.phys
Fields in net.minecraft.world.phys declared as DirectionMethods in net.minecraft.world.phys that return DirectionModifier 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
(double p_364368_, double p_364216_, double p_364169_, double p_361791_, double p_364011_, double p_362267_, Vec3 p_360578_, double[] p_361390_, Direction p_365077_, double p_362143_, double p_362210_, double p_364339_) 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()
Methods in net.minecraft.world.phys with parameters of type DirectionModifier 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
(double p_364368_, double p_364216_, double p_364169_, double p_361791_, double p_364011_, double p_362267_, Vec3 p_360578_, double[] p_361390_, Direction p_365077_, double p_362143_, double p_362210_, double p_364339_) 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_) Constructors in net.minecraft.world.phys with parameters of type DirectionModifierConstructorDescriptionprivate
BlockHitResult
(boolean p_82420_, Vec3 p_82421_, Direction p_82422_, BlockPos p_82423_, boolean p_82424_, boolean p_366493_) BlockHitResult
(Vec3 p_82415_, Direction p_82416_, BlockPos p_82417_, boolean p_82418_) BlockHitResult
(Vec3 p_366888_, Direction p_366561_, BlockPos p_366409_, boolean p_366822_, boolean p_366589_) -
Uses of Direction in net.minecraft.world.phys.shapes
Methods in net.minecraft.world.phys.shapes that return types with arguments of type DirectionModifier and TypeMethodDescriptionstatic Map
<Direction, VoxelShape> Shapes.rotateAll
(VoxelShape p_394480_) static Map
<Direction, VoxelShape> Shapes.rotateAll
(VoxelShape p_394143_, Vec3 p_394280_) static Map
<AttachFace, Map<Direction, VoxelShape>> Shapes.rotateAttachFace
(VoxelShape p_394129_) static Map
<Direction, VoxelShape> Shapes.rotateHorizontal
(VoxelShape p_393618_) static Map
<Direction, VoxelShape> Shapes.rotateHorizontal
(VoxelShape p_394145_, Vec3 p_393544_) Methods in net.minecraft.world.phys.shapes with parameters of type DirectionModifier and TypeMethodDescriptionstatic boolean
Shapes.blockOccludes
(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_) VoxelShape.getFaceShape
(Direction p_83264_) static boolean
Shapes.mergedFaceOccludes
(VoxelShape p_83153_, VoxelShape p_83154_, Direction p_83155_) -
Uses of Direction in net.neoforged.neoforge.capabilities
Fields in net.neoforged.neoforge.capabilities with type parameters of type DirectionModifier and TypeFieldDescriptionstatic final BlockCapability
<IEnergyStorage, @Nullable Direction> Capabilities.EnergyStorage.BLOCK
static final BlockCapability
<IFluidHandler, @Nullable Direction> Capabilities.FluidHandler.BLOCK
static final BlockCapability
<IItemHandler, @Nullable Direction> Capabilities.ItemHandler.BLOCK
static final EntityCapability
<IEnergyStorage, @Nullable Direction> Capabilities.EnergyStorage.ENTITY
static final EntityCapability
<IFluidHandler, @Nullable Direction> Capabilities.FluidHandler.ENTITY
static final EntityCapability
<IItemHandler, @Nullable Direction> Capabilities.ItemHandler.ENTITY_AUTOMATION
Capability for an inventory of entity that should be accessible to automation, in the sense that droppers, hoppers, and similar modded devices will try to use it.Methods in net.neoforged.neoforge.capabilities that return types with arguments of type DirectionModifier and TypeMethodDescriptionstatic <T> BlockCapability
<T, @Nullable Direction> BlockCapability.createSided
(ResourceLocation name, Class<T> typeClass) Creates a new block capability with nullableDirection
context, or gets it if it already exists.static <T> EntityCapability
<T, @Nullable Direction> EntityCapability.createSided
(ResourceLocation name, Class<T> typeClass) Creates a new entity capability with nullableDirection
context, or gets it if it already exists. -
Uses of Direction in net.neoforged.neoforge.client.extensions.common
Methods in net.neoforged.neoforge.client.extensions.common with parameters of type DirectionModifier and TypeMethodDescriptiondefault boolean
IClientBlockExtensions.playHitSound
(BlockState state, Level level, BlockPos pos, Direction face, SoundManager soundManager) Play hit sound(s) when the block is punched. -
Uses of Direction in net.neoforged.neoforge.client.model
Methods in net.neoforged.neoforge.client.model with parameters of type DirectionModifier and TypeMethodDescriptionorg.joml.Matrix4fc
ComposedModelState.faceTransformation
(Direction side) org.joml.Matrix4fc
ComposedModelState.inverseFaceTransformation
(Direction side) -
Uses of Direction in net.neoforged.neoforge.client.model.ao
Methods in net.neoforged.neoforge.client.model.ao with parameters of type DirectionModifier and TypeMethodDescriptionvoid
EnhancedAoRenderStorage.calculate
(BlockAndTintGetter level, BlockState state, BlockPos pos, Direction direction, boolean shade) private void
EnhancedAoRenderStorage.calculateAxisAligned
(BlockAndTintGetter level, BlockState state, BlockPos pos, Direction direction, boolean shade) Computes AO for an axis-aligned quad.(package private) AoCalculatedFace
FullFaceCalculator.calculateFace
(BlockAndTintGetter level, BlockState renderedState, BlockPos renderedPos, Direction direction, boolean shade, boolean sampleOutside) private void
FullFaceCalculator.calculateFaceUncached
(AoCalculatedFace out, BlockAndTintGetter level, BlockState renderedState, BlockPos renderedPos, Direction direction, boolean shade, boolean sampleOutside) Computes the AO for a full face.static AoFace
AoFace.fromDirection
(Direction direction) -
Uses of Direction in net.neoforged.neoforge.client.model.generators.template
Fields in net.neoforged.neoforge.client.model.generators.template declared as DirectionFields in net.neoforged.neoforge.client.model.generators.template with type parameters of type DirectionMethods in net.neoforged.neoforge.client.model.generators.template that return types with arguments of type DirectionModifier and TypeMethodDescriptionprivate static BiConsumer
<Direction, FaceBuilder> ElementBuilder.addTexture
(TextureSlot texture) Methods in net.neoforged.neoforge.client.model.generators.template with parameters of type DirectionModifier and TypeMethodDescriptionSets which direction should cull this face when fully occluded, or null to never cull.ElementBuilder.face
(Direction dir, Consumer<FaceBuilder> action) Return or create the face builder for the given direction.Method parameters in net.neoforged.neoforge.client.model.generators.template with type arguments of type DirectionModifier and TypeMethodDescriptionElementBuilder.allFaces
(BiConsumer<Direction, FaceBuilder> action) Modify all possible faces dynamically using a function, creating new faces as necessary.ElementBuilder.allFacesExcept
(BiConsumer<Direction, FaceBuilder> action, Set<Direction> exc) Creates possible faces for the model as needed, excluding those specified in the second argument, and then applies a function to modify added faces.ElementBuilder.allFacesExcept
(BiConsumer<Direction, FaceBuilder> action, Set<Direction> exc) Creates possible faces for the model as needed, excluding those specified in the second argument, and then applies a function to modify added faces.ElementBuilder.faces
(BiConsumer<Direction, FaceBuilder> action) Modify all existing faces dynamically using a function. -
Uses of Direction in net.neoforged.neoforge.client.model.obj
Methods in net.neoforged.neoforge.client.model.obj that return types with arguments of type DirectionModifier and TypeMethodDescriptionObjGeometry.makeQuad
(int[][] indices, int tintIndex, org.joml.Vector4f colorTint, org.joml.Vector4f ambientColor, TextureAtlasSprite texture, Transformation transform) -
Uses of Direction in net.neoforged.neoforge.client.model.pipeline
Fields in net.neoforged.neoforge.client.model.pipeline declared as DirectionMethods in net.neoforged.neoforge.client.model.pipeline with parameters of type DirectionModifier and TypeMethodDescriptionvoid
QuadBakingVertexConsumer.setDirection
(Direction direction) -
Uses of Direction in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type DirectionModifier and TypeMethodDescriptionboolean
SpecialPlantable.canPlacePlantAtPosition
(ItemStack itemStack, LevelReader level, BlockPos pos, @Nullable Direction direction) Checks location if this item can spawn a plant with the given direction attachment point.CommonHooks.onClientMineHold
(Player player, BlockPos pos, Direction face) CommonHooks.onLeftClickBlock
(Player player, BlockPos pos, Direction face, ServerboundPlayerActionPacket.Action action) void
SpecialPlantable.spawnPlantAtPosition
(ItemStack itemStack, LevelAccessor level, BlockPos pos, @Nullable Direction direction) Spawns the plant with the given direction attachment point at location. -
Uses of Direction in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return DirectionModifier and TypeMethodDescriptiondefault Direction
IBlockExtension.getBedDirection
(BlockState state, LevelReader level, BlockPos pos) Returns the direction of the block.default Direction
IBlockStateExtension.getBedDirection
(LevelReader level, BlockPos pos) Returns the direction of the block.default Direction
ITransformationExtension.rotateTransform
(Direction facing) Rotates the direction according to this transformation and returns the nearestDirection
to the resulting direction.Methods in net.neoforged.neoforge.common.extensions with parameters of type DirectionModifier and TypeMethodDescriptiondefault boolean
IBlockExtension.canConnectRedstone
(BlockState state, BlockGetter level, BlockPos pos, @Nullable Direction direction) Whether redstone dust should visually connect to this block on a given sidedefault boolean
IBlockStateExtension.canRedstoneConnectTo
(BlockGetter level, BlockPos pos, @Nullable Direction direction) Whether redstone dust should visually connect to this block on a side.default TriState
IBlockExtension.canSustainPlant
(BlockState state, BlockGetter level, BlockPos soilPosition, Direction facing, BlockState plant) Determines if this block either force allow or force disallow a plant from being placed on it.default TriState
IBlockStateExtension.canSustainPlant
(BlockGetter level, BlockPos soilPosition, Direction facing, BlockState plant) Determines if this block either force allow or force disallow a plant from being placed on it.default BlockState
IBlockExtension.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
IBlockStateExtension.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
IBlockExtension.getFireSpreadSpeed
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when fire is updating on a neighbor block.default int
IBlockStateExtension.getFireSpreadSpeed
(BlockGetter level, BlockPos pos, Direction face) Called when fire is updating on a neighbor block.default int
IBlockExtension.getFlammability
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Chance that fire will spread and consume this block. 300 being a 100% chance, 0, being a 0% chance.default int
IBlockStateExtension.getFlammability
(BlockGetter level, BlockPos pos, Direction face) Chance that fire will spread and consume this block. 300 being a 100% chance, 0, being a 0% chance.default boolean
IBlockExtension.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
IBlockStateExtension.hidesNeighborFace
(BlockGetter level, BlockPos pos, BlockState neighborState, Direction dir) Whether this block hides the neighbors face pointed towards by the given direction.default boolean
IBlockExtension.isFireSource
(BlockState state, LevelReader level, BlockPos pos, Direction direction) Currently only called by fire when it is on top of this block.default boolean
IBlockStateExtension.isFireSource
(LevelReader level, BlockPos pos, Direction side) Currently only called by fire when it is on top of this block.default boolean
IBlockExtension.isFlammable
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when fire is updating, checks if a block face can catch fire.default boolean
IBlockStateExtension.isFlammable
(BlockGetter level, BlockPos pos, Direction face) Called when fire is updating, checks if a block face can catch fire.default boolean
IBlockExtension.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 boolean
IBlockStateExtension.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 void
IBlockExtension.onDestroyedByPushReaction
(BlockState state, Level level, BlockPos pos, Direction pushDirection, FluidState fluid) Called when a block is removed byPushReaction.DESTROY
.default void
IBlockStateExtension.onDestroyedByPushReaction
(Level level, BlockPos pos, Direction pushDirection, FluidState fluid) Called when a block is removed byPushReaction.DESTROY
.default Direction
ITransformationExtension.rotateTransform
(Direction facing) Rotates the direction according to this transformation and returns the nearestDirection
to the resulting direction.default boolean
IBlockExtension.shouldCheckWeakPower
(BlockState state, SignalGetter level, BlockPos pos, Direction side) Called to determine whether to allow the block to handle its own indirect power rather than using the default rules.default boolean
IBlockStateExtension.shouldCheckWeakPower
(SignalGetter level, BlockPos pos, Direction side) Called to determine whether to allow the block to handle its own indirect power rather than using the default rules.default boolean
IBlockExtension.shouldHideAdjacentFluidFace
(BlockState state, Direction selfFace, FluidState adjacentFluid) Determines if a fluid adjacent to the block on the given side should not be rendered.default boolean
IBlockStateExtension.shouldHideAdjacentFluidFace
(Direction selfFace, FluidState adjacentFluid) Determines if a fluid adjacent to the block on the given side should not be rendered. -
Uses of Direction in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type DirectionModifier and TypeMethodDescriptionstatic boolean
EventHooks.onBlockPlace
(@Nullable Entity entity, BlockSnapshot blockSnapshot, Direction direction) static boolean
EventHooks.onMultiBlockPlace
(@Nullable Entity entity, List<BlockSnapshot> blockSnapshots, Direction direction) static void
EventHooks.onPistonMovePost
(Level level, BlockPos pos, Direction direction, boolean extending) static boolean
EventHooks.onPistonMovePre
(Level level, BlockPos pos, Direction direction, boolean extending) Method parameters in net.neoforged.neoforge.event with type arguments of type DirectionModifier and TypeMethodDescriptionEventHooks.onNeighborNotify
(Level level, BlockPos pos, BlockState state, EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate) -
Uses of Direction in net.neoforged.neoforge.event.entity.player
Fields in net.neoforged.neoforge.event.entity.player declared as DirectionModifier and TypeFieldDescriptionprivate final @Nullable Direction
PlayerInteractEvent.face
private final @Nullable Direction
UseItemOnBlockEvent.face
Methods in net.neoforged.neoforge.event.entity.player that return DirectionModifier and TypeMethodDescription@Nullable Direction
PlayerInteractEvent.getFace()
@Nullable Direction
UseItemOnBlockEvent.getFace()
Constructors in net.neoforged.neoforge.event.entity.player with parameters of type DirectionModifierConstructorDescriptionLeftClickBlock
(Player player, BlockPos pos, Direction face, PlayerInteractEvent.LeftClickBlock.Action action) protected
PlayerInteractEvent
(Player player, InteractionHand hand, BlockPos pos, @Nullable Direction face) -
Uses of Direction in net.neoforged.neoforge.event.level
Fields in net.neoforged.neoforge.event.level declared as DirectionFields in net.neoforged.neoforge.event.level with type parameters of type DirectionMethods in net.neoforged.neoforge.event.level that return DirectionMethods in net.neoforged.neoforge.event.level that return types with arguments of type DirectionModifier and TypeMethodDescriptionBlockEvent.NeighborNotifyEvent.getNotifiedSides()
Gets a list of directions from the base block that updates will occur upon.Constructors in net.neoforged.neoforge.event.level with parameters of type DirectionModifierConstructorDescriptionPistonEvent
(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) Constructor parameters in net.neoforged.neoforge.event.level with type arguments of type DirectionModifierConstructorDescriptionNeighborNotifyEvent
(Level level, BlockPos pos, BlockState state, EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate) -
Uses of Direction in net.neoforged.neoforge.fluids
Methods in net.neoforged.neoforge.fluids with parameters of type DirectionModifier and TypeMethodDescriptionprotected boolean
BaseFlowingFluid.canBeReplacedWith
(FluidState state, BlockGetter level, BlockPos pos, Fluid fluidIn, Direction direction) static Optional
<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
(Player player, InteractionHand hand, Level level, 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 FluidActionResult
FluidUtil.tryPickUpFluid
(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.neoforged.neoforge.items
Methods in net.neoforged.neoforge.items with parameters of type DirectionModifier and TypeMethodDescriptionstatic ContainerOrHandler
VanillaInventoryCodeHooks.getEntityContainerOrHandler
(Level level, double x, double y, double z, @Nullable Direction side) -
Uses of Direction in net.neoforged.neoforge.items.wrapper
Fields in net.neoforged.neoforge.items.wrapper declared as DirectionMethods in net.neoforged.neoforge.items.wrapper with parameters of type DirectionModifier and TypeMethodDescriptionstatic int
SidedInvWrapper.getSlot
(WorldlyContainer inv, int slot, @Nullable Direction side) Constructors in net.neoforged.neoforge.items.wrapper with parameters of type Direction