Uses of Class
net.minecraft.util.math.Direction
-
Uses of Direction in net.minecraft.block
Fields in net.minecraft.block declared as Direction Modifier and Type Field Description private static Direction[]AbstractBlock.AbstractBlockState.ShapeCache. DIRECTIONSprotected static Direction[]AbstractBlock. DIRECTIONSprotected static Direction[]AbstractLichenBlock. DIRECTIONSprivate static Direction[]BuddingAmethystBlock. DIRECTIONSprivate DirectionBlock.NeighborGroup. facingprivate static Direction[]ConnectingBlock. FACINGSprivate static Direction[]BeehiveBlock. GENERATE_DIRECTIONSprotected DirectionAbstractPlantPartBlock. growthDirectionMethods in net.minecraft.block that return types with arguments of type Direction Modifier and Type Method Description private Optional<com.mojang.datafixers.util.Pair<BlockPos,Direction>>AbstractLichenBlock. getSpreadLocation(BlockState state, BlockView world, BlockPos pos, Direction from, Direction to)Methods in net.minecraft.block with parameters of type Direction Modifier and Type Method Description private booleanAbstractLichenBlock. addDirection(WorldAccess world, BlockPos pos, Direction direction)private voidRedstoneWireBlock. addPoweredParticles(World world, Random random, BlockPos pos, Vec3d color, Direction direction, Direction direction2, float float2, float float3)booleanFenceBlock. canConnect(BlockState state, boolean neighborIsFullSquare, Direction dir)booleanComposterBlock.ComposterInventory. canExtract(int slot, ItemStack stack, Direction dir)Determines whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanComposterBlock.DummyInventory. canExtract(int slot, ItemStack stack, Direction dir)Determines whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanComposterBlock.FullComposterInventory. canExtract(int slot, ItemStack stack, Direction dir)Determines whether the given stack can be removed from this inventory at the specified slot position from the given direction.private static booleanAbstractLichenBlock. canGrowOn(BlockView world, Direction direction, BlockPos pos, BlockState state)protected booleanAbstractLichenBlock. canHaveDirection(Direction direction)booleanComposterBlock.ComposterInventory. canInsert(int slot, ItemStack stack, @Nullable Direction dir)Determines whether the given stack can be inserted into this inventory at the specified slot position from the given direction.booleanComposterBlock.DummyInventory. canInsert(int slot, ItemStack stack, @Nullable Direction dir)Determines whether the given stack can be inserted into this inventory at the specified slot position from the given direction.booleanComposterBlock.FullComposterInventory. canInsert(int slot, ItemStack stack, @Nullable Direction dir)Determines whether the given stack can be inserted into this inventory at the specified slot position from the given direction.static booleanAbstractFireBlock. canPlaceAt(World world, BlockPos pos, Direction direction)static booleanWallMountedBlock. canPlaceAt(WorldView world, BlockPos pos, Direction direction)private static booleanPointedDripstoneBlock. canPlaceAtWithDirection(WorldView world, BlockPos pos, Direction direction)private booleanLadderBlock. canPlaceOn(BlockView world, BlockPos pos, Direction side)protected booleanAbstractLichenBlock. canSpread(BlockState state, BlockView world, BlockPos pos, Direction from)private booleanAbstractLichenBlock. canSpreadTo(BlockView world, BlockPos pos, Direction direction)static booleanFenceGateBlock. canWallConnect(BlockState state, Direction side)protected static booleanRedstoneWireBlock. connectsTo(BlockState state, @Nullable Direction dir)static BlockEntityPistonExtensionBlock. createBlockEntityPiston(BlockPos pos, BlockState state, BlockState pushedBlock, Direction facing, boolean extending, boolean source)private static voidCommandBlock. executeCommandChain(World world, BlockPos pos, Direction facing)private static Optional<Vec3d>BedBlock. findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, Direction direction, Direction direction2)private @Nullable ItemFrameEntityComparatorBlock. getAttachedItemFrame(World world, Direction facing, BlockPos pos)int[]ComposterBlock.ComposterInventory. getAvailableSlots(Direction side)Gets the available slot positions that are reachable from a given side.int[]ComposterBlock.DummyInventory. getAvailableSlots(Direction side)Gets the available slot positions that are reachable from a given side.int[]ComposterBlock.FullComposterInventory. getAvailableSlots(Direction side)Gets the available slot positions that are reachable from a given side.VoxelShapeAbstractBlock.AbstractBlockState. getCullingFace(BlockView world, BlockPos pos, Direction direction)private static intHorizontalConnectingBlock. getDirectionMask(Direction dir)private static @Nullable DirectionPointedDripstoneBlock. getDirectionToPlaceAt(WorldView world, BlockPos pos, Direction direction)private static DirectionBedBlock. getDirectionTowardsOtherPart(BedPart part, Direction direction)static BooleanPropertyVineBlock. getFacingProperty(Direction direction)private static VoxelShapePistonHeadBlock. getHeadShape(Direction direction, boolean shortHead)protected intAbstractRedstoneGateBlock. getInputLevel(WorldView world, BlockPos pos, Direction dir)private @Nullable DirectionChestBlock. getNeighborChestDirection(ItemPlacementContext ctx, Direction dir)static BooleanPropertyAbstractLichenBlock. getProperty(Direction direction)private WireConnectionRedstoneWireBlock. getRenderConnectionType(BlockView world, BlockPos pos, Direction direction)private WireConnectionRedstoneWireBlock. getRenderConnectionType(BlockView world, BlockPos pos, Direction direction, boolean bool)private Optional<com.mojang.datafixers.util.Pair<BlockPos,Direction>>AbstractLichenBlock. getSpreadLocation(BlockState state, BlockView world, BlockPos pos, Direction from, Direction to)BlockStateAbstractBlock.AbstractBlockState. getStateForNeighborUpdate(Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateAbstractBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Deprecated.BlockStateAbstractLichenBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateAbstractPlantBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateAbstractPlantStemBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateAbstractPressurePlateBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateAbstractRailBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateAbstractSignBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateAmethystClusterBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateAttachedStemBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateBambooBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateBambooSaplingBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateBannerBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateBedBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateBeehiveBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateBellBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateBigDripleafBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateBigDripleafStemBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateBubbleColumnBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateCactusBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateCakeBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateCampfireBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateCandleBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateCandleCakeBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateCarpetBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateChainBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateChestBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateChorusFlowerBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateChorusPlantBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateCocoaBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateConcretePowderBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateConduitBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateCoralBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateCoralBlockBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateCoralFanBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateCoralParentBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateCoralWallFanBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateDeadCoralWallFanBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateDirtPathBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateDoorBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateEnderChestBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateFallingBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateFarmlandBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateFenceBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateFenceGateBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateFireBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateFlowerPotBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateFluidBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateGlowLichenBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateHangingRootsBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateLadderBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateLanternBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateLeavesBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateLightBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateLightningRodBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateMagmaBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateMushroomBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateNetherPortalBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateNoteBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateObserverBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStatePaneBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStatePistonHeadBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStatePlantBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStatePointedDripstoneBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateRedstoneWireBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateRepeaterBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateScaffoldingBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateSculkSensorBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateSeagrassBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateSeaPickleBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateSignBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateSlabBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateSmallDripleafBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateSnowBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateSnowyBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateSoulFireBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateSoulSandBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateSporeBlossomBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateStairsBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateSugarCaneBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateTallPlantBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateTorchBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateTrapdoorBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateTripwireBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateTripwireHookBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateVineBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateWallBannerBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateWallBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateWallMountedBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateWallRedstoneTorchBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateWallSignBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.BlockStateWallTorchBlock. getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)Gets the possibly updated block state of this block when a neighboring block is updated.intAbstractBlock.AbstractBlockState. getStrongRedstonePower(BlockView world, BlockPos pos, Direction direction)intAbstractBlock. getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)Deprecated.intAbstractButtonBlock. getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intAbstractPressurePlateBlock. getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intAbstractRedstoneGateBlock. getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intDetectorRailBlock. getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intLecternBlock. getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intLeverBlock. getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intLightningRodBlock. getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intObserverBlock. getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intRedstoneTorchBlock. getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intRedstoneWireBlock. getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intTrappedChestBlock. getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intTripwireHookBlock. getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)private static ThicknessPointedDripstoneBlock. getThickness(WorldView world, BlockPos pos, Direction direction, boolean tryMerge)intAbstractBlock.AbstractBlockState. getWeakRedstonePower(BlockView world, BlockPos pos, Direction direction)intAbstractBlock. getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)Deprecated.intAbstractButtonBlock. getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intAbstractPressurePlateBlock. getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intAbstractRedstoneGateBlock. getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intDaylightDetectorBlock. getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intDetectorRailBlock. getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intLecternBlock. getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intLeverBlock. getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intLightningRodBlock. getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intObserverBlock. getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intRedstoneBlock. getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intRedstoneTorchBlock. getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intRedstoneWireBlock. getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intSculkSensorBlock. getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intTargetBlock. getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intTrappedChestBlock. getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intTripwireHookBlock. getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)intWallRedstoneTorchBlock. getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)static voidBigDripleafBlock. grow(WorldAccess world, Random random, BlockPos pos, Direction direction)private static booleanAbstractLichenBlock. hasDirection(BlockState state, Direction direction)booleanAbstractBlock.AbstractBlockState. hasSolidTopSurface(BlockView world, BlockPos pos, Entity entity, Direction direction)private static intAbstractBlock.AbstractBlockState.ShapeCache. indexSolidSide(Direction direction, SideShapeType shapeType)private static booleanStairsBlock. isDifferentOrientation(BlockState state, BlockView world, BlockPos pos, Direction dir)static booleanBlock. isFaceFullSquare(VoxelShape shape, Direction side)static booleanPistonBlock. isMovable(BlockState state, World world, BlockPos pos, Direction direction, boolean canBreak, Direction pistonDir)private static booleanPointedDripstoneBlock. isPointedDripstoneFacingDirection(BlockState state, Direction direction)private booleanBellBlock. isPointOnBell(BlockState state, Direction side, double y)booleanAbstractBlock.AbstractBlockState. isSideInvisible(BlockState state, Direction direction)booleanAbstractBlock. isSideInvisible(BlockState state, BlockState stateFrom, Direction direction)Deprecated.booleanFluidBlock. isSideInvisible(BlockState state, BlockState stateFrom, Direction direction)booleanPaneBlock. isSideInvisible(BlockState state, BlockState stateFrom, Direction direction)booleanPowderSnowBlock. isSideInvisible(BlockState state, BlockState stateFrom, Direction direction)booleanTransparentBlock. isSideInvisible(BlockState state, BlockState stateFrom, Direction direction)booleanAbstractBlock.AbstractBlockState. isSideSolid(BlockView world, BlockPos pos, Direction direction, SideShapeType shapeType)booleanAbstractBlock.AbstractBlockState.ShapeCache. isSideSolid(Direction direction, SideShapeType shapeType)booleanAbstractBlock.AbstractBlockState. isSideSolidFullSquare(BlockView world, BlockPos pos, Direction direction)private static booleanChorusFlowerBlock. isSurroundedByAir(WorldView world, BlockPos pos, @Nullable Direction exceptDirection)abstract booleanSideShapeType. matches(BlockState state, BlockView world, BlockPos pos, Direction direction)private BlockStateWallBlock. method_24423(WorldView worldView, BlockPos blockPos, BlockState blockState, BlockPos blockPos2, BlockState blockState2, Direction direction)private static int[][]BedBlock. method_30837(Direction direction)private static int[][]BedBlock. method_30838(Direction direction, Direction direction2)private static int[][]BedBlock. method_30840(Direction direction, Direction direction2)private booleanPistonBlock. move(World world, BlockPos pos, Direction dir, boolean retract)protected static booleanBigDripleafBlock. placeDripleafAt(WorldAccess world, BlockPos pos, FluidState fluidState, Direction direction)protected static booleanBigDripleafStemBlock. placeStemAt(WorldAccess world, BlockPos pos, FluidState fluidState, Direction direction)booleanBellBlock. ring(@Nullable Entity entity, World world, BlockPos pos, @Nullable Direction direction)booleanBellBlock. ring(World world, BlockPos pos, @Nullable Direction direction)booleanTripwireBlock. shouldConnectTo(BlockState state, Direction facing)static booleanVineBlock. shouldConnectTo(BlockView world, BlockPos pos, Direction direction)private booleanWallBlock. shouldConnectTo(BlockState state, boolean faceFullSquare, Direction side)static booleanBlock. shouldDrawSide(BlockState state, BlockView world, BlockPos pos, Direction side, BlockPos blockPos)private booleanPistonBlock. shouldExtend(World world, BlockPos pos, Direction pistonFace)private booleanVineBlock. shouldHaveSide(BlockView world, BlockPos pos, Direction side)private static booleanAbstractFireBlock. shouldLightPortalAt(World world, BlockPos pos, Direction direction)static booleanBlock. sideCoversSmallSquare(WorldView world, BlockPos pos, Direction side)booleanAbstractLichenBlock. trySpreadRandomly(BlockState state, WorldAccess world, BlockPos pos, Direction from, Random random)booleanAbstractLichenBlock. trySpreadTo(BlockState state, WorldAccess world, BlockPos pos, Direction from, Direction to)private voidTripwireHookBlock. updateNeighborsOnAxis(World world, BlockPos pos, Direction direction)@Nullable BlockStateAbstractLichenBlock. withDirection(BlockState state, BlockView world, BlockPos pos, Direction direction)Method parameters in net.minecraft.block with type arguments of type Direction Modifier and Type Method Description private BlockStateAbstractLichenBlock. mirror(BlockState state, Function<Direction,Direction> mirror)private BlockStateAbstractLichenBlock. mirror(BlockState state, Function<Direction,Direction> mirror)Constructors in net.minecraft.block with parameters of type Direction Constructor Description AbstractPlantBlock(AbstractBlock.Settings settings, Direction growthDirection, VoxelShape outlineShape, boolean tickWater)AbstractPlantPartBlock(AbstractBlock.Settings settings, Direction growthDirection, VoxelShape outlineShape, boolean tickWater)AbstractPlantStemBlock(AbstractBlock.Settings settings, Direction growthDirection, VoxelShape outlineShape, boolean tickWater, double growthChance)NeighborGroup(BlockState self, BlockState other, Direction facing) -
Uses of Direction in net.minecraft.block.dispenser
Methods in net.minecraft.block.dispenser with parameters of type Direction Modifier and Type Method Description static voidDispenserBehavior. setEntityPosition(BlockPointer pointer, Entity entity, Direction direction)static voidItemDispenserBehavior. spawnItem(World world, ItemStack stack, int offset, Direction side, Position pos)protected voidItemDispenserBehavior. spawnParticles(BlockPointer pointer, Direction side) -
Uses of Direction in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as Direction Modifier and Type Field Description private DirectionPistonBlockEntity. facingDirectionBellBlockEntity. lastSideHitFields in net.minecraft.block.entity with type parameters of type Direction Modifier and Type Field Description private static ThreadLocal<Direction>PistonBlockEntity. field_12205Methods in net.minecraft.block.entity that return Direction Modifier and Type Method Description DirectionPistonBlockEntity. getFacing()DirectionPistonBlockEntity. getMovementDirection()Methods in net.minecraft.block.entity with parameters of type Direction Modifier and Type Method Description voidBellBlockEntity. activate(Direction direction)Rings the bell in a given direction.booleanAbstractFurnaceBlockEntity. canExtract(int slot, ItemStack stack, Direction dir)Determines whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanBrewingStandBlockEntity. canExtract(int slot, ItemStack stack, Direction dir)Determines whether the given stack can be removed from this inventory at the specified slot position from the given direction.private static booleanHopperBlockEntity. canExtract(Inventory inv, ItemStack stack, int slot, Direction facing)booleanShulkerBoxBlockEntity. canExtract(int slot, ItemStack stack, Direction dir)Determines whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanAbstractFurnaceBlockEntity. canInsert(int slot, ItemStack stack, @Nullable Direction dir)Determines whether the given stack can be inserted into this inventory at the specified slot position from the given direction.booleanBrewingStandBlockEntity. canInsert(int slot, ItemStack stack, @Nullable Direction dir)Determines whether the given stack can be inserted into this inventory at the specified slot position from the given direction.private static booleanHopperBlockEntity. canInsert(Inventory inventory, ItemStack stack, int slot, @Nullable Direction side)booleanShulkerBoxBlockEntity. canInsert(int slot, ItemStack stack, @Nullable Direction dir)Determines whether the given stack can be inserted into this inventory at the specified slot position from the given direction.private static booleanHopperBlockEntity. extract(Hopper hopper, Inventory inventory, int slot, Direction side)int[]AbstractFurnaceBlockEntity. getAvailableSlots(Direction side)Gets the available slot positions that are reachable from a given side.int[]BrewingStandBlockEntity. getAvailableSlots(Direction side)Gets the available slot positions that are reachable from a given side.private static IntStreamHopperBlockEntity. getAvailableSlots(Inventory inventory, Direction side)int[]ShulkerBoxBlockEntity. getAvailableSlots(Direction side)Gets the available slot positions that are reachable from a given side.private static doublePistonBlockEntity. getIntersectionSize(Box box, Direction direction, Box box2)private static booleanHopperBlockEntity. isInventoryEmpty(Inventory inv, Direction facing)private static booleanHopperBlockEntity. isInventoryFull(Inventory inventory, Direction direction)private static voidPistonBlockEntity. moveEntity(Direction direction, Entity entity, double double2, Direction direction2)private static voidPistonBlockEntity. push(BlockPos pos, Entity entity, Direction direction, double amount)booleanEndGatewayBlockEntity. shouldDrawSide(Direction direction)booleanEndPortalBlockEntity. shouldDrawSide(Direction direction)private static ItemStackHopperBlockEntity. transfer(@Nullable Inventory from, Inventory to, ItemStack stack, int slot, @Nullable Direction direction)static ItemStackHopperBlockEntity. transfer(@Nullable Inventory from, Inventory to, ItemStack stack, @Nullable Direction side)Constructors in net.minecraft.block.entity with parameters of type Direction Constructor Description PistonBlockEntity(BlockPos pos, BlockState state, BlockState pushedBlock, Direction facing, boolean extending, boolean source) -
Uses of Direction in net.minecraft.block.enums
Fields in net.minecraft.block.enums declared as Direction Modifier and Type Field Description private DirectionJigsawOrientation. facingprivate DirectionJigsawOrientation. rotationMethods in net.minecraft.block.enums that return Direction Modifier and Type Method Description DirectionJigsawOrientation. getFacing()DirectionJigsawOrientation. getRotation()Methods in net.minecraft.block.enums with parameters of type Direction Modifier and Type Method Description static JigsawOrientationJigsawOrientation. byDirections(Direction facing, Direction rotation)private static intJigsawOrientation. getIndex(Direction facing, Direction rotation)Constructors in net.minecraft.block.enums with parameters of type Direction Constructor Description JigsawOrientation(String name, Direction facing, Direction rotation) -
Uses of Direction in net.minecraft.block.pattern
Fields in net.minecraft.block.pattern declared as Direction Modifier and Type Field Description private DirectionBlockPattern.Result. forwardsprivate DirectionBlockPattern.Result. upMethods in net.minecraft.block.pattern that return Direction Modifier and Type Method Description DirectionBlockPattern.Result. getForwards()DirectionBlockPattern.Result. getUp()Methods in net.minecraft.block.pattern with parameters of type Direction Modifier and Type Method Description @Nullable BlockPattern.ResultBlockPattern. method_35300(WorldView worldView, BlockPos blockPos, Direction direction, Direction direction2)private @Nullable BlockPattern.ResultBlockPattern. testTransform(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos,CachedBlockPosition> cache)protected static BlockPosBlockPattern. translate(BlockPos pos, Direction forwards, Direction up, int offsetLeft, int offsetDown, int offsetForwards)Constructors in net.minecraft.block.pattern with parameters of type Direction Constructor Description Result(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos,CachedBlockPosition> cache, int width, int height, int depth) -
Uses of Direction in net.minecraft.block.piston
Fields in net.minecraft.block.piston declared as Direction Modifier and Type Field Description private DirectionPistonHandler. motionDirectionprivate DirectionPistonHandler. pistonDirectionMethods in net.minecraft.block.piston that return Direction Modifier and Type Method Description DirectionPistonHandler. getMotionDirection()Methods in net.minecraft.block.piston with parameters of type Direction Modifier and Type Method Description private booleanPistonHandler. tryMove(BlockPos pos, Direction dir)Constructors in net.minecraft.block.piston with parameters of type Direction Constructor Description PistonHandler(World world, BlockPos pos, Direction dir, boolean retracted) -
Uses of Direction in net.minecraft.client.model
Constructors in net.minecraft.client.model with parameters of type Direction Constructor Description Quad(ModelPart.Vertex[] vertices, float u1, float v1, float u2, float v2, float squishU, float squishV, boolean flip, Direction direction) -
Uses of Direction in net.minecraft.client.network
Methods in net.minecraft.client.network with parameters of type Direction Modifier and Type Method Description booleanClientPlayerInteractionManager. attackBlock(BlockPos pos, Direction direction)private voidClientPlayerInteractionManager. sendPlayerAction(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction)booleanClientPlayerInteractionManager. updateBlockBreakingProgress(BlockPos pos, Direction direction) -
Uses of Direction in net.minecraft.client.particle
Methods in net.minecraft.client.particle with parameters of type Direction Modifier and Type Method Description voidParticleManager. addBlockBreakingParticles(BlockPos pos, Direction direction) -
Uses of Direction in net.minecraft.client.render
Fields in net.minecraft.client.render declared as Direction Modifier and Type Field Description static Direction[]WorldRenderer. DIRECTIONSMethods in net.minecraft.client.render with parameters of type Direction Modifier and Type Method Description booleanWorldRenderer.ChunkInfo. canCull(Direction from)private ChunkBuilder.BuiltChunkWorldRenderer. getAdjacentChunk(BlockPos pos, ChunkBuilder.BuiltChunk chunk, Direction direction)voidWorldRenderer.ChunkInfo. method_34816(Direction direction)voidWorldRenderer.ChunkInfo. updateCullingState(byte parentCullingState, Direction from)Constructors in net.minecraft.client.render with parameters of type Direction Constructor Description ChunkInfo(ChunkBuilder.BuiltChunk builtChunk, @Nullable Direction direction, int int2) -
Uses of Direction in net.minecraft.client.render.block
Fields in net.minecraft.client.render.block declared as Direction Modifier and Type Field Description private static Direction[]BlockModelRenderer. DIRECTIONSprivate Direction[]BlockModelRenderer.NeighborData. facesMethods in net.minecraft.client.render.block with parameters of type Direction Modifier and Type Method Description voidBlockModelRenderer.AmbientOcclusionCalculator. apply(BlockRenderView world, BlockState state, BlockPos pos, Direction direction, float[] box, BitSet flags, boolean bool)static BlockModelRenderer.NeighborDataBlockModelRenderer.NeighborData. getData(Direction direction)private voidBlockModelRenderer. getQuadDimensions(BlockRenderView world, BlockState state, BlockPos pos, int[] vertexData, Direction face, @org.jetbrains.annotations.Nullable float[] box, BitSet flags)static BlockModelRenderer.TranslationBlockModelRenderer.Translation. getTranslations(Direction direction)private static booleanFluidRenderer. isSameFluid(BlockView world, BlockPos pos, Direction side, FluidState state)private static booleanFluidRenderer. isSideCovered(BlockView world, BlockPos pos, Direction direction, float maxDeviation)static booleanFluidRenderer. method_29708(BlockRenderView blockRenderView, BlockPos blockPos, FluidState fluidState, BlockState blockState, Direction direction)private static booleanFluidRenderer. method_29709(BlockView blockView, BlockPos blockPos, BlockState blockState, Direction direction)private static booleanFluidRenderer. method_29710(BlockView blockView, Direction direction, float float2, BlockPos blockPos, BlockState blockState)Constructors in net.minecraft.client.render.block with parameters of type Direction Constructor Description NeighborData(Direction[] faces, float float2, boolean nonCubicWeight, BlockModelRenderer.NeighborOrientation[] neighborOrientation, BlockModelRenderer.NeighborOrientation[] neighborOrientation2, BlockModelRenderer.NeighborOrientation[] neighborOrientation3, BlockModelRenderer.NeighborOrientation[] neighborOrientation4)NeighborOrientation(Direction direction, boolean bool) -
Uses of Direction in net.minecraft.client.render.block.entity
Methods in net.minecraft.client.render.block.entity with parameters of type Direction Modifier and Type Method Description private voidBedBlockEntityRenderer. renderPart(MatrixStack matrix, VertexConsumerProvider vertexConsumers, ModelPart modelPart, Direction direction, SpriteIdentifier sprite, int light, int overlay, boolean isFoot)private voidEndPortalBlockEntityRenderer. renderSide(T entity, Matrix4f model, VertexConsumer vertices, float x1, float x2, float y1, float y2, float z1, float z2, float z3, float z4, Direction direction)static voidSkullBlockEntityRenderer. renderSkull(@Nullable Direction direction, float yaw, float animationProgress, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, SkullBlockEntityModel model, RenderLayer renderLayer) -
Uses of Direction in net.minecraft.client.render.chunk
Fields in net.minecraft.client.render.chunk declared as Direction Modifier and Type Field Description private static Direction[]ChunkOcclusionDataBuilder. DIRECTIONSMethods in net.minecraft.client.render.chunk that return types with arguments of type Direction Modifier and Type Method Description private Set<Direction>ChunkOcclusionDataBuilder. getOpenFaces(int pos)Methods in net.minecraft.client.render.chunk with parameters of type Direction Modifier and Type Method Description floatChunkRendererRegion. getBrightness(Direction direction, boolean shaded)BlockPosChunkBuilder.BuiltChunk. getNeighborPosition(Direction direction)booleanChunkBuilder.ChunkData. isVisibleThrough(Direction direction, Direction direction2)booleanChunkOcclusionData. isVisibleThrough(Direction from, Direction to)private intChunkOcclusionDataBuilder. offset(int pos, Direction direction)voidChunkOcclusionData. setVisibleThrough(Direction from, Direction to, boolean visible)Method parameters in net.minecraft.client.render.chunk with type arguments of type Direction Modifier and Type Method Description private voidChunkOcclusionDataBuilder. addEdgeFaces(int pos, Set<Direction> openFaces)voidChunkOcclusionData. addOpenEdgeFaces(Set<Direction> faces) -
Uses of Direction in net.minecraft.client.render.entity
Methods in net.minecraft.client.render.entity with parameters of type Direction Modifier and Type Method Description private static floatLivingEntityRenderer. getYaw(Direction direction) -
Uses of Direction in net.minecraft.client.render.model
Fields in net.minecraft.client.render.model declared as Direction Modifier and Type Field Description protected DirectionBakedQuad. faceFields in net.minecraft.client.render.model with type parameters of type Direction Modifier and Type Field Description private Map<Direction,List<BakedQuad>>BasicBakedModel.Builder. faceQuadsprotected Map<Direction,List<BakedQuad>>BasicBakedModel. faceQuadsMethods in net.minecraft.client.render.model that return Direction Modifier and Type Method Description static DirectionBakedQuadFactory. decodeDirection(int[] rotationMatrix)DirectionBakedQuad. getFace()Methods in net.minecraft.client.render.model with parameters of type Direction Modifier and Type Method Description BasicBakedModel.BuilderBasicBakedModel.Builder. addQuad(Direction side, BakedQuad quad)BakedQuadBakedQuadFactory. bake(Vec3f from, Vec3f to, ModelElementFace face, Sprite texture, Direction side, ModelBakeSettings settings, @Nullable ModelRotation rotation, boolean shade, Identifier modelId)private voidBakedQuadFactory. encodeDirection(int[] rotationMatrix, Direction direction)static CubeFaceCubeFace. getFace(Direction direction)List<BakedQuad>BakedModel. getQuads(@Nullable BlockState state, @Nullable Direction face, Random random)List<BakedQuad>BasicBakedModel. getQuads(@Nullable BlockState state, @Nullable Direction face, Random random)List<BakedQuad>BuiltinBakedModel. getQuads(@Nullable BlockState state, @Nullable Direction face, Random random)List<BakedQuad>MultipartBakedModel. getQuads(@Nullable BlockState state, @Nullable Direction face, Random random)List<BakedQuad>WeightedBakedModel. getQuads(@Nullable BlockState state, @Nullable Direction face, Random random)private voidBakedQuadFactory. packVertexData(int[] vertices, int cornerIndex, Direction direction, ModelElementTexture texture, float[] positionMatrix, Sprite sprite, AffineTransformation orientation, @Nullable ModelRotation rotation, boolean shaded)private int[]BakedQuadFactory. packVertexData(ModelElementTexture texture, Sprite sprite, Direction direction, float[] positionMatrix, AffineTransformation orientation, @Nullable ModelRotation rotation, boolean shaded)static ModelElementTextureBakedQuadFactory. uvLock(ModelElementTexture texture, Direction orientation, AffineTransformation rotation, Identifier modelId)Constructors in net.minecraft.client.render.model with parameters of type Direction Constructor Description BakedQuad(int[] vertexData, int colorIndex, Direction face, Sprite sprite, boolean shade)Constructor parameters in net.minecraft.client.render.model with type arguments of type Direction Constructor Description BasicBakedModel(List<BakedQuad> quads, Map<Direction,List<BakedQuad>> faceQuads, boolean usesAo, boolean isSideLit, boolean hasDepth, Sprite sprite, ModelTransformation transformation, ModelOverrideList itemPropertyOverrides) -
Uses of Direction in net.minecraft.client.render.model.json
Fields in net.minecraft.client.render.model.json declared as Direction Modifier and Type Field Description DirectionModelElementFace. cullFaceprivate DirectionItemModelGenerator.Side. directionFields in net.minecraft.client.render.model.json with type parameters of type Direction Modifier and Type Field Description Map<Direction,ModelElementFace>ModelElement. facesMethods in net.minecraft.client.render.model.json that return Direction Modifier and Type Method Description private @Nullable DirectionModelElementFace.Deserializer. deserializeCullFace(JsonObject object)DirectionItemModelGenerator.Side. getDirection()private DirectionModelElement.Deserializer. getDirection(String name)Methods in net.minecraft.client.render.model.json that return types with arguments of type Direction Modifier and Type Method Description private Map<Direction,ModelElementFace>ModelElement.Deserializer. deserializeFaces(JsonDeserializationContext context, JsonObject object)private Map<Direction,ModelElementFace>ModelElement.Deserializer. deserializeFacesValidating(JsonDeserializationContext context, JsonObject object)Methods in net.minecraft.client.render.model.json with parameters of type Direction Modifier and Type Method Description private static BakedQuadJsonUnbakedModel. createQuad(ModelElement element, ModelElementFace elementFace, Sprite sprite, Direction side, ModelBakeSettings settings, Identifier id)private float[]ModelElement. getRotatedMatrix(Direction direction)Constructors in net.minecraft.client.render.model.json with parameters of type Direction Constructor Description ModelElementFace(@Nullable Direction cullFace, int tintIndex, String textureId, ModelElementTexture textureData)Side(Direction direction, int offsetX, int offsetY)Constructor parameters in net.minecraft.client.render.model.json with type arguments of type Direction Constructor Description ModelElement(Vec3f from, Vec3f to, Map<Direction,ModelElementFace> faces, @Nullable ModelRotation rotation, boolean shade) -
Uses of Direction in net.minecraft.client.util
Methods in net.minecraft.client.util with parameters of type Direction Modifier and Type Method Description static voidParticleUtil. spawnParticle(World world, BlockPos pos, Direction direction, ParticleEffect effect) -
Uses of Direction in net.minecraft.client.world
Methods in net.minecraft.client.world with parameters of type Direction Modifier and Type Method Description floatClientWorld. getBrightness(Direction direction, boolean shaded) -
Uses of Direction in net.minecraft.data.client.model
Methods in net.minecraft.data.client.model that return types with arguments of type Direction Modifier and Type Method Description private static BlockStateVariantMap.QuadrupleProperty<Direction,DoubleBlockHalf,DoorHinge,Boolean>BlockStateModelGenerator. fillDoorVariantMap(BlockStateVariantMap.QuadrupleProperty<Direction,DoubleBlockHalf,DoorHinge,Boolean> variantMap, DoubleBlockHalf targetHalf, Identifier regularModel, Identifier hingeModel)Methods in net.minecraft.data.client.model with parameters of type Direction Modifier and Type Method Description private BlockStateVariantBlockStateModelGenerator. getDripstoneVariant(Direction direction, Thickness thickness)Method parameters in net.minecraft.data.client.model with type arguments of type Direction Modifier and Type Method Description private static BlockStateVariantMap.QuadrupleProperty<Direction,DoubleBlockHalf,DoorHinge,Boolean>BlockStateModelGenerator. fillDoorVariantMap(BlockStateVariantMap.QuadrupleProperty<Direction,DoubleBlockHalf,DoorHinge,Boolean> variantMap, DoubleBlockHalf targetHalf, Identifier regularModel, Identifier hingeModel) -
Uses of Direction in net.minecraft.entity
Methods in net.minecraft.entity that return Direction Modifier and Type Method Description DirectionEntity. getHorizontalFacing()DirectionEntity. getMovementDirection()@Nullable DirectionLivingEntity. getSleepingDirection()Methods in net.minecraft.entity with parameters of type Direction Modifier and Type Method Description static int[][]Dismounting. getDismountOffsets(Direction movementDirection) -
Uses of Direction in net.minecraft.entity.ai.pathing
Methods in net.minecraft.entity.ai.pathing with parameters of type Direction Modifier and Type Method Description private @Nullable PathNodeLandPathNodeMaker. getPathNode(int x, int y, int z, int maxYStep, double prevFeetY, Direction direction, PathNodeType pathNodeType) -
Uses of Direction in net.minecraft.entity.data
Fields in net.minecraft.entity.data with type parameters of type Direction Modifier and Type Field Description static TrackedDataHandler<Direction>TrackedDataHandlerRegistry. FACING -
Uses of Direction in net.minecraft.entity.decoration
Fields in net.minecraft.entity.decoration declared as Direction Modifier and Type Field Description protected DirectionAbstractDecorationEntity. facingMethods in net.minecraft.entity.decoration that return Direction Modifier and Type Method Description DirectionAbstractDecorationEntity. getHorizontalFacing()Methods in net.minecraft.entity.decoration with parameters of type Direction Modifier and Type Method Description protected voidAbstractDecorationEntity. setFacing(Direction facing)protected voidItemFrameEntity. setFacing(Direction facing)voidLeashKnotEntity. setFacing(Direction facing)Constructors in net.minecraft.entity.decoration with parameters of type Direction Constructor Description GlowItemFrameEntity(World world, BlockPos pos, Direction facing)ItemFrameEntity(EntityType<? extends ItemFrameEntity> type, World world, BlockPos pos, Direction facing)ItemFrameEntity(World world, BlockPos pos, Direction facing) -
Uses of Direction in net.minecraft.entity.decoration.painting
Constructors in net.minecraft.entity.decoration.painting with parameters of type Direction Constructor Description PaintingEntity(World world, BlockPos pos, Direction direction)PaintingEntity(World world, BlockPos pos, Direction direction, PaintingMotive motive) -
Uses of Direction in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as Direction Modifier and Type Field Description private DirectionSilverfishEntity.WanderAndInfestGoal. directionFields in net.minecraft.entity.mob with type parameters of type Direction Modifier and Type Field Description protected static TrackedData<Direction>ShulkerEntity. ATTACHED_FACEMethods in net.minecraft.entity.mob that return Direction Modifier and Type Method Description protected @Nullable DirectionShulkerEntity. findAttachSide(BlockPos pos)DirectionShulkerEntity. getAttachedFace()Methods in net.minecraft.entity.mob with parameters of type Direction Modifier and Type Method Description private booleanShulkerEntity. canStay(BlockPos pos, Direction direction)static BoxShulkerEntity. method_33346(Direction direction, float float2)static BoxShulkerEntity. method_33347(Direction direction, float float2, float float3)private voidShulkerEntity. setAttachedFace(Direction face) -
Uses of Direction in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type Direction Modifier and Type Method Description booleanPlayerEntity. canPlaceOn(BlockPos pos, Direction facing, ItemStack stack) -
Uses of Direction in net.minecraft.entity.projectile
Fields in net.minecraft.entity.projectile declared as Direction Modifier and Type Field Description private @Nullable DirectionShulkerBulletEntity. directionMethods in net.minecraft.entity.projectile that return Direction Modifier and Type Method Description private @Nullable DirectionShulkerBulletEntity. getDirection()Methods in net.minecraft.entity.projectile with parameters of type Direction Modifier and Type Method Description private voidShulkerBulletEntity. setDirection(@Nullable Direction direction) -
Uses of Direction in net.minecraft.entity.projectile.thrown
Methods in net.minecraft.entity.projectile.thrown with parameters of type Direction Modifier and Type Method Description private voidPotionEntity. extinguishFire(BlockPos pos, Direction direction) -
Uses of Direction in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle that return Direction Modifier and Type Method Description DirectionAbstractMinecartEntity. getMovementDirection()DirectionBoatEntity. getMovementDirection() -
Uses of Direction in net.minecraft.fluid
Methods in net.minecraft.fluid that return types with arguments of type Direction Modifier and Type Method Description protected Map<Direction,FluidState>FlowableFluid. getSpread(WorldView world, BlockPos pos, BlockState state)Methods in net.minecraft.fluid with parameters of type Direction Modifier and Type Method Description booleanEmptyFluid. canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction)protected abstract booleanFluid. canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction)booleanFluidState. canBeReplacedWith(BlockView world, BlockPos pos, Fluid fluid, Direction direction)booleanLavaFluid. canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction)booleanWaterFluid. canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction)protected booleanFlowableFluid. canFlow(BlockView world, BlockPos fluidPos, BlockState fluidBlockState, Direction flowDirection, BlockPos flowTo, BlockState flowToBlockState, FluidState fluidState, Fluid fluid)private booleanFlowableFluid. canFlowThrough(BlockView world, Fluid fluid, BlockPos pos, BlockState state, Direction face, BlockPos fromPos, BlockState fromState, FluidState fluidState)protected voidFlowableFluid. flow(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState)protected voidLavaFluid. flow(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState)protected intFlowableFluid. method_15742(WorldView world, BlockPos blockPos, int int2, Direction direction, BlockState blockState, BlockPos blockPos2, Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState,FluidState>> short2ObjectMap, Short2BooleanMap short2BooleanMap)protected booleanFlowableFluid. method_15749(BlockView world, BlockPos pos, Direction direction)private booleanFlowableFluid. receivesFlow(Direction face, BlockView world, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState) -
Uses of Direction in net.minecraft.inventory
Methods in net.minecraft.inventory with parameters of type Direction Modifier and Type Method Description booleanSidedInventory. canExtract(int slot, ItemStack stack, Direction dir)Determines whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanSidedInventory. canInsert(int slot, ItemStack stack, @Nullable Direction dir)Determines whether the given stack can be inserted into this inventory at the specified slot position from the given direction.int[]SidedInventory. getAvailableSlots(Direction side)Gets the available slot positions that are reachable from a given side. -
Uses of Direction in net.minecraft.item
Fields in net.minecraft.item declared as Direction Modifier and Type Field Description private DirectionAutomaticItemPlacementContext. facingMethods in net.minecraft.item that return Direction Modifier and Type Method Description Direction[]AutomaticItemPlacementContext. getPlacementDirections()Direction[]ItemPlacementContext. getPlacementDirections()DirectionAutomaticItemPlacementContext. getPlayerFacing()DirectionItemUsageContext. getPlayerFacing()DirectionAutomaticItemPlacementContext. getPlayerLookDirection()DirectionItemPlacementContext. getPlayerLookDirection()DirectionItemUsageContext. getSide()DirectionItemPlacementContext. getVerticalPlayerLookDirection()Methods in net.minecraft.item with parameters of type Direction Modifier and Type Method Description protected booleanDecorationItem. canPlaceOn(PlayerEntity player, Direction side, ItemStack stack, BlockPos pos)protected booleanItemFrameItem. canPlaceOn(PlayerEntity player, Direction side, ItemStack stack, BlockPos pos)static ItemPlacementContextItemPlacementContext. offset(ItemPlacementContext context, BlockPos pos, Direction side)static booleanBoneMealItem. useOnGround(ItemStack stack, World world, BlockPos blockPos, @Nullable Direction facing)Constructors in net.minecraft.item with parameters of type Direction Constructor Description AutomaticItemPlacementContext(World world, BlockPos pos, Direction facing, ItemStack stack, Direction side) -
Uses of Direction in net.minecraft.network.packet.c2s.play
Fields in net.minecraft.network.packet.c2s.play declared as Direction Modifier and Type Field Description private DirectionPlayerActionC2SPacket. directionMethods in net.minecraft.network.packet.c2s.play that return Direction Modifier and Type Method Description DirectionPlayerActionC2SPacket. getDirection()Constructors in net.minecraft.network.packet.c2s.play with parameters of type Direction Constructor Description PlayerActionC2SPacket(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction) -
Uses of Direction in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as Direction Modifier and Type Field Description private DirectionPaintingSpawnS2CPacket. facingMethods in net.minecraft.network.packet.s2c.play that return Direction Modifier and Type Method Description DirectionPaintingSpawnS2CPacket. getFacing() -
Uses of Direction in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type Direction Modifier and Type Method Description private booleanServerPlayerEntity. isBedObstructed(BlockPos pos, Direction direction)private booleanServerPlayerEntity. isBedTooFarAway(BlockPos pos, Direction direction)voidDemoServerPlayerInteractionManager. processBlockBreakingAction(BlockPos pos, PlayerActionC2SPacket.Action action, Direction direction, int worldHeight)voidServerPlayerInteractionManager. processBlockBreakingAction(BlockPos pos, PlayerActionC2SPacket.Action action, Direction direction, int worldHeight) -
Uses of Direction in net.minecraft.server.world
Methods in net.minecraft.server.world with parameters of type Direction Modifier and Type Method Description floatServerWorld. getBrightness(Direction direction, boolean shaded) -
Uses of Direction in net.minecraft.state.property
Methods in net.minecraft.state.property with parameters of type Direction Modifier and Type Method Description static DirectionPropertyDirectionProperty. of(String name, Direction[] values)Creates a direction property which only supports specific valuesMethod parameters in net.minecraft.state.property with type arguments of type Direction Modifier and Type Method Description static DirectionPropertyDirectionProperty. of(String name, Collection<Direction> values)Creates a direction property which only supports specific valuesstatic DirectionPropertyDirectionProperty. of(String name, Predicate<Direction> filter)Creates a direction property.Constructor parameters in net.minecraft.state.property with type arguments of type Direction Constructor Description DirectionProperty(String name, Collection<Direction> values) -
Uses of Direction in net.minecraft.structure
Fields in net.minecraft.structure declared as Direction Modifier and Type Field Description private DirectionMineshaftGenerator.MineshaftCrossing. directionprivate @Nullable DirectionStructurePiece. facingMethods in net.minecraft.structure that return Direction Modifier and Type Method Description @Nullable DirectionStructurePiece. getFacing()@Nullable DirectionWoodlandMansionGenerator.MansionParameters. method_15040(WoodlandMansionGenerator.FlagMatrix flagMatrix, int int2, int int3, int int4, int int5)protected static DirectionStructurePiece. method_35457(Random random)Methods in net.minecraft.structure with parameters of type Direction Modifier and Type Method Description private voidWoodlandMansionGenerator.LayoutGenerator. addBigRoom(List<WoodlandMansionGenerator.Piece> list, BlockPos blockPos, BlockRotation blockRotation, Direction direction, Direction direction2, WoodlandMansionGenerator.RoomPool roomPool)protected booleanStructurePiece. addDispenser(StructureWorldAccess world, BlockBox boundingBox, Random random, int x, int int2, int int3, Direction facing, Identifier lootTableId)private voidWoodlandMansionGenerator.LayoutGenerator. addMediumRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction direction, Direction direction2, WoodlandMansionGenerator.RoomPool roomPool, boolean staircase)private voidWoodlandMansionGenerator.LayoutGenerator. addRoof(List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.GenerationPiece generationPiece, WoodlandMansionGenerator.FlagMatrix flagMatrix, Direction direction, int int2, int int3, int int4, int int5)private voidWoodlandMansionGenerator.LayoutGenerator. addSmallRoom(List<WoodlandMansionGenerator.Piece> list, BlockPos blockPos, BlockRotation blockRotation, Direction direction, WoodlandMansionGenerator.RoomPool roomPool)static NetherFortressGenerator.BridgeNetherFortressGenerator.Bridge. create(class_6130 class_6130, Random random, int x, int y, int z, Direction orientation, int chainLength)static NetherFortressGenerator.BridgeCrossingNetherFortressGenerator.BridgeCrossing. create(class_6130 class_6130, int x, int y, int z, Direction orientation, int chainLength)static NetherFortressGenerator.BridgeEndNetherFortressGenerator.BridgeEnd. create(class_6130 class_6130, Random random, int x, int y, int z, Direction orientation, int chainLength)static NetherFortressGenerator.BridgePlatformNetherFortressGenerator.BridgePlatform. create(class_6130 class_6130, int x, int y, int z, int chainLength, Direction orientation)static NetherFortressGenerator.BridgeSmallCrossingNetherFortressGenerator.BridgeSmallCrossing. create(class_6130 class_6130, int x, int y, int z, Direction orientation, int chainLength)static NetherFortressGenerator.BridgeStairsNetherFortressGenerator.BridgeStairs. create(class_6130 class_6130, int x, int y, int z, int chainlength, Direction orientation)static NetherFortressGenerator.CorridorBalconyNetherFortressGenerator.CorridorBalcony. create(class_6130 class_6130, int x, int y, int z, Direction orientation, int chainLength)static NetherFortressGenerator.CorridorCrossingNetherFortressGenerator.CorridorCrossing. create(class_6130 class_6130, int x, int y, int z, Direction orientation, int chainLength)static NetherFortressGenerator.CorridorExitNetherFortressGenerator.CorridorExit. create(class_6130 class_6130, Random random, int x, int y, int z, Direction orientation, int chainLength)static NetherFortressGenerator.CorridorLeftTurnNetherFortressGenerator.CorridorLeftTurn. create(class_6130 class_6130, Random random, int x, int y, int z, Direction orientation, int chainLength)static NetherFortressGenerator.CorridorNetherWartsRoomNetherFortressGenerator.CorridorNetherWartsRoom. create(class_6130 class_6130, int x, int y, int z, Direction orientation, int chainlength)static NetherFortressGenerator.CorridorRightTurnNetherFortressGenerator.CorridorRightTurn. create(class_6130 class_6130, Random random, int x, int y, int z, Direction orientation, int chainLength)static NetherFortressGenerator.CorridorStairsNetherFortressGenerator.CorridorStairs. create(class_6130 class_6130, int x, int y, int z, Direction orientation, int chainLength)static NetherFortressGenerator.SmallCorridorNetherFortressGenerator.SmallCorridor. create(class_6130 class_6130, int x, int y, int z, Direction orientation, int chainLength)static StrongholdGenerator.ChestCorridorStrongholdGenerator.ChestCorridor. create(class_6130 class_6130, Random random, int x, int y, int z, Direction orientation, int chainlength)static StrongholdGenerator.CorridorStrongholdGenerator.Corridor. create(class_6130 class_6130, Random random, int x, int y, int z, Direction orientation, int chainLength)static StrongholdGenerator.FiveWayCrossingStrongholdGenerator.FiveWayCrossing. create(class_6130 class_6130, Random random, int x, int y, int z, Direction orientation, int chainLength)static StrongholdGenerator.LeftTurnStrongholdGenerator.LeftTurn. create(class_6130 class_6130, Random random, int x, int y, int z, Direction orientation, int chainLength)static StrongholdGenerator.LibraryStrongholdGenerator.Library. create(class_6130 class_6130, Random random, int x, int y, int z, Direction orientation, int chainLength)static StrongholdGenerator.PortalRoomStrongholdGenerator.PortalRoom. create(class_6130 class_6130, int x, int y, int z, Direction orientation, int chainLength)static StrongholdGenerator.PrisonHallStrongholdGenerator.PrisonHall. create(class_6130 class_6130, Random random, int x, int y, int z, Direction orientation, int chainLength)static StrongholdGenerator.RightTurnStrongholdGenerator.RightTurn. create(class_6130 class_6130, Random random, int x, int y, int z, Direction orientation, int chainLength)static BlockBoxStrongholdGenerator.SmallCorridor. create(class_6130 class_6130, Random random, int x, int y, int z, Direction orientation)static StrongholdGenerator.SpiralStaircaseStrongholdGenerator.SpiralStaircase. create(class_6130 class_6130, Random random, int x, int y, int z, Direction orientation, int chainLength)static StrongholdGenerator.SquareRoomStrongholdGenerator.SquareRoom. create(class_6130 class_6130, Random random, int x, int y, int z, Direction orientation, int chainLength)static StrongholdGenerator.StairsStrongholdGenerator.Stairs. create(class_6130 class_6130, Random random, int x, int y, int z, Direction orientation, int chainLength)private static NetherFortressGenerator.PieceNetherFortressGenerator. createPiece(NetherFortressGenerator.PieceData pieceData, class_6130 class_6130, Random random, int x, int y, int z, Direction orientation, int chainLength)private static StrongholdGenerator.PieceStrongholdGenerator. createPiece(Class<? extends StrongholdGenerator.Piece> pieceType, class_6130 class_6130, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength)OceanMonumentGenerator.PieceOceanMonumentGenerator.DoubleXRoomFactory. generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random)OceanMonumentGenerator.PieceOceanMonumentGenerator.DoubleXYRoomFactory. generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random)OceanMonumentGenerator.PieceOceanMonumentGenerator.DoubleYRoomFactory. generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random)OceanMonumentGenerator.PieceOceanMonumentGenerator.DoubleYZRoomFactory. generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random)OceanMonumentGenerator.PieceOceanMonumentGenerator.DoubleZRoomFactory. generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random)OceanMonumentGenerator.PieceOceanMonumentGenerator.PieceFactory. generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random)OceanMonumentGenerator.PieceOceanMonumentGenerator.SimpleRoomFactory. generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random)OceanMonumentGenerator.PieceOceanMonumentGenerator.SimpleRoomTopFactory. generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random)static @Nullable BlockBoxMineshaftGenerator.MineshaftCorridor. getBoundingBox(class_6130 class_6130, Random random, int x, int y, int z, Direction orientation)static @Nullable BlockBoxMineshaftGenerator.MineshaftCrossing. getBoundingBox(class_6130 class_6130, Random random, int x, int y, int z, Direction orientation)static @Nullable BlockBoxMineshaftGenerator.MineshaftStairs. getBoundingBox(class_6130 class_6130, Random random, int x, int y, int z, Direction orientation)private voidWoodlandMansionGenerator.MansionParameters. method_15045(WoodlandMansionGenerator.FlagMatrix flagMatrix, int int2, int int3, Direction direction, int int4)private static BlockBoxOceanMonumentGenerator.Piece. method_35445(Direction direction, OceanMonumentGenerator.PieceSetting pieceSetting, int int2, int int3, int int4)protected static BlockBoxStructurePiece. method_35454(int int2, int int3, int int4, Direction direction, int int5, int int6, int int7)private static MineshaftGenerator.MineshaftPartMineshaftGenerator. pickPiece(class_6130 class_6130, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength, MineshaftFeature.Type type)private NetherFortressGenerator.PieceNetherFortressGenerator.Piece. pickPiece(NetherFortressGenerator.Start start, List<NetherFortressGenerator.PieceData> possiblePieces, class_6130 class_6130, Random random, int x, int y, int z, Direction orientation, int chainLength)private static StrongholdGenerator.PieceStrongholdGenerator. pickPiece(StrongholdGenerator.Start start, class_6130 class_6130, Random random, int x, int y, int z, Direction orientation, int chainLength)private static MineshaftGenerator.MineshaftPartMineshaftGenerator. pieceGenerator(StructurePiece start, class_6130 class_6130, Random random, int x, int y, int z, Direction orientation, int chainLength)private StructurePieceNetherFortressGenerator.Piece. pieceGenerator(NetherFortressGenerator.Start start, class_6130 class_6130, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength, boolean inside)private static StructurePieceStrongholdGenerator. pieceGenerator(StrongholdGenerator.Start start, class_6130 class_6130, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength)voidOceanMonumentGenerator.PieceSetting. setNeighbor(Direction orientation, OceanMonumentGenerator.PieceSetting setting)voidStructurePiece. setOrientation(@Nullable Direction orientation)Constructors in net.minecraft.structure with parameters of type Direction Constructor Description Base(Random random, int int2, int int3, Direction orientation)Bridge(int chainLength, Random random, BlockBox boundingBox, Direction orientation)BridgeCrossing(int int2, int int3, Direction direction)BridgeCrossing(int chainLength, BlockBox boundingBox, Direction orientation)BridgeEnd(int chainLength, Random random, BlockBox boundingBox, Direction orientation)BridgePlatform(int chainLength, BlockBox boundingBox, Direction orientation)BridgeSmallCrossing(int chainLength, BlockBox boundingBox, Direction orientation)BridgeStairs(int chainLength, BlockBox boundingBox, Direction orientation)ChestCorridor(int chainLength, Random random, BlockBox boundingBox, Direction orientation)CoreRoom(Direction orientation, OceanMonumentGenerator.PieceSetting setting)Corridor(int chainLength, Random random, BlockBox boundingBox, Direction orientation)CorridorBalcony(int chainLength, BlockBox boundingBox, Direction orientation)CorridorCrossing(int chainLength, BlockBox boundingBox, Direction orientation)CorridorExit(int chainLength, Random random, BlockBox boundingBox, Direction orientation)CorridorLeftTurn(int chainLength, Random random, BlockBox boundingBox, Direction orientation)CorridorNetherWartsRoom(int chainLength, BlockBox boundingBox, Direction orientation)CorridorRightTurn(int chainLength, Random random, BlockBox boundingBox, Direction orientation)CorridorStairs(int chainLength, BlockBox boundingBox, Direction orientation)DoubleXRoom(Direction orientation, OceanMonumentGenerator.PieceSetting setting)DoubleXYRoom(Direction orientation, OceanMonumentGenerator.PieceSetting setting)DoubleYRoom(Direction direction, OceanMonumentGenerator.PieceSetting pieceSetting)DoubleYZRoom(Direction orientation, OceanMonumentGenerator.PieceSetting setting)DoubleZRoom(Direction orientation, OceanMonumentGenerator.PieceSetting setting)Entry(Direction orientation, OceanMonumentGenerator.PieceSetting setting)FiveWayCrossing(int chainLength, Random random, BlockBox boundingBox, Direction orientation)LeftTurn(int chainLength, Random random, BlockBox boundingBox, Direction orientation)Library(int chainLength, Random random, BlockBox boundingBox, Direction orientation)MineshaftCorridor(int chainLength, Random random, BlockBox boundingBox, Direction orientation, MineshaftFeature.Type type)MineshaftCrossing(int chainLength, BlockBox boundingBox, @Nullable Direction orientation, MineshaftFeature.Type type)MineshaftStairs(int chainLength, BlockBox boundingBox, Direction orientation, MineshaftFeature.Type type)Penthouse(Direction orientation, BlockBox box)Piece(StructurePieceType type, int length, Direction orientation, OceanMonumentGenerator.PieceSetting setting, int int2, int int3, int int4)Piece(StructurePieceType type, Direction orientation, int int2, BlockBox blockBox)PortalRoom(int chainLength, BlockBox boundingBox, Direction orientation)PrisonHall(int chainLength, Random random, BlockBox boundingBox, Direction orientation)RightTurn(int chainLength, Random random, BlockBox boundingBox, Direction orientation)SimpleRoom(Direction orientation, OceanMonumentGenerator.PieceSetting setting, Random random)SimpleRoomTop(Direction direction, OceanMonumentGenerator.PieceSetting setting)SmallCorridor(int chainLength, BlockBox boundingBox, Direction orientation)SmallCorridor(int chainLength, BlockBox boundingBox, Direction orientation)SpiralStaircase(int chainLength, Random random, BlockBox boundingBox, Direction orientation)SpiralStaircase(StructurePieceType structurePieceType, int chainLength, int int2, int x, Direction direction)SquareRoom(int chainLength, Random random, BlockBox boundingBox, Direction orientation)Stairs(int chainLength, Random random, BlockBox boundingBox, Direction orientation)StructurePieceWithDimensions(StructurePieceType type, int int2, int x, int y, int z, int width, int height, Direction direction)WingRoom(Direction orientation, BlockBox box, int int2) -
Uses of Direction in net.minecraft.util
Fields in net.minecraft.util with type parameters of type Direction Modifier and Type Field Description private Set<Direction>EightWayDirection. directionsMethods in net.minecraft.util that return Direction Modifier and Type Method Description DirectionBlockMirror. apply(Direction direction)DirectionBlockRotation. rotate(Direction direction)Methods in net.minecraft.util that return types with arguments of type Direction Modifier and Type Method Description Set<Direction>EightWayDirection. getDirections()Methods in net.minecraft.util with parameters of type Direction Modifier and Type Method Description DirectionBlockMirror. apply(Direction direction)BlockRotationBlockMirror. getRotation(Direction direction)DirectionBlockRotation. rotate(Direction direction)Constructors in net.minecraft.util with parameters of type Direction Constructor Description EightWayDirection(Direction[] directions) -
Uses of Direction in net.minecraft.util.hit
Fields in net.minecraft.util.hit declared as Direction Modifier and Type Field Description private DirectionBlockHitResult. sideMethods in net.minecraft.util.hit that return Direction Modifier and Type Method Description DirectionBlockHitResult. getSide()Methods in net.minecraft.util.hit with parameters of type Direction Modifier and Type Method Description static BlockHitResultBlockHitResult. createMissed(Vec3d pos, Direction side, BlockPos blockPos)BlockHitResultBlockHitResult. withSide(Direction side)Constructors in net.minecraft.util.hit with parameters of type Direction Constructor Description BlockHitResult(boolean missed, Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock)BlockHitResult(Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock) -
Uses of Direction in net.minecraft.util.math
Fields in net.minecraft.util.math declared as Direction Modifier and Type Field Description private static Direction[]Direction. ALLprivate DirectionVerticalSurfaceType. directionprivate Direction[]Direction.Type. facingArrayprivate static Direction[]Direction. HORIZONTALprivate static Direction[]Direction. VALUESFields in net.minecraft.util.math with type parameters of type Direction Modifier and Type Field Description static com.mojang.serialization.Codec<Direction>Direction. CODECstatic Map<Direction,AffineTransformation>AffineTransformations. DIRECTION_ROTATIONSstatic Map<Direction,AffineTransformation>AffineTransformations. INVERTED_DIRECTION_ROTATIONSprivate @Nullable Map<Direction,Direction>DirectionTransformation. mappingsprivate @Nullable Map<Direction,Direction>DirectionTransformation. mappingsprivate static Map<String,Direction>Direction. NAME_MAPprivate static Long2ObjectMap<Direction>Direction. VECTOR_TO_DIRECTIONMethods in net.minecraft.util.math that return Direction Modifier and Type Method Description static DirectionDirection. byId(int id)static @Nullable DirectionDirection. byName(@Nullable String name)static DirectionDirection. from(Direction.Axis axis, Direction.AxisDirection direction)static DirectionDirection. fromHorizontal(int value)static DirectionDirection. fromRotation(double rotation)static @Nullable DirectionDirection. fromVector(int x, int y, int z)static DirectionDirection. get(Direction.AxisDirection direction, Direction.Axis axis)DirectionVerticalSurfaceType. getDirection()static Direction[]Direction. getEntityFacingOrder(Entity entity)static DirectionDirection. getFacing(double x, double y, double z)static DirectionDirection. getFacing(float x, float y, float z)static DirectionDirection. getLookDirectionForAxis(Entity entity, Direction.Axis axis)DirectionDirection. getOpposite()private static Direction[]Direction. listClosest(Direction first, Direction second, Direction third)Helper function that returns the 3 directions given, followed by the 3 opposite given in opposite order.DirectionDirectionTransformation. map(Direction direction)static @Nullable DirectionDirection. method_35832(BlockPos blockPos)DirectionDirection. method_35833(Direction.Axis axis)DirectionDirection. method_35834(Direction.Axis axis)private DirectionDirection. method_35835()private DirectionDirection. method_35836()private DirectionDirection. method_35837()private DirectionDirection. method_35838()static DirectionDirection. random(Random random)DirectionDirection.Type. random(Random random)DirectionDirection. rotateYClockwise()DirectionDirection. rotateYCounterclockwise()private static @Nullable DirectionBox. traceCollisionSide(double[] traceDistanceResult, @Nullable Direction approachDirection, double xDelta, double yDelta, double zDelta, double begin, double minX, double maxX, double minZ, double maxZ, Direction resultDirection, double startX, double startY, double startZ)private static @Nullable DirectionBox. traceCollisionSide(Box box, Vec3d intersectingVector, double[] traceDistanceResult, @Nullable Direction approachDirection, double xDelta, double yDelta, double zDelta)static DirectionDirection. transform(Matrix4f matrix, Direction direction)static DirectionDirection. valueOf(String name)Returns the enum constant of this type with the specified name.static Direction[]Direction. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.minecraft.util.math that return types with arguments of type Direction Modifier and Type Method Description Iterator<Direction>Direction.Type. iterator()Stream<Direction>Direction.Type. stream()Methods in net.minecraft.util.math with parameters of type Direction Modifier and Type Method Description static Iterable<BlockPos.Mutable>BlockPos. iterateInSquare(BlockPos center, int radius, Direction firstDirection, Direction secondDirection)Iterates block positions around thecenterin a square of (2 * radius + 1) by (2 * radius + 1).private static Direction[]Direction. listClosest(Direction first, Direction second, Direction third)Helper function that returns the 3 directions given, followed by the 3 opposite given in opposite order.DirectionDirectionTransformation. map(Direction direction)BlockPos.MutableBlockPos.Mutable. move(Direction direction)Moves this mutable block position by 1 block in the given direction.BlockPos.MutableBlockPos.Mutable. move(Direction direction, int distance)Moves this mutable block position by the given distance in the given direction.BlockPosBlockPos.Mutable. offset(Direction direction, int int2)static longBlockPos. offset(long value, Direction direction)BlockPosBlockPos. offset(Direction direction)BlockPosBlockPos. offset(Direction direction, int int2)static longChunkSectionPos. offset(long packed, Direction direction)Offsets a packed chunk section position in the given direction.Vec3iVec3i. offset(Direction direction)Vec3iVec3i. offset(Direction direction, int distance)static BlockBoxBlockBox. rotated(int x, int y, int z, int offsetX, int offsetY, int offsetZ, int sizeX, int sizeY, int sizeZ, Direction facing)BlockPos.MutableBlockPos.Mutable. set(Vec3i pos, Direction direction)Sets this mutable block position to the offset position of the given pos by the given direction.static BoxBoxes. stretch(Box box, Direction direction, double length)booleanDirection.Axis. test(@Nullable Direction direction)booleanDirection.Type. test(@Nullable Direction direction)private static @Nullable DirectionBox. traceCollisionSide(double[] traceDistanceResult, @Nullable Direction approachDirection, double xDelta, double yDelta, double zDelta, double begin, double minX, double maxX, double minZ, double maxZ, Direction resultDirection, double startX, double startY, double startZ)private static @Nullable DirectionBox. traceCollisionSide(Box box, Vec3d intersectingVector, double[] traceDistanceResult, @Nullable Direction approachDirection, double xDelta, double yDelta, double zDelta)static DirectionDirection. transform(Matrix4f matrix, Direction direction)static AffineTransformationAffineTransformations. uvLock(AffineTransformation affineTransformation, Direction direction, Supplier<String> supplier)Constructors in net.minecraft.util.math with parameters of type Direction Constructor Description Type(Direction[] facingArray, Direction.Axis[] axisArray)VerticalSurfaceType(Direction direction, int offset, String name) -
Uses of Direction in net.minecraft.util.shape
Methods in net.minecraft.util.shape with parameters of type Direction Modifier and Type Method Description static booleanVoxelShapes. adjacentSidesCoverSquare(VoxelShape one, VoxelShape two, Direction direction)voidVoxelSet.PositionConsumer. consume(Direction direction, int x, int y, int z)static VoxelShapeVoxelShapes. extrudeFace(VoxelShape shape, Direction direction)VoxelShapeVoxelShape. getFace(Direction facing)private VoxelShapeVoxelShape. getUncachedFace(Direction direction)static booleanVoxelShapes. isSideCovered(VoxelShape shape, VoxelShape neighbor, Direction direction) -
Uses of Direction in net.minecraft.world
Fields in net.minecraft.world declared as Direction Modifier and Type Field Description private static Direction[]World. DIRECTIONSMethods in net.minecraft.world with parameters of type Direction Modifier and Type Method Description floatBlockRenderView. getBrightness(Direction direction, boolean shaded)floatChunkRegion. getBrightness(Direction direction, boolean shaded)intWorld. getEmittedRedstonePower(BlockPos pos, Direction direction)default intWorldView. getStrongRedstonePower(BlockPos pos, Direction direction)booleanWorld. isDirectionSolid(BlockPos pos, Entity entity, Direction direction)booleanWorld. isEmittingRedstonePower(BlockPos pos, Direction direction)private booleanPortalForcer. isValidPortalPos(BlockPos pos, BlockPos.Mutable temp, Direction portalDirection, int distanceOrthogonalToPortal)static Optional<BlockPos>PortalUtil. method_34851(BlockView blockView, BlockPos blockPos, Block block, Direction direction, Block block2)private static intPortalUtil. moveWhile(Predicate<BlockPos> predicate, BlockPos.Mutable mutable, Direction direction, int max)voidWorld. updateNeighborsExcept(BlockPos pos, Block sourceBlock, Direction direction) -
Uses of Direction in net.minecraft.world.chunk
Fields in net.minecraft.world.chunk declared as Direction Modifier and Type Field Description static Direction[]UpgradeData.BuiltinLogic. DIRECTIONSMethods in net.minecraft.world.chunk with parameters of type Direction Modifier and Type Method Description private static BlockStateUpgradeData. applyAdjacentBlock(BlockState oldState, Direction dir, WorldAccess world, BlockPos currentPos, BlockPos otherPos)BlockStateUpgradeData.Logic. getUpdatedState(BlockState blockState, Direction direction, BlockState blockState2, WorldAccess world, BlockPos blockPos, BlockPos blockPos2) -
Uses of Direction in net.minecraft.world.chunk.light
Fields in net.minecraft.world.chunk.light declared as Direction Modifier and Type Field Description private static Direction[]ChunkBlockLightProvider. DIRECTIONSprivate static Direction[]ChunkLightProvider. DIRECTIONSprivate static Direction[]ChunkSkyLightProvider. DIRECTIONSprivate static Direction[]LightStorage. DIRECTIONSprivate static Direction[]ChunkSkyLightProvider. HORIZONTAL_DIRECTIONSprivate static Direction[]SkyLightStorage. LIGHT_REDUCTION_DIRECTIONSMethods in net.minecraft.world.chunk.light with parameters of type Direction Modifier and Type Method Description protected VoxelShapeChunkLightProvider. getOpaqueShape(BlockState world, long pos, Direction facing)static intChunkLightProvider. getRealisticOpacity(BlockView world, BlockState state1, BlockPos pos1, BlockState state2, BlockPos pos2, Direction direction, int opacity2) -
Uses of Direction in net.minecraft.world.dimension
Fields in net.minecraft.world.dimension declared as Direction Modifier and Type Field Description private DirectionAreaHelper. negativeDirMethods in net.minecraft.world.dimension with parameters of type Direction Modifier and Type Method Description private intAreaHelper. getWidth(BlockPos pos, Direction direction) -
Uses of Direction in net.minecraft.world.gen.feature
Fields in net.minecraft.world.gen.feature declared as Direction Modifier and Type Field Description DirectionGrowingPlantFeatureConfig. directionprivate static Direction[]DeltaFeature. DIRECTIONSprivate static Direction[]GeodeFeature. DIRECTIONSprivate static Direction[]WeepingVinesFeature. DIRECTIONSFields in net.minecraft.world.gen.feature with type parameters of type Direction Modifier and Type Field Description List<Direction>GlowLichenFeatureConfig. directionsMethods in net.minecraft.world.gen.feature that return types with arguments of type Direction Modifier and Type Method Description static List<Direction>GlowLichenFeature. shuffleDirections(GlowLichenFeatureConfig config, Random random)static List<Direction>GlowLichenFeature. shuffleDirections(GlowLichenFeatureConfig config, Random random, Direction excluded)Methods in net.minecraft.world.gen.feature with parameters of type Direction Modifier and Type Method Description private static ConfiguredFeature<GrowingPlantFeatureConfig,?>ConfiguredFeatures. createBigDripleafFeature(Direction blockDirection)private static booleanSmallDripstoneFeature. generateDripstone(StructureWorldAccess world, Random random, BlockPos pos, Direction direction, SmallDripstoneFeatureConfig config)private static booleanWaterloggedVegetationPatchFeature. isSolidBlockSide(StructureWorldAccess world, BlockPos pos, BlockPos.Mutable mutablePos, Direction direction)private voidDripstoneClusterFeature. placeDripstoneBlocks(StructureWorldAccess world, BlockPos pos, int height, Direction direction)static List<Direction>GlowLichenFeature. shuffleDirections(GlowLichenFeatureConfig config, Random random, Direction excluded)Method parameters in net.minecraft.world.gen.feature with type arguments of type Direction Modifier and Type Method Description static booleanGlowLichenFeature. generate(StructureWorldAccess world, BlockPos pos, BlockState state, GlowLichenFeatureConfig config, Random random, List<Direction> directions)Constructors in net.minecraft.world.gen.feature with parameters of type Direction Constructor Description GrowingPlantFeatureConfig(class_6005<IntProvider> heightDistribution, Direction direction, BlockStateProvider bodyProvider, BlockStateProvider headProvider, boolean allowWater) -
Uses of Direction in net.minecraft.world.gen.feature.util
Methods in net.minecraft.world.gen.feature.util with parameters of type Direction Modifier and Type Method Description protected static voidDripstoneHelper. generatePointedDripstone(StructureWorldAccess world, BlockPos pos, Direction direction, int height, boolean merge)private static OptionalIntCaveSurface. getCaveSurface(TestableWorld world, int height, Predicate<BlockState> canGenerate, Predicate<BlockState> canReplace, BlockPos.Mutable mutablePos, int y, Direction direction)protected static voidDripstoneHelper. getDripstoneThickness(Direction direction, int height, boolean merge, Consumer<BlockState> callback)private static BlockStateDripstoneHelper. getState(Direction direction, Thickness thickness)