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.model.geom
Constructors in net.minecraft.client.model.geom with parameters of type DirectionModifierConstructorDescriptionPolygon(ModelPart.Vertex[] pVertices, float pU1, float pV1, float pU2, float pV2, float pTextureWidth, float pTextureHeight, boolean pMirror, Direction pDirection) 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 TypeFieldDescriptionstatic final Direction[]LevelRenderer.DIRECTIONSprivate 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(BlockPos pPos, SectionRenderDispatcher.RenderSection pSection, Direction pDirection) (package private) booleanSectionOcclusionGraph.Node.hasDirection(Direction pDirection) static voidLevelRenderer.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 TypeFieldDescription(package private) final Direction[]ModelBlockRenderer.AdjacencyInfo.corners(package private) static final Direction[]ModelBlockRenderer.DIRECTIONSMethods in net.minecraft.client.renderer.block with parameters of type DirectionModifier and TypeMethodDescriptionvoidModelBlockRenderer.AmbientOcclusionFace.calculate(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, Direction pDirection, float[] pShape, BitSet pShapeFlags, boolean pShade) private voidModelBlockRenderer.calculateShape(BlockAndTintGetter pLevel, BlockState pState, BlockPos pPos, int[] pVertices, Direction pDirection, float[] pShape, BitSet pShapeFlags) Calculates the shape and corresponding flags for the specifieddirectionandvertices, storing the resulting shape in the specifiedshapearray and the shape flags inshapeFlags.ModelBlockRenderer.AdjacencyInfo.fromFacing(Direction pFacing) ModelBlockRenderer.AmbientVertexRemap.fromFacing(Direction pFacing) private static booleanLiquidBlockRenderer.isFaceOccludedByNeighbor(BlockGetter pLevel, BlockPos pPos, Direction pSide, float pHeight, BlockState pBlockState) private static booleanLiquidBlockRenderer.isFaceOccludedBySelf(BlockGetter pLevel, BlockPos pPos, BlockState pState, Direction pFace) private static booleanLiquidBlockRenderer.isFaceOccludedByState(BlockGetter pLevel, Direction pFace, float pHeight, BlockPos pPos, BlockState pState) private static booleanLiquidBlockRenderer.isNeighborStateHidingOverlay(FluidState selfState, BlockState otherState, Direction neighborFace) static booleanLiquidBlockRenderer.shouldRenderFace(BlockAndTintGetter level, BlockPos pos, FluidState fluidState, BlockState selfState, Direction direction, BlockState otherState) static booleanLiquidBlockRenderer.shouldRenderFace(BlockAndTintGetter pLevel, BlockPos pPos, FluidState pFluidState, BlockState pBlockState, Direction pSide, FluidState pNeighborFluid) Deprecated.Neo: use overload that accepts BlockStateConstructors 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) private -
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.protected final DirectionBakedQuad.directionprivate final DirectionItemModelGenerator.SpanFacing.directionFields in net.minecraft.client.renderer.block.model with type parameters of type DirectionMethods in net.minecraft.client.renderer.block.model that return DirectionModifier and TypeMethodDescriptionstatic DirectionFaceBakery.calculateFacing(int[] pFaceData) BlockElementFace.cullForDirection()Returns the value of thecullForDirectionrecord component.private DirectionBlockElementFace.Deserializer.getCullFacing(JsonObject pJson) BakedQuad.getDirection()ItemModelGenerator.SpanFacing.getDirection()private DirectionMethods in net.minecraft.client.renderer.block.model that return types with arguments of type DirectionModifier and TypeMethodDescriptionprivate 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 BakedQuadBlockModel.bakeFace(BlockElement pElement, BlockElementFace pFace, TextureAtlasSprite pSprite, Direction pFacing, ModelState pState) FaceBakery.bakeQuad(org.joml.Vector3f pPosFrom, org.joml.Vector3f pPosTo, BlockElementFace pFace, TextureAtlasSprite pSprite, Direction pFacing, ModelState pTransform, BlockElementRotation pRotation, boolean pShade) private voidFaceBakery.bakeVertex(int[] pVertexData, int pVertexIndex, Direction pFacing, BlockFaceUV pBlockFaceUV, float[] pPosDiv16, TextureAtlasSprite pSprite, Transformation pRotation, BlockElementRotation pPartRotation, boolean pShade) private int[]FaceBakery.makeVertices(BlockFaceUV pUvs, TextureAtlasSprite pSprite, Direction pOrientation, float[] pPosDiv16, Transformation pRotation, BlockElementRotation pPartRotation, boolean pShade) private voidFaceBakery.recalculateWinding(int[] pVertices, Direction pDirection) static BlockFaceUVFaceBakery.recomputeUVs(BlockFaceUV pUv, Direction pFacing, Transformation pRotation) float[]Constructors in net.minecraft.client.renderer.block.model with parameters of type DirectionModifierConstructorDescriptionBakedQuad(int[] pVertices, int pTintIndex, Direction pDirection, TextureAtlasSprite pSprite, boolean pShade) BakedQuad(int[] pVertices, int pTintIndex, Direction pDirection, TextureAtlasSprite pSprite, boolean pShade, boolean hasAmbientOcclusion) BlockElementFace(Direction p_111359_, int p_111360_, String p_111361_, BlockFaceUV p_111362_) BlockElementFace(Direction cullForDirection, int tintIndex, String texture, BlockFaceUV uv, 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.Vector3f pFrom, org.joml.Vector3f pTo, Map<Direction, BlockElementFace> pFaces, BlockElementRotation pRotation, boolean pShade) BlockElement(org.joml.Vector3f pFrom, org.joml.Vector3f pTo, Map<Direction, BlockElementFace> pFaces, BlockElementRotation pRotation, boolean pShade, ExtraFaceData faceData) -
Uses of Direction in net.minecraft.client.renderer.blockentity
Methods in net.minecraft.client.renderer.blockentity with parameters of type DirectionModifier and TypeMethodDescriptionprivate 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, ModelPart pModelPart, Direction pDirection, Material pMaterial, int pPackedLight, int pPackedOverlay, boolean pFoot) 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) SectionRenderDispatcher.RenderSection.getRelativeOrigin(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
Methods 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.resources.model
Fields in net.minecraft.client.resources.model with type parameters of type DirectionModifier and TypeFieldDescriptionSimpleBakedModel.Builder.culledFacesSimpleBakedModel.culledFacesMethods in net.minecraft.client.resources.model with parameters of type DirectionModifier and TypeMethodDescriptionSimpleBakedModel.Builder.addCulledFace(Direction pFacing, BakedQuad pQuad) BakedModel.getQuads(BlockState pState, Direction pDirection, RandomSource pRandom) BuiltInModel.getQuads(BlockState pState, Direction pDirection, RandomSource pRandom) MultiPartBakedModel.getQuads(BlockState pState, Direction pDirection, RandomSource pRandom, ModelData modelData, RenderType renderType) SimpleBakedModel.getQuads(BlockState pState, Direction pDirection, RandomSource pRandom) WeightedBakedModel.getQuads(BlockState pState, Direction pDirection, RandomSource pRandom, ModelData modelData, RenderType renderType) Constructor parameters in net.minecraft.client.resources.model with type arguments of type DirectionModifierConstructorDescriptionSimpleBakedModel(List<BakedQuad> pUnculledFaces, Map<Direction, List<BakedQuad>> pCulledFaces, boolean pHasAmbientOcclusion, boolean pUsesBlockLight, boolean pIsGui3d, TextureAtlasSprite pParticleIcon, ItemTransforms pTransforms, ItemOverrides pOverrides) Deprecated.Forge: Use variant with RenderTypeGroupSimpleBakedModel(List<BakedQuad> pUnculledFaces, Map<Direction, List<BakedQuad>> pCulledFaces, boolean pHasAmbientOcclusion, boolean pUsesBlockLight, boolean pIsGui3d, TextureAtlasSprite pParticleIcon, ItemTransforms pTransforms, ItemOverrides pOverrides, RenderTypeGroup renderTypes) -
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 StreamCodec<io.netty.buffer.ByteBuf, Direction> Direction.STREAM_CODECstatic final Map<Direction, Transformation> BlockMath.VANILLA_UV_TRANSFORM_GLOBAL_TO_LOCALstatic 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.fromDelta(int pX, int pY, int pZ) static DirectionDirection.fromYRot(double pAngle) FrontAndTop.front()static DirectionDirection.get(Direction.AxisDirection pAxisDirection, Direction.Axis pAxis) 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()static DirectionDirection.getFacingAxis(Entity pEntity, Direction.Axis pAxis) static DirectionDirection.getNearest(double pX, double pY, double pZ) static DirectionDirection.getNearest(float pX, float pY, float pZ) static DirectionDirection.getNearest(Vec3 pOis) Direction.getOpposite()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 p_194529_) Methods in net.minecraft.core with parameters of type DirectionModifier and TypeMethodDescriptionstatic FrontAndTopFrontAndTop.fromFrontAndTop(Direction pFront, Direction pTop) static TransformationBlockMath.getUVLockTransform(Transformation pTransformation, Direction pDirection) private 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.Offsets this Vector by the given distance in the specified direction.Offsets 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 p_194529_) 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.models
Methods in net.minecraft.data.models that return types with arguments of type DirectionModifier and TypeMethodDescriptionprivate static PropertyDispatch.C4<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> BlockModelGenerators.configureDoorHalf(PropertyDispatch.C4<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> pProperties, DoubleBlockHalf pHalf, ResourceLocation pLeftModelLocation, ResourceLocation pLeftOpenModelLocation, ResourceLocation pRightModelLocation, ResourceLocation pRightOpenModelLocation) Methods in net.minecraft.data.models with parameters of type DirectionModifier and TypeMethodDescriptionprivate VariantBlockModelGenerators.createPointedDripstoneVariant(Direction pDirection, DripstoneThickness pDripstoneThickness) Method parameters in net.minecraft.data.models with type arguments of type DirectionModifier and TypeMethodDescriptionprivate static PropertyDispatch.C4<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> BlockModelGenerators.configureDoorHalf(PropertyDispatch.C4<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> pProperties, DoubleBlockHalf pHalf, ResourceLocation pLeftModelLocation, ResourceLocation pLeftOpenModelLocation, ResourceLocation pRightModelLocation, ResourceLocation pRightOpenModelLocation) -
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) -
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 pPos, ServerboundPlayerActionPacket.Action pAction, Direction pFace, int pMaxBuildHeight, int pSequence) voidServerPlayerGameMode.handleBlockBreakAction(BlockPos pPos, ServerboundPlayerActionPacket.Action pAction, Direction pFace, int pMaxBuildHeight, int pSequence) voidServerLevel.updateNeighborsAtExceptFromFacing(BlockPos pPos, Block pBlockType, Direction pSkipSide) -
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 pPos, Direction pDirection) protected AABBPainting.calculateBoundingBox(BlockPos pPos, Direction pDirection) 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 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) static AABBShulker.getProgressDeltaAabb(float pScale, Direction pExpansionDirection, float pCurrentPeek, float pOldPeek) 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 TypeMethodDescriptionAbstractMinecart.getMotionDirection()Boat.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 pLevel, Position pPos, ItemStack pStack, Direction pDirection) EggItem.asProjectile(Level pLevel, Position pPos, ItemStack pStack, Direction pDirection) ExperienceBottleItem.asProjectile(Level pLevel, Position pPos, ItemStack pStack, Direction pDirection) FireChargeItem.asProjectile(Level pLevel, Position pPos, ItemStack pStack, Direction pDirection) FireworkRocketItem.asProjectile(Level pLevel, Position pPos, ItemStack pStack, Direction pDirection) ProjectileItem.asProjectile(Level pLevel, Position pPos, ItemStack pStack, Direction pDirection) SnowballItem.asProjectile(Level pLevel, Position pPos, ItemStack pStack, Direction pDirection) SpectralArrowItem.asProjectile(Level p_338332_, Position p_338313_, ItemStack p_338304_, Direction p_338842_) ThrowablePotionItem.asProjectile(Level pLevel, Position pPos, ItemStack pStack, Direction pDirection) TridentItem.asProjectile(Level pLevel, Position pPos, ItemStack pStack, Direction pDirection) 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.getEntityPokingOutOfBlockPos(BlockSource p_338806_, Direction p_338706_) 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, Item.Properties pProperties, Direction pAttachmentDirection) -
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.floatdefault 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 pDirection, BlockState pQueried, BlockPos pPos, BlockPos pOffsetPos, int pFlags, int pRecursionLevel) default voidLevelAccessor.neighborShapeChanged(Direction pDirection, BlockState pQueried, BlockPos pPos, BlockPos pOffsetPos, int pFlags, int pRecursionLevel) voidLevel.updateNeighborsAtExceptFromFacing(BlockPos pPos, Block pBlockType, Direction pSkipSide) -
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 final DirectionBlock.BlockStatePairKey.directionprivate static final Direction[]BuddingAmethystBlock.DIRECTIONSprotected static final Direction[]MultifaceBlock.DIRECTIONSprivate static final Direction[]PipeBlock.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 TypeFieldDescriptionprivate static final Map<Direction, VoxelShape> AttachedStemBlock.AABBSprivate static final Map<Direction, VoxelShape> PiglinWallSkullBlock.AABBSprivate static final Map<Direction, VoxelShape> WallHangingSignBlock.AABBSprivate static final Map<Direction, VoxelShape> WallSignBlock.AABBSprivate static final Map<Direction, VoxelShape> WallSkullBlock.AABBSprivate static final Map<Direction, VoxelShape> WallTorchBlock.AABBSSculkSpreader.ChargeCursor.DIRECTION_SETstatic final EnumProperty<Direction> ShulkerBoxBlock.FACINGSculkSpreader.ChargeCursor.facingsprivate static final Map<Direction, VoxelShape> ShulkerBoxBlock.OPEN_SHAPE_BY_DIRECTIONstatic final ImmutableList<Direction> LiquidBlock.POSSIBLE_FLOW_DIRECTIONSprotected static final Map<Direction, BooleanProperty> CrossCollisionBlock.PROPERTY_BY_DIRECTIONprivate static final Map<Direction, BooleanProperty> FireBlock.PROPERTY_BY_DIRECTIONprivate static final Map<Direction, BooleanProperty> HugeMushroomBlock.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_DIRECTIONprivate static final Map<Direction, VoxelShape> MultifaceBlock.SHAPE_BY_DIRECTIONprivate static final BiFunction<Direction, Integer, VoxelShape> PinkPetalsBlock.SHAPE_BY_PROPERTIESprivate static final Map<Direction, VoxelShape> BaseCoralWallFanBlock.SHAPESprivate static final Map<Direction, VoxelShape> WallBannerBlock.SHAPESprivate static final Map<Direction, VoxelShape> RedStoneWireBlock.SHAPES_FLOORprivate static final Map<Direction, VoxelShape> RedStoneWireBlock.SHAPES_UPprivate static final Map<Direction, VoxelShape> BigDripleafBlock.STEM_SHAPESMethods 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 p_51585_) 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, 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) Returnstrueif automation can insert the given item in the given slot from the given side.booleanComposterBlock.OutputContainer.canPlaceItemThroughFace(int pIndex, ItemStack pItemStack, Direction pDirection) Returnstrueif automation can insert the given item in the given slot from the given side.default booleanMultifaceSpreader.SpreadConfig.canSpreadFrom(BlockState pState, Direction pDirection) booleanMultifaceSpreader.canSpreadInAnyDirection(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pSpreadDirection) 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) Returnstrueif automation can extract the given item in the given slot from the given side.booleanComposterBlock.OutputContainer.canTakeItemThroughFace(int pIndex, ItemStack pStack, Direction pDirection) Returnstrueif automation can extract the given item in the given slot from the given side.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(Level 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) Returns the direct signal this block emits in the given direction.protected intButtonBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected intDetectorRailBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected intDiodeBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected intLecternBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected intLeverBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected intLightningRodBlock.getDirectSignal(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the direct signal this block emits in the given direction.protected intObserverBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected intRedstoneTorchBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected intRedStoneWireBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.intSculkSensorBlock.getDirectSignal(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the direct signal this block emits in the given direction.protected intTrappedChestBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.protected intTripWireHookBlock.getDirectSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the direct signal this block emits in the given direction.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 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) Returns the signal this block emits in the given direction.protected intButtonBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.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) Returns the signal this block emits in the given direction.protected intDetectorRailBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected intDiodeBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.intJukeboxBlock.getSignal(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the signal this block emits in the given direction.protected intLecternBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected intLeverBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected intLightningRodBlock.getSignal(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the signal this block emits in the given direction.protected intObserverBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected intPoweredBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected intRedstoneTorchBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected intRedstoneWallTorchBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected intRedStoneWireBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected intSculkSensorBlock.getSignal(BlockState pState, BlockGetter pLevel, BlockPos pPos, Direction pDirection) Returns the signal this block emits in the given direction.protected intTargetBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected intTrappedChestBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.protected intTripWireHookBlock.getSignal(BlockState pBlockState, BlockGetter pBlockAccess, BlockPos pPos, Direction pSide) Returns the signal this block emits in the given direction.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 pCurrentState, BlockGetter pLevel, BlockPos pPos, Direction pLookingDirection) 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) private static intstatic booleanVineBlock.isAcceptableNeighbour(BlockGetter pBlockReader, BlockPos pNeighborPos, Direction pAttachedFace) static booleanBlock.isFaceFull(VoxelShape pShape, Direction pFace) protected booleanMultifaceBlock.isFaceSupported(Direction p_153921_) 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) voidTntBlock.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 pState, BlockGetter pLevel, BlockPos pOffset, Direction pFace, BlockPos pPos) 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 pState, BlockState pAdjacentState, Direction pDirection) private voidRedStoneWireBlock.spawnParticlesAlongLine(Level pLevel, RandomSource pRandom, BlockPos pPos, Vec3 pParticleVec, Direction pXDirection, Direction pZDirection, float pMin, float pMax) 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 pLevel, BlockPos pPos, BlockPos pSpreadPos, Direction pDirection, BlockState pState) protected BlockStateAmethystClusterBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateAttachedStemBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) protected BlockStateBambooSaplingBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBambooStalkBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBannerBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBarrierBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBaseCoralPlantTypeBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBaseCoralWallFanBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBasePressurePlateBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBaseRailBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBaseTorchBlock.updateShape(BlockState p_304418_, Direction p_304475_, BlockState p_304669_, LevelAccessor p_304637_, BlockPos p_304633_, BlockPos p_304603_) protected BlockStateBedBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBeehiveBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBellBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBigDripleafBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBigDripleafStemBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.BrushableBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBubbleColumnBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBushBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCactusBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCakeBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCampfireBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCandleBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCandleCakeBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCarpetBlock.updateShape(BlockState p_152926_, Direction p_152927_, BlockState p_152928_, LevelAccessor p_152929_, BlockPos p_152930_, BlockPos p_152931_) protected BlockStateCeilingHangingSignBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) protected BlockStateChainBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateChestBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor facing and neighbor state, returning a new state.protected BlockStateChorusFlowerBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateChorusPlantBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCocoaBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.ComparatorBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateConcretePowderBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) protected BlockStateConduitBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCoralBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCoralFanBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCoralPlantBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCoralWallFanBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateDecoratedPotBlock.updateShape(BlockState p_276307_, Direction p_276322_, BlockState p_276280_, LevelAccessor p_276320_, BlockPos p_276270_, BlockPos p_276312_) protected BlockStateDirtPathBlock.updateShape(BlockState p_153152_, Direction p_153153_, BlockState p_153154_, LevelAccessor p_153155_, BlockPos p_153156_, BlockPos p_153157_) protected BlockStateDoorBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateDoublePlantBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateEnderChestBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFaceAttachedHorizontalDirectionalBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFallingBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFarmBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFenceBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFenceGateBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFireBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFlowerPotBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFrogspawnBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateGlowLichenBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateGrowingPlantBodyBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateGrowingPlantHeadBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateHangingRootsBlock.updateShape(BlockState p_153351_, Direction p_153352_, BlockState p_153353_, LevelAccessor p_153354_, BlockPos p_153355_, BlockPos p_153356_) protected BlockStateHeavyCoreBlock.updateShape(BlockState p_338756_, Direction p_338189_, BlockState p_338723_, LevelAccessor p_338514_, BlockPos p_338346_, BlockPos p_338401_) protected BlockStateHugeMushroomBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateIronBarsBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLadderBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLanternBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLeavesBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLightBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLightningRodBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLiquidBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateMagmaBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateMangrovePropaguleBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateMangroveRootsBlock.updateShape(BlockState p_221514_, Direction p_221515_, BlockState p_221516_, LevelAccessor p_221517_, BlockPos p_221518_, BlockPos p_221519_) protected BlockStateMultifaceBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateNetherPortalBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateNoteBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateObserverBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.PitcherCropBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStatePointedDripstoneBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateRedstoneWallTorchBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateRedStoneWireBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateRepeaterBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateScaffoldingBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSculkSensorBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSculkShriekerBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSculkVeinBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSeagrassBlock.updateShape(BlockState p_154530_, Direction p_154531_, BlockState p_154532_, LevelAccessor p_154533_, BlockPos p_154534_, BlockPos p_154535_) protected BlockStateSeaPickleBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSignBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSlabBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSmallDripleafBlock.updateShape(BlockState p_154625_, Direction p_154626_, BlockState p_154627_, LevelAccessor p_154628_, BlockPos p_154629_, BlockPos p_154630_) protected BlockStateSnowLayerBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSnowyDirtBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSoulFireBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSoulSandBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSporeBlossomBlock.updateShape(BlockState p_154713_, Direction p_154714_, BlockState p_154715_, LevelAccessor p_154716_, BlockPos p_154717_, BlockPos p_154718_) protected BlockStateStairBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateStandingSignBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSugarCaneBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateTrapDoorBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateTripWireBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateTripWireHookBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateVineBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallBannerBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallHangingSignBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallSignBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallTorchBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWaterloggedTransparentBlock.updateShape(BlockState p_313906_, Direction p_313739_, BlockState p_313829_, LevelAccessor p_313692_, BlockPos p_313842_, BlockPos p_313843_) 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) 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 DirectionModifierConstructorDescriptionBlockStatePairKey(BlockState pFirst, BlockState pSecond, Direction pDirection) protectedGrowingPlantBlock(BlockBehaviour.Properties pProperties, Direction pGrowthDirection, VoxelShape pShape, boolean pScheduleFluidTicks) protectedGrowingPlantBodyBlock(BlockBehaviour.Properties pProperties, Direction pGrowthDirection, VoxelShape pShape, boolean pScheduleFluidTicks) protectedGrowingPlantHeadBlock(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 p_222301_, int p_222302_, Optional<Set<Direction>> p_222303_) -
Uses of Direction in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as DirectionModifier and TypeFieldDescriptionBellBlockEntity.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.booleanprivate static booleanHopperBlockEntity.canPlaceItemInContainer(Container pContainer, ItemStack pStack, int pSlot, Direction pDirection) booleanAbstractFurnaceBlockEntity.canPlaceItemThroughFace(int pIndex, ItemStack pItemStack, Direction pDirection) Returnstrueif automation can insert the given item in the given slot from the given side.booleanBrewingStandBlockEntity.canPlaceItemThroughFace(int pIndex, ItemStack pItemStack, Direction pDirection) Returnstrueif automation can insert the given item in the given slot from the given side.booleanShulkerBoxBlockEntity.canPlaceItemThroughFace(int pIndex, ItemStack pItemStack, Direction pDirection) Returnstrueif automation can insert the given item in the given slot from the given side.private static booleanHopperBlockEntity.canTakeItemFromContainer(Container pSource, Container pDestination, ItemStack pStack, int pSlot, Direction pDirection) booleanAbstractFurnaceBlockEntity.canTakeItemThroughFace(int pIndex, ItemStack pStack, Direction pDirection) Returnstrueif automation can extract the given item in the given slot from the given side.booleanBrewingStandBlockEntity.canTakeItemThroughFace(int pIndex, ItemStack pStack, Direction pDirection) Returnstrueif automation can extract the given item in the given slot from the given side.booleanShulkerBoxBlockEntity.canTakeItemThroughFace(int pIndex, ItemStack pStack, Direction pDirection) Returnstrueif automation can extract the given item in the given slot from the given 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 TypeFieldDescriptionprivate static final ThreadLocal<Direction> PistonMovingBlockEntity.NOCLIPMethods in net.minecraft.world.level.block.piston that return DirectionModifier and TypeMethodDescriptionPistonMovingBlockEntity.getDirection()PistonMovingBlockEntity.getMovementDirection()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 VoxelShapePistonHeadBlock.calculateShape(Direction pDirection, boolean pShortArm) 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 pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.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.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(BlockGetter pLevel, BlockPos pPos, Direction pDirection) 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(Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) protected BlockStateBlockBehaviour.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state. -
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 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) static DirectionPropertyMethod parameters in net.minecraft.world.level.block.state.properties with type arguments of type DirectionModifier and TypeMethodDescriptionstatic DirectionPropertyDirectionProperty.create(String pName, Collection<Direction> pValues) Create a new DirectionProperty for the given direction valuesstatic DirectionPropertyCreate a new DirectionProperty with all directions that match the given PredicateConstructors in net.minecraft.world.level.block.state.properties with parameters of type DirectionConstructor parameters in net.minecraft.world.level.block.state.properties with type arguments of type DirectionModifierConstructorDescriptionprotectedDirectionProperty(String pName, Collection<Direction> pValues) -
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 static BlockStateDripstoneUtils.createPointedDripstone(Direction pDirection, DripstoneThickness pDripstoneThickness) 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 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 DirectionMethods 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 p_225988_, int p_225989_, int p_225990_, BlockStateProvider p_225991_, int p_225992_, List<Direction> p_225993_) -
Uses of Direction in net.minecraft.world.level.levelgen.feature.trunkplacers
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 p_191645_, BlockPredicate p_191646_, BlockPredicate p_191647_, int p_191648_) -
Uses of Direction in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as DirectionMethods in net.minecraft.world.level.levelgen.structure that return DirectionModifier and TypeMethodDescriptionStructurePiece.getOrientation()protected static 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(BlockGetter pLevel, BlockState pState1, BlockPos pPos1, BlockState pState2, BlockPos pPos2, Direction pDirection, int pDefaultReturnValue) protected VoxelShapeLightEngine.getOcclusionShape(BlockState pState, long pPos, Direction pDirection) static VoxelShapeLightEngine.getOcclusionShape(BlockGetter pLevel, BlockPos pPos, 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(long pPackedPos1, BlockState pState1, long pPackedPos2, 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
Methods in net.minecraft.world.level.material that return types with arguments of type DirectionModifier and TypeMethodDescriptionprotected Map<Direction, FluidState> FlowingFluid.getSpread(Level 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.canPassThrough(BlockGetter pLevel, Fluid pFluid, BlockPos pPos, BlockState pState, Direction pDirection, BlockPos pSpreadPos, BlockState pSpreadState, FluidState pFluidState) private booleanFlowingFluid.canPassThroughWall(Direction pDirection, BlockGetter pLevel, BlockPos pPos, BlockState pState, BlockPos pSpreadPos, BlockState pSpreadState) protected booleanFlowingFluid.canSpreadTo(BlockGetter pLevel, BlockPos pFromPos, BlockState pFromBlockState, Direction pDirection, BlockPos pToPos, BlockState pToBlockState, FluidState pToFluidState, Fluid pFluid) protected intFlowingFluid.getSlopeDistance(LevelReader pLevel, BlockPos pSpreadPos, int pDistance, Direction pDirection, BlockState pCurrentSpreadState, BlockPos pSourcePos, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> pStateCache, it.unimi.dsi.fastutil.shorts.Short2BooleanMap pWaterHoleCache) 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) -
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 booleanPortalForcer.canHostFrame(BlockPos pOriginalPos, BlockPos.MutableBlockPos pOffsetPos, Direction pDirection, int pOffsetScale) private intPortalShape.getDistanceUntilEdgeAboveFrame(BlockPos pPos, Direction pDirection) -
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 DirectionCollectingNeighborUpdater.MultiNeighborUpdate.skipDirectionstatic final Direction[]NeighborUpdater.UPDATE_ORDERMethods in net.minecraft.world.level.redstone that return DirectionModifier and TypeMethodDescriptionCollectingNeighborUpdater.ShapeUpdate.direction()Returns the value of thedirectionrecord component.Methods in net.minecraft.world.level.redstone with parameters of type DirectionModifier and TypeMethodDescriptionstatic voidNeighborUpdater.executeShapeUpdate(LevelAccessor pLevel, Direction pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, int pFlags, int pRecursionLevel) voidCollectingNeighborUpdater.shapeUpdate(Direction pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, int pFlags, int pRecursionLevel) voidInstantNeighborUpdater.shapeUpdate(Direction pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, int pFlags, int pRecursionLevel) voidNeighborUpdater.shapeUpdate(Direction pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, int pFlags, int pRecursionLevel) voidCollectingNeighborUpdater.updateNeighborsAtExceptFromFacing(BlockPos pPos, Block pBlock, Direction pFacing) default voidNeighborUpdater.updateNeighborsAtExceptFromFacing(BlockPos pPos, Block pBlock, Direction pFacing) Constructors in net.minecraft.world.level.redstone with parameters of type DirectionModifierConstructorDescription(package private)MultiNeighborUpdate(BlockPos pSourcePos, Block pSourceBlock, Direction pSkipDirection) (package private)ShapeUpdate(Direction direction, BlockState state, 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(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(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) BlockHitResult(Vec3 pLocation, Direction pDirection, BlockPos pBlockPos, boolean pInside) -
Uses of Direction in net.minecraft.world.phys.shapes
Methods in net.minecraft.world.phys.shapes with parameters of type DirectionModifier and TypeMethodDescriptionstatic booleanShapes.blockOccudes(VoxelShape pShape, VoxelShape pAdjacentShape, Direction pSide) private VoxelShapeVoxelShape.calculateFace(Direction pSide) voidstatic VoxelShapeShapes.getFaceShape(VoxelShape pVoxelShape, Direction pDirection) VoxelShape.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
Methods in net.neoforged.neoforge.client with parameters of type DirectionModifier and TypeMethodDescriptionstatic voidClientHooks.fillNormal(int[] faceData, Direction facing) internal, relies on fixed format of FaceBakery -
Uses of Direction in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions with parameters of type DirectionModifier and TypeMethodDescriptionIBakedModelExtension.getQuads(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) A nullRenderTypeis used for the breaking overlay as well as non-standard rendering, so models should return all their quads. -
Uses of Direction in net.neoforged.neoforge.client.model
Methods in net.neoforged.neoforge.client.model that return types with arguments of type DirectionMethods in net.neoforged.neoforge.client.model with parameters of type DirectionModifier and TypeMethodDescriptionIModelBuilder.addCulledFace(Direction facing, BakedQuad quad) IModelBuilder.Collecting.addCulledFace(Direction facing, BakedQuad quad) IModelBuilder.Simple.addCulledFace(Direction facing, BakedQuad quad) BakedModelWrapper.getQuads(@Nullable BlockState state, @Nullable Direction side, RandomSource rand) BakedModelWrapper.getQuads(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData extraData, @Nullable RenderType renderType) CompositeModel.Baked.getQuads(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) IDynamicBakedModel.getQuads(@Nullable BlockState state, @Nullable Direction side, RandomSource rand) IDynamicBakedModel.getQuads(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData extraData, @Nullable RenderType renderType) SeparateTransformsModel.Baked.getQuads(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) -
Uses of Direction in net.neoforged.neoforge.client.model.generators
Fields in net.neoforged.neoforge.client.model.generators declared as DirectionModifier and TypeFieldDescriptionprivate DirectionModelBuilder.ElementBuilder.FaceBuilder.cullfaceFields in net.neoforged.neoforge.client.model.generators with type parameters of type DirectionModifier and TypeFieldDescriptionprivate final Map<Direction, ModelBuilder<T>.ElementBuilder.FaceBuilder> ModelBuilder.ElementBuilder.facesstatic final ImmutableMap<Direction, Property<WallSide>> BlockStateProvider.WALL_PROPSMethods in net.neoforged.neoforge.client.model.generators that return types with arguments of type DirectionModifier and TypeMethodDescriptionprivate BiConsumer<Direction, ModelBuilder<T>.ElementBuilder.FaceBuilder> ModelBuilder.ElementBuilder.addTexture(String texture) Methods in net.neoforged.neoforge.client.model.generators with parameters of type DirectionModifier and TypeMethodDescriptionReturn or create the face builder for the given direction.Method parameters in net.neoforged.neoforge.client.model.generators with type arguments of type DirectionModifier and TypeMethodDescriptionModelBuilder.ElementBuilder.allFaces(BiConsumer<Direction, ModelBuilder<T>.ElementBuilder.FaceBuilder> action) Modify all possible faces dynamically using a function, creating new faces as necessary.ModelBuilder.ElementBuilder.allFacesExcept(BiConsumer<Direction, ModelBuilder<T>.ElementBuilder.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.ModelBuilder.ElementBuilder.allFacesExcept(BiConsumer<Direction, ModelBuilder<T>.ElementBuilder.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.ModelBuilder.ElementBuilder.faces(BiConsumer<Direction, ModelBuilder<T>.ElementBuilder.FaceBuilder> action) Modify all existing faces dynamically using a function.private voidBlockStateProvider.wallSidePart(MultiPartBlockStateBuilder builder, ModelFile model, Map.Entry<Direction, Property<WallSide>> entry, WallSide height) Constructors in net.neoforged.neoforge.client.model.generators with parameters of type Direction -
Uses of Direction in net.neoforged.neoforge.client.model.geometry
Methods in net.neoforged.neoforge.client.model.geometry with parameters of type DirectionModifier and TypeMethodDescriptionstatic BakedQuadUnbakedGeometryHelper.bakeElementFace(BlockElement element, BlockElementFace face, TextureAtlasSprite sprite, Direction direction, ModelState state) Turns a singleBlockElementFaceinto aBakedQuad. -
Uses of Direction in net.neoforged.neoforge.client.model.lighting
Fields in net.neoforged.neoforge.client.model.lighting declared as Direction -
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 TypeMethodDescriptionObjModel.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.client.model.renderable
Fields in net.neoforged.neoforge.client.model.renderable declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction[]BakedModelRenderable.Context.ALL_FACES_AND_NULLprivate final Direction[]BakedModelRenderable.Context.facesThe field for thefacesrecord component.Methods in net.neoforged.neoforge.client.model.renderable that return DirectionModifier and TypeMethodDescriptionBakedModelRenderable.Context.faces()Returns the value of thefacesrecord component.Constructors in net.neoforged.neoforge.client.model.renderable with parameters of type DirectionModifierConstructorDescriptionContext(@Nullable BlockState state, Direction[] faces, RandomSource randomSource, long seed, ModelData data, org.joml.Vector4f tint) Creates an instance of aContextrecord class. -
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.ignitedByLava(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when lava is updating, checks if a block face can catch fire from lava.default booleanIBlockStateExtension.ignitedByLava(BlockGetter level, BlockPos pos, Direction face) Called when lava is updating, checks if a block face can catch fire from lava.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 voidIBlockExtension.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 voidIBlockStateExtension.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 TypeMethodDescriptionprivate static Optional<org.apache.commons.lang3.tuple.Pair<IItemHandler, Object>> VanillaInventoryCodeHooks.getAttachedItemHandler(Level level, BlockPos pos, Direction direction) private static Optional<org.apache.commons.lang3.tuple.Pair<IItemHandler, Object>> VanillaInventoryCodeHooks.getItemHandlerAt(Level worldIn, double x, double y, double z, 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