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> posPredicate, BlockPos.MutableBlockPos centerPos, Direction direction, int max) Finds the distance we can travel in the given direction while the predicate returns trueBlockUtil.getTopConnectedBlock(BlockGetter getter, BlockPos pos, Block baseBlock, Direction direction, Block endBlock) -
Uses of Direction in net.minecraft.client.data.models
Fields in net.minecraft.client.data.models with type parameters of type DirectionModifier and TypeFieldDescriptionstatic final Map<Direction, VariantMutator> BlockModelGenerators.MULTIFACE_GENERATORMethods in net.minecraft.client.data.models with parameters of type DirectionModifier and TypeMethodDescriptionBlockModelGenerators.createPointedDripstoneVariant(Direction direction, DripstoneThickness thickness) Method parameters in net.minecraft.client.data.models with type arguments of type DirectionModifier and TypeMethodDescriptionstatic <T extends Property<?>>
Map<T, VariantMutator> BlockModelGenerators.selectMultifaceProperties(StateHolder<?, ?> state, Function<Direction, T> facePropertyGetter) -
Uses of Direction in net.minecraft.client.model.geom
Constructors in net.minecraft.client.model.geom with parameters of type DirectionModifierConstructorDescriptionPolygon(ModelPart.Vertex[] p_104362_, float p_104363_, float p_104364_, float p_104365_, float p_104366_, float p_104367_, float p_104368_, boolean p_104369_, Direction p_104370_) Constructor parameters in net.minecraft.client.model.geom with type arguments of type Direction -
Uses of Direction in net.minecraft.client.model.geom.builders
Fields in net.minecraft.client.model.geom.builders with type parameters of type DirectionMethod parameters in net.minecraft.client.model.geom.builders with type arguments of type DirectionModifier and TypeMethodDescriptionCubeListBuilder.addBox(float originX, float originY, float originZ, float dimensionX, float dimensionY, float dimensionZ, Set<Direction> visibleFaces) Constructor parameters in net.minecraft.client.model.geom.builders with type arguments of type DirectionModifierConstructorDescriptionprotectedCubeDefinition(String comment, float texCoordU, float texCoordV, float originX, float originY, float originZ, float dimensionX, float dimensionY, float dimensionZ, CubeDeformation grow, boolean mirror, float texScaleU, float texScaleV, Set<Direction> visibleFaces) -
Uses of Direction in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type DirectionModifier and TypeMethodDescriptionbooleanMultiPlayerGameMode.continueDestroyBlock(BlockPos posBlock, Direction directionFacing) floatbooleanMultiPlayerGameMode.startDestroyBlock(BlockPos loc, Direction face) Called when the player is hitting a block with an item. -
Uses of Direction in net.minecraft.client.particle
Methods in net.minecraft.client.particle with parameters of type Direction -
Uses of Direction in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction[]SectionOcclusionGraph.DIRECTIONSMethods in net.minecraft.client.renderer with parameters of type DirectionModifier and TypeMethodDescription(package private) voidSectionOcclusionGraph.Node.addSourceDirection(Direction sourceDirection) private voidCloudRenderer.encodeFace(ByteBuffer buffer, int cellX, int cellZ, Direction face, int offset) static FaceInfoFaceInfo.fromFacing(Direction facing) SectionOcclusionGraph.getRelativeFrom(long sectionPos, SectionRenderDispatcher.RenderSection section, Direction direction) (package private) booleanSectionOcclusionGraph.Node.hasDirection(Direction direction) static voidShapeRenderer.renderFace(PoseStack poseStack, VertexConsumer buffer, Direction face, float x1, float y1, float z1, float x2, float y2, float z2, float red, float green, float blue, float alpha) (package private) voidSectionOcclusionGraph.Node.setDirections(byte currentValue, Direction direction) Constructors in net.minecraft.client.renderer with parameters of type DirectionModifierConstructorDescription(package private)Node(SectionRenderDispatcher.RenderSection section, Direction sourceDirection, int step) -
Uses of Direction in net.minecraft.client.renderer.block
Fields in net.minecraft.client.renderer.block declared as DirectionModifier and TypeFieldDescriptionfinal Direction[]ModelBlockRenderer.AdjacencyInfo.cornersprivate static final Direction[]ModelBlockRenderer.DIRECTIONSMethods in net.minecraft.client.renderer.block with parameters of type DirectionModifier and TypeMethodDescriptionvoidModelBlockRenderer.AmbientOcclusionRenderStorage.calculate(BlockAndTintGetter level, BlockState state, BlockPos pos, Direction direction, boolean shade) private static voidModelBlockRenderer.calculateShape(BlockAndTintGetter level, BlockState state, BlockPos pos, int[] vertices, Direction direction, ModelBlockRenderer.CommonRenderStorage renderStorage) ModelBlockRenderer.AdjacencyInfo.fromFacing(Direction facing) ModelBlockRenderer.AmbientVertexRemap.fromFacing(Direction facing) private static booleanLiquidBlockRenderer.isFaceOccludedByNeighbor(Direction face, float height, BlockState state) private static booleanLiquidBlockRenderer.isFaceOccludedBySelf(BlockState state, Direction face) private static booleanLiquidBlockRenderer.isFaceOccludedByState(Direction face, float height, BlockState state) private static booleanLiquidBlockRenderer.isNeighborStateHidingOverlay(FluidState selfState, BlockState otherState, Direction neighborFace) static booleanLiquidBlockRenderer.shouldRenderFace(FluidState fluidState, BlockState selfState, Direction direction, BlockState otherState) static booleanLiquidBlockRenderer.shouldRenderFace(FluidState fluidState, BlockState blockState, Direction side, FluidState neighborFluid) Deprecated.Neo: use overload that accepts BlockStateprotected static booleanModelBlockRenderer.shouldRenderFace(BlockAndTintGetter p_412640_, BlockPos pos, BlockState p_412168_, boolean p_412054_, Direction p_412130_, BlockPos p_412608_) private static booleanModelBlockRenderer.shouldRenderFace(BlockAndTintGetter level, BlockState state, boolean checkSides, Direction face, BlockPos pos) Deprecated.Constructors in net.minecraft.client.renderer.block with parameters of type DirectionModifierConstructorDescriptionprivateAdjacencyInfo(Direction[] corners, float shadeBrightness, boolean doNonCubicWeight, ModelBlockRenderer.SizeInfo[] vert0Weights, ModelBlockRenderer.SizeInfo[] vert1Weights, ModelBlockRenderer.SizeInfo[] vert2Weights, ModelBlockRenderer.SizeInfo[] vert3Weights) -
Uses of Direction in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionBlockElementFace.cullForDirectionThe field for thecullForDirectionrecord component.private final DirectionBakedQuad.directionThe field for thedirectionrecord component.private final DirectionItemModelGenerator.SpanFacing.directionFields in net.minecraft.client.renderer.block.model with type parameters of type DirectionModifier and TypeFieldDescriptionprivate final Map<Direction, BlockElementFace> BlockElement.facesThe field for thefacesrecord component.Methods in net.minecraft.client.renderer.block.model that return DirectionModifier and TypeMethodDescriptionprivate static DirectionFaceBakery.calculateFacing(int[] faceData) BlockElementFace.cullForDirection()Returns the value of thecullForDirectionrecord component.BakedQuad.direction()Returns the value of thedirectionrecord component.private static DirectionBlockElementFace.Deserializer.getCullFacing(JsonObject json) ItemModelGenerator.SpanFacing.getDirection()private DirectionMethods in net.minecraft.client.renderer.block.model that return types with arguments of type DirectionModifier and TypeMethodDescriptionBlockElement.faces()Returns the value of thefacesrecord component.private Map<Direction, BlockElementFace> BlockElement.Deserializer.filterNullFromFaces(JsonDeserializationContext context, JsonObject json) private Map<Direction, BlockElementFace> BlockElement.Deserializer.getFaces(JsonDeserializationContext context, JsonObject json) Methods in net.minecraft.client.renderer.block.model with parameters of type DirectionModifier and TypeMethodDescriptionstatic BakedQuadSimpleUnbakedGeometry.bakeFace(BlockElement element, BlockElementFace face, TextureAtlasSprite sprite, Direction direction, ModelState modelState) static BakedQuadFaceBakery.bakeQuad(Vector3fc posFrom, Vector3fc posTo, BlockElementFace face, TextureAtlasSprite sprite, Direction facing, ModelState modelState, BlockElementRotation rotation, boolean shade, int lightEmission) static BlockElementFace.UVsFaceBakery.defaultFaceUV(Vector3fc posFrom, Vector3fc posTo, Direction facing) private static int[]FaceBakery.makeVertices(BlockElementFace.UVs uvs, Quadrant rotation, Matrix4fc inverseFaceTransform, TextureAtlasSprite sprite, Direction facing, float[] shape, Transformation transformation, BlockElementRotation partRotation) private static voidFaceBakery.recalculateWinding(int[] vertices, Direction direction) Constructors in net.minecraft.client.renderer.block.model with parameters of type DirectionModifierConstructorDescriptionBakedQuad(int[] vertices, int tintIndex, Direction direction, TextureAtlasSprite sprite, boolean shade, int lightEmission) BakedQuad(int[] vertices, int tintIndex, Direction direction, TextureAtlasSprite sprite, boolean shade, int lightEmission, boolean hasAmbientOcclusion) Creates an instance of aBakedQuadrecord class.BlockElementFace(Direction cullForDirection, int tintIndex, String texture, BlockElementFace.UVs uvs, Quadrant rotation) BlockElementFace(Direction cullForDirection, int tintIndex, String texture, BlockElementFace.UVs uvs, Quadrant rotation, ExtraFaceData faceData, org.apache.commons.lang3.mutable.MutableObject<BlockElement> parent) Creates an instance of aBlockElementFacerecord class.privateSpanFacing(Direction direction, int xOffset, int yOffset) Constructor parameters in net.minecraft.client.renderer.block.model with type arguments of type DirectionModifierConstructorDescriptionBlockElement(Vector3fc p_405527_, Vector3fc p_405454_, Map<Direction, BlockElementFace> p_362722_) BlockElement(Vector3fc from, Vector3fc to, Map<Direction, BlockElementFace> faces, BlockElementRotation rotation, boolean shade, int lightEmission) BlockElement(Vector3fc from, Vector3fc to, Map<Direction, BlockElementFace> faces, BlockElementRotation rotation, boolean shade, int lightEmission, ExtraFaceData faceData) Creates an instance of aBlockElementrecord class. -
Uses of Direction in net.minecraft.client.renderer.blockentity
Methods in net.minecraft.client.renderer.blockentity with parameters of type DirectionModifier and TypeMethodDescriptionvoidShulkerBoxRenderer.getExtents(Direction direction, float progress, Set<Vector3f> output) private voidShulkerBoxRenderer.prepareModel(PoseStack poseStack, Direction direction, float progress) private static voidBedRenderer.preparePose(PoseStack poseStack, boolean isFeet, Direction direction) voidShulkerBoxRenderer.render(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, int packedOverlay, Direction facing, float progress, Material material) private voidTheEndPortalRenderer.renderFace(T blockEntity, Matrix4f pose, VertexConsumer consumer, float x0, float x1, float y0, float y1, float z0, float z1, float z2, float z3, Direction direction) private voidBedRenderer.renderPiece(PoseStack poseStack, MultiBufferSource bufferSource, Model model, Direction direction, Material material, int packedLight, int packedOverlay, boolean isFeet) static voidSkullBlockRenderer.renderSkull(Direction direction, float yRot, float mouthAnimation, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, SkullModelBase model, RenderType renderType) private float[]BrushableBlockRenderer.translations(Direction direction, int dustedLevel) -
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 TypeMethodDescriptionbooleanCompiledSectionMesh.facesCanSeeEachother(Direction face1, Direction face2) booleanSectionMesh.facesCanSeeEachother(Direction face1, Direction face2) private intVisGraph.getNeighborIndexAtFace(int index, Direction face) longSectionRenderDispatcher.RenderSection.getNeighborSectionNode(Direction direction) floatvoidbooleanVisibilitySet.visibilityBetween(Direction face, Direction otherFace) Method parameters in net.minecraft.client.renderer.chunk with type arguments of type Direction -
Uses of Direction in net.minecraft.client.renderer.debug
Fields in net.minecraft.client.renderer.debug declared as DirectionMethods in net.minecraft.client.renderer.debug with parameters of type DirectionModifier and TypeMethodDescriptionprivate static voidLightSectionDebugRenderer.renderFace(PoseStack poseStack, VertexConsumer buffer, Direction face, double camX, double camY, double camZ, int blockX, int blockY, int blockZ, Vector4f color) -
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 facing) -
Uses of Direction in net.minecraft.client.renderer.entity.state
Fields in net.minecraft.client.renderer.entity.state declared as DirectionModifier and TypeFieldDescriptionShulkerRenderState.attachFaceLivingEntityRenderState.bedOrientationItemFrameRenderState.directionPaintingRenderState.directionMethods in net.minecraft.client.renderer.entity.state with parameters of type Direction -
Uses of Direction in net.minecraft.client.renderer.special
Fields in net.minecraft.client.renderer.special declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionShulkerBoxSpecialRenderer.orientationprivate final DirectionShulkerBoxSpecialRenderer.Unbaked.orientationThe field for theorientationrecord component.Methods in net.minecraft.client.renderer.special that return DirectionModifier and TypeMethodDescriptionShulkerBoxSpecialRenderer.Unbaked.orientation()Returns the value of theorientationrecord component.Constructors in net.minecraft.client.renderer.special with parameters of type DirectionModifierConstructorDescriptionShulkerBoxSpecialRenderer(ShulkerBoxRenderer shulkerBoxRenderer, float openness, Direction orientation, Material material) Unbaked(ResourceLocation texture, float openness, Direction orientation) Creates an instance of aUnbakedrecord class. -
Uses of Direction in net.minecraft.client.resources.model
Fields in net.minecraft.client.resources.model with type parameters of type DirectionModifier and TypeFieldDescriptionQuadCollection.Builder.culledFacesBlockModelRotation.faceMappingBlockModelRotation.inverseFaceMappingMethods in net.minecraft.client.resources.model with parameters of type DirectionModifier and TypeMethodDescriptionQuadCollection.Builder.addCulledFace(Direction direction, BakedQuad quad) BlockModelRotation.WithUvLock.faceTransformation(Direction p_405486_) default Matrix4fcModelState.faceTransformation(Direction facing) BlockModelRotation.WithUvLock.inverseFaceTransformation(Direction p_404754_) default Matrix4fcModelState.inverseFaceTransformation(Direction facing) -
Uses of Direction in net.minecraft.core
Fields in net.minecraft.core declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction[]Direction.BY_2D_DATAAll Facings with horizontal axis in order S-W-N-Eprivate static final Direction[]Direction.BY_3D_DATAprivate final Direction[]Direction.Plane.facesprivate final DirectionFrontAndTop.frontprivate final DirectionFrontAndTop.topprivate static final Direction[]Direction.VALUESFields in net.minecraft.core with type parameters of type DirectionModifier and TypeFieldDescriptionstatic final IntFunction<Direction> Direction.BY_IDstatic final StringRepresentable.EnumCodec<Direction> Direction.CODECDirection8.directionsstatic final com.mojang.serialization.Codec<Direction> Direction.LEGACY_ID_CODECDeprecated.static final com.mojang.serialization.Codec<Direction> Direction.LEGACY_ID_CODEC_2DDeprecated.static final StreamCodec<io.netty.buffer.ByteBuf, Direction> Direction.STREAM_CODECprivate static final Map<Direction, Transformation> BlockMath.VANILLA_UV_TRANSFORM_GLOBAL_TO_LOCALprivate static final Map<Direction, Transformation> BlockMath.VANILLA_UV_TRANSFORM_LOCAL_TO_GLOBALstatic final com.mojang.serialization.Codec<Direction> Direction.VERTICAL_CODECMethods in net.minecraft.core that return DirectionModifier and TypeMethodDescriptionstatic Directionstatic DirectionDirection.from2DDataValue(int horizontalIndex) static DirectionDirection.from3DDataValue(int index) static DirectionDirection.fromAxisAndDirection(Direction.Axis axis, Direction.AxisDirection axisDirection) static DirectionDirection.fromYRot(double angle) FrontAndTop.front()static DirectionDirection.get(Direction.AxisDirection axisDirection, Direction.Axis axis) static DirectionDirection.getApproximateNearest(double x, double y, double z) static DirectionDirection.getApproximateNearest(float x, float y, float z) static DirectionDirection.getApproximateNearest(Vec3 vector) Direction.getClockWise()Direction.getClockWise(Direction.Axis axis) private DirectionDirection.getClockWiseX()private DirectionDirection.getClockWiseZ()Direction.getCounterClockWise()Direction.getCounterClockWise(Direction.Axis axis) private DirectionDirection.getCounterClockWiseX()private DirectionDirection.getCounterClockWiseZ()Direction.Axis.getDirections()static DirectionDirection.getFacingAxis(Entity entity, Direction.Axis axis) static DirectionDirection.getNearest(int x, int y, int z, Direction defaultValue) static DirectionDirection.getNearest(Vec3i vector, Direction defaultValue) abstract DirectionDirection.Axis.getNegative()Direction.getOpposite()abstract DirectionDirection.Axis.getPositive()static DirectionDirection.getRandom(RandomSource random) Direction.Plane.getRandomDirection(RandomSource random) private static Direction[]Direction.makeDirectionArray(Direction first, Direction second, Direction third) static Direction[]Direction.orderedByNearest(Entity entity) 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 random) Direction8.getDirections()Direction.Plane.iterator()Direction.Plane.shuffledCopy(RandomSource random) Direction.Plane.stream()Direction.stream()private static com.mojang.serialization.DataResult<Direction> Direction.verifyVertical(Direction direction) Methods in net.minecraft.core with parameters of type DirectionModifier and TypeMethodDescriptionstatic FrontAndTopFrontAndTop.fromFrontAndTop(Direction front, Direction top) static TransformationBlockMath.getFaceTransformation(Transformation transformation, Direction direction) static DirectionDirection.getNearest(int x, int y, int z, Direction defaultValue) static DirectionDirection.getNearest(Vec3i vector, Direction defaultValue) static floatprivate static intprivate static Direction[]Direction.makeDirectionArray(Direction first, Direction second, Direction third) 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 pos, Direction direction) static Iterable<BlockPos.MutableBlockPos> BlockPos.spiralAround(BlockPos center, int size, Direction rotationDirection, Direction expansionDirection) booleanbooleanprivate static com.mojang.serialization.DataResult<Direction> Direction.verifyVertical(Direction direction) Constructors in net.minecraft.core with parameters of type DirectionModifierConstructorDescriptionprivateDirection8(Direction... directions) privateFrontAndTop(String name, Direction front, Direction top) privatePlane(Direction[] faces, Direction.Axis[] axis) -
Uses of Direction in net.minecraft.core.dispenser
Methods in net.minecraft.core.dispenser with parameters of type DirectionModifier and TypeMethodDescriptionprotected voidDefaultDispenseItemBehavior.playAnimation(BlockSource blockSource, Direction direction) private static voidDefaultDispenseItemBehavior.playDefaultAnimation(BlockSource blockSource, Direction direction) static voidDefaultDispenseItemBehavior.spawnItem(Level level, ItemStack stack, int speed, Direction facing, Position position) -
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 facingDirection) Method parameters in net.minecraft.data.worldgen.features with type arguments of type DirectionModifier and TypeMethodDescriptionprivate static WeightedList.Builder<BlockState> VegetationFeatures.segmentedBlockPatchBuilder(Block block, int minAmount, int maxAmount, IntegerProperty amountProperty, EnumProperty<Direction> directionProperty) -
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 action, BlockPos pos, Direction direction) ServerboundPlayerActionPacket(ServerboundPlayerActionPacket.Action action, BlockPos pos, Direction direction, int sequence) -
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 pos, Direction direction) private booleanServerPlayer.bedInRange(BlockPos pos, Direction direction) floatfloatvoidDemoMode.handleBlockBreakAction(BlockPos pos, ServerboundPlayerActionPacket.Action action, Direction face, int maxBuildHeight, int sequence) voidServerPlayerGameMode.handleBlockBreakAction(BlockPos pos, ServerboundPlayerActionPacket.Action action, Direction face, int maxBuildHeight, int sequence) voidServerLevel.updateNeighborsAtExceptFromFacing(BlockPos pos, Block block, Direction facing, Orientation orientation) -
Uses of Direction in net.minecraft.util
Methods in net.minecraft.util with parameters of type DirectionModifier and TypeMethodDescriptionintSegmentedAnglePrecision.fromDirection(Direction direction) static voidParticleUtils.spawnParticleOnFace(Level level, BlockPos pos, Direction direction, ParticleOptions particle, Vec3 speed, double spread) static voidParticleUtils.spawnParticlesOnBlockFace(Level level, BlockPos pos, ParticleOptions particle, IntProvider count, Direction direction, Supplier<Vec3> speedSupplier, double spread) -
Uses of Direction in net.minecraft.world
Methods in net.minecraft.world with parameters of type DirectionModifier and TypeMethodDescriptionbooleanWorldlyContainer.canPlaceItemThroughFace(int index, ItemStack itemStack, Direction direction) Returnstrueif automation can insert the given item in the given slot from the given side.booleanWorldlyContainer.canTakeItemThroughFace(int index, ItemStack stack, Direction direction) Returnstrueif automation can extract the given item in the given slot from the given side.int[]WorldlyContainer.getSlotsForFace(Direction side) -
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 DirectionFields in net.minecraft.world.entity.decoration with type parameters of type DirectionModifier and TypeFieldDescriptionprivate static final EntityDataAccessor<Direction> HangingEntity.DATA_DIRECTIONMethods 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 pos, Direction direction) protected AABBItemFrame.calculateBoundingBox(BlockPos pos, Direction direction) protected AABBPainting.calculateBoundingBox(BlockPos pos, Direction direction) protected voidHangingEntity.setDirection(Direction facingDirection) Updates facing and bounding box based on itprotected voidItemFrame.setDirection(Direction facingDirection) Updates facing and bounding box based on itprotected voidHangingEntity.setDirectionRaw(Direction direction) Constructors in net.minecraft.world.entity.decoration with parameters of type DirectionModifierConstructorDescriptionGlowItemFrame(Level p_149610_, BlockPos p_149611_, Direction p_149612_) ItemFrame(EntityType<? extends ItemFrame> entityType, Level level, BlockPos pos, Direction direction) -
Uses of Direction in net.minecraft.world.entity.monster
Fields in net.minecraft.world.entity.monster declared as DirectionModifier and TypeFieldDescriptionprivate static final DirectionShulker.DEFAULT_ATTACH_FACEprivate DirectionSilverfish.SilverfishMergeWithStoneGoal.selectedDirectionFields in net.minecraft.world.entity.monster with type parameters of type DirectionModifier and TypeFieldDescriptionprotected static final EntityDataAccessor<Direction> Shulker.DATA_ATTACH_FACE_IDMethods in net.minecraft.world.entity.monster that return DirectionModifier and TypeMethodDescriptionprotected DirectionShulker.findAttachableSurface(BlockPos pos) Shulker.getAttachFace()Methods in net.minecraft.world.entity.monster with parameters of type DirectionModifier and TypeMethodDescription(package private) booleanstatic AABBShulker.getProgressAabb(float scale, Direction expansionDirection, float peek, Vec3 position) static AABBShulker.getProgressDeltaAabb(float scale, Direction expansionDirection, float currentPeek, float oldPeek, Vec3 position) private voidShulker.setAttachFace(Direction attachFace) -
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 pos, Direction facing, ItemStack stack) 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 direction) -
Uses of Direction in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle that return DirectionModifier and TypeMethodDescriptionAbstractBoat.getMotionDirection()AbstractMinecart.getMotionDirection()MinecartBehavior.getMotionDirection()OldMinecartBehavior.getMotionDirection()Methods in net.minecraft.world.entity.vehicle with parameters of type DirectionModifier and TypeMethodDescriptionstatic int[][]DismountHelper.offsetsForDirection(Direction direction) -
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 level, Position pos, ItemStack stack, Direction direction) EggItem.asProjectile(Level p_338884_, Position p_338312_, ItemStack p_338704_, Direction p_338366_) ExperienceBottleItem.asProjectile(Level p_338868_, Position p_338766_, ItemStack p_338321_, Direction p_338772_) FireChargeItem.asProjectile(Level level, Position pos, ItemStack stack, Direction direction) FireworkRocketItem.asProjectile(Level level, Position pos, ItemStack stack, Direction direction) ProjectileItem.asProjectile(Level level, Position pos, ItemStack stack, Direction direction) SnowballItem.asProjectile(Level p_338685_, Position p_338637_, ItemStack p_338820_, Direction p_338856_) SpectralArrowItem.asProjectile(Level p_338332_, Position p_338313_, ItemStack p_338304_, Direction p_338842_) ThrowablePotionItem.asProjectile(Level level, Position pos, ItemStack stack, Direction direction) TridentItem.asProjectile(Level p_338505_, Position p_338277_, ItemStack p_338353_, Direction p_338220_) WindChargeItem.asProjectile(Level p_338589_, Position p_338670_, ItemStack p_338308_, Direction p_338206_) static BrushItem.DustParticlesDeltaBrushItem.DustParticlesDelta.fromDirection(Vec3 pos, Direction direction) ProjectileItem.PositionFunction.getDispensePosition(BlockSource source, Direction direction) private static Vec3FireworkRocketItem.getEntityJustOutsideOfBlockPos(BlockSource blockSource, Direction direction) static booleanBoneMealItem.growWaterPlant(ItemStack stack, Level level, BlockPos pos, Direction clickedSide) protected booleanHangingEntityItem.mayPlace(Player player, Direction direction, ItemStack hangingEntityStack, BlockPos pos) protected booleanConstructors in net.minecraft.world.item with parameters of type DirectionModifierConstructorDescriptionSignItem(Item.Properties properties, Block standingBlock, Block wallBlock, Direction attachmentDirection) StandingAndWallBlockItem(Block block, Block wallBlock, Direction attachmentDirection, Item.Properties properties) -
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 context, BlockPos pos, Direction direction) 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 DirectionModifier and TypeFieldDescriptionstatic final Direction[]SignalGetter.DIRECTIONSprivate static final Direction[]Level.NEIGHBOR_UPDATE_LISTMethods in net.minecraft.world.level with parameters of type DirectionModifier and TypeMethodDescriptiondefault intSignalGetter.getControlInputSignal(BlockPos pos, Direction direction, boolean diodesOnly) Returns the control signal emitted from the given position in the given direction.default intSignalGetter.getDirectSignal(BlockPos pos, Direction direction) Returns the direct redstone signal emitted from the given position in the given direction.floatfloatdefault intReturns the redstone signal emitted from the given position in the given direction.default booleanReturns whether a redstone signal is emitted from the given position in the given direction.booleanLevel.loadedAndEntityCanStandOnFace(BlockPos pos, Entity entity, Direction direction) voidLevel.neighborShapeChanged(Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int flags, int recursionLeft) default voidLevelAccessor.neighborShapeChanged(Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int flags, int recursionLeft) voidLevel.updateNeighborsAtExceptFromFacing(BlockPos pos, Block block, Direction facing, Orientation orientation) -
Uses of Direction in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction[]SpongeBlock.ALL_DIRECTIONSprivate static final Direction[]BuddingAmethystBlock.DIRECTIONSprotected static final Direction[]MultifaceBlock.DIRECTIONSprivate final DirectionMultifaceSpreader.SpreadPos.faceThe field for thefacerecord component.protected final DirectionGrowingPlantBlock.growthDirectionFields in net.minecraft.world.level.block with type parameters of type DirectionModifier and TypeFieldDescriptionSculkSpreader.ChargeCursor.DIRECTION_SETstatic final EnumProperty<Direction> AbstractFurnaceBlock.FACINGstatic final EnumProperty<Direction> AmethystClusterBlock.FACINGstatic final EnumProperty<Direction> AnvilBlock.FACINGstatic final EnumProperty<Direction> AttachedStemBlock.FACINGstatic final EnumProperty<Direction> BarrelBlock.FACINGstatic final EnumProperty<Direction> BaseCoralWallFanBlock.FACINGstatic final EnumProperty<Direction> BeehiveBlock.FACINGstatic final EnumProperty<Direction> BellBlock.FACINGstatic final EnumProperty<Direction> CalibratedSculkSensorBlock.FACINGstatic final EnumProperty<Direction> CampfireBlock.FACINGstatic final EnumProperty<Direction> CarvedPumpkinBlock.FACINGstatic final EnumProperty<Direction> ChestBlock.FACINGstatic final EnumProperty<Direction> CommandBlock.FACINGstatic final EnumProperty<Direction> DirectionalBlock.FACINGstatic final EnumProperty<Direction> DispenserBlock.FACINGstatic final EnumProperty<Direction> DoorBlock.FACINGstatic final EnumProperty<Direction> EnderChestBlock.FACINGstatic final EnumProperty<Direction> EndPortalFrameBlock.FACINGstatic final EnumProperty<Direction> FlowerBedBlock.FACINGstatic final EnumProperty<Direction> HopperBlock.FACINGstatic final EnumProperty<Direction> HorizontalDirectionalBlock.FACINGstatic final EnumProperty<Direction> LadderBlock.FACINGstatic final EnumProperty<Direction> LeafLitterBlock.FACINGstatic final EnumProperty<Direction> LecternBlock.FACINGstatic final EnumProperty<Direction> RedstoneWallTorchBlock.FACINGstatic final EnumProperty<Direction> ShulkerBoxBlock.FACINGstatic final EnumProperty<Direction> SmallDripleafBlock.FACINGstatic final EnumProperty<Direction> StairBlock.FACINGstatic final EnumProperty<Direction> StonecutterBlock.FACINGstatic final EnumProperty<Direction> TripWireHookBlock.FACINGstatic final EnumProperty<Direction> VaultBlock.FACINGstatic final EnumProperty<Direction> WallBannerBlock.FACINGstatic final EnumProperty<Direction> WallHangingSignBlock.FACINGstatic final EnumProperty<Direction> WallSignBlock.FACINGstatic final EnumProperty<Direction> WallSkullBlock.FACINGstatic final EnumProperty<Direction> WallTorchBlock.FACINGSculkSpreader.ChargeCursor.facingsprivate static final Map<Direction, VoxelShape> ChestBlock.HALF_SHAPESstatic final EnumProperty<Direction> DecoratedPotBlock.HORIZONTAL_FACINGprivate final Map<Direction, VoxelShape> HopperBlock.interactionShapesstatic final ImmutableList<Direction> LiquidBlock.POSSIBLE_FLOW_DIRECTIONSstatic final Map<Direction, BooleanProperty> CrossCollisionBlock.PROPERTY_BY_DIRECTIONstatic final Map<Direction, BooleanProperty> FireBlock.PROPERTY_BY_DIRECTIONprivate static final Map<Direction, BooleanProperty> HugeMushroomBlock.PROPERTY_BY_DIRECTIONstatic final Map<Direction, EnumProperty<WallSide>> MossyCarpetBlock.PROPERTY_BY_DIRECTIONprivate static final Map<Direction, BooleanProperty> MultifaceBlock.PROPERTY_BY_DIRECTIONstatic final Map<Direction, BooleanProperty> PipeBlock.PROPERTY_BY_DIRECTIONstatic final Map<Direction, EnumProperty<RedstoneSide>> RedStoneWireBlock.PROPERTY_BY_DIRECTIONprivate static final Map<Direction, BooleanProperty> TripWireBlock.PROPERTY_BY_DIRECTIONstatic final Map<Direction, BooleanProperty> VineBlock.PROPERTY_BY_DIRECTIONstatic final Map<Direction, EnumProperty<WallSide>> WallBlock.PROPERTY_BY_DIRECTIONprivate static final Map<Direction, VoxelShape> StairBlock.SHAPE_BOTTOM_INNERprivate static final Map<Direction, VoxelShape> StairBlock.SHAPE_BOTTOM_OUTERprivate static final Map<Direction, VoxelShape> StairBlock.SHAPE_BOTTOM_STRAIGHTprivate static final Map<Direction, VoxelShape> BellBlock.SHAPE_SINGLE_WALLprivate static final Map<Direction, VoxelShape> StairBlock.SHAPE_TOP_INNERprivate static final Map<Direction, VoxelShape> StairBlock.SHAPE_TOP_OUTERprivate static final Map<Direction, VoxelShape> StairBlock.SHAPE_TOP_STRAIGHTprivate final Map<Direction, VoxelShape> AmethystClusterBlock.shapesprivate static final Map<Direction, VoxelShape> AttachedStemBlock.SHAPESprivate static final Map<Direction, VoxelShape> BaseCoralWallFanBlock.SHAPESprivate static final Map<Direction, VoxelShape> BedBlock.SHAPESprivate static final Map<Direction, VoxelShape> BigDripleafStemBlock.SHAPESprivate static final List<Map<Direction, VoxelShape>> CocoaBlock.SHAPESprivate static final Map<Direction, VoxelShape> DoorBlock.SHAPESstatic final Map<Direction, VoxelShape> LadderBlock.SHAPESprivate static final Map<Direction, VoxelShape> LecternBlock.SHAPESprivate static final Map<Direction, VoxelShape> PiglinWallSkullBlock.SHAPESprivate static final Map<Direction, VoxelShape> TrapDoorBlock.SHAPESprivate static final Map<Direction, VoxelShape> TripWireHookBlock.SHAPESprivate static final Map<Direction, VoxelShape> WallBannerBlock.SHAPESprivate static final Map<Direction, VoxelShape> WallSignBlock.SHAPESprivate static final Map<Direction, VoxelShape> WallSkullBlock.SHAPESprivate static final Map<Direction, VoxelShape> WallTorchBlock.SHAPESstatic final Map<Direction, VoxelShape> ShulkerBoxBlock.SHAPES_OPEN_SUPPORTprivate static final Map<Direction, VoxelShape> WallBlock.TEST_SHAPES_WALLstatic final EnumProperty<Direction> PointedDripstoneBlock.TIP_DIRECTIONMethods in net.minecraft.world.level.block that return DirectionModifier and TypeMethodDescriptionprivate static DirectionPointedDripstoneBlock.calculateTipDirection(LevelReader level, BlockPos pos, Direction dir) private DirectionChestBlock.candidatePartnerFacing(BlockPlaceContext context, Direction direction) MultifaceSpreader.SpreadPos.face()Returns the value of thefacerecord component.static DirectionBedBlock.getBedOrientation(BlockGetter level, BlockPos pos) static DirectionBedBlock.getConnectedDirection(BlockState state) private static DirectionBellBlock.getConnectedDirection(BlockState state) static DirectionChestBlock.getConnectedDirection(BlockState state) protected static DirectionFaceAttachedHorizontalDirectionalBlock.getConnectedDirection(BlockState state) protected static DirectionLanternBlock.getConnectedDirection(BlockState state) static DirectionJigsawBlock.getFrontFacing(BlockState state) This represents the face that the puzzle piece is on.private static DirectionBedBlock.getNeighbourDirection(BedPart part, Direction direction) Given a bed part and the direction it's facing, find the direction to move to get the other bed partstatic DirectionJigsawBlock.getTopFacing(BlockState state) 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 state) SculkSpreader.ChargeCursor.getFacingData()MultifaceBlock.unpack(byte packedDirections) Methods in net.minecraft.world.level.block with parameters of type DirectionModifier and TypeMethodDescriptionprivate static booleanChorusFlowerBlock.allNeighborsEmpty(LevelReader level, BlockPos pos, Direction excludingSide) booleanBellBlock.attemptToRing(Entity entity, Level level, BlockPos pos, Direction direction) booleanBellBlock.attemptToRing(Level level, BlockPos pos, Direction direction) private static int[][]BedBlock.bedAboveStandUpOffsets(Direction dir) private static int[][]BedBlock.bedStandUpOffsets(Direction firstDir, Direction secondDir) private static int[][]BedBlock.bedSurroundStandUpOffsets(Direction firstDir, Direction secondDir) private static DripstoneThicknessPointedDripstoneBlock.calculateDripstoneThickness(LevelReader level, BlockPos pos, Direction dir, boolean isTipMerge) private static DirectionPointedDripstoneBlock.calculateTipDirection(LevelReader level, BlockPos pos, Direction dir) static booleanFaceAttachedHorizontalDirectionalBlock.canAttach(LevelReader reader, BlockPos pos, Direction direction) private booleanLadderBlock.canAttachTo(BlockGetter blockReader, BlockPos pos, Direction direction) static booleanMultifaceBlock.canAttachTo(BlockGetter level, BlockPos pos, Direction direction) static booleanMultifaceBlock.canAttachTo(BlockGetter level, Direction direction, BlockPos pos, BlockState state) booleanWallHangingSignBlock.canAttachTo(LevelReader level, BlockState state, BlockPos pos, Direction direction) static booleanBaseFireBlock.canBePlacedAt(Level level, BlockPos pos, Direction direction) booleanFireBlock.canCatchFire(BlockGetter world, BlockPos pos, Direction face) Side sensitive version that calls the block function.private DirectionChestBlock.candidatePartnerFacing(BlockPlaceContext context, Direction direction) booleanComposterBlock.EmptyContainer.canPlaceItemThroughFace(int index, ItemStack itemStack, Direction direction) Returnstrueif automation can insert the given item in the given slot from the given side.booleanComposterBlock.InputContainer.canPlaceItemThroughFace(int index, ItemStack itemStack, Direction direction) Returnstrueif automation can insert the given item in the given slot from the given side.booleanComposterBlock.OutputContainer.canPlaceItemThroughFace(int index, ItemStack itemStack, Direction direction) Returnstrueif automation can insert the given item in the given slot from the given side.default booleanMultifaceSpreader.SpreadConfig.canSpreadFrom(BlockState state, Direction direction) booleanMultifaceSpreader.canSpreadInAnyDirection(BlockState state, BlockGetter level, BlockPos pos, Direction spreadDirection) private static booleanMossyCarpetBlock.canSupportAtFace(BlockGetter level, BlockPos pos, Direction direction) private booleanVineBlock.canSupportAtFace(BlockGetter level, BlockPos pos, Direction direction) static booleanBlock.canSupportCenter(LevelReader level, BlockPos pos, Direction direction) static booleanWallTorchBlock.canSurvive(LevelReader level, BlockPos pos, Direction facing) booleanComposterBlock.EmptyContainer.canTakeItemThroughFace(int index, ItemStack stack, Direction direction) Returnstrueif automation can extract the given item in the given slot from the given side.booleanComposterBlock.InputContainer.canTakeItemThroughFace(int index, ItemStack stack, Direction direction) Returnstrueif automation can extract the given item in the given slot from the given side.booleanComposterBlock.OutputContainer.canTakeItemThroughFace(int index, ItemStack stack, Direction direction) Returnstrueif automation can extract the given item in the given slot from the given side.private static booleanStairBlock.canTakeShape(BlockState state, BlockGetter level, BlockPos pos, Direction face) private voidFireBlock.checkBurnOut(Level level, BlockPos pos, int chance, RandomSource random, int age, Direction face) booleanFenceBlock.connectsTo(BlockState state, boolean isSideSolid, Direction direction) private booleanWallBlock.connectsTo(BlockState state, boolean sideSolid, Direction direction) static booleanFenceGateBlock.connectsToDirection(BlockState state, Direction direction) private static voidPointedDripstoneBlock.createDripstone(LevelAccessor level, BlockPos pos, Direction direction, DripstoneThickness thickness) private static voidCommandBlock.executeChain(ServerLevel level, BlockPos pos, Direction direction) BedBlock.findBunkBedStandUpPosition(EntityType<?> entityType, CollisionGetter collisionGetter, BlockPos pos, Direction stateFacing, Direction entityFacing) BedBlock.findStandUpPosition(EntityType<?> entityType, CollisionGetter collisionGetter, BlockPos pos, Direction direction, float yRot) private RedstoneSideRedStoneWireBlock.getConnectingSide(BlockGetter level, BlockPos pos, Direction face) private RedstoneSideRedStoneWireBlock.getConnectingSide(BlockGetter level, BlockPos pos, Direction direction, boolean nonNormalCubeAbove) protected intBasePressurePlateBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected intButtonBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected intDetectorRailBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected intDiodeBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected intLecternBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected intLeverBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected intLightningRodBlock.getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the direct signal this block emits in the given direction.protected intObserverBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected intRedstoneTorchBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected intRedStoneWireBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.intSculkSensorBlock.getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the direct signal this block emits in the given direction.protected intTrappedChestBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.protected intTripWireHookBlock.getDirectSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the direct signal this block emits in the given direction.static BooleanPropertyMultifaceBlock.getFaceProperty(Direction direction) private ItemFrameComparatorBlock.getItemFrame(Level level, Direction facing, BlockPos pos) private static DirectionBedBlock.getNeighbourDirection(BedPart part, Direction direction) Given a bed part and the direction it's facing, find the direction to move to get the other bed partstatic EnumProperty<WallSide> MossyCarpetBlock.getPropertyForFace(Direction direction) static BooleanPropertyVineBlock.getPropertyForFace(Direction face) ChiseledBookShelfBlock.getRelativeHitCoordinatesForBlockFace(BlockHitResult hitResult, Direction face) Mirror.getRotation(Direction facing) Determines the rotation that is equivalent to this mirror if the rotating object faces in the given directionprotected intBasePressurePlateBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intButtonBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) 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 blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intDetectorRailBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intDiodeBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.intJukeboxBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the signal this block emits in the given direction.protected intLecternBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intLeverBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intLightningRodBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the signal this block emits in the given direction.protected intObserverBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intPoweredBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intRedstoneTorchBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intRedstoneWallTorchBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intRedStoneWireBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intSculkSensorBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the signal this block emits in the given direction.protected intTargetBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.intTestBlock.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the signal this block emits in the given direction.protected intTrappedChestBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.protected intTripWireHookBlock.getSignal(BlockState blockState, BlockGetter blockAccess, BlockPos pos, Direction side) Returns the signal this block emits in the given direction.int[]ComposterBlock.EmptyContainer.getSlotsForFace(Direction side) int[]ComposterBlock.InputContainer.getSlotsForFace(Direction side) int[]ComposterBlock.OutputContainer.getSlotsForFace(Direction side) MultifaceSpreader.getSpreadFromFaceTowardDirection(BlockState state, BlockGetter level, BlockPos pos, Direction spreadDirection, Direction face, MultifaceSpreader.SpreadPredicate predicate) abstract MultifaceSpreader.SpreadPosMultifaceSpreader.SpreadType.getSpreadPos(BlockPos pos, Direction face, Direction spreadDirection) MultifaceBlock.getStateForPlacement(BlockState currentState, BlockGetter level, BlockPos pos, Direction lookingDirection) MultifaceSpreader.DefaultSpreaderConfig.getStateForPlacement(BlockState currentState, BlockGetter level, BlockPos pos, Direction lookingDirection) MultifaceSpreader.SpreadConfig.getStateForPlacement(BlockState currentState, BlockGetter level, BlockPos pos, Direction lookingDirection) private static voidPointedDripstoneBlock.grow(ServerLevel server, BlockPos pos, Direction direction) static booleanMultifaceBlock.hasFace(BlockState state, Direction direction) default booleanMultifaceSpreader.SpreadConfig.hasFace(BlockState state, Direction direction) static booleanVineBlock.isAcceptableNeighbour(BlockGetter blockReader, BlockPos neighborPos, Direction attachedFace) static booleanBlock.isFaceFull(VoxelShape shape, Direction face) protected booleanMultifaceBlock.isFaceSupported(Direction face) private static booleanPointedDripstoneBlock.isPointedDripstoneWithDirection(BlockState state, Direction dir) private static booleanprivate booleanBellBlock.isProperHit(BlockState pos, Direction direction, double distanceY) abstract booleanSupportType.isSupporting(BlockState state, BlockGetter level, BlockPos pos, Direction face) private static booleanPointedDripstoneBlock.isUnmergedTipWithDirection(BlockState state, Direction dir) private static booleanSculkSpreader.ChargeCursor.isUnobstructed(LevelAccessor level, BlockPos pos, Direction direction) private static booleanPointedDripstoneBlock.isValidPointedDripstonePlacement(LevelReader level, BlockPos pos, Direction dir) booleanMultifaceBlock.isValidStateForPlacement(BlockGetter level, BlockState state, BlockPos pos, Direction direction) Mirror the given facing according to this mirrorprivate static voidTripWireHookBlock.notifyNeighbors(Block block, Level level, BlockPos pos, Direction direction) booleanTntBlock.onCaughtFire(BlockState state, Level world, BlockPos pos, Direction face, LivingEntity igniter) protected static booleanBigDripleafBlock.place(LevelAccessor level, BlockPos pos, FluidState fluidState, Direction direction) protected static booleanBigDripleafStemBlock.place(LevelAccessor level, BlockPos pos, FluidState fluidState, Direction direction) static voidBigDripleafBlock.placeWithRandomHeight(LevelAccessor level, RandomSource random, BlockPos pos, Direction direction) static voidBlock.popResourceFromFace(Level level, BlockPos pos, Direction direction, ItemStack stack) protected static booleanRedStoneWireBlock.shouldConnectTo(BlockState state, Direction direction) booleanTripWireBlock.shouldConnectTo(BlockState state, Direction direction) static booleanBlock.shouldRenderFace(BlockState currentFace, BlockState neighboringFace, Direction face) Deprecated.Neo: use overload with level context insteadstatic booleanBlock.shouldRenderFace(BlockGetter level, BlockPos pos, BlockState p_152445_, BlockState p_361252_, Direction p_152448_) private BlockStateWallBlock.sideUpdate(LevelReader level, BlockPos firstPos, BlockState firstState, BlockPos secondPos, BlockState secondState, Direction dir) protected booleanHalfTransparentBlock.skipRendering(BlockState state, BlockState adjacentBlockState, Direction side) protected booleanIronBarsBlock.skipRendering(BlockState state, BlockState adjacentBlockState, Direction side) protected booleanLiquidBlock.skipRendering(BlockState state, BlockState adjacentBlockState, Direction side) protected booleanMangroveRootsBlock.skipRendering(BlockState p_221510_, BlockState p_221511_, Direction p_221512_) protected booleanPowderSnowBlock.skipRendering(BlockState state, BlockState adjacentState, Direction direction) private static voidRedStoneWireBlock.spawnParticlesAlongLine(Level level, RandomSource random, BlockPos pos, int color, Direction direction, Direction perpendicularDirection, float start, float end) private longMultifaceSpreader.spreadFromFaceTowardAllDirections(BlockState state, LevelAccessor level, BlockPos pos, Direction spreadDirection, boolean markForPostprocessing) MultifaceSpreader.spreadFromFaceTowardDirection(BlockState state, LevelAccessor level, BlockPos pos, Direction spreadDirection, Direction face, boolean markForPostprocessing) MultifaceSpreader.spreadFromFaceTowardRandomDirection(BlockState state, LevelAccessor level, BlockPos pos, Direction spreadDirection, RandomSource random, boolean markForPostprocessing) protected booleanMultifaceSpreader.DefaultSpreaderConfig.stateCanBeReplaced(BlockGetter level, BlockPos pos, BlockPos spreadPos, Direction direction, BlockState state) booleanSculkVeinBlock.SculkVeinSpreaderConfig.stateCanBeReplaced(BlockGetter level, BlockPos pos, BlockPos spreadPos, Direction direction, BlockState state) protected BlockStateAmethystClusterBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateAttachedStemBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateBambooSaplingBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateBambooStalkBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateBannerBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateBarrierBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateBaseCoralPlantTypeBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateBaseCoralWallFanBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateBasePressurePlateBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateBaseRailBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateBaseTorchBlock.updateShape(BlockState p_304418_, LevelReader p_374159_, ScheduledTickAccess p_374152_, BlockPos p_304633_, Direction p_304475_, BlockPos p_304603_, BlockState p_304669_, RandomSource p_374111_) protected BlockStateBedBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateBeehiveBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateBellBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateBigDripleafBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateBigDripleafStemBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) BrushableBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateBubbleColumnBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateCactusBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateCakeBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateCampfireBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateCandleBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateCandleCakeBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateCarpetBlock.updateShape(BlockState p_152926_, LevelReader p_374550_, ScheduledTickAccess p_374188_, BlockPos p_152930_, Direction p_152927_, BlockPos p_152931_, BlockState p_152928_, RandomSource p_374375_) protected BlockStateCeilingHangingSignBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateChainBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateChestBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateChorusFlowerBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateChorusPlantBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateCocoaBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) ComparatorBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateConcretePowderBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateConduitBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateCoralBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateCoralFanBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateCoralPlantBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateCoralWallFanBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateCreakingHeartBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateDecoratedPotBlock.updateShape(BlockState p_276307_, LevelReader p_374037_, ScheduledTickAccess p_374267_, BlockPos p_276270_, Direction p_276322_, BlockPos p_276312_, BlockState p_276280_, RandomSource p_374464_) protected BlockStateDirtPathBlock.updateShape(BlockState p_153152_, LevelReader p_374225_, ScheduledTickAccess p_374127_, BlockPos p_153156_, Direction p_153153_, BlockPos p_153157_, BlockState p_153154_, RandomSource p_374236_) protected BlockStateDoorBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateDoublePlantBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateDriedGhastBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateEnderChestBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateFaceAttachedHorizontalDirectionalBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateFallingBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateFarmBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateFenceBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateFenceGateBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateFireBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateFlowerPotBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateFrogspawnBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateGrowingPlantBodyBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateGrowingPlantHeadBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateHangingMossBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateHangingRootsBlock.updateShape(BlockState p_153351_, LevelReader p_374138_, ScheduledTickAccess p_374229_, BlockPos p_153355_, Direction p_153352_, BlockPos p_153356_, BlockState p_153353_, RandomSource p_374467_) protected BlockStateHeavyCoreBlock.updateShape(BlockState p_338756_, LevelReader p_374371_, ScheduledTickAccess p_374063_, BlockPos p_338346_, Direction p_338189_, BlockPos p_338401_, BlockState p_338723_, RandomSource p_374262_) protected BlockStateHugeMushroomBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateIronBarsBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateLadderBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateLanternBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateLeavesBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateLightBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateLightningRodBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateLiquidBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateMagmaBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateMangrovePropaguleBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateMangroveRootsBlock.updateShape(BlockState p_221514_, LevelReader p_374345_, ScheduledTickAccess p_374139_, BlockPos p_221518_, Direction p_221515_, BlockPos p_221519_, BlockState p_221516_, RandomSource p_374100_) protected BlockStateMossyCarpetBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateMultifaceBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateNetherPortalBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateNoteBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateObserverBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) PitcherCropBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStatePointedDripstoneBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateRedstoneWallTorchBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateRedStoneWireBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateRepeaterBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateScaffoldingBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateSculkSensorBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateSculkShriekerBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateSeagrassBlock.updateShape(BlockState p_154530_, LevelReader p_374421_, ScheduledTickAccess p_374071_, BlockPos p_154534_, Direction p_154531_, BlockPos p_154535_, BlockState p_154532_, RandomSource p_374406_) protected BlockStateSeaPickleBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateSignBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateSlabBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateSmallDripleafBlock.updateShape(BlockState p_154625_, LevelReader p_374488_, ScheduledTickAccess p_374525_, BlockPos p_154629_, Direction p_154626_, BlockPos p_154630_, BlockState p_154627_, RandomSource p_374277_) protected BlockStateSnowLayerBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateSnowyDirtBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateSoulFireBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateSoulSandBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateSporeBlossomBlock.updateShape(BlockState p_154713_, LevelReader p_374047_, ScheduledTickAccess p_374543_, BlockPos p_154717_, Direction p_154714_, BlockPos p_154718_, BlockState p_154715_, RandomSource p_374461_) protected BlockStateStairBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateStandingSignBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateSugarCaneBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateTrapDoorBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateTripWireBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateTripWireHookBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateVegetationBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateVineBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateWallBannerBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateWallBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateWallHangingSignBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateWallSignBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateWallTorchBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateWaterloggedTransparentBlock.updateShape(BlockState p_313906_, LevelReader p_374178_, ScheduledTickAccess p_374293_, BlockPos p_313842_, Direction p_313739_, BlockPos p_313843_, BlockState p_313829_, RandomSource p_374433_) Method parameters in net.minecraft.world.level.block with type arguments of type DirectionModifier and TypeMethodDescriptiondefault booleanSculkBehaviour.attemptSpreadVein(LevelAccessor level, BlockPos pos, BlockState state, Collection<Direction> directions, boolean markForPostprocessing) static <S extends BlockEntity>
DoubleBlockCombiner.NeighborCombineResult<S> DoubleBlockCombiner.combineWithNeigbour(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockCombiner.BlockType> doubleBlockTypeGetter, Function<BlockState, Direction> directionGetter, Property<Direction> directionProperty, BlockState state, LevelAccessor level, BlockPos pos, BiPredicate<LevelAccessor, BlockPos> blockedChestTest) default Function<BlockState, VoxelShape> SegmentableBlock.getShapeCalculator(EnumProperty<Direction> directionProperty, IntegerProperty amountProperty) BonemealableBlock.getSpreadableNeighbourPos(List<Direction> directions, LevelReader level, BlockPos pos, BlockState state) default BlockStateSegmentableBlock.getStateForPlacement(BlockPlaceContext context, Block block, IntegerProperty amountProperty, EnumProperty<Direction> directionProperty) private BlockStateMultifaceBlock.mapDirections(BlockState state, Function<Direction, Direction> directionalFunction) private BlockStateMultifaceBlock.mapDirections(BlockState state, Function<Direction, Direction> directionalFunction) static byteMultifaceBlock.pack(Collection<Direction> directions) static booleanSculkVeinBlock.regrow(LevelAccessor level, BlockPos pos, BlockState state, Collection<Direction> directions) Constructors in net.minecraft.world.level.block with parameters of type DirectionModifierConstructorDescriptionGrowingPlantBlock(BlockBehaviour.Properties properties, Direction growthDirection, VoxelShape shape, boolean scheduleFluidTicks) GrowingPlantBodyBlock(BlockBehaviour.Properties properties, Direction growthDirection, VoxelShape shape, boolean scheduleFluidTicks) GrowingPlantHeadBlock(BlockBehaviour.Properties properties, Direction growthDirection, VoxelShape shape, boolean scheduleFluidTicks, double growPerTickProbability) Creates an instance of aSpreadPosrecord class.Constructor parameters in net.minecraft.world.level.block with type arguments of type DirectionModifierConstructorDescriptionprivateChargeCursor(BlockPos pos, int charge, int decayDelay, int updateDelay, Optional<Set<Direction>> facings) -
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 source, Container destination, ItemStack stack, Direction direction) Attempts to place the passed stack in the container, using as many slots as required.booleanBrushableBlockEntity.brush(long startTick, ServerLevel level, LivingEntity brusher, Direction hitDirection, ItemStack stack) private static booleanHopperBlockEntity.canPlaceItemInContainer(Container container, ItemStack stack, int slot, Direction direction) booleanAbstractFurnaceBlockEntity.canPlaceItemThroughFace(int index, ItemStack itemStack, Direction direction) Returnstrueif automation can insert the given item in the given slot from the given side.booleanBrewingStandBlockEntity.canPlaceItemThroughFace(int index, ItemStack itemStack, Direction direction) Returnstrueif automation can insert the given item in the given slot from the given side.booleanShulkerBoxBlockEntity.canPlaceItemThroughFace(int index, ItemStack itemStack, Direction direction) Returnstrueif automation can insert the given item in the given slot from the given side.private static booleanHopperBlockEntity.canTakeItemFromContainer(Container source, Container destination, ItemStack stack, int slot, Direction direction) booleanAbstractFurnaceBlockEntity.canTakeItemThroughFace(int index, ItemStack stack, Direction direction) Returnstrueif automation can extract the given item in the given slot from the given side.booleanBrewingStandBlockEntity.canTakeItemThroughFace(int index, ItemStack stack, Direction direction) Returnstrueif automation can extract the given item in the given slot from the given side.booleanShulkerBoxBlockEntity.canTakeItemThroughFace(int index, ItemStack stack, Direction direction) Returnstrueif automation can extract the given item in the given slot from the given side.static ContainerOrHandlerHopperBlockEntity.getContainerOrHandlerAt(Level level, BlockPos pos, Direction side) private static ContainerOrHandlerHopperBlockEntity.getContainerOrHandlerAt(Level level, BlockPos pos, BlockState state, double x, double y, double z, Direction side) private static int[]int[]AbstractFurnaceBlockEntity.getSlotsForFace(Direction side) int[]BrewingStandBlockEntity.getSlotsForFace(Direction side) int[]ShulkerBoxBlockEntity.getSlotsForFace(Direction side) private static booleanHopperBlockEntity.isFullContainer(Container container, Direction direction) voidbooleanTheEndGatewayBlockEntity.shouldRenderFace(Direction face) booleanTheEndPortalBlockEntity.shouldRenderFace(Direction face) private static ItemStackHopperBlockEntity.tryMoveInItem(Container source, Container destination, ItemStack stack, int slot, Direction direction) private static booleanHopperBlockEntity.tryTakeInItemFromSlot(Hopper hopper, Container container, int slot, Direction direction) 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 pos, Direction facing) -
Uses of Direction in net.minecraft.world.level.block.piston
Fields in net.minecraft.world.level.block.piston declared as DirectionModifier and TypeFieldDescriptionprivate DirectionPistonMovingBlockEntity.directionprivate final DirectionPistonStructureResolver.pistonDirectionprivate final DirectionPistonStructureResolver.pushDirectionFields in net.minecraft.world.level.block.piston with type parameters of type DirectionModifier and TypeFieldDescriptionstatic final EnumProperty<Direction> MovingPistonBlock.FACINGprivate static final ThreadLocal<Direction> PistonMovingBlockEntity.NOCLIPprivate static final Map<Direction, VoxelShape> PistonBaseBlock.SHAPESprivate static final Map<Direction, VoxelShape> PistonHeadBlock.SHAPESprivate static final Map<Direction, VoxelShape> PistonHeadBlock.SHAPES_SHORTMethods in net.minecraft.world.level.block.piston that return DirectionModifier and TypeMethodDescriptionPistonMovingBlockEntity.getDirection()PistonMovingBlockEntity.getMovementDirection()PistonMovingBlockEntity.getPushDirection()PistonStructureResolver.getPushDirection()Methods in net.minecraft.world.level.block.piston with parameters of type DirectionModifier and TypeMethodDescriptionprivate booleanPistonStructureResolver.addBlockLine(BlockPos originPos, Direction direction) private static voidPistonMovingBlockEntity.fixEntityWithinPistonBase(BlockPos pos, Entity entity, Direction dir, double progress) private static doublePistonMovingBlockEntity.getMovement(AABB headShape, Direction direction, AABB facing) static AABBPistonMath.getMovementArea(AABB bounds, Direction dir, double delta) private booleanPistonBaseBlock.getNeighborSignal(SignalGetter signalGetter, BlockPos pos, Direction direction) static booleanPistonBaseBlock.isPushable(BlockState state, Level level, BlockPos pos, Direction movementDirection, boolean allowDestroy, Direction pistonFacing) Checks if the piston can push the given BlockState.private booleanPistonBaseBlock.moveBlocks(Level level, BlockPos pos, Direction facing, boolean extending) private static voidPistonMovingBlockEntity.moveEntityByPiston(Direction noClipDirection, Entity entity, double progress, Direction direction) static BlockEntityMovingPistonBlock.newMovingBlockEntity(BlockPos pos, BlockState blockState, BlockState movedState, Direction direction, boolean extending, boolean isSourcePiston) protected BlockStatePistonHeadBlock.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) Constructors in net.minecraft.world.level.block.piston with parameters of type DirectionModifierConstructorDescriptionPistonMovingBlockEntity(BlockPos pos, BlockState blockState, BlockState movedState, Direction direction, boolean extending, boolean isSourcePiston) PistonStructureResolver(Level level, BlockPos pistonPos, Direction pistonDirection, boolean extending) -
Uses of Direction in net.minecraft.world.level.block.state
Fields in net.minecraft.world.level.block.state declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction[]BlockBehaviour.BlockStateBase.Cache.DIRECTIONSprivate static final Direction[]BlockBehaviour.BlockStateBase.DIRECTIONSprotected static final Direction[]BlockBehaviour.UPDATE_SHAPE_ORDERMethods in net.minecraft.world.level.block.state with parameters of type DirectionModifier and TypeMethodDescriptionfinal booleanBlockBehaviour.BlockStateBase.entityCanStandOnFace(BlockGetter level, BlockPos pos, Entity entity, Direction face) intBlockBehaviour.BlockStateBase.getDirectSignal(BlockGetter level, BlockPos pos, Direction direction) protected intBlockBehaviour.getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the direct signal this block emits in the given direction.BlockBehaviour.BlockStateBase.getFaceOcclusionShape(Direction face) private static intBlockBehaviour.BlockStateBase.Cache.getFaceSupportIndex(Direction direction, SupportType supportType) intBlockBehaviour.BlockStateBase.getSignal(BlockGetter level, BlockPos pos, Direction direction) protected intBlockBehaviour.getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Returns the signal this block emits in the given direction.booleanBlockBehaviour.BlockStateBase.Cache.isFaceSturdy(Direction direction, SupportType supportType) booleanBlockBehaviour.BlockStateBase.isFaceSturdy(BlockGetter level, BlockPos pos, Direction direction) booleanBlockBehaviour.BlockStateBase.isFaceSturdy(BlockGetter level, BlockPos pos, Direction face, SupportType supportType) booleanBlockBehaviour.BlockStateBase.skipRendering(BlockState state, Direction face) protected booleanBlockBehaviour.skipRendering(BlockState state, BlockState adjacentState, Direction direction) BlockBehaviour.BlockStateBase.updateShape(LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) protected BlockStateBlockBehaviour.updateShape(BlockState state, LevelReader level, ScheduledTickAccess scheduledTickAccess, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, RandomSource random) -
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 pos, Direction finger, Direction thumb, LoadingCache<BlockPos, BlockInWorld> cache) Checks that the given pattern invalid input: '&' rotation is at the block coordinates.BlockPattern.matches(LevelReader level, BlockPos pos, Direction finger, Direction thumb) protected static BlockPosBlockPattern.translateAndRotate(BlockPos pos, Direction finger, Direction thumb, int palmOffset, int thumbOffset, int fingerOffset) 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 frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos, BlockInWorld> cache, int width, int height, int depth) -
Uses of Direction in net.minecraft.world.level.block.state.properties
Fields in net.minecraft.world.level.block.state.properties declared as DirectionFields in net.minecraft.world.level.block.state.properties with type parameters of type DirectionModifier and TypeFieldDescriptionstatic final EnumProperty<Direction> BlockStateProperties.FACINGstatic final EnumProperty<Direction> BlockStateProperties.FACING_HOPPERstatic final EnumProperty<Direction> BlockStateProperties.HORIZONTAL_FACINGstatic final EnumProperty<Direction> BlockStateProperties.VERTICAL_DIRECTIONMethods in net.minecraft.world.level.block.state.properties that return DirectionMethods in net.minecraft.world.level.block.state.properties that return types with arguments of type DirectionMethods in net.minecraft.world.level.block.state.properties with parameters of type DirectionModifier and TypeMethodDescriptionstatic intRotationSegment.convertToSegment(Direction direction) Constructors in net.minecraft.world.level.block.state.properties with parameters of type Direction -
Uses of Direction in net.minecraft.world.level.border
Fields in net.minecraft.world.level.border declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionWorldBorder.DistancePerDirection.directionThe field for thedirectionrecord component.Methods in net.minecraft.world.level.border that return DirectionModifier and TypeMethodDescriptionWorldBorder.DistancePerDirection.direction()Returns the value of thedirectionrecord component.Constructors in net.minecraft.world.level.border with parameters of type DirectionModifierConstructorDescriptionDistancePerDirection(Direction direction, double distance) Creates an instance of aDistancePerDirectionrecord class. -
Uses of Direction in net.minecraft.world.level.chunk
Fields in net.minecraft.world.level.chunk declared as DirectionMethods in net.minecraft.world.level.chunk with parameters of type DirectionModifier and TypeMethodDescriptionUpgradeData.BlockFixer.updateShape(BlockState state, Direction direction, BlockState offsetState, LevelAccessor level, BlockPos pos, BlockPos offsetPos) private static BlockStateUpgradeData.updateState(BlockState state, Direction direction, LevelAccessor level, BlockPos pos, BlockPos offsetPos) -
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 level, int maxDistance, Predicate<BlockState> columnPredicate, Predicate<BlockState> tipPredicate, BlockPos.MutableBlockPos mutablePos, int startY, Direction direction) 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 direction) static BlockPredicateBlockPredicate.hasSturdyFace(Vec3i offset, Direction direction) 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 level, BlockPos pos, RandomSource random) Methods in net.minecraft.world.level.levelgen.feature with parameters of type DirectionModifier and TypeMethodDescriptionprotected static voidDripstoneUtils.buildBaseToTipColumn(Direction direction, int height, boolean mergeTip, Consumer<BlockState> blockSetter) private booleanFallenTreeFeature.canPlaceEntireFallenLog(WorldGenLevel level, int logLength, BlockPos.MutableBlockPos pos, Direction direction) private static BlockStateDripstoneUtils.createPointedDripstone(Direction direction, DripstoneThickness dripstoneThickness) private static Function<BlockState, BlockState> FallenTreeFeature.getSidewaysStateModifier(Direction direction) protected static voidDripstoneUtils.growPointedDripstone(LevelAccessor level, BlockPos pos, Direction direction, int height, boolean mergeTip) private static booleanWaterloggedVegetationPatchFeature.isExposedDirection(WorldGenLevel level, BlockPos pos, BlockPos.MutableBlockPos mutablePos, Direction direction) private voidFallenTreeFeature.placeFallenLog(FallenTreeConfiguration config, WorldGenLevel level, RandomSource random, int logLength, BlockPos.MutableBlockPos pos, Direction direction) private voidDripstoneClusterFeature.replaceBlocksWithDripstoneBlocks(WorldGenLevel level, BlockPos pos, int thickness, Direction direction) Method parameters in net.minecraft.world.level.levelgen.feature with type arguments of type DirectionModifier and TypeMethodDescriptionstatic booleanMultifaceGrowthFeature.placeGrowthIfPossible(WorldGenLevel level, BlockPos pos, BlockState state, MultifaceGrowthConfiguration config, RandomSource random, List<Direction> directions) -
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 random) MultifaceGrowthConfiguration.getShuffledDirectionsExcept(RandomSource random, Direction direction) Methods in net.minecraft.world.level.levelgen.feature.configurations with parameters of type DirectionModifier and TypeMethodDescriptionMultifaceGrowthConfiguration.getShuffledDirectionsExcept(RandomSource random, Direction direction) 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 pos, Direction direction, RandomSource random, BlockPos trunkOrigin) private booleanMangroveRootPlacer.simulateRoots(LevelSimulatedReader level, RandomSource random, BlockPos pos, Direction direction, BlockPos trunkOrigin, List<BlockPos> roots, int length) -
Uses of Direction in net.minecraft.world.level.levelgen.feature.treedecorators
Fields in net.minecraft.world.level.levelgen.feature.treedecorators declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction[]BeehiveDecorator.SPAWN_DIRECTIONSprivate static final DirectionBeehiveDecorator.WORLDGEN_FACINGFields in net.minecraft.world.level.levelgen.feature.treedecorators with type parameters of type DirectionModifier and TypeFieldDescriptionAttachedToLeavesDecorator.directionsAttachedToLogsDecorator.directionsMethods in net.minecraft.world.level.levelgen.feature.treedecorators with parameters of type DirectionModifier and TypeMethodDescriptionprivate booleanAttachedToLeavesDecorator.hasRequiredEmptyBlocks(TreeDecorator.Context context, BlockPos pos, Direction direction) Constructor parameters in net.minecraft.world.level.levelgen.feature.treedecorators with type arguments of type DirectionModifierConstructorDescriptionAttachedToLeavesDecorator(float probability, int exclusionRadiusXZ, int exclusionRadiusY, BlockStateProvider blockProvider, int requiredEmptyBlocks, List<Direction> directions) AttachedToLogsDecorator(float probability, BlockStateProvider blockProvider, List<Direction> directions) -
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 level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, BlockPos pos, TreeConfiguration config, Function<BlockState, BlockState> propertySetter, Direction direction, int secondBranchStartOffsetFromTop, boolean doubleBranch, BlockPos.MutableBlockPos currentPos) private voidUpwardsBranchingTrunkPlacer.placeBranch(LevelSimulatedReader level, BiConsumer<BlockPos, BlockState> blockSetter, RandomSource random, int freeTreeHeight, TreeConfiguration treeConfig, List<FoliagePlacer.FoliageAttachment> foliageAttachments, BlockPos.MutableBlockPos pos, int y, Direction direction, int extraBranchLength, int extraBranchSteps) -
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 directionOfSearch, BlockPredicate targetCondition, int maxSteps) static EnvironmentScanPlacementEnvironmentScanPlacement.scanningFor(Direction directionOfSearch, BlockPredicate targetCondition, BlockPredicate allowedSearchCondition, int maxSteps) Constructors in net.minecraft.world.level.levelgen.placement with parameters of type DirectionModifierConstructorDescriptionprivateCaveSurface(Direction direction, int y, String id) privateEnvironmentScanPlacement(Direction directionOfSearch, BlockPredicate targetCondition, BlockPredicate allowedSearchCondition, int maxSteps) -
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 random) Methods in net.minecraft.world.level.levelgen.structure with parameters of type DirectionModifier and TypeMethodDescriptionprotected booleanStructurePiece.createDispenser(WorldGenLevel level, BoundingBox box, RandomSource random, int x, int y, int z, Direction facing, ResourceKey<LootTable> lootTable) protected static BoundingBoxStructurePiece.makeBoundingBox(int x, int y, int z, Direction direction, int offsetX, int offsetY, int offsetZ) static BoundingBoxBoundingBox.orientBox(int structureMinX, int structureMinY, int structureMinZ, int xMin, int yMin, int zMin, int xMax, int yMax, int zMax, Direction facing) Create a bounding box with the specified dimensions and rotate it.voidStructurePiece.setOrientation(Direction orientation) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type DirectionModifierConstructorDescriptionprotectedScatteredFeaturePiece(StructurePieceType type, int x, int y, int z, int width, int height, int depth, Direction orientation) -
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 layout, int x, int y, int floor, int roomId) Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type DirectionModifier and TypeMethodDescriptionprivate voidWoodlandMansionPieces.MansionPiecePlacer.addRoom1x1(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos pos, Rotation rotation, Direction direction, WoodlandMansionPieces.FloorRoomCollection floorRooms) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom1x2(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos pos, Rotation rotation, Direction frontDirection, Direction sideDirection, WoodlandMansionPieces.FloorRoomCollection floorRooms, boolean isStairs) private voidWoodlandMansionPieces.MansionPiecePlacer.addRoom2x2(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, BlockPos pos, Rotation rotation, Direction frontDirection, Direction sideDirection, WoodlandMansionPieces.FloorRoomCollection floorRooms) 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 direction, OceanMonumentPieces.RoomDefinition room, RandomSource random) NetherFortressPieces.BridgeCrossing.createPiece(StructurePieceAccessor pieces, int x, int y, int z, Direction orientation, int genDepth) NetherFortressPieces.BridgeEndFiller.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) NetherFortressPieces.BridgeStraight.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) NetherFortressPieces.CastleCorridorStairsPiece.createPiece(StructurePieceAccessor pieces, int x, int y, int z, Direction orientation, int genDepth) NetherFortressPieces.CastleCorridorTBalconyPiece.createPiece(StructurePieceAccessor pieces, int x, int y, int z, Direction orientation, int genDepth) NetherFortressPieces.CastleEntrance.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) NetherFortressPieces.CastleSmallCorridorCrossingPiece.createPiece(StructurePieceAccessor pieces, int x, int y, int z, Direction orientation, int genDepth) NetherFortressPieces.CastleSmallCorridorLeftTurnPiece.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) NetherFortressPieces.CastleSmallCorridorPiece.createPiece(StructurePieceAccessor pieces, int x, int y, int z, Direction orientation, int genDepth) NetherFortressPieces.CastleSmallCorridorRightTurnPiece.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) NetherFortressPieces.CastleStalkRoom.createPiece(StructurePieceAccessor pieces, int x, int y, int z, Direction orientation, int genDepth) NetherFortressPieces.MonsterThrone.createPiece(StructurePieceAccessor pieces, int x, int y, int z, int genDepth, Direction orientation) NetherFortressPieces.RoomCrossing.createPiece(StructurePieceAccessor pieces, int x, int y, int z, Direction orientation, int genDepth) NetherFortressPieces.StairsRoom.createPiece(StructurePieceAccessor pieces, int x, int y, int z, int genDepth, Direction orientation) StrongholdPieces.ChestCorridor.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) StrongholdPieces.FiveCrossing.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) static StrongholdPieces.LeftTurnStrongholdPieces.LeftTurn.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) static StrongholdPieces.LibraryStrongholdPieces.Library.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) static StrongholdPieces.PortalRoomStrongholdPieces.PortalRoom.createPiece(StructurePieceAccessor pieces, int x, int y, int z, Direction orientation, int genDepth) static StrongholdPieces.PrisonHallStrongholdPieces.PrisonHall.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) static StrongholdPieces.RightTurnStrongholdPieces.RightTurn.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) StrongholdPieces.RoomCrossing.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) static StrongholdPieces.StairsDownStrongholdPieces.StairsDown.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) static StrongholdPieces.StraightStrongholdPieces.Straight.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction direction, int genDepth) StrongholdPieces.StraightStairsDown.createPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) private static MineshaftPieces.MineShaftPieceMineshaftPieces.createRandomShaftPiece(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth, MineshaftStructure.Type type) (package private) static NetherFortressPieces.NetherBridgePieceNetherFortressPieces.findAndCreateBridgePieceFactory(NetherFortressPieces.PieceWeight weight, StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) private static StrongholdPieces.StrongholdPieceStrongholdPieces.findAndCreatePieceFactory(Class<? extends StrongholdPieces.StrongholdPiece> pieceClass, StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction direction, int genDepth) static BoundingBoxMineshaftPieces.MineShaftCorridor.findCorridorSize(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction direction) static BoundingBoxMineshaftPieces.MineShaftCrossing.findCrossing(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction direction) static BoundingBoxStrongholdPieces.FillerCorridor.findPieceBox(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation) static BoundingBoxMineshaftPieces.MineShaftStairs.findStairs(StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction direction) (package private) static MineshaftPieces.MineShaftPieceMineshaftPieces.generateAndAddPiece(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction direction, int genDepth) private StructurePieceNetherFortressPieces.NetherBridgePiece.generateAndAddPiece(NetherFortressPieces.StartPiece startPiece, StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth, boolean castlePiece) (package private) static StructurePieceStrongholdPieces.generateAndAddPiece(StrongholdPieces.StartPiece piece, StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction direction, int genDepth) NetherFortressPieces.NetherBridgePiece.generatePiece(NetherFortressPieces.StartPiece startPiece, List<NetherFortressPieces.PieceWeight> weights, StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth) private static StrongholdPieces.StrongholdPieceStrongholdPieces.generatePieceFromSmallDoor(StrongholdPieces.StartPiece piece, StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction direction, int genDepth) private static BoundingBoxOceanMonumentPieces.OceanMonumentPiece.makeBoundingBox(Direction direction, OceanMonumentPieces.RoomDefinition definition, int x, int y, int z) private voidWoodlandMansionPieces.MansionGrid.recursiveCorridor(WoodlandMansionPieces.SimpleGrid layout, int x, int y, Direction direction, int length) voidOceanMonumentPieces.RoomDefinition.setConnection(Direction direction, OceanMonumentPieces.RoomDefinition connectingRoom) private voidWoodlandMansionPieces.MansionPiecePlacer.traverseOuterWalls(List<WoodlandMansionPieces.WoodlandMansionPiece> pieces, WoodlandMansionPieces.PlacementData data, WoodlandMansionPieces.SimpleGrid layout, Direction direction, int startX, int startY, int entranceX, int entranceY) Constructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type DirectionModifierConstructorDescriptionprotectedBridgeCrossing(int x, int z, Direction orientation) BridgeCrossing(int genDepth, BoundingBox box, Direction orientation) BridgeEndFiller(int genDepth, RandomSource random, BoundingBox box, Direction orientation) BridgeStraight(int genDepth, RandomSource random, BoundingBox box, Direction orientation) CastleCorridorStairsPiece(int genDepth, BoundingBox box, Direction orientation) CastleCorridorTBalconyPiece(int genDepth, BoundingBox box, Direction orientation) CastleEntrance(int genDepth, RandomSource random, BoundingBox box, Direction orientation) CastleSmallCorridorCrossingPiece(int genDepth, BoundingBox box, Direction orientation) CastleSmallCorridorLeftTurnPiece(int genDepth, RandomSource random, BoundingBox box, Direction orientation) CastleSmallCorridorPiece(int genDepth, BoundingBox box, Direction orientation) CastleSmallCorridorRightTurnPiece(int genDepth, RandomSource random, BoundingBox box, Direction orientation) CastleStalkRoom(int genDepth, BoundingBox box, Direction orientation) ChestCorridor(int genDepth, RandomSource random, BoundingBox box, Direction orientation) FillerCorridor(int genDepth, BoundingBox box, Direction orientation) FiveCrossing(int genDepth, RandomSource random, BoundingBox box, Direction orientation) LeftTurn(int genDepth, RandomSource random, BoundingBox box, Direction orientation) Library(int genDepth, RandomSource random, BoundingBox box, Direction orientation) MineShaftCorridor(int genDepth, RandomSource random, BoundingBox boundingBox, Direction orientation, MineshaftStructure.Type type) MineShaftCrossing(int genDepth, BoundingBox boundingBox, Direction direction, MineshaftStructure.Type type) MineShaftStairs(int genDepth, BoundingBox boundingBox, Direction orientation, MineshaftStructure.Type type) MonsterThrone(int genDepth, BoundingBox box, Direction orientation) MonumentBuilding(RandomSource random, int x, int z, Direction orientation) OceanMonumentCoreRoom(Direction direction, OceanMonumentPieces.RoomDefinition room) OceanMonumentDoubleXRoom(Direction direction, OceanMonumentPieces.RoomDefinition room) OceanMonumentDoubleXYRoom(Direction direction, OceanMonumentPieces.RoomDefinition room) OceanMonumentDoubleYRoom(Direction direction, OceanMonumentPieces.RoomDefinition room) OceanMonumentDoubleYZRoom(Direction direction, OceanMonumentPieces.RoomDefinition room) OceanMonumentDoubleZRoom(Direction direction, OceanMonumentPieces.RoomDefinition room) OceanMonumentEntryRoom(Direction direction, OceanMonumentPieces.RoomDefinition room) OceanMonumentPenthouse(Direction direction, BoundingBox box) protectedOceanMonumentPiece(StructurePieceType type, int genDepth, Direction orientation, OceanMonumentPieces.RoomDefinition roomDefinition, int x, int y, int z) OceanMonumentPiece(StructurePieceType type, Direction orientation, int genDepth, BoundingBox box) OceanMonumentSimpleRoom(Direction direction, OceanMonumentPieces.RoomDefinition room, RandomSource random) OceanMonumentSimpleTopRoom(Direction direction, OceanMonumentPieces.RoomDefinition room) OceanMonumentWingRoom(Direction direction, BoundingBox box, int flag) PortalRoom(int genDepth, BoundingBox box, Direction orientation) PrisonHall(int genDepth, RandomSource random, BoundingBox box, Direction orientation) RightTurn(int genDepth, RandomSource random, BoundingBox box, Direction orientation) RoomCrossing(int genDepth, BoundingBox box, Direction orientation) RoomCrossing(int genDepth, RandomSource random, BoundingBox box, Direction orientation) StairsDown(int genDepth, RandomSource random, BoundingBox box, Direction orientation) StairsDown(StructurePieceType type, int genDepth, int x, int z, Direction orientation) StairsRoom(int genDepth, BoundingBox box, Direction orientation) Straight(int genDepth, RandomSource random, BoundingBox box, Direction orientation) StraightStairsDown(int genDepth, RandomSource random, BoundingBox box, Direction orientation) -
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 direction, int x, int z) static longLightEngine.QueueEntry.decreaseSkipOneDirection(int level, Direction direction) static intLightEngine.getLightBlockInto(BlockState state1, BlockState state2, Direction direction, int defaultReturnValue) static VoxelShapeLightEngine.getOcclusionShape(BlockState state, Direction direction) static longLightEngine.QueueEntry.increaseOnlyOneDirection(int level, boolean fromEmptyShape, Direction direction) static longLightEngine.QueueEntry.increaseSkipOneDirection(int level, boolean fromEmptyShape, Direction direction) private voidSkyLightEngine.propagateFromEmptySections(long packedPos, Direction direction, int level, boolean shouldIncrease, int emptySections) protected booleanLightEngine.shapeOccludes(BlockState state1, BlockState state2, Direction direction) static booleanLightEngine.QueueEntry.shouldPropagateInDirection(long entry, Direction direction) private static longLightEngine.QueueEntry.withDirection(long entry, Direction direction) private static longLightEngine.QueueEntry.withoutDirection(long entry, Direction direction) -
Uses of Direction in net.minecraft.world.level.material
Fields in net.minecraft.world.level.material declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionFlowingFluid.BlockStatePairKey.directionThe field for thedirectionrecord component.Methods in net.minecraft.world.level.material that return DirectionModifier and TypeMethodDescriptionFlowingFluid.BlockStatePairKey.direction()Returns the value of thedirectionrecord component.Methods in net.minecraft.world.level.material that return types with arguments of type DirectionModifier and TypeMethodDescriptionprotected Map<Direction, FluidState> FlowingFluid.getSpread(ServerLevel level, BlockPos pos, BlockState state) Methods in net.minecraft.world.level.material with parameters of type DirectionModifier and TypeMethodDescriptionbooleanEmptyFluid.canBeReplacedWith(FluidState fluidState, BlockGetter blockReader, BlockPos pos, Fluid fluid, Direction direction) protected abstract booleanFluid.canBeReplacedWith(FluidState state, BlockGetter level, BlockPos pos, Fluid fluid, Direction direction) booleanFluidState.canBeReplacedWith(BlockGetter level, BlockPos pos, Fluid fluid, Direction direction) booleanLavaFluid.canBeReplacedWith(FluidState fluidState, BlockGetter blockReader, BlockPos pos, Fluid fluid, Direction direction) booleanWaterFluid.canBeReplacedWith(FluidState fluidState, BlockGetter blockReader, BlockPos pos, Fluid fluid, Direction direction) private booleanFlowingFluid.canMaybePassThrough(BlockGetter level, BlockPos pos, BlockState state, Direction direction, BlockPos spreadPos, BlockState spreadState, FluidState fluidState) private booleanFlowingFluid.canPassThrough(BlockGetter level, Fluid fluid, BlockPos pos, BlockState state, Direction direction, BlockPos spreadPos, BlockState spreadState, FluidState fluidState) private static booleanFlowingFluid.canPassThroughWall(Direction direction, BlockGetter level, BlockPos pos, BlockState state, BlockPos spreadPos, BlockState spreadState) protected intFlowingFluid.getSlopeDistance(LevelReader level, BlockPos pos, int depth, Direction direction, BlockState state, FlowingFluid.SpreadContext spreadContext) private booleanLavaFluid.isFlammable(LevelReader level, BlockPos pos, Direction face) protected booleanFlowingFluid.isSolidFace(BlockGetter level, BlockPos neighborPos, Direction side) protected voidFlowingFluid.spreadTo(LevelAccessor level, BlockPos pos, BlockState blockState, Direction direction, FluidState fluidState) protected voidLavaFluid.spreadTo(LevelAccessor level, BlockPos pos, BlockState blockState, Direction direction, FluidState fluidState) Constructors in net.minecraft.world.level.material with parameters of type DirectionModifierConstructorDescription(package private)BlockStatePairKey(BlockState first, BlockState second, Direction direction) Creates an instance of aBlockStatePairKeyrecord class. -
Uses of Direction in net.minecraft.world.level.pathfinder
Methods in net.minecraft.world.level.pathfinder with parameters of type DirectionModifier and TypeMethodDescriptionprotected NodeWalkNodeEvaluator.findAcceptedNode(int x, int y, int z, int verticalDeltaLimit, double nodeFloorLevel, Direction direction, PathType pathType) private NodeWalkNodeEvaluator.tryJumpOn(int x, int y, int z, int verticalDeltaLimit, double nodeFloorLevel, Direction direction, PathType pathType, BlockPos.MutableBlockPos pos) -
Uses of Direction in net.minecraft.world.level.portal
Fields in net.minecraft.world.level.portal declared as DirectionMethods in net.minecraft.world.level.portal with parameters of type DirectionModifier and TypeMethodDescriptionprivate static BlockPosPortalShape.calculateBottomLeft(BlockGetter level, Direction direction, BlockPos pos) private static intPortalShape.calculateHeight(BlockGetter level, BlockPos pos, Direction direction, int width, org.apache.commons.lang3.mutable.MutableInt portalBlocks) private static intPortalShape.calculateWidth(BlockGetter level, BlockPos bottomLeft, Direction direction) private booleanPortalForcer.canHostFrame(BlockPos originalPos, BlockPos.MutableBlockPos offsetPos, Direction direction, int offsetScale) private static intPortalShape.getDistanceUntilEdgeAboveFrame(BlockGetter level, BlockPos pos, Direction direction) private static intPortalShape.getDistanceUntilTop(BlockGetter level, BlockPos pos, Direction direction, BlockPos.MutableBlockPos checkPos, int width, org.apache.commons.lang3.mutable.MutableInt portalBlocks) private static booleanPortalShape.hasTopFrame(BlockGetter level, BlockPos pos, Direction direction, BlockPos.MutableBlockPos checkPos, int width, int distanceUntilTop) Constructors in net.minecraft.world.level.portal with parameters of type DirectionModifierConstructorDescriptionprivatePortalShape(Direction.Axis axis, int numPortalBlocks, Direction rightDir, BlockPos bottomLeft, int width, int height) -
Uses of Direction in net.minecraft.world.level.redstone
Fields in net.minecraft.world.level.redstone declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionCollectingNeighborUpdater.ShapeUpdate.directionThe field for thedirectionrecord component.private final DirectionOrientation.frontprivate final DirectionOrientation.sideprivate final DirectionCollectingNeighborUpdater.MultiNeighborUpdate.skipDirectionprivate final DirectionOrientation.upstatic final Direction[]NeighborUpdater.UPDATE_ORDERFields in net.minecraft.world.level.redstone with type parameters of type DirectionModifier and TypeFieldDescriptionOrientation.horizontalNeighborsOrientation.neighborsOrientation.verticalNeighborsprivate final Map<Direction, Orientation> Orientation.withFrontprivate final Map<Direction, Orientation> Orientation.withUpMethods in net.minecraft.world.level.redstone that return DirectionModifier and TypeMethodDescriptionCollectingNeighborUpdater.ShapeUpdate.direction()Returns the value of thedirectionrecord component.Orientation.getFront()Orientation.getSide()Orientation.getUp()Methods in net.minecraft.world.level.redstone that return types with arguments of type DirectionModifier and TypeMethodDescriptionOrientation.getDirections()Orientation.getHorizontalDirections()Orientation.getVerticalDirections()Methods in net.minecraft.world.level.redstone with parameters of type DirectionModifier and TypeMethodDescriptionstatic voidNeighborUpdater.executeShapeUpdate(LevelAccessor level, Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int flags, int recursionLeft) protected static intOrientation.generateIndex(Direction up, Direction front, Orientation.SideBias sideBias) static OrientationExperimentalRedstoneUtils.initialOrientation(Level level, Direction front, Direction up) private static booleanExperimentalRedstoneWireEvaluator.isConnected(BlockState state, Direction direction) static OrientationOrientation.of(Direction up, Direction front, Orientation.SideBias sideBias) voidCollectingNeighborUpdater.shapeUpdate(Direction direction, BlockState state, BlockPos pos, BlockPos neighborPos, int flags, int recursionLevel) voidInstantNeighborUpdater.shapeUpdate(Direction direction, BlockState state, BlockPos pos, BlockPos neighborPos, int flags, int recursionLevel) voidNeighborUpdater.shapeUpdate(Direction direction, BlockState state, BlockPos pos, BlockPos neighborPos, int flags, int recursionLevel) voidCollectingNeighborUpdater.updateNeighborsAtExceptFromFacing(BlockPos pos, Block block, Direction facing, Orientation orientation) default voidNeighborUpdater.updateNeighborsAtExceptFromFacing(BlockPos pos, Block block, Direction facing, Orientation orientation) static OrientationExperimentalRedstoneUtils.withFront(Orientation orientation, Direction direction) Orientation.withFrontAdjustSideBias(Direction front) Orientation.withFrontPreserveUp(Direction front) Constructors in net.minecraft.world.level.redstone with parameters of type DirectionModifierConstructorDescription(package private)MultiNeighborUpdate(BlockPos sourcePos, Block sourceBlock, Orientation orientation, Direction skipDirection) privateOrientation(Direction up, Direction front, Orientation.SideBias sideBias) (package private)ShapeUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int updateFlags, int updateLimit) Creates an instance of aShapeUpdaterecord class. -
Uses of Direction in net.minecraft.world.phys
Fields in net.minecraft.world.phys declared as DirectionMethods in net.minecraft.world.phys that return DirectionModifier and TypeMethodDescriptionprivate static DirectionAABB.clipPoint(double[] minDistance, Direction prevDirection, double distanceSide, double distanceOtherA, double distanceOtherB, double minSide, double minOtherA, double maxOtherA, double minOtherB, double maxOtherB, Direction hitSide, double startSide, double startOtherA, double startOtherB) private static DirectionAABB.getDirection(double minX, double minY, double minZ, double maxX, double maxY, double maxZ, Vec3 start, double[] mineDistance, Direction facing, double deltaX, double deltaY, double deltaZ) private static DirectionAABB.getDirection(AABB aabb, Vec3 start, double[] minDistance, Direction facing, double deltaX, double deltaY, double deltaZ) BlockHitResult.getDirection()Methods in net.minecraft.world.phys with parameters of type DirectionModifier and TypeMethodDescriptionprivate static DirectionAABB.clipPoint(double[] minDistance, Direction prevDirection, double distanceSide, double distanceOtherA, double distanceOtherB, double minSide, double minOtherA, double maxOtherA, double minOtherB, double maxOtherB, Direction hitSide, double startSide, double startOtherA, double startOtherB) private static DirectionAABB.getDirection(double minX, double minY, double minZ, double maxX, double maxY, double maxZ, Vec3 start, double[] mineDistance, Direction facing, double deltaX, double deltaY, double deltaZ) private static DirectionAABB.getDirection(AABB aabb, Vec3 start, double[] minDistance, Direction facing, double deltaX, double deltaY, double deltaZ) static BlockHitResultCreates a new BlockRayTraceResult marked as a miss.BlockHitResult.withDirection(Direction newFace) Creates a new BlockRayTraceResult, with the clicked face replaced with the given oneConstructors in net.minecraft.world.phys with parameters of type DirectionModifierConstructorDescriptionprivateBlockHitResult(boolean miss, Vec3 location, Direction direction, BlockPos blockPos, boolean inside, boolean worldBorderHit) BlockHitResult(Vec3 location, Direction direction, BlockPos blockPos, boolean inside) BlockHitResult(Vec3 location, Direction direction, BlockPos blockPos, boolean inside, boolean worldBorderHit) -
Uses of Direction in net.minecraft.world.phys.shapes
Methods in net.minecraft.world.phys.shapes that return types with arguments of type DirectionModifier and TypeMethodDescriptionstatic Map<Direction, VoxelShape> Shapes.rotateAll(VoxelShape shape) static Map<Direction, VoxelShape> Shapes.rotateAll(VoxelShape shape, Vec3 pos) static Map<AttachFace, Map<Direction, VoxelShape>> Shapes.rotateAttachFace(VoxelShape shape) static Map<Direction, VoxelShape> Shapes.rotateHorizontal(VoxelShape shape) static Map<Direction, VoxelShape> Shapes.rotateHorizontal(VoxelShape shape, Vec3 pos) Methods in net.minecraft.world.phys.shapes with parameters of type DirectionModifier and TypeMethodDescriptionstatic booleanShapes.blockOccludes(VoxelShape shape, VoxelShape adjacentShape, Direction side) private VoxelShapeVoxelShape.calculateFace(Direction side) voidVoxelShape.getFaceShape(Direction side) Projects this shape onto the given side.static booleanShapes.mergedFaceOccludes(VoxelShape shape, VoxelShape adjacentShape, Direction side) -
Uses of Direction in net.neoforged.neoforge.capabilities
Fields in net.neoforged.neoforge.capabilities with type parameters of type DirectionModifier and TypeFieldDescriptionstatic final BlockCapability<IEnergyStorage, @Nullable Direction> Capabilities.EnergyStorage.BLOCKstatic final BlockCapability<IFluidHandler, @Nullable Direction> Capabilities.FluidHandler.BLOCKstatic final BlockCapability<IItemHandler, @Nullable Direction> Capabilities.ItemHandler.BLOCKstatic final EntityCapability<IEnergyStorage, @Nullable Direction> Capabilities.EnergyStorage.ENTITYstatic final EntityCapability<IFluidHandler, @Nullable Direction> Capabilities.FluidHandler.ENTITYstatic final EntityCapability<IItemHandler, @Nullable Direction> Capabilities.ItemHandler.ENTITY_AUTOMATIONCapability for an inventory of entity that should be accessible to automation, in the sense that droppers, hoppers, and similar modded devices will try to use it.Methods in net.neoforged.neoforge.capabilities that return types with arguments of type DirectionModifier and TypeMethodDescriptionstatic <T> BlockCapability<T, @Nullable Direction> BlockCapability.createSided(ResourceLocation name, Class<T> typeClass) Creates a new block capability with nullableDirectioncontext, or gets it if it already exists.static <T> EntityCapability<T, @Nullable Direction> EntityCapability.createSided(ResourceLocation name, Class<T> typeClass) Creates a new entity capability with nullableDirectioncontext, or gets it if it already exists. -
Uses of Direction in net.neoforged.neoforge.client.extensions.common
Methods in net.neoforged.neoforge.client.extensions.common with parameters of type DirectionModifier and TypeMethodDescriptiondefault booleanIClientBlockExtensions.playHitSound(BlockState state, Level level, BlockPos pos, Direction face, SoundManager soundManager) Play hit sound(s) when the block is punched. -
Uses of Direction in net.neoforged.neoforge.client.model
Methods in net.neoforged.neoforge.client.model with parameters of type DirectionModifier and TypeMethodDescriptionComposedModelState.faceTransformation(Direction side) ComposedModelState.inverseFaceTransformation(Direction side) -
Uses of Direction in net.neoforged.neoforge.client.model.ao
Methods in net.neoforged.neoforge.client.model.ao with parameters of type DirectionModifier and TypeMethodDescriptionvoidEnhancedAoRenderStorage.calculate(BlockAndTintGetter level, BlockState state, BlockPos pos, Direction direction, boolean shade) private voidEnhancedAoRenderStorage.calculateAxisAligned(BlockAndTintGetter level, BlockState state, BlockPos pos, Direction direction, boolean shade) Computes AO for an axis-aligned quad.(package private) AoCalculatedFaceFullFaceCalculator.calculateFace(BlockAndTintGetter level, BlockState renderedState, BlockPos renderedPos, Direction direction, boolean shade, boolean sampleOutside) private voidFullFaceCalculator.calculateFaceUncached(AoCalculatedFace out, BlockAndTintGetter level, BlockState renderedState, BlockPos renderedPos, Direction direction, boolean shade, boolean sampleOutside) Computes the AO for a full face.static AoFaceAoFace.fromDirection(Direction direction) -
Uses of Direction in net.neoforged.neoforge.client.model.generators.template
Fields in net.neoforged.neoforge.client.model.generators.template declared as DirectionFields in net.neoforged.neoforge.client.model.generators.template with type parameters of type DirectionMethods in net.neoforged.neoforge.client.model.generators.template that return types with arguments of type DirectionModifier and TypeMethodDescriptionprivate static BiConsumer<Direction, FaceBuilder> ElementBuilder.addTexture(TextureSlot texture) Methods in net.neoforged.neoforge.client.model.generators.template with parameters of type DirectionModifier and TypeMethodDescriptionSets which direction should cull this face when fully occluded, or null to never cull.ElementBuilder.face(Direction dir, Consumer<FaceBuilder> action) Return or create the face builder for the given direction.Method parameters in net.neoforged.neoforge.client.model.generators.template with type arguments of type DirectionModifier and TypeMethodDescriptionElementBuilder.allFaces(BiConsumer<Direction, FaceBuilder> action) Modify all possible faces dynamically using a function, creating new faces as necessary.ElementBuilder.allFacesExcept(BiConsumer<Direction, FaceBuilder> action, Set<Direction> exc) Creates possible faces for the model as needed, excluding those specified in the second argument, and then applies a function to modify added faces.ElementBuilder.allFacesExcept(BiConsumer<Direction, FaceBuilder> action, Set<Direction> exc) Creates possible faces for the model as needed, excluding those specified in the second argument, and then applies a function to modify added faces.ElementBuilder.faces(BiConsumer<Direction, FaceBuilder> action) Modify all existing faces dynamically using a function. -
Uses of Direction in net.neoforged.neoforge.client.model.obj
Methods in net.neoforged.neoforge.client.model.obj that return types with arguments of type DirectionModifier and TypeMethodDescriptionObjGeometry.makeQuad(int[][] indices, int tintIndex, Vector4f colorTint, Vector4f ambientColor, TextureAtlasSprite texture, Transformation transform) -
Uses of Direction in net.neoforged.neoforge.client.model.pipeline
Fields in net.neoforged.neoforge.client.model.pipeline declared as DirectionMethods in net.neoforged.neoforge.client.model.pipeline with parameters of type DirectionModifier and TypeMethodDescriptionvoidQuadBakingVertexConsumer.setDirection(Direction direction) -
Uses of Direction in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type DirectionModifier and TypeMethodDescriptionbooleanSpecialPlantable.canPlacePlantAtPosition(ItemStack itemStack, LevelReader level, BlockPos pos, @Nullable Direction direction) Checks location if this item can spawn a plant with the given direction attachment point.CommonHooks.onClientMineHold(Player player, BlockPos pos, Direction face) CommonHooks.onLeftClickBlock(Player player, BlockPos pos, Direction face, ServerboundPlayerActionPacket.Action action) voidSpecialPlantable.spawnPlantAtPosition(ItemStack itemStack, LevelAccessor level, BlockPos pos, @Nullable Direction direction) Spawns the plant with the given direction attachment point at location. -
Uses of Direction in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return DirectionModifier and TypeMethodDescriptiondefault DirectionIBlockExtension.getBedDirection(BlockState state, LevelReader level, BlockPos pos) Returns the direction of the block.default DirectionIBlockStateExtension.getBedDirection(LevelReader level, BlockPos pos) Returns the direction of the block.default DirectionITransformationExtension.rotateTransform(Direction facing) Rotates the direction according to this transformation and returns the nearestDirectionto the resulting direction.Methods in net.neoforged.neoforge.common.extensions with parameters of type DirectionModifier and TypeMethodDescriptiondefault booleanIBlockExtension.canConnectRedstone(BlockState state, BlockGetter level, BlockPos pos, @Nullable Direction direction) Whether redstone dust should visually connect to this block on a given sidedefault booleanIBlockStateExtension.canRedstoneConnectTo(BlockGetter level, BlockPos pos, @Nullable Direction direction) Whether redstone dust should visually connect to this block on a side.default TriStateIBlockExtension.canSustainPlant(BlockState state, BlockGetter level, BlockPos soilPosition, Direction facing, BlockState plant) Determines if this block either force allow or force disallow a plant from being placed on it.default TriStateIBlockStateExtension.canSustainPlant(BlockGetter level, BlockPos soilPosition, Direction facing, BlockState plant) Determines if this block either force allow or force disallow a plant from being placed on it.default BlockStateIBlockExtension.getAppearance(BlockState state, BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockStatethat this block reports to look like on the given side, for querying by other mods.default BlockStateIBlockStateExtension.getAppearance(BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockStatethat this state reports to look like on the given side for querying by other mods.default intIBlockExtension.getFireSpreadSpeed(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when fire is updating on a neighbor block.default intIBlockStateExtension.getFireSpreadSpeed(BlockGetter level, BlockPos pos, Direction face) Called when fire is updating on a neighbor block.default intIBlockExtension.getFlammability(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Chance that fire will spread and consume this block. 300 being a 100% chance, 0, being a 0% chance.default intIBlockStateExtension.getFlammability(BlockGetter level, BlockPos pos, Direction face) Chance that fire will spread and consume this block. 300 being a 100% chance, 0, being a 0% chance.default booleanIBlockExtension.hidesNeighborFace(BlockGetter level, BlockPos pos, BlockState state, BlockState neighborState, Direction dir) Whether this block hides the neighbors face pointed towards by the given direction.default booleanIBlockStateExtension.hidesNeighborFace(BlockGetter level, BlockPos pos, BlockState neighborState, Direction dir) Whether this block hides the neighbors face pointed towards by the given direction.default booleanIBlockExtension.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 booleanIBlockExtension.onCaughtFire(BlockState state, Level level, BlockPos pos, @Nullable Direction direction, @Nullable LivingEntity igniter) If the block is flammable, this is called when it gets lit on fire.default booleanIBlockStateExtension.onCaughtFire(Level level, BlockPos pos, @Nullable Direction face, @Nullable LivingEntity igniter) If the block is flammable, this is called when it gets lit on fire.default voidIBlockExtension.onDestroyedByPushReaction(BlockState state, Level level, BlockPos pos, Direction pushDirection, FluidState fluid) Called when a block is removed byPushReaction.DESTROY.default voidIBlockStateExtension.onDestroyedByPushReaction(Level level, BlockPos pos, Direction pushDirection, FluidState fluid) Called when a block is removed byPushReaction.DESTROY.default DirectionITransformationExtension.rotateTransform(Direction facing) Rotates the direction according to this transformation and returns the nearestDirectionto the resulting direction.default booleanIBlockExtension.shouldCheckWeakPower(BlockState state, SignalGetter level, BlockPos pos, Direction side) Called to determine whether to allow the block to handle its own indirect power rather than using the default rules.default booleanIBlockStateExtension.shouldCheckWeakPower(SignalGetter level, BlockPos pos, Direction side) Called to determine whether to allow the block to handle its own indirect power rather than using the default rules.default booleanIBlockExtension.shouldHideAdjacentFluidFace(BlockState state, Direction selfFace, FluidState adjacentFluid) Determines if a fluid adjacent to the block on the given side should not be rendered.default booleanIBlockStateExtension.shouldHideAdjacentFluidFace(Direction selfFace, FluidState adjacentFluid) Determines if a fluid adjacent to the block on the given side should not be rendered. -
Uses of Direction in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type DirectionModifier and TypeMethodDescriptionstatic booleanEventHooks.onBlockPlace(@Nullable Entity entity, BlockSnapshot blockSnapshot, Direction direction) static booleanEventHooks.onMultiBlockPlace(@Nullable Entity entity, List<BlockSnapshot> blockSnapshots, Direction direction) static voidEventHooks.onPistonMovePost(Level level, BlockPos pos, Direction direction, boolean extending) static booleanEventHooks.onPistonMovePre(Level level, BlockPos pos, Direction direction, boolean extending) Method parameters in net.neoforged.neoforge.event with type arguments of type DirectionModifier and TypeMethodDescriptionEventHooks.onNeighborNotify(Level level, BlockPos pos, BlockState state, EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate) -
Uses of Direction in net.neoforged.neoforge.event.entity.player
Fields in net.neoforged.neoforge.event.entity.player declared as DirectionModifier and TypeFieldDescriptionprivate final @Nullable DirectionPlayerInteractEvent.faceprivate final @Nullable DirectionUseItemOnBlockEvent.faceMethods in net.neoforged.neoforge.event.entity.player that return DirectionModifier and TypeMethodDescription@Nullable DirectionPlayerInteractEvent.getFace()@Nullable DirectionUseItemOnBlockEvent.getFace()Constructors in net.neoforged.neoforge.event.entity.player with parameters of type DirectionModifierConstructorDescriptionLeftClickBlock(Player player, BlockPos pos, Direction face, PlayerInteractEvent.LeftClickBlock.Action action) protectedPlayerInteractEvent(Player player, InteractionHand hand, BlockPos pos, @Nullable Direction face) -
Uses of Direction in net.neoforged.neoforge.event.level
Fields in net.neoforged.neoforge.event.level declared as DirectionFields in net.neoforged.neoforge.event.level with type parameters of type DirectionMethods in net.neoforged.neoforge.event.level that return DirectionMethods in net.neoforged.neoforge.event.level that return types with arguments of type DirectionModifier and TypeMethodDescriptionBlockEvent.NeighborNotifyEvent.getNotifiedSides()Gets a list of directions from the base block that updates will occur upon.Constructors in net.neoforged.neoforge.event.level with parameters of type DirectionModifierConstructorDescriptionPistonEvent(Level world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) Post(Level world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) Pre(Level world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) Constructor parameters in net.neoforged.neoforge.event.level with type arguments of type DirectionModifierConstructorDescriptionNeighborNotifyEvent(Level level, BlockPos pos, BlockState state, EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate) -
Uses of Direction in net.neoforged.neoforge.fluids
Methods in net.neoforged.neoforge.fluids with parameters of type DirectionModifier and TypeMethodDescriptionprotected booleanBaseFlowingFluid.canBeReplacedWith(FluidState state, BlockGetter level, BlockPos pos, Fluid fluidIn, Direction direction) static Optional<IFluidHandler> FluidUtil.getFluidHandler(Level level, BlockPos blockPos, @Nullable Direction side) Helper method to get an IFluidHandler for at a block position.static booleanFluidUtil.interactWithFluidHandler(Player player, InteractionHand hand, Level level, BlockPos pos, @Nullable Direction side) Used to handle the common case of a player holding a fluid item and right-clicking on a fluid handler block.static FluidActionResultFluidUtil.tryPickUpFluid(ItemStack emptyContainer, @Nullable Player playerIn, Level level, BlockPos pos, Direction side) Attempts to pick up a fluid in the level and put it in an empty container item. -
Uses of Direction in net.neoforged.neoforge.items
Methods in net.neoforged.neoforge.items with parameters of type DirectionModifier and TypeMethodDescriptionstatic ContainerOrHandlerVanillaInventoryCodeHooks.getEntityContainerOrHandler(Level level, double x, double y, double z, @Nullable Direction side) -
Uses of Direction in net.neoforged.neoforge.items.wrapper
Fields in net.neoforged.neoforge.items.wrapper declared as DirectionMethods in net.neoforged.neoforge.items.wrapper with parameters of type DirectionModifier and TypeMethodDescriptionstatic intSidedInvWrapper.getSlot(WorldlyContainer inv, int slot, @Nullable Direction side) Constructors in net.neoforged.neoforge.items.wrapper with parameters of type Direction