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.rotatedDirectionsOctahedralGroup.rotatedDirectionsMethods 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 intBlockUtil.getLimit(Predicate<BlockPos> pPosPredicate, BlockPos.MutableBlockPos pCenterPos, Direction pDirection, int pMax) Finds the distance we can travel in the given direction while the predicate returns trueBlockUtil.getTopConnectedBlock(BlockGetter pGetter, BlockPos pPos, Block pBaseBlock, Direction pDirection, Block pEndBlock) -
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_GENERATORMethods in net.minecraft.client.data.models with parameters of type DirectionModifier and TypeMethodDescriptionBlockModelGenerators.createPointedDripstoneVariant(Direction pDirection, DripstoneThickness pThickness) 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<?, ?> pState, Function<Direction, T> pFacePropertyGetter) -
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 pOriginX, float pOriginY, float pOriginZ, float pDimensionX, float pDimensionY, float pDimensionZ, Set<Direction> pVisibleFaces) Constructor parameters in net.minecraft.client.model.geom.builders with type arguments of type DirectionModifierConstructorDescriptionprotectedCubeDefinition(String pComment, float pTexCoordU, float pTexCoordV, float pOriginX, float pOriginY, float pOriginZ, float pDimensionX, float pDimensionY, float pDimensionZ, CubeDeformation pGrow, boolean pMirror, float pTexScaleU, float pTexScaleV, Set<Direction> pVisibleFaces) -
Uses of Direction in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type DirectionModifier and TypeMethodDescriptionbooleanMultiPlayerGameMode.continueDestroyBlock(BlockPos pPosBlock, Direction pDirectionFacing) floatbooleanMultiPlayerGameMode.startDestroyBlock(BlockPos pLoc, Direction pFace) Called when the player is hitting a block with an item. -
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.DIRECTIONSMethods in net.minecraft.client.renderer with parameters of type DirectionModifier and TypeMethodDescription(package private) voidSectionOcclusionGraph.Node.addSourceDirection(Direction pSourceDirection) static FaceInfoFaceInfo.fromFacing(Direction pFacing) SectionOcclusionGraph.getRelativeFrom(long pSectionPos, SectionRenderDispatcher.RenderSection pSection, Direction pDirection) (package private) booleanSectionOcclusionGraph.Node.hasDirection(Direction pDirection) static voidShapeRenderer.renderFace(PoseStack pPoseStack, VertexConsumer pBuffer, Direction pFace, float pX1, float pY1, float pZ1, float pX2, float pY2, float pZ2, float pRed, float pGreen, float pBlue, float pAlpha) (package private) voidSectionOcclusionGraph.Node.setDirections(byte pCurrentValue, Direction pDirection) Constructors in net.minecraft.client.renderer with parameters of type DirectionModifierConstructorDescription(package private)Node(SectionRenderDispatcher.RenderSection pSection, Direction pSourceDirection, int pStep) -
Uses of Direction in net.minecraft.client.renderer.block
Fields in net.minecraft.client.renderer.block declared as DirectionModifier and TypeFieldDescriptionfinal Direction[]ModelBlockRenderer.AdjacencyInfo.cornersprivate static final Direction[]ModelBlockRenderer.DIRECTIONSMethods in net.minecraft.client.renderer.block with parameters of type DirectionModifier and TypeMethodDescriptionvoidModelBlockRenderer.AmbientOcclusionRenderStorage.calculate(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, Direction pDirection, boolean pShade) private static voidModelBlockRenderer.calculateShape(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, int[] pVerticies, Direction pDirection, ModelBlockRenderer.CommonRenderStorage pRenderStorage) ModelBlockRenderer.AdjacencyInfo.fromFacing(Direction pFacing) ModelBlockRenderer.AmbientVertexRemap.fromFacing(Direction pFacing) private static booleanLiquidBlockRenderer.isFaceOccludedByNeighbor(Direction pFace, float pHeight, BlockState pState) private static booleanLiquidBlockRenderer.isFaceOccludedBySelf(BlockState pState, Direction pFace) private static booleanLiquidBlockRenderer.isFaceOccludedByState(Direction pFace, float pHeight, BlockState pState) private static booleanLiquidBlockRenderer.isNeighborStateHidingOverlay(FluidState selfState, BlockState otherState, Direction neighborFace) static booleanLiquidBlockRenderer.shouldRenderFace(FluidState fluidState, BlockState selfState, Direction direction, BlockState otherState) static booleanLiquidBlockRenderer.shouldRenderFace(FluidState pFluidState, BlockState pBlockState, Direction pSide, FluidState pNeighborFluid) Deprecated.Neo: use overload that accepts BlockStateprotected static booleanModelBlockRenderer.shouldRenderFace(BlockAndTintGetter p_412640_, BlockPos pos, BlockState p_412168_, boolean p_412054_, Direction p_412130_, BlockPos p_412608_) private static booleanModelBlockRenderer.shouldRenderFace(BlockAndTintGetter pLevel, BlockState pState, boolean pCheckSides, Direction pFace, BlockPos pPos) Deprecated.Constructors in net.minecraft.client.renderer.block with parameters of type DirectionModifierConstructorDescriptionprivateAdjacencyInfo(Direction[] pCorners, float pShadeBrightness, boolean pDoNonCubicWeight, ModelBlockRenderer.SizeInfo[] pVert0Weights, ModelBlockRenderer.SizeInfo[] pVert1Weights, ModelBlockRenderer.SizeInfo[] pVert2Weights, ModelBlockRenderer.SizeInfo[] pVert3Weights) -
Uses of Direction in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionBlockElementFace.cullForDirectionThe field for thecullForDirectionrecord component.private final DirectionBakedQuad.directionThe field for thedirectionrecord component.private final DirectionItemModelGenerator.SpanFacing.directionFields in net.minecraft.client.renderer.block.model with type parameters of type DirectionModifier and TypeFieldDescriptionprivate final Map<Direction, BlockElementFace> BlockElement.facesThe field for thefacesrecord component.Methods in net.minecraft.client.renderer.block.model that return DirectionModifier and TypeMethodDescriptionprivate static DirectionFaceBakery.calculateFacing(int[] pFaceData) BlockElementFace.cullForDirection()Returns the value of thecullForDirectionrecord component.BakedQuad.direction()Returns the value of thedirectionrecord component.private static DirectionBlockElementFace.Deserializer.getCullFacing(JsonObject pJson) ItemModelGenerator.SpanFacing.getDirection()private DirectionMethods in net.minecraft.client.renderer.block.model that return types with arguments of type DirectionModifier and TypeMethodDescriptionBlockElement.faces()Returns the value of thefacesrecord component.private Map<Direction, BlockElementFace> BlockElement.Deserializer.filterNullFromFaces(JsonDeserializationContext pContext, JsonObject pJson) private Map<Direction, BlockElementFace> BlockElement.Deserializer.getFaces(JsonDeserializationContext pContext, JsonObject pJson) Methods in net.minecraft.client.renderer.block.model with parameters of type DirectionModifier and TypeMethodDescriptionstatic BakedQuadSimpleUnbakedGeometry.bakeFace(BlockElement pElement, BlockElementFace pFace, TextureAtlasSprite pSprite, Direction pDirection, ModelState pModelState) static BakedQuadFaceBakery.bakeQuad(org.joml.Vector3fc pPosFrom, org.joml.Vector3fc pPosTo, BlockElementFace pFace, TextureAtlasSprite pSprite, Direction pFacing, ModelState pModelState, BlockElementRotation pRotation, boolean pShade, int pLightEmission) static BlockElementFace.UVsFaceBakery.defaultFaceUV(org.joml.Vector3fc pPosFrom, org.joml.Vector3fc pPosTo, Direction pFacing) private static int[]FaceBakery.makeVertices(BlockElementFace.UVs pUvs, Quadrant pRotation, org.joml.Matrix4fc pInverseFaceTransform, TextureAtlasSprite pSprite, Direction pFacing, float[] pShape, Transformation pTransformation, BlockElementRotation pPartRotation) private static voidFaceBakery.recalculateWinding(int[] pVertices, Direction pDirection) 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 aBakedQuadrecord 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 aBlockElementFacerecord class.privateSpanFacing(Direction pDirection, int pXOffset, int pYOffset) 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 aBlockElementrecord class. -
Uses of Direction in net.minecraft.client.renderer.blockentity
Methods in net.minecraft.client.renderer.blockentity with parameters of type DirectionModifier and TypeMethodDescriptionvoidShulkerBoxRenderer.render(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, Direction pFacing, float pProgress, Material pMaterial) private voidTheEndPortalRenderer.renderFace(T pBlockEntity, org.joml.Matrix4f pPose, VertexConsumer pConsumer, float pX0, float pX1, float pY0, float pY1, float pZ0, float pZ1, float pZ2, float pZ3, Direction pDirection) private voidBedRenderer.renderPiece(PoseStack pPoseStack, MultiBufferSource pBufferSource, Model pModel, Direction pDirection, Material pMaterial, int pPackedLight, int pPackedOverlay, boolean pIsFeet) static voidSkullBlockRenderer.renderSkull(Direction pDirection, float pYRot, float pMouthAnimation, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, SkullModelBase pModel, RenderType pRenderType) private float[]BrushableBlockRenderer.translations(Direction pDirection, int pDustedLevel) -
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 TypeMethodDescriptionbooleanSectionRenderDispatcher.CompiledSection.facesCanSeeEachother(Direction pFace1, Direction pFace2) private intVisGraph.getNeighborIndexAtFace(int pIndex, Direction pFace) longSectionRenderDispatcher.RenderSection.getNeighborSectionNode(Direction pDirection) floatvoidbooleanVisibilitySet.visibilityBetween(Direction pFace, Direction pOtherFace) 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 voidLightSectionDebugRenderer.renderFace(PoseStack pPoseStack, VertexConsumer pBuffer, Direction pFace, double pCamX, double pCamY, double pCamZ, int pBlockX, int pBlockY, int pBlockZ, org.joml.Vector4f pColor) -
Uses of Direction in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity with parameters of type DirectionModifier and TypeMethodDescriptionprivate static floatLivingEntityRenderer.sleepDirectionToRotation(Direction pFacing) -
Uses of Direction in net.minecraft.client.renderer.entity.state
Fields in net.minecraft.client.renderer.entity.state declared as DirectionModifier and TypeFieldDescriptionShulkerRenderState.attachFaceLivingEntityRenderState.bedOrientationItemFrameRenderState.directionPaintingRenderState.directionMethods 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 DirectionShulkerBoxSpecialRenderer.orientationprivate final DirectionShulkerBoxSpecialRenderer.Unbaked.orientationThe field for theorientationrecord component.Methods in net.minecraft.client.renderer.special that return DirectionModifier and TypeMethodDescriptionShulkerBoxSpecialRenderer.Unbaked.orientation()Returns the value of theorientationrecord component.Constructors in net.minecraft.client.renderer.special with parameters of type DirectionModifierConstructorDescriptionShulkerBoxSpecialRenderer(ShulkerBoxRenderer pShulkerBoxRenderer, float pOpenness, Direction pOrientation, Material pMaterial) Unbaked(ResourceLocation texture, float openness, Direction orientation) Creates an instance of aUnbakedrecord 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.culledFacesBlockModelRotation.faceMappingBlockModelRotation.inverseFaceMappingMethods in net.minecraft.client.resources.model with parameters of type DirectionModifier and TypeMethodDescriptionQuadCollection.Builder.addCulledFace(Direction pDirection, BakedQuad pQuad) org.joml.Matrix4fcBlockModelRotation.WithUvLock.faceTransformation(Direction p_405486_) default org.joml.Matrix4fcModelState.faceTransformation(Direction pFacing) org.joml.Matrix4fcBlockModelRotation.WithUvLock.inverseFaceTransformation(Direction p_404754_) default org.joml.Matrix4fcModelState.inverseFaceTransformation(Direction pFacing) -
Uses of Direction in net.minecraft.core
Fields in net.minecraft.core declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction[]Direction.BY_2D_DATAAll Facings with horizontal axis in order S-W-N-Eprivate static final Direction[]Direction.BY_3D_DATAprivate final Direction[]Direction.Plane.facesprivate final DirectionFrontAndTop.frontprivate final DirectionFrontAndTop.topprivate static final Direction[]Direction.VALUESFields in net.minecraft.core with type parameters of type DirectionModifier and TypeFieldDescriptionstatic final IntFunction<Direction> Direction.BY_IDstatic final StringRepresentable.EnumCodec<Direction> Direction.CODECDirection8.directionsstatic final com.mojang.serialization.Codec<Direction> Direction.LEGACY_ID_CODECDeprecated.static final com.mojang.serialization.Codec<Direction> Direction.LEGACY_ID_CODEC_2DDeprecated.static final StreamCodec<io.netty.buffer.ByteBuf, Direction> Direction.STREAM_CODECprivate static final Map<Direction, Transformation> BlockMath.VANILLA_UV_TRANSFORM_GLOBAL_TO_LOCALprivate static final Map<Direction, Transformation> BlockMath.VANILLA_UV_TRANSFORM_LOCAL_TO_GLOBALstatic final com.mojang.serialization.Codec<Direction> Direction.VERTICAL_CODECMethods in net.minecraft.core that return DirectionModifier and TypeMethodDescriptionstatic Directionstatic DirectionDirection.from2DDataValue(int pHorizontalIndex) static DirectionDirection.from3DDataValue(int pIndex) static DirectionDirection.fromAxisAndDirection(Direction.Axis pAxis, Direction.AxisDirection pAxisDirection) static DirectionDirection.fromYRot(double pAngle) FrontAndTop.front()static DirectionDirection.get(Direction.AxisDirection pAxisDirection, Direction.Axis pAxis) static DirectionDirection.getApproximateNearest(double pX, double pY, double pZ) static DirectionDirection.getApproximateNearest(float pX, float pY, float pZ) static DirectionDirection.getApproximateNearest(Vec3 pVector) Direction.getClockWise()Direction.getClockWise(Direction.Axis pAxis) private DirectionDirection.getClockWiseX()private DirectionDirection.getClockWiseZ()Direction.getCounterClockWise()Direction.getCounterClockWise(Direction.Axis pAxis) private DirectionDirection.getCounterClockWiseX()private DirectionDirection.getCounterClockWiseZ()Direction.Axis.getDirections()static DirectionDirection.getFacingAxis(Entity pEntity, Direction.Axis pAxis) static DirectionDirection.getNearest(int pX, int pY, int pZ, Direction pDefaultValue) static DirectionDirection.getNearest(Vec3i pVector, Direction pDefaultValue) abstract DirectionDirection.Axis.getNegative()Direction.getOpposite()abstract DirectionDirection.Axis.getPositive()static DirectionDirection.getRandom(RandomSource pRandom) Direction.Plane.getRandomDirection(RandomSource pRandom) private static Direction[]Direction.makeDirectionArray(Direction pFirst, Direction pSecond, Direction pThird) static Direction[]Direction.orderedByNearest(Entity pEntity) Gets theDirectionvalues for the provided entity's looking direction.static DirectionFrontAndTop.top()static DirectionReturns 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 pRandom) Direction8.getDirections()Direction.Plane.iterator()Direction.Plane.shuffledCopy(RandomSource pRandom) Direction.Plane.stream()Direction.stream()private static com.mojang.serialization.DataResult<Direction> Direction.verifyVertical(Direction pDirection) Methods in net.minecraft.core with parameters of type DirectionModifier and TypeMethodDescriptionstatic FrontAndTopFrontAndTop.fromFrontAndTop(Direction pFront, Direction pTop) static TransformationBlockMath.getFaceTransformation(Transformation pTransformation, Direction pDirection) static DirectionDirection.getNearest(int pX, int pY, int pZ, Direction pDefaultValue) static DirectionDirection.getNearest(Vec3i pVector, Direction pDefaultValue) static floatprivate static intprivate static Direction[]Direction.makeDirectionArray(Direction pFirst, Direction pSecond, Direction pThird) static longstatic longOffsets this Vector by the given distance in the specified direction.static DirectionBlockPos.MutableBlockPos.setWithOffset(Vec3i pPos, Direction pDirection) static Iterable<BlockPos.MutableBlockPos> BlockPos.spiralAround(BlockPos pCenter, int pSize, Direction pRotationDirection, Direction pExpansionDirection) booleanbooleanprivate static com.mojang.serialization.DataResult<Direction> Direction.verifyVertical(Direction pDirection) Constructors in net.minecraft.core with parameters of type DirectionModifierConstructorDescriptionprivateDirection8(Direction... pDirections) privateFrontAndTop(String pName, Direction pFront, Direction pTop) privatePlane(Direction[] pFaces, Direction.Axis[] pAxis) -
Uses of Direction in net.minecraft.core.dispenser
Methods in net.minecraft.core.dispenser with parameters of type DirectionModifier and TypeMethodDescriptionprotected voidDefaultDispenseItemBehavior.playAnimation(BlockSource pBlockSource, Direction pDirection) private static voidDefaultDispenseItemBehavior.playDefaultAnimation(BlockSource pBlockSource, Direction pDirection) static voidDefaultDispenseItemBehavior.spawnItem(Level pLevel, ItemStack pStack, int pSpeed, Direction pFacing, Position pPosition) -
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 pFacingDirection) Method parameters in net.minecraft.data.worldgen.features with type arguments of type DirectionModifier and TypeMethodDescriptionprivate static WeightedList.Builder<BlockState> VegetationFeatures.segmentedBlockPatchBuilder(Block pBlock, int pMinAmount, int pMaxAmount, IntegerProperty pAmountProperty, EnumProperty<Direction> pDirectionProperty) -
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 pAction, BlockPos pPos, Direction pDirection) ServerboundPlayerActionPacket(ServerboundPlayerActionPacket.Action pAction, BlockPos pPos, Direction pDirection, int pSequence) -
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 booleanServerPlayer.bedBlocked(BlockPos pPos, Direction pDirection) private booleanServerPlayer.bedInRange(BlockPos pPos, Direction pDirection) floatfloatvoidDemoMode.handleBlockBreakAction(BlockPos p_214976_, ServerboundPlayerActionPacket.Action p_214977_, Direction p_214978_, int p_214979_, int p_214980_) voidServerPlayerGameMode.handleBlockBreakAction(BlockPos pPos, ServerboundPlayerActionPacket.Action pAction, Direction pFace, int pMaxBuildHeight, int pSequence) voidServerLevel.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 TypeMethodDescriptionintSegmentedAnglePrecision.fromDirection(Direction pDirection) static voidParticleUtils.spawnParticleOnFace(Level pLevel, BlockPos pPos, Direction pDirection, ParticleOptions pParticle, Vec3 pSpeed, double pSpread) static voidParticleUtils.spawnParticlesOnBlockFace(Level pLevel, BlockPos pPos, ParticleOptions pParticle, IntProvider pCount, Direction pDirection, Supplier<Vec3> pSpeedSupplier, double pSpread) -
Uses of Direction in net.minecraft.world
Methods in net.minecraft.world with parameters of type DirectionModifier and TypeMethodDescriptionbooleanWorldlyContainer.canPlaceItemThroughFace(int pIndex, ItemStack pItemStack, Direction pDirection) Returnstrueif automation can insert the given item in the given slot from the given side.booleanWorldlyContainer.canTakeItemThroughFace(int pIndex, ItemStack pStack, Direction pDirection) Returnstrueif automation can extract the given item in the given slot from the given side.int[]WorldlyContainer.getSlotsForFace(Direction pSide) -
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 DirectionModifier and TypeFieldDescriptionprotected DirectionHangingEntity.directionThe direction the entity is facingMethods in net.minecraft.world.entity.decoration that return DirectionMethods in net.minecraft.world.entity.decoration with parameters of type DirectionModifier and TypeMethodDescriptionprotected abstract AABBHangingEntity.calculateBoundingBox(BlockPos pPos, Direction pDirection) protected AABBItemFrame.calculateBoundingBox(BlockPos p_345363_, Direction p_344892_) protected AABBPainting.calculateBoundingBox(BlockPos p_344831_, Direction p_345917_) protected voidHangingEntity.setDirection(Direction pFacingDirection) Updates facing and bounding box based on itprotected voidItemFrame.setDirection(Direction pFacingDirection) Updates facing and bounding box based on itConstructors in net.minecraft.world.entity.decoration with parameters of type DirectionModifierConstructorDescriptionGlowItemFrame(Level p_149610_, BlockPos p_149611_, Direction p_149612_) ItemFrame(EntityType<? extends ItemFrame> pEntityType, Level pLevel, BlockPos pPos, Direction pDirection) -
Uses of Direction in net.minecraft.world.entity.monster
Fields in net.minecraft.world.entity.monster declared as DirectionModifier and TypeFieldDescriptionprivate static final DirectionShulker.DEFAULT_ATTACH_FACEprivate DirectionSilverfish.SilverfishMergeWithStoneGoal.selectedDirectionFields in net.minecraft.world.entity.monster with type parameters of type DirectionModifier and TypeFieldDescriptionprotected static final EntityDataAccessor<Direction> Shulker.DATA_ATTACH_FACE_IDMethods in net.minecraft.world.entity.monster that return DirectionModifier and TypeMethodDescriptionprotected DirectionShulker.findAttachableSurface(BlockPos pPos) Shulker.getAttachFace()Methods in net.minecraft.world.entity.monster with parameters of type DirectionModifier and TypeMethodDescription(package private) booleanstatic AABBShulker.getProgressAabb(float pScale, Direction pExpansionDirection, float pPeek, Vec3 pPosition) static AABBShulker.getProgressDeltaAabb(float pScale, Direction pExpansionDirection, float pCurrentPeek, float pOldPeek, Vec3 pPosition) private voidShulker.setAttachFace(Direction pAttachFace) -
Uses of Direction in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player with parameters of type DirectionModifier and TypeMethodDescriptionbooleanPlayer.mayUseItemAt(BlockPos pPos, Direction pFacing, ItemStack pStack) Returns whether this player can modify the block at a certain location with the given stack. -
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 voidShulkerBullet.setMoveDirection(Direction pDirection) -
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 pDirection) -
Uses of Direction in net.minecraft.world.item
Fields in net.minecraft.world.item declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionStandingAndWallBlockItem.attachmentDirectionMethods 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 pLevel, Position pPos, ItemStack pStack, Direction pDirection) 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.DustParticlesDeltaBrushItem.DustParticlesDelta.fromDirection(Vec3 pPos, Direction pDirection) ProjectileItem.PositionFunction.getDispensePosition(BlockSource pSource, Direction pDirection) private static Vec3FireworkRocketItem.getEntityJustOutsideOfBlockPos(BlockSource pBlockSource, Direction pDirection) static booleanBoneMealItem.growWaterPlant(ItemStack pStack, Level pLevel, BlockPos pPos, Direction pClickedSide) protected booleanHangingEntityItem.mayPlace(Player pPlayer, Direction pDirection, ItemStack pHangingEntityStack, BlockPos pPos) protected booleanConstructors in net.minecraft.world.item with parameters of type DirectionModifierConstructorDescriptionSignItem(Item.Properties pProperties, Block pStandingBlock, Block pWallBlock, Direction pAttachmentDirection) StandingAndWallBlockItem(Block pBlock, Block pWallBlock, Direction pAttachmentDirection, Item.Properties pProperties) -
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 BlockPlaceContextBlockPlaceContext.at(BlockPlaceContext pContext, BlockPos pPos, Direction pDirection) 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 intSignalGetter.getControlInputSignal(BlockPos pPos, Direction pDirection, boolean pDiodesOnly) Returns the control signal emitted from the given position in the given direction.default intSignalGetter.getDirectSignal(BlockPos pPos, Direction pDirection) Returns the direct redstone signal emitted from the given position in the given direction.floatfloatdefault intReturns the redstone signal emitted from the given position in the given direction.default booleanReturns whether a redstone signal is emitted from the given position in the given direction.booleanLevel.loadedAndEntityCanStandOnFace(BlockPos pPos, Entity pEntity, Direction pDirection) voidLevel.neighborShapeChanged(Direction p_220385_, BlockPos p_220387_, BlockPos p_220388_, BlockState p_220386_, int p_220389_, int p_220390_) default voidLevelAccessor.neighborShapeChanged(Direction pDirection, BlockPos pPos, BlockPos pNeighborPos, BlockState pNeighborState, int pFlags, int pRecursionLeft) voidLevel.updateNeighborsAtExceptFromFacing(BlockPos pPos, Block pBlock, Direction pFacing, Orientation pOrientation) -
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_DIRECTIONSprivate static final Direction[]BuddingAmethystBlock.DIRECTIONSprotected static final Direction[]MultifaceBlock.DIRECTIONSprivate final DirectionMultifaceSpreader.SpreadPos.faceThe field for thefacerecord component.protected final DirectionGrowingPlantBlock.growthDirectionFields in net.minecraft.world.level.block with type parameters of type DirectionModifier and TypeFieldDescriptionSculkSpreader.ChargeCursor.DIRECTION_SETstatic final EnumProperty<Direction> AbstractFurnaceBlock.FACINGstatic final EnumProperty<Direction> AmethystClusterBlock.FACINGstatic final EnumProperty<Direction> AnvilBlock.FACINGstatic final EnumProperty<Direction> AttachedStemBlock.FACINGstatic final EnumProperty<Direction> BarrelBlock.FACINGstatic final EnumProperty<Direction> BaseCoralWallFanBlock.FACINGstatic final EnumProperty<Direction> BeehiveBlock.FACINGstatic final EnumProperty<Direction> BellBlock.FACINGstatic final EnumProperty<Direction> CalibratedSculkSensorBlock.FACINGstatic final EnumProperty<Direction> CampfireBlock.FACINGstatic final EnumProperty<Direction> CarvedPumpkinBlock.FACINGstatic final EnumProperty<Direction> ChestBlock.FACINGstatic final EnumProperty<Direction> CommandBlock.FACINGstatic final EnumProperty<Direction> DirectionalBlock.FACINGstatic final EnumProperty<Direction> DispenserBlock.FACINGstatic final EnumProperty<Direction> DoorBlock.FACINGstatic final EnumProperty<Direction> EnderChestBlock.FACINGstatic final EnumProperty<Direction> EndPortalFrameBlock.FACINGstatic final EnumProperty<Direction> FlowerBedBlock.FACINGstatic final EnumProperty<Direction> HopperBlock.FACINGstatic final EnumProperty<Direction> HorizontalDirectionalBlock.FACINGstatic final EnumProperty<Direction> LadderBlock.FACINGstatic final EnumProperty<Direction> LeafLitterBlock.FACINGstatic final EnumProperty<Direction> LecternBlock.FACINGstatic final EnumProperty<Direction> RedstoneWallTorchBlock.FACINGstatic final EnumProperty<Direction> ShulkerBoxBlock.FACINGstatic final EnumProperty<Direction> SmallDripleafBlock.FACINGstatic final EnumProperty<Direction> StairBlock.FACINGstatic final EnumProperty<Direction> StonecutterBlock.FACINGstatic final EnumProperty<Direction> TripWireHookBlock.FACINGstatic final EnumProperty<Direction> VaultBlock.FACINGstatic final EnumProperty<Direction> WallBannerBlock.FACINGstatic final EnumProperty<Direction> WallHangingSignBlock.FACINGstatic final EnumProperty<Direction> WallSignBlock.FACINGstatic final EnumProperty<Direction> WallSkullBlock.FACINGstatic final EnumProperty<Direction> WallTorchBlock.FACINGSculkSpreader.ChargeCursor.facingsprivate static final Map<Direction, VoxelShape> ChestBlock.HALF_SHAPESstatic final EnumProperty<Direction> DecoratedPotBlock.HORIZONTAL_FACINGprivate final Map<Direction, VoxelShape> HopperBlock.interactionShapesstatic final ImmutableList<Direction> LiquidBlock.POSSIBLE_FLOW_DIRECTIONSstatic final Map<Direction, BooleanProperty> CrossCollisionBlock.PROPERTY_BY_DIRECTIONstatic final Map<Direction, BooleanProperty> FireBlock.PROPERTY_BY_DIRECTIONprivate static final Map<Direction, BooleanProperty> HugeMushroomBlock.PROPERTY_BY_DIRECTIONstatic final Map<Direction, EnumProperty<WallSide>> MossyCarpetBlock.PROPERTY_BY_DIRECTIONprivate static final Map<Direction, BooleanProperty> MultifaceBlock.PROPERTY_BY_DIRECTIONstatic final Map<Direction, BooleanProperty> PipeBlock.PROPERTY_BY_DIRECTIONstatic final Map<Direction, EnumProperty<RedstoneSide>> RedStoneWireBlock.PROPERTY_BY_DIRECTIONprivate static final Map<Direction, BooleanProperty> TripWireBlock.PROPERTY_BY_DIRECTIONstatic final Map<Direction, BooleanProperty> VineBlock.PROPERTY_BY_DIRECTIONstatic final Map<Direction, EnumProperty<WallSide>> WallBlock.PROPERTY_BY_DIRECTIONprivate static final Map<Direction, VoxelShape> StairBlock.SHAPE_BOTTOM_INNERprivate static final Map<Direction, VoxelShape> StairBlock.SHAPE_BOTTOM_OUTERprivate static final Map<Direction, VoxelShape> StairBlock.SHAPE_BOTTOM_STRAIGHTprivate static final Map<Direction, VoxelShape> BellBlock.SHAPE_SINGLE_WALLprivate static final Map<Direction, VoxelShape> StairBlock.SHAPE_TOP_INNERprivate static final Map<Direction, VoxelShape> StairBlock.SHAPE_TOP_OUTERprivate static final Map<Direction, VoxelShape> StairBlock.SHAPE_TOP_STRAIGHTprivate final Map<Direction, VoxelShape> AmethystClusterBlock.shapesprivate static final Map<Direction, VoxelShape> AttachedStemBlock.SHAPESprivate static final Map<Direction, VoxelShape> BaseCoralWallFanBlock.SHAPESprivate static final Map<Direction, VoxelShape> BedBlock.SHAPESprivate static final Map<Direction, VoxelShape> BigDripleafStemBlock.SHAPESprivate static final List<Map<Direction, VoxelShape>> CocoaBlock.SHAPESprivate static final Map<Direction, VoxelShape> DoorBlock.SHAPESstatic final Map<Direction, VoxelShape> LadderBlock.SHAPESprivate static final Map<Direction, VoxelShape> LecternBlock.SHAPESprivate static final Map<Direction, VoxelShape> PiglinWallSkullBlock.SHAPESprivate static final Map<Direction, VoxelShape> TrapDoorBlock.SHAPESprivate static final Map<Direction, VoxelShape> TripWireHookBlock.SHAPESprivate static final Map<Direction, VoxelShape> WallBannerBlock.SHAPESprivate static final Map<Direction, VoxelShape> WallSignBlock.SHAPESprivate static final Map<Direction, VoxelShape> WallSkullBlock.SHAPESprivate static final Map<Direction, VoxelShape> WallTorchBlock.SHAPESstatic final Map<Direction, VoxelShape> ShulkerBoxBlock.SHAPES_OPEN_SUPPORTprivate static final Map<Direction, VoxelShape> WallBlock.TEST_SHAPES_WALLstatic final EnumProperty<Direction> PointedDripstoneBlock.TIP_DIRECTIONMethods in net.minecraft.world.level.block that return DirectionModifier and TypeMethodDescriptionprivate static DirectionPointedDripstoneBlock.calculateTipDirection(LevelReader pLevel, BlockPos pPos, Direction pDir) private DirectionChestBlock.candidatePartnerFacing(BlockPlaceContext pContext, Direction pDirection) MultifaceSpreader.SpreadPos.face()Returns the value of thefacerecord component.static DirectionBedBlock.getBedOrientation(BlockGetter pLevel, BlockPos pPos) static DirectionBedBlock.getConnectedDirection(BlockState pState) private static DirectionBellBlock.getConnectedDirection(BlockState pState) static DirectionChestBlock.getConnectedDirection(BlockState pState) protected static DirectionFaceAttachedHorizontalDirectionalBlock.getConnectedDirection(BlockState pState) protected static DirectionLanternBlock.getConnectedDirection(BlockState pState) static DirectionJigsawBlock.getFrontFacing(BlockState pState) This represents the face that the puzzle piece is on.private static DirectionBedBlock.getNeighbourDirection(BedPart pPart, Direction pDirection) Given a bed part and the direction it's facing, find the direction to move to get the other bed partstatic DirectionJigsawBlock.getTopFacing(BlockState pState) This represents the face that the line connector is on.Mirror the given facing according to this mirrorMethods in net.minecraft.world.level.block that return types with arguments of type DirectionModifier and TypeMethodDescriptionMultifaceBlock.availableFaces(BlockState pState) SculkSpreader.ChargeCursor.getFacingData()MultifaceBlock.unpack(byte pPackedDirections) Methods in net.minecraft.world.level.block with parameters of type DirectionModifier and TypeMethodDescriptionprivate static booleanChorusFlowerBlock.allNeighborsEmpty(LevelReader pLevel, BlockPos pPos, Direction pExcludingSide) booleanBellBlock.attemptToRing(Entity pEntity, Level pLevel, BlockPos pPos, Direction pDirection) booleanBellBlock.attemptToRing(Level pLevel, BlockPos pPos, Direction pDirection) private static int[][]BedBlock.bedAboveStandUpOffsets(Direction pDir) private static int[][]BedBlock.bedStandUpOffsets(Direction pFirstDir, Direction pSecondDir) private static int[][]BedBlock.bedSurroundStandUpOffsets(Direction pFirstDir, Direction pSecondDir) private static DripstoneThicknessPointedDripstoneBlock.calculateDripstoneThickness(LevelReader pLevel, BlockPos pPos, Direction pDir, boolean pIsTipMerge) private static DirectionPointedDripstoneBlock.calculateTipDirection(LevelReader pLevel, BlockPos pPos, Direction pDir) static booleanFaceAttachedHorizontalDirectionalBlock.canAttach(LevelReader pReader, BlockPos pPos, Direction pDirection) private booleanLadderBlock.canAttachTo(BlockGetter pBlockReader, BlockPos pPos, Direction pDirection) static booleanMultifaceBlock.canAttachTo(BlockGetter pLevel, BlockPos pPos, Direction pDirection) static booleanMultifaceBlock.canAttachTo(BlockGetter pLevel, Direction pDirection, BlockPos pPos, BlockState pState) booleanWallHangingSignBlock.canAttachTo(LevelReader pLevel, BlockState pState, BlockPos pPos, Direction pDirection) static booleanBaseFireBlock.canBePlacedAt(Level pLevel, BlockPos pPos, Direction pDirection) booleanFireBlock.canCatchFire(BlockGetter world, BlockPos pos, Direction face) Side sensitive version that calls the block function.private DirectionChestBlock.candidatePartnerFacing(BlockPlaceContext pContext, Direction pDirection) booleanComposterBlock.EmptyContainer.canPlaceItemThroughFace(int pIndex, ItemStack pItemStack, Direction pDirection) Returnstrueif automation can insert the given item in the given slot from the given side.booleanComposterBlock.InputContainer.canPlaceItemThroughFace(int pIndex, ItemStack pItemStack, Direction pDirection) booleanComposterBlock.OutputContainer.canPlaceItemThroughFace(int pIndex, ItemStack pItemStack, Direction pDirection) default booleanMultifaceSpreader.SpreadConfig.canSpreadFrom(BlockState pState, Direction pDirection) booleanMultifaceSpreader.canSpreadInAnyDirection(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pSpreadDirection) private static booleanMossyCarpetBlock.canSupportAtFace(BlockGetter pLevel, BlockPos pPos, Direction pDirection) private booleanVineBlock.canSupportAtFace(BlockGetter pLevel, BlockPos pPos, Direction pDirection) static booleanBlock.canSupportCenter(LevelReader pLevel, BlockPos pPos, Direction pDirection) static booleanWallTorchBlock.canSurvive(LevelReader pLevel, BlockPos pPos, Direction pFacing) booleanComposterBlock.EmptyContainer.canTakeItemThroughFace(int pIndex, ItemStack pStack, Direction pDirection) Returnstrueif automation can extract the given item in the given slot from the given side.booleanComposterBlock.InputContainer.canTakeItemThroughFace(int pIndex, ItemStack pStack, Direction pDirection) booleanComposterBlock.OutputContainer.canTakeItemThroughFace(int pIndex, ItemStack pStack, Direction pDirection) private static booleanStairBlock.canTakeShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pFace) private voidFireBlock.checkBurnOut(Level pLevel, BlockPos pPos, int pChance, RandomSource pRandom, int pAge, Direction face) booleanFenceBlock.connectsTo(BlockState pState, boolean pIsSideSolid, Direction pDirection) private booleanWallBlock.connectsTo(BlockState pState, boolean pSideSolid, Direction pDirection) static booleanFenceGateBlock.connectsToDirection(BlockState pState, Direction pDirection) private static voidPointedDripstoneBlock.createDripstone(LevelAccessor pLevel, BlockPos pPos, Direction pDirection, DripstoneThickness pThickness) private static voidCommandBlock.executeChain(ServerLevel pLevel, BlockPos pPos, Direction pDirection) BedBlock.findBunkBedStandUpPosition(EntityType<?> pEntityType, CollisionGetter pCollisionGetter, BlockPos pPos, Direction pStateFacing, Direction pEntityFacing) BedBlock.findStandUpPosition(EntityType<?> pEntityType, CollisionGetter pCollisionGetter, BlockPos pPos, Direction pDirection, float pYRot) private RedstoneSideRedStoneWireBlock.getConnectingSide(BlockGetter pLevel, BlockPos pPos, Direction pFace) private RedstoneSideRedStoneWireBlock.getConnectingSide(BlockGetter pLevel, BlockPos pPos, Direction pDirection, boolean pNonNormalCubeAbove) protected intBasePressurePlateBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intButtonBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intDetectorRailBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intDiodeBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intLecternBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intLeverBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intLightningRodBlock.getDirectSignal(BlockState p_153748_, BlockGetter p_153749_, BlockPos p_153750_, Direction p_153751_) protected intObserverBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intRedstoneTorchBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intRedStoneWireBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) intSculkSensorBlock.getDirectSignal(BlockState p_279407_, BlockGetter p_279217_, BlockPos p_279190_, Direction p_279273_) protected intTrappedChestBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intTripWireHookBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) static BooleanPropertyMultifaceBlock.getFaceProperty(Direction pDirection) private ItemFrameComparatorBlock.getItemFrame(Level pLevel, Direction pFacing, BlockPos pPos) private static DirectionBedBlock.getNeighbourDirection(BedPart pPart, Direction pDirection) Given a bed part and the direction it's facing, find the direction to move to get the other bed partstatic EnumProperty<WallSide> MossyCarpetBlock.getPropertyForFace(Direction pDirection) static BooleanPropertyVineBlock.getPropertyForFace(Direction pFace) ChiseledBookShelfBlock.getRelativeHitCoordinatesForBlockFace(BlockHitResult pHitResult, Direction pFace) Mirror.getRotation(Direction pFacing) Determines the rotation that is equivalent to this mirror if the rotating object faces in the given directionprotected intBasePressurePlateBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intButtonBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) intCalibratedSculkSensorBlock.getSignal(BlockState p_277782_, BlockGetter p_277556_, BlockPos p_277903_, Direction p_278059_) protected intDaylightDetectorBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intDetectorRailBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intDiodeBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) intJukeboxBlock.getSignal(BlockState p_272942_, BlockGetter p_273232_, BlockPos p_273524_, Direction p_272902_) protected intLecternBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intLeverBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intLightningRodBlock.getSignal(BlockState p_153723_, BlockGetter p_153724_, BlockPos p_153725_, Direction p_153726_) protected intObserverBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intPoweredBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intRedstoneTorchBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intRedstoneWallTorchBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intRedStoneWireBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intSculkSensorBlock.getSignal(BlockState p_154437_, BlockGetter p_154438_, BlockPos p_154439_, Direction p_154440_) protected intTargetBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) intTestBlock.getSignal(BlockState p_397637_, BlockGetter p_397297_, BlockPos p_397948_, Direction p_397493_) protected intTrappedChestBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) protected intTripWireHookBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) int[]ComposterBlock.EmptyContainer.getSlotsForFace(Direction pSide) int[]ComposterBlock.InputContainer.getSlotsForFace(Direction pSide) int[]ComposterBlock.OutputContainer.getSlotsForFace(Direction pSide) MultifaceSpreader.getSpreadFromFaceTowardDirection(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pSpreadDirection, Direction pFace, MultifaceSpreader.SpreadPredicate pPredicate) abstract MultifaceSpreader.SpreadPosMultifaceSpreader.SpreadType.getSpreadPos(BlockPos pPos, Direction pFace, Direction pSpreadDirection) MultifaceBlock.getStateForPlacement(BlockState pCurrentState, BlockGetter pLevel, BlockPos pPos, Direction pLookingDirection) MultifaceSpreader.DefaultSpreaderConfig.getStateForPlacement(BlockState p_221694_, BlockGetter p_221695_, BlockPos p_221696_, Direction p_221697_) MultifaceSpreader.SpreadConfig.getStateForPlacement(BlockState pCurrentState, BlockGetter pLevel, BlockPos pPos, Direction pLookingDirection) private static voidPointedDripstoneBlock.grow(ServerLevel pServer, BlockPos pPos, Direction pDirection) static booleanMultifaceBlock.hasFace(BlockState pState, Direction pDirection) default booleanMultifaceSpreader.SpreadConfig.hasFace(BlockState pState, Direction pDirection) static booleanVineBlock.isAcceptableNeighbour(BlockGetter pBlockReader, BlockPos pNeighborPos, Direction pAttachedFace) static booleanBlock.isFaceFull(VoxelShape pShape, Direction pFace) protected booleanMultifaceBlock.isFaceSupported(Direction pFace) private static booleanPointedDripstoneBlock.isPointedDripstoneWithDirection(BlockState pState, Direction pDir) private static booleanprivate booleanBellBlock.isProperHit(BlockState pPos, Direction pDirection, double pDistanceY) abstract booleanSupportType.isSupporting(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pFace) private static booleanPointedDripstoneBlock.isUnmergedTipWithDirection(BlockState pState, Direction pDir) private static booleanSculkSpreader.ChargeCursor.isUnobstructed(LevelAccessor pLevel, BlockPos pPos, Direction pDirection) private static booleanPointedDripstoneBlock.isValidPointedDripstonePlacement(LevelReader pLevel, BlockPos pPos, Direction pDir) booleanMultifaceBlock.isValidStateForPlacement(BlockGetter pLevel, BlockState pState, BlockPos pPos, Direction pDirection) Mirror the given facing according to this mirrorprivate static voidTripWireHookBlock.notifyNeighbors(Block pBlock, Level pLevel, BlockPos pPos, Direction pDirection) booleanTntBlock.onCaughtFire(BlockState state, Level world, BlockPos pos, Direction face, LivingEntity igniter) protected static booleanBigDripleafBlock.place(LevelAccessor pLevel, BlockPos pPos, FluidState pFluidState, Direction pDirection) protected static booleanBigDripleafStemBlock.place(LevelAccessor pLevel, BlockPos pPos, FluidState pFluidState, Direction pDirection) static voidBigDripleafBlock.placeWithRandomHeight(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, Direction pDirection) static voidBlock.popResourceFromFace(Level pLevel, BlockPos pPos, Direction pDirection, ItemStack pStack) protected static booleanRedStoneWireBlock.shouldConnectTo(BlockState pState, Direction pDirection) booleanTripWireBlock.shouldConnectTo(BlockState pState, Direction pDirection) static booleanBlock.shouldRenderFace(BlockState pCurrentFace, BlockState pNeighboringFace, Direction pFace) Deprecated.Neo: use overload with level context insteadstatic booleanBlock.shouldRenderFace(BlockGetter level, BlockPos pos, BlockState p_152445_, BlockState p_361252_, Direction p_152448_) private BlockStateWallBlock.sideUpdate(LevelReader pLevel, BlockPos pFirstPos, BlockState pFirstState, BlockPos pSecondPos, BlockState pSecondState, Direction pDir) protected booleanHalfTransparentBlock.skipRendering(BlockState pState, BlockState pAdjacentBlockState, Direction pSide) protected booleanIronBarsBlock.skipRendering(BlockState pState, BlockState pAdjacentBlockState, Direction pSide) protected booleanLiquidBlock.skipRendering(BlockState pState, BlockState pAdjacentBlockState, Direction pSide) protected booleanMangroveRootsBlock.skipRendering(BlockState p_221510_, BlockState p_221511_, Direction p_221512_) protected booleanPowderSnowBlock.skipRendering(BlockState p_154268_, BlockState p_154269_, Direction p_154270_) private static voidRedStoneWireBlock.spawnParticlesAlongLine(Level pLevel, RandomSource pRandom, BlockPos pPos, int pColor, Direction pDirection, Direction pPerpendicularDirection, float pStart, float pEnd) private longMultifaceSpreader.spreadFromFaceTowardAllDirections(BlockState pState, LevelAccessor pLevel, BlockPos pPos, Direction pSpreadDirection, boolean pMarkForPostprocessing) MultifaceSpreader.spreadFromFaceTowardDirection(BlockState pState, LevelAccessor pLevel, BlockPos pPos, Direction pSpreadDirection, Direction pFace, boolean pMarkForPostprocessing) MultifaceSpreader.spreadFromFaceTowardRandomDirection(BlockState pState, LevelAccessor pLevel, BlockPos pPos, Direction pSpreadDirection, RandomSource pRandom, boolean pMarkForPostprocessing) protected booleanMultifaceSpreader.DefaultSpreaderConfig.stateCanBeReplaced(BlockGetter pLevel, BlockPos pPos, BlockPos pSpreadPos, Direction pDirection, BlockState pState) booleanSculkVeinBlock.SculkVeinSpreaderConfig.stateCanBeReplaced(BlockGetter p_222405_, BlockPos p_222406_, BlockPos p_222407_, Direction p_222408_, BlockState p_222409_) protected BlockStateAmethystClusterBlock.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 BlockStateAttachedStemBlock.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 BlockStateBambooSaplingBlock.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 BlockStateBambooStalkBlock.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 BlockStateBannerBlock.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 BlockStateBarrierBlock.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 BlockStateBaseCoralPlantTypeBlock.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 BlockStateBaseCoralWallFanBlock.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 BlockStateBasePressurePlateBlock.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 BlockStateBaseRailBlock.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 BlockStateBaseTorchBlock.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 BlockStateBedBlock.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 BlockStateBeehiveBlock.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 BlockStateBellBlock.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 BlockStateBigDripleafBlock.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 BlockStateBigDripleafStemBlock.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 BlockStateBubbleColumnBlock.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 BlockStateCactusBlock.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 BlockStateCakeBlock.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 BlockStateCampfireBlock.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 BlockStateCandleBlock.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 BlockStateCandleCakeBlock.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 BlockStateCarpetBlock.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 BlockStateCeilingHangingSignBlock.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 BlockStateChainBlock.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 BlockStateChestBlock.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 BlockStateChorusFlowerBlock.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 BlockStateChorusPlantBlock.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 BlockStateCocoaBlock.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 BlockStateConcretePowderBlock.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 BlockStateConduitBlock.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 BlockStateCoralBlock.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 BlockStateCoralFanBlock.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 BlockStateCoralPlantBlock.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 BlockStateCoralWallFanBlock.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 BlockStateCreakingHeartBlock.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 BlockStateDecoratedPotBlock.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 BlockStateDirtPathBlock.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 BlockStateDoorBlock.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 BlockStateDoublePlantBlock.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 BlockStateEnderChestBlock.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 BlockStateFaceAttachedHorizontalDirectionalBlock.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 BlockStateFallingBlock.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 BlockStateFarmBlock.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 BlockStateFenceBlock.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 BlockStateFenceGateBlock.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 BlockStateFireBlock.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 BlockStateFlowerPotBlock.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 BlockStateFrogspawnBlock.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 BlockStateGrowingPlantBodyBlock.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 BlockStateGrowingPlantHeadBlock.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 BlockStateHangingMossBlock.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 BlockStateHangingRootsBlock.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 BlockStateHeavyCoreBlock.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 BlockStateHugeMushroomBlock.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 BlockStateIronBarsBlock.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 BlockStateLadderBlock.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 BlockStateLanternBlock.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 BlockStateLeavesBlock.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 BlockStateLightBlock.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 BlockStateLightningRodBlock.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 BlockStateLiquidBlock.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 BlockStateMagmaBlock.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 BlockStateMangrovePropaguleBlock.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 BlockStateMangroveRootsBlock.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 BlockStateMossyCarpetBlock.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 BlockStateMultifaceBlock.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 BlockStateNetherPortalBlock.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 BlockStateNoteBlock.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 BlockStateObserverBlock.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 BlockStatePointedDripstoneBlock.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 BlockStateRedstoneWallTorchBlock.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 BlockStateRedStoneWireBlock.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 BlockStateRepeaterBlock.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 BlockStateScaffoldingBlock.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 BlockStateSculkSensorBlock.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 BlockStateSculkShriekerBlock.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 BlockStateSeagrassBlock.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 BlockStateSeaPickleBlock.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 BlockStateSignBlock.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 BlockStateSlabBlock.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 BlockStateSmallDripleafBlock.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 BlockStateSnowLayerBlock.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 BlockStateSnowyDirtBlock.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 BlockStateSoulFireBlock.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 BlockStateSoulSandBlock.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 BlockStateSporeBlossomBlock.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 BlockStateStairBlock.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 BlockStateStandingSignBlock.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 BlockStateSugarCaneBlock.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 BlockStateTrapDoorBlock.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 BlockStateTripWireBlock.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 BlockStateTripWireHookBlock.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 BlockStateVegetationBlock.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 BlockStateVineBlock.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 BlockStateWallBannerBlock.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 BlockStateWallBlock.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 BlockStateWallHangingSignBlock.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 BlockStateWallSignBlock.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 BlockStateWallTorchBlock.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 BlockStateWaterloggedTransparentBlock.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 booleanSculkBehaviour.attemptSpreadVein(LevelAccessor pLevel, BlockPos pPos, BlockState pState, Collection<Direction> pDirections, boolean pMarkForPostprocessing) static <S extends BlockEntity>
DoubleBlockCombiner.NeighborCombineResult<S> DoubleBlockCombiner.combineWithNeigbour(BlockEntityType<S> pBlockEntityType, Function<BlockState, DoubleBlockCombiner.BlockType> pDoubleBlockTypeGetter, Function<BlockState, Direction> pDirectionGetter, Property<Direction> pDirectionProperty, BlockState pState, LevelAccessor pLevel, BlockPos pPos, BiPredicate<LevelAccessor, BlockPos> pBlockedChestTest) default Function<BlockState, VoxelShape> SegmentableBlock.getShapeCalculator(EnumProperty<Direction> pDirectionProperty, IntegerProperty pAmountProperty) BonemealableBlock.getSpreadableNeighbourPos(List<Direction> pDirections, LevelReader pLevel, BlockPos pPos, BlockState pState) default BlockStateSegmentableBlock.getStateForPlacement(BlockPlaceContext pContext, Block pBlock, IntegerProperty pAmountProperty, EnumProperty<Direction> pDirectionProperty) private BlockStateMultifaceBlock.mapDirections(BlockState pState, Function<Direction, Direction> pDirectionalFunction) private BlockStateMultifaceBlock.mapDirections(BlockState pState, Function<Direction, Direction> pDirectionalFunction) static byteMultifaceBlock.pack(Collection<Direction> pDirections) static booleanSculkVeinBlock.regrow(LevelAccessor pLevel, BlockPos pPos, BlockState pState, Collection<Direction> pDirections) Constructors in net.minecraft.world.level.block with parameters of type DirectionModifierConstructorDescriptionGrowingPlantBlock(BlockBehaviour.Properties pProperties, Direction pGrowthDirection, VoxelShape pShape, boolean pScheduleFluidTicks) GrowingPlantBodyBlock(BlockBehaviour.Properties p_53886_, Direction p_53887_, VoxelShape p_53888_, boolean p_53889_) GrowingPlantHeadBlock(BlockBehaviour.Properties pProperties, Direction pGrowthDirection, VoxelShape pShape, boolean pScheduleFluidTicks, double pGrowPerTickProbability) Creates an instance of aSpreadPosrecord class.Constructor parameters in net.minecraft.world.level.block with type arguments of type DirectionModifierConstructorDescriptionprivateChargeCursor(BlockPos pPos, int pCharge, int pDecayDelay, int pUpdateDelay, Optional<Set<Direction>> pFacings) -
Uses of Direction in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as DirectionModifier and TypeFieldDescriptionBellBlockEntity.clickDirectionprivate DirectionHopperBlockEntity.facingprivate DirectionBrushableBlockEntity.hitDirectionMethods 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 ItemStackHopperBlockEntity.addItem(Container pSource, Container pDestination, ItemStack pStack, Direction pDirection) Attempts to place the passed stack in the container, using as many slots as required.booleanBrushableBlockEntity.brush(long pStartTick, ServerLevel pLevel, LivingEntity pBrusher, Direction pHitDirection, ItemStack pStack) private static booleanHopperBlockEntity.canPlaceItemInContainer(Container pContainer, ItemStack pStack, int pSlot, Direction pDirection) booleanAbstractFurnaceBlockEntity.canPlaceItemThroughFace(int pIndex, ItemStack pItemStack, Direction pDirection) booleanBrewingStandBlockEntity.canPlaceItemThroughFace(int pIndex, ItemStack pItemStack, Direction pDirection) booleanShulkerBoxBlockEntity.canPlaceItemThroughFace(int pIndex, ItemStack pItemStack, Direction pDirection) private static booleanHopperBlockEntity.canTakeItemFromContainer(Container pSource, Container pDestination, ItemStack pStack, int pSlot, Direction pDirection) booleanAbstractFurnaceBlockEntity.canTakeItemThroughFace(int pIndex, ItemStack pStack, Direction pDirection) booleanBrewingStandBlockEntity.canTakeItemThroughFace(int pIndex, ItemStack pStack, Direction pDirection) booleanShulkerBoxBlockEntity.canTakeItemThroughFace(int pIndex, ItemStack pStack, Direction pDirection) static ContainerOrHandlerHopperBlockEntity.getContainerOrHandlerAt(Level level, BlockPos pos, Direction side) private static ContainerOrHandlerHopperBlockEntity.getContainerOrHandlerAt(Level level, BlockPos pos, BlockState state, double x, double y, double z, Direction side) private static int[]int[]AbstractFurnaceBlockEntity.getSlotsForFace(Direction pSide) int[]BrewingStandBlockEntity.getSlotsForFace(Direction pSide) int[]ShulkerBoxBlockEntity.getSlotsForFace(Direction pSide) private static booleanHopperBlockEntity.isFullContainer(Container pContainer, Direction pDirection) voidbooleanTheEndGatewayBlockEntity.shouldRenderFace(Direction pFace) booleanTheEndPortalBlockEntity.shouldRenderFace(Direction pFace) private static ItemStackHopperBlockEntity.tryMoveInItem(Container pSource, Container pDestination, ItemStack pStack, int pSlot, Direction pDirection) private static booleanHopperBlockEntity.tryTakeInItemFromSlot(Hopper pHopper, Container pContainer, int pSlot, Direction pDirection) Pulls from the specified slot in the container and places in any available slot in the hopper. -
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 Vec3VaultBlockEntity.Client.keyholePos(BlockPos pPos, Direction pFacing) -
Uses of Direction in net.minecraft.world.level.block.piston
Fields in net.minecraft.world.level.block.piston declared as DirectionModifier and TypeFieldDescriptionprivate DirectionPistonMovingBlockEntity.directionprivate final DirectionPistonStructureResolver.pistonDirectionprivate final DirectionPistonStructureResolver.pushDirectionFields in net.minecraft.world.level.block.piston with type parameters of type DirectionModifier and TypeFieldDescriptionstatic final EnumProperty<Direction> MovingPistonBlock.FACINGprivate static final ThreadLocal<Direction> PistonMovingBlockEntity.NOCLIPprivate static final Map<Direction, VoxelShape> PistonBaseBlock.SHAPESprivate static final Map<Direction, VoxelShape> PistonHeadBlock.SHAPESprivate static final Map<Direction, VoxelShape> PistonHeadBlock.SHAPES_SHORTMethods 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 booleanPistonStructureResolver.addBlockLine(BlockPos pOriginPos, Direction pDirection) private static voidPistonMovingBlockEntity.fixEntityWithinPistonBase(BlockPos pPos, Entity pEntity, Direction pDir, double pProgress) private static doublePistonMovingBlockEntity.getMovement(AABB pHeadShape, Direction pDirection, AABB pFacing) static AABBPistonMath.getMovementArea(AABB pBounds, Direction pDir, double pDelta) private booleanPistonBaseBlock.getNeighborSignal(SignalGetter pSignalGetter, BlockPos pPos, Direction pDirection) static booleanPistonBaseBlock.isPushable(BlockState pState, Level pLevel, BlockPos pPos, Direction pMovementDirection, boolean pAllowDestroy, Direction pPistonFacing) Checks if the piston can push the given BlockState.private booleanPistonBaseBlock.moveBlocks(Level pLevel, BlockPos pPos, Direction pFacing, boolean pExtending) private static voidPistonMovingBlockEntity.moveEntityByPiston(Direction pNoClipDirection, Entity pEntity, double pProgress, Direction pDirection) static BlockEntityMovingPistonBlock.newMovingBlockEntity(BlockPos pPos, BlockState pBlockState, BlockState pMovedState, Direction pDirection, boolean pExtending, boolean pIsSourcePiston) protected BlockStatePistonHeadBlock.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 pPos, BlockState pBlockState, BlockState pMovedState, Direction pDirection, boolean pExtending, boolean pIsSourcePiston) PistonStructureResolver(Level pLevel, BlockPos pPistonPos, Direction pPistonDirection, boolean pExtending) -
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.DIRECTIONSprivate static final Direction[]BlockBehaviour.BlockStateBase.DIRECTIONSprotected static final Direction[]BlockBehaviour.UPDATE_SHAPE_ORDERMethods in net.minecraft.world.level.block.state with parameters of type DirectionModifier and TypeMethodDescriptionfinal booleanBlockBehaviour.BlockStateBase.entityCanStandOnFace(BlockGetter pLevel, BlockPos pPos, Entity pEntity, Direction pFace) intBlockBehaviour.BlockStateBase.getDirectSignal(BlockGetter pLevel, BlockPos pPos, Direction pDirection) protected intBlockBehaviour.getDirectSignal(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the direct signal this block emits in the given direction.BlockBehaviour.BlockStateBase.getFaceOcclusionShape(Direction pFace) private static intBlockBehaviour.BlockStateBase.Cache.getFaceSupportIndex(Direction pDirection, SupportType pSupportType) intBlockBehaviour.BlockStateBase.getSignal(BlockGetter pLevel, BlockPos pPos, Direction pDirection) protected intBlockBehaviour.getSignal(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the signal this block emits in the given direction.booleanBlockBehaviour.BlockStateBase.Cache.isFaceSturdy(Direction pDirection, SupportType pSupportType) booleanBlockBehaviour.BlockStateBase.isFaceSturdy(BlockGetter pLevel, BlockPos pPos, Direction pDirection) booleanBlockBehaviour.BlockStateBase.isFaceSturdy(BlockGetter pLevel, BlockPos pPos, Direction pFace, SupportType pSupportType) booleanBlockBehaviour.BlockStateBase.skipRendering(BlockState pState, Direction pFace) protected booleanBlockBehaviour.skipRendering(BlockState pState, BlockState pAdjacentState, Direction pDirection) BlockBehaviour.BlockStateBase.updateShape(LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockStateBlockBehaviour.updateShape(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) -
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 DirectionBlockPattern.BlockPatternMatch.forwardsprivate final DirectionBlockPattern.BlockPatternMatch.upMethods 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.BlockPatternMatchBlockPattern.matches(BlockPos pPos, Direction pFinger, Direction pThumb, LoadingCache<BlockPos, BlockInWorld> pCache) Checks that the given pattern invalid input: '&' rotation is at the block coordinates.BlockPattern.matches(LevelReader pLevel, BlockPos pPos, Direction pFinger, Direction pThumb) protected static BlockPosBlockPattern.translateAndRotate(BlockPos pPos, Direction pFinger, Direction pThumb, int pPalmOffset, int pThumbOffset, int pFingerOffset) Offsets the position of pos in the direction of finger and thumb facing by offset amounts, follows the right-hand rule for cross products (finger, thumb, palm)Constructors in net.minecraft.world.level.block.state.pattern with parameters of type DirectionModifierConstructorDescriptionBlockPatternMatch(BlockPos pFrontTopLeft, Direction pForwards, Direction pUp, LoadingCache<BlockPos, BlockInWorld> pCache, int pWidth, int pHeight, int pDepth) -
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.FACINGstatic final EnumProperty<Direction> BlockStateProperties.FACING_HOPPERstatic final EnumProperty<Direction> BlockStateProperties.HORIZONTAL_FACINGstatic final EnumProperty<Direction> BlockStateProperties.VERTICAL_DIRECTIONMethods 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 intRotationSegment.convertToSegment(Direction pDirection) 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 DirectionWorldBorder.DistancePerDirection.directionThe field for thedirectionrecord component.Methods in net.minecraft.world.level.border that return DirectionModifier and TypeMethodDescriptionWorldBorder.DistancePerDirection.direction()Returns the value of thedirectionrecord component.Constructors in net.minecraft.world.level.border with parameters of type DirectionModifierConstructorDescriptionDistancePerDirection(Direction direction, double distance) Creates an instance of aDistancePerDirectionrecord 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 pState, Direction pDirection, BlockState pOffsetState, LevelAccessor pLevel, BlockPos pPos, BlockPos pOffsetPos) private static BlockStateUpgradeData.updateState(BlockState pState, Direction pDirection, LevelAccessor pLevel, BlockPos pPos, BlockPos pOffsetPos) -
Uses of Direction in net.minecraft.world.level.levelgen
Methods in net.minecraft.world.level.levelgen with parameters of type DirectionModifier and TypeMethodDescriptionprivate static OptionalIntColumn.scanDirection(LevelSimulatedReader pLevel, int pMaxDistance, Predicate<BlockState> pColumnPredicate, Predicate<BlockState> pTipPredicate, BlockPos.MutableBlockPos pMutablePos, int pStartY, Direction pDirection) Scans for a sequence of states in a givendirection, up to a length ofmaxDistancewhich satisfycolumnPredicate, and ending with a state which satisfiestipPredicate. -
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 BlockPredicateBlockPredicate.hasSturdyFace(Direction pDirection) static BlockPredicateBlockPredicate.hasSturdyFace(Vec3i pOffset, Direction pDirection) 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.DIRECTIONSprivate static final Direction[]GeodeFeature.DIRECTIONSprivate static final Direction[]WeepingVinesFeature.DIRECTIONSMethods in net.minecraft.world.level.levelgen.feature that return types with arguments of type DirectionModifier and TypeMethodDescriptionPointedDripstoneFeature.getTipDirection(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) Methods in net.minecraft.world.level.levelgen.feature with parameters of type DirectionModifier and TypeMethodDescriptionprotected static voidDripstoneUtils.buildBaseToTipColumn(Direction pDirection, int pHeight, boolean pMergeTip, Consumer<BlockState> pBlockSetter) private booleanFallenTreeFeature.canPlaceEntireFallenLog(WorldGenLevel pLevel, int pLogLength, BlockPos.MutableBlockPos pPos, Direction pDirection) private static BlockStateDripstoneUtils.createPointedDripstone(Direction pDirection, DripstoneThickness pDripstoneThickness) private static Function<BlockState, BlockState> FallenTreeFeature.getSidewaysStateModifier(Direction pDirection) protected static voidDripstoneUtils.growPointedDripstone(LevelAccessor pLevel, BlockPos pPos, Direction pDirection, int pHeight, boolean pMergeTip) private static booleanWaterloggedVegetationPatchFeature.isExposedDirection(WorldGenLevel pLevel, BlockPos pPos, BlockPos.MutableBlockPos pMutablePos, Direction pDirection) private voidFallenTreeFeature.placeFallenLog(FallenTreeConfiguration pConfig, WorldGenLevel pLevel, RandomSource pRandom, int pLogLength, BlockPos.MutableBlockPos pPos, Direction pDirection) private voidDripstoneClusterFeature.replaceBlocksWithDripstoneBlocks(WorldGenLevel pLevel, BlockPos pPos, int pThickness, Direction pDirection) Method parameters in net.minecraft.world.level.levelgen.feature with type arguments of type DirectionModifier and TypeMethodDescriptionstatic booleanMultifaceGrowthFeature.placeGrowthIfPossible(WorldGenLevel pLevel, BlockPos pPos, BlockState pState, MultifaceGrowthConfiguration pConfig, RandomSource pRandom, List<Direction> pDirections) -
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 DirectionBlockColumnConfiguration.directionThe field for thedirectionrecord 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.validDirectionsMethods in net.minecraft.world.level.levelgen.feature.configurations that return DirectionModifier and TypeMethodDescriptionBlockColumnConfiguration.direction()Returns the value of thedirectionrecord component.Methods in net.minecraft.world.level.levelgen.feature.configurations that return types with arguments of type DirectionModifier and TypeMethodDescriptionMultifaceGrowthConfiguration.getShuffledDirections(RandomSource pRandom) MultifaceGrowthConfiguration.getShuffledDirectionsExcept(RandomSource pRandom, Direction pDirection) Methods in net.minecraft.world.level.levelgen.feature.configurations with parameters of type DirectionModifier and TypeMethodDescriptionMultifaceGrowthConfiguration.getShuffledDirectionsExcept(RandomSource pRandom, Direction pDirection) 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 aBlockColumnConfigurationrecord 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 pPos, Direction pDirection, RandomSource pRandom, BlockPos pTrunkOrigin) private booleanMangroveRootPlacer.simulateRoots(LevelSimulatedReader pLevel, RandomSource pRandom, BlockPos pPos, Direction pDirection, BlockPos pTrunkOrigin, List<BlockPos> pRoots, int pLength) -
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_DIRECTIONSprivate static final DirectionBeehiveDecorator.WORLDGEN_FACINGFields in net.minecraft.world.level.levelgen.feature.treedecorators with type parameters of type DirectionModifier and TypeFieldDescriptionAttachedToLeavesDecorator.directionsAttachedToLogsDecorator.directionsMethods in net.minecraft.world.level.levelgen.feature.treedecorators with parameters of type DirectionModifier and TypeMethodDescriptionprivate booleanAttachedToLeavesDecorator.hasRequiredEmptyBlocks(TreeDecorator.Context pContext, BlockPos pPos, Direction pDirection) Constructor parameters in net.minecraft.world.level.levelgen.feature.treedecorators with type arguments of type DirectionModifierConstructorDescriptionAttachedToLeavesDecorator(float pProbability, int pExclusionRadiusXZ, int pExclusionRadiusY, BlockStateProvider pBlockProvider, int pRequiredEmptyBlocks, List<Direction> pDirections) AttachedToLogsDecorator(float pProbability, BlockStateProvider pBlockProvider, List<Direction> pDirections) -
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.FoliageAttachmentCherryTrunkPlacer.generateBranch(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, BlockPos pPos, TreeConfiguration pConfig, Function<BlockState, BlockState> pPropertySetter, Direction pDirection, int pSecondBranchStartOffsetFromTop, boolean pDoubleBranch, BlockPos.MutableBlockPos pCurrentPos) private voidUpwardsBranchingTrunkPlacer.placeBranch(LevelSimulatedReader pLevel, BiConsumer<BlockPos, BlockState> pBlockSetter, RandomSource pRandom, int pFreeTreeHeight, TreeConfiguration pTreeConfig, List<FoliagePlacer.FoliageAttachment> pFoliageAttachments, BlockPos.MutableBlockPos pPos, int pY, Direction pDirection, int pExtraBranchLength, int pExtraBranchSteps) -
Uses of Direction in net.minecraft.world.level.levelgen.placement
Fields in net.minecraft.world.level.levelgen.placement declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionCaveSurface.directionprivate final DirectionEnvironmentScanPlacement.directionOfSearchMethods in net.minecraft.world.level.levelgen.placement that return DirectionMethods in net.minecraft.world.level.levelgen.placement with parameters of type DirectionModifier and TypeMethodDescriptionstatic EnvironmentScanPlacementEnvironmentScanPlacement.scanningFor(Direction pDirectionOfSearch, BlockPredicate pTargetCondition, int pMaxSteps) static EnvironmentScanPlacementEnvironmentScanPlacement.scanningFor(Direction pDirectionOfSearch, BlockPredicate pTargetCondition, BlockPredicate pAllowedSearchCondition, int pMaxSteps) Constructors in net.minecraft.world.level.levelgen.placement with parameters of type DirectionModifierConstructorDescriptionprivateCaveSurface(Direction pDirection, int pY, String pId) privateEnvironmentScanPlacement(Direction pDirectionOfSearch, BlockPredicate pTargetCondition, BlockPredicate pAllowedSearchCondition, int pMaxSteps) -
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 DirectionStructurePiece.getRandomHorizontalDirection(RandomSource pRandom) Methods in net.minecraft.world.level.levelgen.structure with parameters of type DirectionModifier and TypeMethodDescriptionprotected booleanStructurePiece.createDispenser(WorldGenLevel pLevel, BoundingBox pBox, RandomSource pRandom, int pX, int pY, int pZ, Direction pFacing, ResourceKey<LootTable> pLootTable) protected static BoundingBoxStructurePiece.makeBoundingBox(int pX, int pY, int pZ, Direction pDirection, int pOffsetX, int pOffsetY, int pOffsetZ) static BoundingBoxBoundingBox.orientBox(int pStructureMinX, int pStructureMinY, int pStructureMinZ, int pXMin, int pYMin, int pZMin, int pXMax, int pYMax, int pZMax, Direction pFacing) Create a bounding box with the specified dimensions and rotate it.voidStructurePiece.setOrientation(Direction pOrientation) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type DirectionModifierConstructorDescriptionprotectedScatteredFeaturePiece(StructurePieceType pType, int pX, int pY, int pZ, int pWidth, int pHeight, int pDepth, Direction pOrientation) -
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 DirectionMineshaftPieces.MineShaftCrossing.directionMethods in net.minecraft.world.level.levelgen.structure.structures that return DirectionModifier and TypeMethodDescriptionWoodlandMansionPieces.MansionGrid.get1x2RoomDirection(WoodlandMansionPieces.SimpleGrid pLayout, int pX, int pY, int pFloor, int pRoomId) Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type DirectionModifier and TypeMethodDescriptionprivate voidWoodlandMansionPieces.MansionPiecePlacer.addRoom1x1(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, Direction pDirection, WoodlandMansionPieces.FloorRoomCollection pFloorRooms) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom1x2(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, Direction pFrontDirection, Direction pSideDirection, WoodlandMansionPieces.FloorRoomCollection pFloorRooms, boolean pIsStairs) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom2x2(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, BlockPos pPos, Rotation pRotation, Direction pFrontDirection, Direction pSideDirection, WoodlandMansionPieces.FloorRoomCollection pFloorRooms) 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 pDirection, OceanMonumentPieces.RoomDefinition pRoom, RandomSource pRandom) NetherFortressPieces.BridgeCrossing.createPiece(StructurePieceAccessor pPieces, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) NetherFortressPieces.BridgeEndFiller.createPiece(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) NetherFortressPieces.BridgeStraight.createPiece(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) NetherFortressPieces.CastleCorridorStairsPiece.createPiece(StructurePieceAccessor pPieces, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) NetherFortressPieces.CastleCorridorTBalconyPiece.createPiece(StructurePieceAccessor pPieces, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) NetherFortressPieces.CastleEntrance.createPiece(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) NetherFortressPieces.CastleSmallCorridorCrossingPiece.createPiece(StructurePieceAccessor pPieces, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) NetherFortressPieces.CastleSmallCorridorLeftTurnPiece.createPiece(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) NetherFortressPieces.CastleSmallCorridorPiece.createPiece(StructurePieceAccessor pPieces, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) NetherFortressPieces.CastleSmallCorridorRightTurnPiece.createPiece(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) NetherFortressPieces.CastleStalkRoom.createPiece(StructurePieceAccessor pPieces, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) NetherFortressPieces.MonsterThrone.createPiece(StructurePieceAccessor pPieces, int pX, int pY, int pZ, int pGenDepth, Direction pOrientation) NetherFortressPieces.RoomCrossing.createPiece(StructurePieceAccessor pPieces, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) NetherFortressPieces.StairsRoom.createPiece(StructurePieceAccessor pPieces, int pX, int pY, int pZ, int pGenDepth, Direction pOrientation) StrongholdPieces.ChestCorridor.createPiece(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) StrongholdPieces.FiveCrossing.createPiece(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) static StrongholdPieces.LeftTurnStrongholdPieces.LeftTurn.createPiece(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) static StrongholdPieces.LibraryStrongholdPieces.Library.createPiece(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) static StrongholdPieces.PortalRoomStrongholdPieces.PortalRoom.createPiece(StructurePieceAccessor pPieces, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) static StrongholdPieces.PrisonHallStrongholdPieces.PrisonHall.createPiece(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) static StrongholdPieces.RightTurnStrongholdPieces.RightTurn.createPiece(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) StrongholdPieces.RoomCrossing.createPiece(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) static StrongholdPieces.StairsDownStrongholdPieces.StairsDown.createPiece(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) static StrongholdPieces.StraightStrongholdPieces.Straight.createPiece(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection, int pGenDepth) StrongholdPieces.StraightStairsDown.createPiece(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) private static MineshaftPieces.MineShaftPieceMineshaftPieces.createRandomShaftPiece(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth, MineshaftStructure.Type pType) (package private) static NetherFortressPieces.NetherBridgePieceNetherFortressPieces.findAndCreateBridgePieceFactory(NetherFortressPieces.PieceWeight pWeight, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) private static StrongholdPieces.StrongholdPieceStrongholdPieces.findAndCreatePieceFactory(Class<? extends StrongholdPieces.StrongholdPiece> pPieceClass, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection, int pGenDepth) static BoundingBoxMineshaftPieces.MineShaftCorridor.findCorridorSize(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection) static BoundingBoxMineshaftPieces.MineShaftCrossing.findCrossing(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection) static BoundingBoxStrongholdPieces.FillerCorridor.findPieceBox(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation) static BoundingBoxMineshaftPieces.MineShaftStairs.findStairs(StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection) (package private) static MineshaftPieces.MineShaftPieceMineshaftPieces.generateAndAddPiece(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection, int pGenDepth) private StructurePieceNetherFortressPieces.NetherBridgePiece.generateAndAddPiece(NetherFortressPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth, boolean pCastlePiece) (package private) static StructurePieceStrongholdPieces.generateAndAddPiece(StrongholdPieces.StartPiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection, int pGenDepth) NetherFortressPieces.NetherBridgePiece.generatePiece(NetherFortressPieces.StartPiece pStartPiece, List<NetherFortressPieces.PieceWeight> pWeights, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth) private static StrongholdPieces.StrongholdPieceStrongholdPieces.generatePieceFromSmallDoor(StrongholdPieces.StartPiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection, int pGenDepth) private static BoundingBoxOceanMonumentPieces.OceanMonumentPiece.makeBoundingBox(Direction pDirection, OceanMonumentPieces.RoomDefinition pDefinition, int pX, int pY, int pZ) private voidWoodlandMansionPieces.MansionGrid.recursiveCorridor(WoodlandMansionPieces.SimpleGrid pLayout, int pX, int pY, Direction pDirection, int pLength) voidOceanMonumentPieces.RoomDefinition.setConnection(Direction pDirection, OceanMonumentPieces.RoomDefinition pConnectingRoom) private voidWoodlandMansionPieces.MansionPiecePlacer.traverseOuterWalls(List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, WoodlandMansionPieces.PlacementData pData, WoodlandMansionPieces.SimpleGrid pLayout, Direction pDirection, int pStartX, int pStartY, int pEntranceX, int pEntranceY) Constructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type DirectionModifierConstructorDescriptionprotectedBridgeCrossing(int pX, int pZ, Direction pOrientation) BridgeCrossing(int pGenDepth, BoundingBox pBox, Direction pOrientation) BridgeEndFiller(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) BridgeStraight(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) CastleCorridorStairsPiece(int pGenDepth, BoundingBox pBox, Direction pOrientation) CastleCorridorTBalconyPiece(int pGenDepth, BoundingBox pBox, Direction pOrientation) CastleEntrance(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) CastleSmallCorridorCrossingPiece(int pGenDepth, BoundingBox pBox, Direction pOrientation) CastleSmallCorridorLeftTurnPiece(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) CastleSmallCorridorPiece(int pGenDepth, BoundingBox pBox, Direction pOrientation) CastleSmallCorridorRightTurnPiece(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) CastleStalkRoom(int pGenDepth, BoundingBox pBox, Direction pOrientation) ChestCorridor(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) FillerCorridor(int pGenDepth, BoundingBox pBox, Direction pOrientation) FiveCrossing(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) LeftTurn(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) Library(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) MineShaftCorridor(int pGenDepth, RandomSource pRandom, BoundingBox pBoundingBox, Direction pOrientation, MineshaftStructure.Type pType) MineShaftCrossing(int pGenDepth, BoundingBox pBoundingBox, Direction pDirection, MineshaftStructure.Type pType) MineShaftStairs(int pGenDepth, BoundingBox pBoundingBox, Direction pOrientation, MineshaftStructure.Type pType) MonsterThrone(int pGenDepth, BoundingBox pBox, Direction pOrientation) MonumentBuilding(RandomSource pRandom, int pX, int pZ, Direction pOrientation) OceanMonumentCoreRoom(Direction pDirection, OceanMonumentPieces.RoomDefinition pRoom) OceanMonumentDoubleXRoom(Direction pDirection, OceanMonumentPieces.RoomDefinition pRoom) OceanMonumentDoubleXYRoom(Direction pDirection, OceanMonumentPieces.RoomDefinition pRoom) OceanMonumentDoubleYRoom(Direction pDirection, OceanMonumentPieces.RoomDefinition pRoom) OceanMonumentDoubleYZRoom(Direction pDirection, OceanMonumentPieces.RoomDefinition pRoom) OceanMonumentDoubleZRoom(Direction pDirection, OceanMonumentPieces.RoomDefinition pRoom) OceanMonumentEntryRoom(Direction pDirection, OceanMonumentPieces.RoomDefinition pRoom) OceanMonumentPenthouse(Direction pDirection, BoundingBox pBox) protectedOceanMonumentPiece(StructurePieceType pType, int pGenDepth, Direction pOrientation, OceanMonumentPieces.RoomDefinition pRoomDefinition, int pX, int pY, int pZ) OceanMonumentPiece(StructurePieceType pType, Direction pOrientation, int pGenDepth, BoundingBox pBox) OceanMonumentSimpleRoom(Direction pDirection, OceanMonumentPieces.RoomDefinition pRoom, RandomSource pRandom) OceanMonumentSimpleTopRoom(Direction pDirection, OceanMonumentPieces.RoomDefinition pRoom) OceanMonumentWingRoom(Direction pDirection, BoundingBox pBox, int pFlag) PortalRoom(int pGenDepth, BoundingBox pBox, Direction pOrientation) PrisonHall(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) RightTurn(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) RoomCrossing(int pGenDepth, BoundingBox pBox, Direction pOrientation) RoomCrossing(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) StairsDown(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) StairsDown(StructurePieceType pType, int pGenDepth, int pX, int pZ, Direction pOrientation) StairsRoom(int pGenDepth, BoundingBox pBox, Direction pOrientation) Straight(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) StraightStairsDown(int pGenDepth, RandomSource pRandom, BoundingBox pBox, Direction pOrientation) -
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_DIRECTIONSMethods in net.minecraft.world.level.lighting with parameters of type DirectionModifier and TypeMethodDescriptionprivate static booleanSkyLightEngine.crossedSectionEdge(Direction pDirection, int pX, int pZ) static longLightEngine.QueueEntry.decreaseSkipOneDirection(int pLevel, Direction pDirection) static intLightEngine.getLightBlockInto(BlockState pState1, BlockState pState2, Direction pDirection, int pDefaultReturnValue) static VoxelShapeLightEngine.getOcclusionShape(BlockState pState, Direction pDirection) static longLightEngine.QueueEntry.increaseOnlyOneDirection(int pLevel, boolean pFromEmptyShape, Direction pDirection) static longLightEngine.QueueEntry.increaseSkipOneDirection(int pLevel, boolean pFromEmptyShape, Direction pDirection) private voidSkyLightEngine.propagateFromEmptySections(long pPackedPos, Direction pDirection, int pLevel, boolean pShouldIncrease, int pEmptySections) protected booleanLightEngine.shapeOccludes(BlockState pState1, BlockState pState2, Direction pDirection) static booleanLightEngine.QueueEntry.shouldPropagateInDirection(long pEntry, Direction pDirection) private static longLightEngine.QueueEntry.withDirection(long pEntry, Direction pDirection) private static longLightEngine.QueueEntry.withoutDirection(long pEntry, Direction pDirection) -
Uses of Direction in net.minecraft.world.level.material
Fields in net.minecraft.world.level.material declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionFlowingFluid.BlockStatePairKey.directionThe field for thedirectionrecord component.Methods in net.minecraft.world.level.material that return DirectionModifier and TypeMethodDescriptionFlowingFluid.BlockStatePairKey.direction()Returns the value of thedirectionrecord component.Methods in net.minecraft.world.level.material that return types with arguments of type DirectionModifier and TypeMethodDescriptionprotected Map<Direction, FluidState> FlowingFluid.getSpread(ServerLevel pLevel, BlockPos pPos, BlockState pState) Methods in net.minecraft.world.level.material with parameters of type DirectionModifier and TypeMethodDescriptionbooleanEmptyFluid.canBeReplacedWith(FluidState pFluidState, BlockGetter pBlockReader, BlockPos pPos, Fluid pFluid, Direction pDirection) protected abstract booleanFluid.canBeReplacedWith(FluidState pState, BlockGetter pLevel, BlockPos pPos, Fluid pFluid, Direction pDirection) booleanFluidState.canBeReplacedWith(BlockGetter pLevel, BlockPos pPos, Fluid pFluid, Direction pDirection) booleanLavaFluid.canBeReplacedWith(FluidState pFluidState, BlockGetter pBlockReader, BlockPos pPos, Fluid pFluid, Direction pDirection) booleanWaterFluid.canBeReplacedWith(FluidState pFluidState, BlockGetter pBlockReader, BlockPos pPos, Fluid pFluid, Direction pDirection) private booleanFlowingFluid.canMaybePassThrough(BlockGetter pLevel, BlockPos pPos, BlockState pState, Direction pDirection, BlockPos pSpreadPos, BlockState pSpreadState, FluidState pFluidState) private booleanFlowingFluid.canPassThrough(BlockGetter pLevel, Fluid pFluid, BlockPos pPos, BlockState pState, Direction pDirection, BlockPos pSpreadPos, BlockState pSpreadState, FluidState pFluidState) private static booleanFlowingFluid.canPassThroughWall(Direction pDirection, BlockGetter pLevel, BlockPos pPos, BlockState pState, BlockPos pSpreadPos, BlockState pSpreadState) protected intFlowingFluid.getSlopeDistance(LevelReader pLevel, BlockPos pPos, int pDepth, Direction pDirection, BlockState pState, FlowingFluid.SpreadContext pSpreadContext) private booleanLavaFluid.isFlammable(LevelReader pLevel, BlockPos pPos, Direction face) protected booleanFlowingFluid.isSolidFace(BlockGetter pLevel, BlockPos pNeighborPos, Direction pSide) protected voidFlowingFluid.spreadTo(LevelAccessor pLevel, BlockPos pPos, BlockState pBlockState, Direction pDirection, FluidState pFluidState) protected voidLavaFluid.spreadTo(LevelAccessor pLevel, BlockPos pPos, BlockState pBlockState, Direction pDirection, FluidState pFluidState) 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 aBlockStatePairKeyrecord class. -
Uses of Direction in net.minecraft.world.level.pathfinder
Methods in net.minecraft.world.level.pathfinder with parameters of type DirectionModifier and TypeMethodDescriptionprotected NodeWalkNodeEvaluator.findAcceptedNode(int pX, int pY, int pZ, int pVerticalDeltaLimit, double pNodeFloorLevel, Direction pDirection, PathType pPathType) private NodeWalkNodeEvaluator.tryJumpOn(int pX, int pY, int pZ, int pVerticalDeltaLimit, double pNodeFloorLevel, Direction pDirection, PathType pPathType, BlockPos.MutableBlockPos pPos) -
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 BlockPosPortalShape.calculateBottomLeft(BlockGetter pLevel, Direction pDirection, BlockPos pPos) private static intPortalShape.calculateHeight(BlockGetter pLevel, BlockPos pPos, Direction pDirection, int pWidth, org.apache.commons.lang3.mutable.MutableInt pPortalBlocks) private static intPortalShape.calculateWidth(BlockGetter pLevel, BlockPos pBottomLeft, Direction pDirection) private booleanPortalForcer.canHostFrame(BlockPos pOriginalPos, BlockPos.MutableBlockPos pOffsetPos, Direction pDirection, int pOffsetScale) private static intPortalShape.getDistanceUntilEdgeAboveFrame(BlockGetter pLevel, BlockPos pPos, Direction pDirection) private static intPortalShape.getDistanceUntilTop(BlockGetter pLevel, BlockPos pPos, Direction pDirection, BlockPos.MutableBlockPos pCheckPos, int pWidth, org.apache.commons.lang3.mutable.MutableInt pPortalBlocks) private static booleanPortalShape.hasTopFrame(BlockGetter pLevel, BlockPos pPos, Direction pDirection, BlockPos.MutableBlockPos pCheckPos, int pWidth, int pDistanceUntilTop) Constructors in net.minecraft.world.level.portal with parameters of type DirectionModifierConstructorDescriptionprivatePortalShape(Direction.Axis pAxis, int pNumPortalBlocks, Direction pRightDir, BlockPos pBottomLeft, int pWidth, int pHeight) -
Uses of Direction in net.minecraft.world.level.redstone
Fields in net.minecraft.world.level.redstone declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionCollectingNeighborUpdater.ShapeUpdate.directionThe field for thedirectionrecord component.private final DirectionOrientation.frontprivate final DirectionOrientation.sideprivate final DirectionCollectingNeighborUpdater.MultiNeighborUpdate.skipDirectionprivate final DirectionOrientation.upstatic final Direction[]NeighborUpdater.UPDATE_ORDERFields in net.minecraft.world.level.redstone with type parameters of type DirectionModifier and TypeFieldDescriptionOrientation.horizontalNeighborsOrientation.neighborsOrientation.verticalNeighborsprivate final Map<Direction, Orientation> Orientation.withFrontprivate final Map<Direction, Orientation> Orientation.withUpMethods in net.minecraft.world.level.redstone that return DirectionModifier and TypeMethodDescriptionCollectingNeighborUpdater.ShapeUpdate.direction()Returns the value of thedirectionrecord 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 voidNeighborUpdater.executeShapeUpdate(LevelAccessor pLevel, Direction pDirection, BlockPos pPos, BlockPos pNeighborPos, BlockState pNeighborState, int pFlags, int pRecursionLeft) protected static intOrientation.generateIndex(Direction pUp, Direction pFront, Orientation.SideBias pSideBias) static OrientationExperimentalRedstoneUtils.initialOrientation(Level pLevel, Direction pFront, Direction pUp) private static booleanExperimentalRedstoneWireEvaluator.isConnected(BlockState pState, Direction pDirection) static OrientationOrientation.of(Direction pUp, Direction pFront, Orientation.SideBias pSideBias) voidCollectingNeighborUpdater.shapeUpdate(Direction p_230664_, BlockState p_230665_, BlockPos p_230666_, BlockPos p_230667_, int p_230668_, int p_230669_) voidInstantNeighborUpdater.shapeUpdate(Direction p_230755_, BlockState p_230756_, BlockPos p_230757_, BlockPos p_230758_, int p_230759_, int p_230760_) voidNeighborUpdater.shapeUpdate(Direction pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, int pFlags, int pRecursionLevel) voidCollectingNeighborUpdater.updateNeighborsAtExceptFromFacing(BlockPos p_230657_, Block p_230658_, Direction p_230659_, Orientation p_365269_) default voidNeighborUpdater.updateNeighborsAtExceptFromFacing(BlockPos pPos, Block pBlock, Direction pFacing, Orientation pOrientation) static OrientationExperimentalRedstoneUtils.withFront(Orientation pOrientation, Direction pDirection) Orientation.withFrontAdjustSideBias(Direction pFront) Orientation.withFrontPreserveUp(Direction pFront) Constructors in net.minecraft.world.level.redstone with parameters of type DirectionModifierConstructorDescription(package private)MultiNeighborUpdate(BlockPos pSourcePos, Block pSourceBlock, Orientation pOrientation, Direction pSkipDirection) privateOrientation(Direction pUp, Direction pFront, Orientation.SideBias pSideBias) (package private)ShapeUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int updateFlags, int updateLimit) Creates an instance of aShapeUpdaterecord 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 DirectionAABB.clipPoint(double[] pMinDistance, Direction pPrevDirection, double pDistanceSide, double pDistanceOtherA, double pDistanceOtherB, double pMinSide, double pMinOtherA, double pMaxOtherA, double pMinOtherB, double pMaxOtherB, Direction pHitSide, double pStartSide, double pStartOtherA, double pStartOtherB) private static DirectionAABB.getDirection(double pMinX, double pMinY, double pMinZ, double pMaxX, double pMaxY, double pMaxZ, Vec3 pStart, double[] pMineDistance, Direction pFacing, double pDeltaX, double pDeltaY, double pDeltaZ) private static DirectionAABB.getDirection(AABB pAabb, Vec3 pStart, double[] pMinDistance, Direction pFacing, double pDeltaX, double pDeltaY, double pDeltaZ) BlockHitResult.getDirection()Methods in net.minecraft.world.phys with parameters of type DirectionModifier and TypeMethodDescriptionprivate static DirectionAABB.clipPoint(double[] pMinDistance, Direction pPrevDirection, double pDistanceSide, double pDistanceOtherA, double pDistanceOtherB, double pMinSide, double pMinOtherA, double pMaxOtherA, double pMinOtherB, double pMaxOtherB, Direction pHitSide, double pStartSide, double pStartOtherA, double pStartOtherB) private static DirectionAABB.getDirection(double pMinX, double pMinY, double pMinZ, double pMaxX, double pMaxY, double pMaxZ, Vec3 pStart, double[] pMineDistance, Direction pFacing, double pDeltaX, double pDeltaY, double pDeltaZ) private static DirectionAABB.getDirection(AABB pAabb, Vec3 pStart, double[] pMinDistance, Direction pFacing, double pDeltaX, double pDeltaY, double pDeltaZ) static BlockHitResultCreates a new BlockRayTraceResult marked as a miss.BlockHitResult.withDirection(Direction pNewFace) Creates a new BlockRayTraceResult, with the clicked face replaced with the given oneConstructors in net.minecraft.world.phys with parameters of type DirectionModifierConstructorDescriptionprivateBlockHitResult(boolean pMiss, Vec3 pLocation, Direction pDirection, BlockPos pBlockPos, boolean pInside, boolean pWorldBorderHit) BlockHitResult(Vec3 pLocation, Direction pDirection, BlockPos pBlockPos, boolean pInside) BlockHitResult(Vec3 pLocation, Direction pDirection, BlockPos pBlockPos, boolean pInside, boolean pWorldBorderHit) -
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 pShape) static Map<Direction, VoxelShape> Shapes.rotateAll(VoxelShape pShape, Vec3 pPos) static Map<AttachFace, Map<Direction, VoxelShape>> Shapes.rotateAttachFace(VoxelShape pShape) static Map<Direction, VoxelShape> Shapes.rotateHorizontal(VoxelShape pShape) static Map<Direction, VoxelShape> Shapes.rotateHorizontal(VoxelShape pShape, Vec3 pPos) Methods in net.minecraft.world.phys.shapes with parameters of type DirectionModifier and TypeMethodDescriptionstatic booleanShapes.blockOccludes(VoxelShape pShape, VoxelShape pAdjacentShape, Direction pSide) private VoxelShapeVoxelShape.calculateFace(Direction pSide) voidVoxelShape.getFaceShape(Direction pSide) Projects this shape onto the given side.static booleanShapes.mergedFaceOccludes(VoxelShape pShape, VoxelShape pAdjacentShape, Direction pSide) -
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.BLOCKstatic final BlockCapability<IFluidHandler, @Nullable Direction> Capabilities.FluidHandler.BLOCKstatic final BlockCapability<IItemHandler, @Nullable Direction> Capabilities.ItemHandler.BLOCKstatic final EntityCapability<IEnergyStorage, @Nullable Direction> Capabilities.EnergyStorage.ENTITYstatic final EntityCapability<IFluidHandler, @Nullable Direction> Capabilities.FluidHandler.ENTITYstatic final EntityCapability<IItemHandler, @Nullable Direction> Capabilities.ItemHandler.ENTITY_AUTOMATIONCapability 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 nullableDirectioncontext, 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 nullableDirectioncontext, 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 booleanIClientBlockExtensions.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.Matrix4fcComposedModelState.faceTransformation(Direction side) org.joml.Matrix4fcComposedModelState.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 TypeMethodDescriptionvoidEnhancedAoRenderStorage.calculate(BlockAndTintGetter level, BlockState state, BlockPos pos, Direction direction, boolean shade) private voidEnhancedAoRenderStorage.calculateAxisAligned(BlockAndTintGetter level, BlockState state, BlockPos pos, Direction direction, boolean shade) Computes AO for an axis-aligned quad.(package private) AoCalculatedFaceFullFaceCalculator.calculateFace(BlockAndTintGetter level, BlockState renderedState, BlockPos renderedPos, Direction direction, boolean shade, boolean sampleOutside) private voidFullFaceCalculator.calculateFaceUncached(AoCalculatedFace out, BlockAndTintGetter level, BlockState renderedState, BlockPos renderedPos, Direction direction, boolean shade, boolean sampleOutside) Computes the AO for a full face.static AoFaceAoFace.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 TypeMethodDescriptionvoidQuadBakingVertexConsumer.setDirection(Direction direction) -
Uses of Direction in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type DirectionModifier and TypeMethodDescriptionbooleanSpecialPlantable.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) voidSpecialPlantable.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 DirectionIBlockExtension.getBedDirection(BlockState state, LevelReader level, BlockPos pos) Returns the direction of the block.default DirectionIBlockStateExtension.getBedDirection(LevelReader level, BlockPos pos) Returns the direction of the block.default DirectionITransformationExtension.rotateTransform(Direction facing) Rotates the direction according to this transformation and returns the nearestDirectionto the resulting direction.Methods in net.neoforged.neoforge.common.extensions with parameters of type DirectionModifier and TypeMethodDescriptiondefault booleanIBlockExtension.canConnectRedstone(BlockState state, BlockGetter level, BlockPos pos, @Nullable Direction direction) Whether redstone dust should visually connect to this block on a given sidedefault booleanIBlockStateExtension.canRedstoneConnectTo(BlockGetter level, BlockPos pos, @Nullable Direction direction) Whether redstone dust should visually connect to this block on a side.default TriStateIBlockExtension.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 TriStateIBlockStateExtension.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 BlockStateIBlockExtension.getAppearance(BlockState state, BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockStatethat this block reports to look like on the given side, for querying by other mods.default BlockStateIBlockStateExtension.getAppearance(BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockStatethat this state reports to look like on the given side for querying by other mods.default intIBlockExtension.getFireSpreadSpeed(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when fire is updating on a neighbor block.default intIBlockStateExtension.getFireSpreadSpeed(BlockGetter level, BlockPos pos, Direction face) Called when fire is updating on a neighbor block.default intIBlockExtension.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 intIBlockStateExtension.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 booleanIBlockExtension.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 booleanIBlockStateExtension.hidesNeighborFace(BlockGetter level, BlockPos pos, BlockState neighborState, Direction dir) Whether this block hides the neighbors face pointed towards by the given direction.default booleanIBlockExtension.isFireSource(BlockState state, LevelReader level, BlockPos pos, Direction direction) Currently only called by fire when it is on top of this block.default booleanIBlockStateExtension.isFireSource(LevelReader level, BlockPos pos, Direction side) Currently only called by fire when it is on top of this block.default booleanIBlockExtension.isFlammable(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when fire is updating, checks if a block face can catch fire.default booleanIBlockStateExtension.isFlammable(BlockGetter level, BlockPos pos, Direction face) Called when fire is updating, checks if a block face can catch fire.default booleanIBlockExtension.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 booleanIBlockStateExtension.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 voidIBlockExtension.onDestroyedByPushReaction(BlockState state, Level level, BlockPos pos, Direction pushDirection, FluidState fluid) Called when a block is removed byPushReaction.DESTROY.default voidIBlockStateExtension.onDestroyedByPushReaction(Level level, BlockPos pos, Direction pushDirection, FluidState fluid) Called when a block is removed byPushReaction.DESTROY.default DirectionITransformationExtension.rotateTransform(Direction facing) Rotates the direction according to this transformation and returns the nearestDirectionto the resulting direction.default booleanIBlockExtension.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 booleanIBlockStateExtension.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 booleanIBlockExtension.shouldHideAdjacentFluidFace(BlockState state, Direction selfFace, FluidState adjacentFluid) Determines if a fluid adjacent to the block on the given side should not be rendered.default booleanIBlockStateExtension.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 booleanEventHooks.onBlockPlace(@Nullable Entity entity, BlockSnapshot blockSnapshot, Direction direction) static booleanEventHooks.onMultiBlockPlace(@Nullable Entity entity, List<BlockSnapshot> blockSnapshots, Direction direction) static voidEventHooks.onPistonMovePost(Level level, BlockPos pos, Direction direction, boolean extending) static booleanEventHooks.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 DirectionPlayerInteractEvent.faceprivate final @Nullable DirectionUseItemOnBlockEvent.faceMethods in net.neoforged.neoforge.event.entity.player that return DirectionModifier and TypeMethodDescription@Nullable DirectionPlayerInteractEvent.getFace()@Nullable DirectionUseItemOnBlockEvent.getFace()Constructors in net.neoforged.neoforge.event.entity.player with parameters of type DirectionModifierConstructorDescriptionLeftClickBlock(Player player, BlockPos pos, Direction face, PlayerInteractEvent.LeftClickBlock.Action action) protectedPlayerInteractEvent(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 booleanBaseFlowingFluid.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 booleanFluidUtil.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 FluidActionResultFluidUtil.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 ContainerOrHandlerVanillaInventoryCodeHooks.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 intSidedInvWrapper.getSlot(WorldlyContainer inv, int slot, @Nullable Direction side) Constructors in net.neoforged.neoforge.items.wrapper with parameters of type Direction