Uses of Enum Class
net.minecraft.util.math.Direction
Packages that use Direction
Package
Description
-
Uses of Direction in net.minecraft.block
Fields in net.minecraft.block declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionLeverBlock.LeverType.directionprivate final DirectionNetherPortalBlock.AreaHelper.field_9579private final DirectionNetherPortalBlock.AreaHelper.field_9580Fields in net.minecraft.block with type parameters of type DirectionMethods in net.minecraft.block that return DirectionModifier and TypeMethodDescriptionstatic DirectionDispenserBlock.getDirection(int int2) LeverBlock.LeverType.getDirection()static DirectionDoorBlock.method_8745(int int2) static DirectionDoorBlock.method_8748(BlockView blockView, BlockPos blockPos) static DirectionHopperBlock.method_8796(int int2) protected static DirectionTrapdoorBlock.method_8939(int int2) static DirectionPistonBlock.method_9000(World world, BlockPos blockPos, LivingEntity livingEntity) static DirectionPistonBlock.method_9002(int int2) static DirectionPistonHeadBlock.method_9004(int int2) Methods in net.minecraft.block that return types with arguments of type DirectionMethods in net.minecraft.block with parameters of type DirectionModifier and TypeMethodDescriptionbooleanAbstractButtonBlock.canBePlacedAdjacent(World world, BlockPos pos, Direction direction) Returns whether blocks can be placed adjacent to it.booleanBlock.canBePlacedAdjacent(World world, BlockPos pos, Direction direction) Returns whether blocks can be placed adjacent to it.booleanLeverBlock.canBePlacedAdjacent(World world, BlockPos pos, Direction direction) Returns whether blocks can be placed adjacent to it.booleanPistonExtensionBlock.canBePlacedAdjacent(World world, BlockPos pos, Direction direction) Returns whether blocks can be placed adjacent to it.booleanPistonHeadBlock.canBePlacedAdjacent(World world, BlockPos pos, Direction direction) Returns whether blocks can be placed adjacent to it.booleanTrapdoorBlock.canBePlacedAdjacent(World world, BlockPos pos, Direction direction) Returns whether blocks can be placed adjacent to it.booleanTripwireHookBlock.canBePlacedAdjacent(World world, BlockPos pos, Direction direction) Returns whether blocks can be placed adjacent to it.booleanVineBlock.canBePlacedAdjacent(World world, BlockPos pos, Direction direction) Returns whether blocks can be placed adjacent to it.booleanBlock.canBeReplaced(World world, BlockPos pos, Direction dir, ItemStack stack) Returns whether the current block can be replaced.protected static booleanRedstoneWireBlock.connectsTo(BlockState state, Direction dir) protected intNetherPortalBlock.AreaHelper.distanceToPortalEdge(BlockPos pos, Direction dir) static LeverBlock.LeverTypeLeverBlock.LeverType.getByDirection(Direction dir1, Direction dir2) static BooleanPropertyVineBlock.getByDirection(Direction dir) AbstractButtonBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idAbstractRedstoneGateBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idAnvilBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idBigMushroomBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idChestBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idCocoaBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idCommandBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idComparatorBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idDispenserBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idEnderChestBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idEndPortalFrameBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idFenceGateBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idFurnaceBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idHayBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idHopperBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idLadderBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idLeverBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idLogBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idPistonBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idPumpkinBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idQuartzBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idSkeletonSkullBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idSlabBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idStairsBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idTorchBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idTrapdoorBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idTripwireHookBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idVineBlock.getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idintAbstractButtonBlock.getStrongRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's strong redstone power.intAbstractPressurePlateBlock.getStrongRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's strong redstone power.intAbstractRedstoneGateBlock.getStrongRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's strong redstone power.intBlock.getStrongRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's strong redstone power.intChestBlock.getStrongRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's strong redstone power.intDetectorRailBlock.getStrongRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's strong redstone power.intLeverBlock.getStrongRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's strong redstone power.intRedstoneTorchBlock.getStrongRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's strong redstone power.intRedstoneWireBlock.getStrongRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's strong redstone power.intTripwireHookBlock.getStrongRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's strong redstone power.intAbstractButtonBlock.getWeakRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's weak redstone power.intAbstractPressurePlateBlock.getWeakRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's weak redstone power.intAbstractRedstoneGateBlock.getWeakRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's weak redstone power.intBlock.getWeakRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's weak redstone power.intChestBlock.getWeakRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's weak redstone power.intDaylightDetectorBlock.getWeakRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's weak redstone power.intDetectorRailBlock.getWeakRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's weak redstone power.intLeverBlock.getWeakRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's weak redstone power.intRedstoneBlock.getWeakRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's weak redstone power.intRedstoneTorchBlock.getWeakRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's weak redstone power.intRedstoneWireBlock.getWeakRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's weak redstone power.intTripwireHookBlock.getWeakRedstonePower(BlockView view, BlockPos pos, BlockState state, Direction facing) Returns the block's weak redstone power.booleanAbstractFluidBlock.hasCollision(BlockView blockView, BlockPos pos, Direction direction) booleanBlock.hasCollision(BlockView blockView, BlockPos pos, Direction direction) booleanAbstractFluidBlock.isSideInvisible(BlockView view, BlockPos pos, Direction facing) Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks.booleanAbstractRedstoneGateBlock.isSideInvisible(BlockView view, BlockPos pos, Direction facing) Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks.booleanAnvilBlock.isSideInvisible(BlockView view, BlockPos pos, Direction facing) Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks.booleanBaseLeavesBlock.isSideInvisible(BlockView view, BlockPos pos, Direction facing) Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks.booleanBlock.isSideInvisible(BlockView view, BlockPos pos, Direction facing) Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks.booleanCarpetBlock.isSideInvisible(BlockView view, BlockPos pos, Direction facing) Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks.booleanDragonEggBlock.isSideInvisible(BlockView view, BlockPos pos, Direction facing) Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks.booleanEndPortalBlock.isSideInvisible(BlockView view, BlockPos pos, Direction facing) Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks.booleanFarmlandBlock.isSideInvisible(BlockView view, BlockPos pos, Direction facing) Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks.booleanFenceBlock.isSideInvisible(BlockView view, BlockPos pos, Direction facing) Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks.booleanFenceGateBlock.isSideInvisible(BlockView view, BlockPos pos, Direction facing) Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks.booleanHopperBlock.isSideInvisible(BlockView view, BlockPos pos, Direction facing) Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks.booleanNetherPortalBlock.isSideInvisible(BlockView view, BlockPos pos, Direction facing) Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks.booleanPaneBlock.isSideInvisible(BlockView view, BlockPos pos, Direction facing) Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks.booleanPistonHeadBlock.isSideInvisible(BlockView view, BlockPos pos, Direction facing) Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks.booleanSlabBlock.isSideInvisible(BlockView view, BlockPos pos, Direction facing) Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks.booleanSnowLayerBlock.isSideInvisible(BlockView view, BlockPos pos, Direction facing) Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks.booleanTransparentBlock.isSideInvisible(BlockView view, BlockPos pos, Direction facing) Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks.booleanWallBlock.isSideInvisible(BlockView view, BlockPos pos, Direction facing) Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks.protected booleanBlockWithEntity.method_8602(World world, BlockPos blockPos, Direction direction) protected static booleanAbstractButtonBlock.method_8692(World world, BlockPos pos, Direction dir) private voidAbstractButtonBlock.method_8693(World world, BlockPos blockPos, Direction direction) private ItemFrameEntityComparatorBlock.method_8710(World world, Direction direction, BlockPos blockPos) protected intAbstractRedstoneGateBlock.method_8724(BlockView blockView, BlockPos blockPos, Direction direction) private intFlowingFluidBlock.method_8760(World world, BlockPos blockPos, int int2, Direction direction) protected booleanLadderBlock.method_8803(World world, BlockPos blockPos, Direction direction) protected static booleanLeverBlock.method_8808(World world, BlockPos blockPos, Direction direction) static intLeverBlock.method_8809(Direction direction) RedstoneWireBlock.method_8878(BlockView blockView, BlockPos blockPos, Direction direction) private booleanRedstoneWireBlock.method_8879(BlockView blockView, BlockPos blockPos, Direction direction) private booleanTorchBlock.method_8933(World world, BlockPos blockPos, Direction direction) protected static intTrapdoorBlock.method_8938(Direction direction) static booleanTripwireBlock.method_8941(BlockView blockView, BlockPos blockPos, BlockState blockState, Direction direction) private voidTripwireHookBlock.method_8945(World world, BlockPos blockPos, Direction direction) static booleanPistonBlock.method_9001(Block block, World world, BlockPos blockPos, Direction direction, boolean bool) PistonExtensionBlock.method_9012(World world, BlockPos blockPos, BlockState blockState, float float2, Direction direction) static BlockEntityPistonExtensionBlock.method_9013(BlockState blockState, Direction direction, boolean bool, boolean bool2) private booleanbooleanAbstractButtonBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanAbstractSignBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanAnvilBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanBeaconBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanBedBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanBrewingStandBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanCakeBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanCauldronBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanChestBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanCommandBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanComparatorBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanCraftingTableBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanDaylightDetectorBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanDispenserBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanDoorBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanDragonEggBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanEnchantingTableBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanEnderChestBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanFenceBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanFenceGateBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanFlowerPotBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanFurnaceBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanHopperBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanJukeboxBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanLeverBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanNoteBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanPistonExtensionBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanRedstoneOreBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanRepeaterBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanStairsBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanTntBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.booleanTrapdoorBlock.onUse(World world, BlockPos pos, BlockState state, PlayerEntity player, Direction direction, float float2, float float3, float float4) Runs when the block is used, i.e.private booleanPistonBlock.shouldExtend(World world, BlockPos pos, Direction pistonFace) Constructors in net.minecraft.block with parameters of type Direction -
Uses of Direction in net.minecraft.block.dispenser
Methods in net.minecraft.block.dispenser with parameters of type DirectionModifier and TypeMethodDescriptionprivate intItemDispenserBehavior.method_4284(Direction dir) 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 DirectionMethods in net.minecraft.block.entity that return DirectionMethods in net.minecraft.block.entity with parameters of type DirectionModifier and TypeMethodDescriptionprivate static booleanHopperBlockEntity.canExtract(Inventory inv, ItemStack stack, int slot, Direction facing) booleanBrewingStandBlockEntity.canExtractInvStack(int slot, ItemStack stack, Direction dir) booleanFurnaceBlockEntity.canExtractInvStack(int slot, ItemStack stack, Direction dir) private static booleanbooleanBrewingStandBlockEntity.canInsertInvStack(int slot, ItemStack stack, Direction dir) booleanFurnaceBlockEntity.canInsertInvStack(int slot, ItemStack stack, Direction dir) int[]BrewingStandBlockEntity.getInvAvailableSlots(Direction side) int[]FurnaceBlockEntity.getInvAvailableSlots(Direction side) private static booleanHopperBlockEntity.method_4822(HopperProvider hopperProvider, Inventory inventory, int int2, Direction direction) private static ItemStackHopperBlockEntity.method_4832(Inventory inventory, ItemStack itemStack, int int2, Direction direction) private booleanHopperBlockEntity.method_6522(Inventory inventory, Direction direction) private static booleanHopperBlockEntity.method_6523(Inventory inventory, Direction direction) private voidChestBlockEntity.method_8985(ChestBlockEntity chest, Direction dir) protected ChestBlockEntityChestBlockEntity.method_8986(Direction direction) static ItemStackConstructors in net.minecraft.block.entity with parameters of type DirectionModifierConstructorDescriptionPistonBlockEntity(BlockState pushedBlock, Direction direction, boolean bool, boolean bool2) -
Uses of Direction in net.minecraft.block.pattern
Fields in net.minecraft.block.pattern declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionBlockPattern.Result.forwardprivate final DirectionBlockPattern.Result.upMethods in net.minecraft.block.pattern that return DirectionMethods in net.minecraft.block.pattern with parameters of type DirectionModifier and TypeMethodDescriptionprivate BlockPattern.ResultBlockPattern.method_9046(BlockPos pos, Direction direction, Direction direction2, LoadingCache<BlockPos, RayTraceResult> 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 DirectionModifierConstructorDescriptionResult(BlockPos frontTopLeft, Direction forward, Direction up, LoadingCache<BlockPos, RayTraceResult> cache, int width, int height, int depth) -
Uses of Direction in net.minecraft.block.piston
Fields in net.minecraft.block.piston declared as DirectionConstructors in net.minecraft.block.piston with parameters of type DirectionModifierConstructorDescriptionPistonHandler(World world, BlockPos original, Direction direction, boolean bool) -
Uses of Direction in net.minecraft.client.network
Methods in net.minecraft.client.network with parameters of type DirectionModifier and TypeMethodDescriptionbooleanClientPlayerInteractionManager.attackBlock(BlockPos pos, Direction direction) booleanClientPlayerInteractionManager.breakBlock(BlockPos pos, Direction direction) static voidClientPlayerInteractionManager.breakBlockOrFire(MinecraftClient client, ClientPlayerInteractionManager interactionManager, BlockPos pos, Direction direction) booleanClientPlayerInteractionManager.onRightClick(ClientPlayerEntity player, ClientWorld world, ItemStack stack, BlockPos pos, Direction direction, Vec3d vec) booleanClientPlayerInteractionManager.updateBlockBreakingProgress(BlockPos pos, Direction direction) -
Uses of Direction in net.minecraft.client.particle
Methods in net.minecraft.client.particle with parameters of type DirectionModifier and TypeMethodDescriptionvoidParticleManager.addBlockBreakingParticles(BlockPos blockPos, Direction direction) -
Uses of Direction in net.minecraft.client.render
Fields in net.minecraft.client.render declared as DirectionModifier and TypeFieldDescription(package private) final DirectionWorldRenderer.ChunkInfo.field_10831Fields in net.minecraft.client.render with type parameters of type DirectionMethods in net.minecraft.client.render that return types with arguments of type DirectionMethods in net.minecraft.client.render with parameters of type DirectionModifier and TypeMethodDescriptionprivate BuiltChunkWorldRenderer.method_9901(BlockPos blockPos, BuiltChunk builtChunk, Direction direction) Constructors in net.minecraft.client.render with parameters of type DirectionModifierConstructorDescriptionprivateChunkInfo(BuiltChunk builtChunk, Direction direction, int int2) -
Uses of Direction in net.minecraft.client.render.block
Fields in net.minecraft.client.render.block declared as DirectionModifier and TypeFieldDescriptionprotected final Direction[]BlockModelRenderer.NeighborData.field_10869Methods in net.minecraft.client.render.block with parameters of type DirectionModifier and TypeMethodDescriptionvoidBlockModelRenderer.AmbientOcclusionCalculator.apply(BlockView world, Block block, BlockPos pos, Direction direction, float[] float2, BitSet bitSet) private voidBlockModelRenderer.getQuadDimensions(Block block, int[] vertexData, Direction face, float[] box, BitSet flags) BlockModelRenderer.Translation.getTranslations(Direction face) private voidBlockModelRenderer.renderQuadsFlat(BlockView world, Block block, BlockPos pos, Direction face, int light, boolean useWorldLight, BufferBuilder buffer, List<BakedQuad> quads, BitSet flags) Constructors in net.minecraft.client.render.block with parameters of type DirectionModifierConstructorDescriptionprivateNeighborData(Direction[] direction, float float2, boolean bool, BlockModelRenderer.NeighborOrientation[] neighborOrientation, BlockModelRenderer.NeighborOrientation[] neighborOrientation2, BlockModelRenderer.NeighborOrientation[] neighborOrientation3, BlockModelRenderer.NeighborOrientation[] neighborOrientation4) privateNeighborOrientation(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 -
Uses of Direction in net.minecraft.client.render.chunk
Methods in net.minecraft.client.render.chunk that return types with arguments of type DirectionModifier and TypeMethodDescriptionChunkOcclusionDataBuilder.getOpenFaces(int pos) ChunkOcclusionDataBuilder.getOpenFaces(BlockPos pos) Methods in net.minecraft.client.render.chunk with parameters of type DirectionModifier and TypeMethodDescriptionbooleanChunkOcclusionData.isVisibleThrough(Direction from, Direction to) private intvoidChunkOcclusionData.setVisibleThrough(Direction from, Direction to, boolean visible) Method parameters in net.minecraft.client.render.chunk with type arguments of type DirectionModifier and TypeMethodDescriptionprivate voidChunkOcclusionDataBuilder.addEdgeFaces(int pos, Set<Direction> openFaces) voidChunkOcclusionData.addOpenEdgeFaces(Set<Direction> faces) -
Uses of Direction in net.minecraft.client.render.model
Fields in net.minecraft.client.render.model declared as DirectionMethods in net.minecraft.client.render.model that return DirectionModifier and TypeMethodDescriptionBakedQuad.getFace()static DirectionModelFaceBaker.method_10057(int[] int2) ModelRotation.method_10380(Direction direction) Methods in net.minecraft.client.render.model with parameters of type DirectionModifier and TypeMethodDescriptionprivate voidBasicBakedModel.Builder.addTexturedQuad(BakedModel model, Sprite sprite, Direction direction) private int[]ModelFaceBaker.createQuadData(ModelElementFace face, Sprite sprite, Direction dir, float[] matrix, ModelRotation rotation1, ModelRotation rotation2, boolean bool, boolean bool2) private floatModelFaceBaker.getBrightness(Direction dir) BakedModel.getByDirection(Direction direction) BasicBakedModel.getByDirection(Direction direction) BuiltinBakedModel.getByDirection(Direction direction) WeightedBakedModel.getByDirection(Direction direction) static CubeFaceprivate voidModelFaceBaker.lockVertex(int index, int[] data, Direction direction, ModelElementTexture texture, Sprite sprite) private intModelFaceBaker.method_10051(Direction dir) intModelFaceBaker.method_10053(org.lwjgl.util.vector.Vector3f vector3f, Direction direction, int int2, ModelRotation modelRotation, boolean bool) ModelFaceBaker.method_10055(org.lwjgl.util.vector.Vector3f vector3f, org.lwjgl.util.vector.Vector3f vector3f2, ModelElementFace face, Sprite sprite, Direction direction, ModelRotation modelRotation, ModelRotation modelRotation2, boolean bool, boolean bool2) private voidModelFaceBaker.method_10059(int[] int2, int int3, Direction direction, ModelElementFace modelElementFace, float[] float2, Sprite sprite, ModelRotation modelRotation, ModelRotation modelRotation2, boolean bool, boolean bool2) private voidModelFaceBaker.method_10060(int[] data, Direction direction) voidModelFaceBaker.method_10061(int[] int2, Direction dir, ModelElementTexture texture, Sprite sprite) ModelRotation.method_10380(Direction direction) intModelRotation.method_10381(Direction direction, int int2) private BakedQuadModelLoader.method_10384(ModelElement modelElement, ModelElementFace modelElementFace, Sprite sprite, Direction direction, ModelRotation modelRotation, boolean bool) Constructors in net.minecraft.client.render.model with parameters of type Direction -
Uses of Direction in net.minecraft.client.render.model.json
Fields in net.minecraft.client.render.model.json declared as DirectionModifier and TypeFieldDescriptionfinal DirectionModelElementFace.cullfaceprivate final DirectionItemModelGenerator.Side.field_10964static final DirectionModelElementFace.NULL_DIRECTIONFields in net.minecraft.client.render.model.json with type parameters of type DirectionMethods in net.minecraft.client.render.model.json that return DirectionModifier and TypeMethodDescriptionprivate DirectionModelElementFace.Deserializer.deserializeCullFace(JsonObject object) ItemModelGenerator.Side.getDirection()private DirectionModelElement.Deserializer.getDirection(String name) Methods in net.minecraft.client.render.model.json that return types with arguments of type DirectionModifier and TypeMethodDescriptionprivate 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 DirectionModifier and TypeMethodDescriptionprivate float[]ModelElement.getRotatedMatrix(Direction direction) Constructors in net.minecraft.client.render.model.json with parameters of type DirectionModifierConstructorDescriptionModelElementFace(Direction cullface, int tintIndex, String textureId, ModelElementTexture textureReference) privateConstructor parameters in net.minecraft.client.render.model.json with type arguments of type DirectionModifierConstructorDescriptionModelElement(org.lwjgl.util.vector.Vector3f from, org.lwjgl.util.vector.Vector3f to, Map<Direction, ModelElementFace> faces, ModelRotation rotation, boolean shade) -
Uses of Direction in net.minecraft.client.world
Fields in net.minecraft.client.world with type parameters of type DirectionMethods in net.minecraft.client.world with parameters of type DirectionModifier and TypeMethodDescriptionbooleanChunkAssemblyHelper.isVisibleThrough(Direction dir1, Direction dir2) BuiltChunk.method_10161(Direction direction) -
Uses of Direction in net.minecraft.entity
Fields in net.minecraft.entity declared as DirectionMethods in net.minecraft.entity that return DirectionModifier and TypeMethodDescriptionEntity.getHorizontalDirection()Entity.getLastNetherPortalDirection() -
Uses of Direction in net.minecraft.entity.decoration
Fields in net.minecraft.entity.decoration declared as DirectionMethods in net.minecraft.entity.decoration that return DirectionMethods in net.minecraft.entity.decoration with parameters of type DirectionModifier and TypeMethodDescriptionprotected voidAbstractDecorationEntity.setDirection(Direction direction) voidLeashKnotEntity.setDirection(Direction direction) Constructors in net.minecraft.entity.decoration with parameters of type Direction -
Uses of Direction in net.minecraft.entity.decoration.painting
Constructors in net.minecraft.entity.decoration.painting with parameters of type DirectionModifierConstructorDescriptionPaintingEntity(World world, BlockPos pos, Direction direction) PaintingEntity(World world, BlockPos pos, Direction direction, String motive) -
Uses of Direction in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as Direction -
Uses of Direction in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type Direction -
Uses of Direction in net.minecraft.inventory
Methods in net.minecraft.inventory with parameters of type DirectionModifier and TypeMethodDescriptionbooleanSidedInventory.canExtractInvStack(int slot, ItemStack stack, Direction dir) booleanSidedInventory.canInsertInvStack(int slot, ItemStack stack, Direction dir) int[]SidedInventory.getInvAvailableSlots(Direction side) -
Uses of Direction in net.minecraft.item
Methods in net.minecraft.item with parameters of type DirectionModifier and TypeMethodDescriptionprivate AbstractDecorationEntityWallHangableItem.createEntity(World world, BlockPos pos, Direction dir) booleanBlockItem.method_11269(World world, BlockPos blockPos, Direction direction, PlayerEntity playerEntity, ItemStack itemStack) booleanStoneSlabItem.method_11269(World world, BlockPos blockPos, Direction direction, PlayerEntity playerEntity, ItemStack itemStack) static voidbooleanArmorStandItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanBannerItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanBedItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanBlockItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanCropItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanDyeItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanEnderEyeItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanFireChargeItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanFireworkItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanFlintAndSteelItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanHoeItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanItemStack.use(PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanLeadItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanMinecartItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanMusicDiscItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanPlaceableItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanRedstoneItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanSeedItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanSignItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanSkullItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanSnowLayerItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanSpawnEggItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanStoneSlabItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) booleanWallHangableItem.use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ) boolean -
Uses of Direction in net.minecraft.network.packet.c2s.play
Fields in net.minecraft.network.packet.c2s.play declared as DirectionMethods in net.minecraft.network.packet.c2s.play that return DirectionConstructors in net.minecraft.network.packet.c2s.play with parameters of type DirectionModifierConstructorDescriptionPlayerActionC2SPacket(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 DirectionMethods in net.minecraft.network.packet.s2c.play that return Direction -
Uses of Direction in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type DirectionModifier and TypeMethodDescriptionbooleanDemoServerPlayerInteractionManager.interactBlock(PlayerEntity player, World world, ItemStack stack, BlockPos pos, Direction direction, float x, float y, float z) booleanServerPlayerInteractionManager.interactBlock(PlayerEntity player, World world, ItemStack stack, BlockPos pos, Direction direction, float x, float y, float z) voidDemoServerPlayerInteractionManager.processBlockBreakingAction(BlockPos pos, Direction direction) voidServerPlayerInteractionManager.processBlockBreakingAction(BlockPos pos, Direction direction) -
Uses of Direction in net.minecraft.state.property
Method parameters in net.minecraft.state.property with type arguments of type DirectionModifier and TypeMethodDescriptionstatic DirectionPropertystatic DirectionPropertyDirectionProperty.of(String name, Collection<Direction> values) Constructor parameters in net.minecraft.state.property with type arguments of type DirectionModifierConstructorDescriptionprotectedDirectionProperty(String name, Collection<Direction> values) -
Uses of Direction in net.minecraft.structure
Fields in net.minecraft.structure declared as DirectionModifier and TypeFieldDescriptionprotected DirectionStructurePiece.facingprivate DirectionMineshaftPieces.MineshaftCrossing.orientationMethods in net.minecraft.structure with parameters of type DirectionModifier and TypeMethodDescriptionNetherFortressPieces.BridgeCrossing.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction boundingBox, int chainLength) NetherFortressPieces.BridgeEnd.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressPieces.BridgePiece.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressPieces.BridgePlatform.create(List<StructurePiece> pieces, Random random, int x, int y, int z, int chainLength, Direction orientation) NetherFortressPieces.BridgeSmallCrossing.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressPieces.BridgeStairs.create(List<StructurePiece> pieces, Random random, int x, int y, int z, int chainLength, Direction orientation) NetherFortressPieces.CorridorBalcony.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressPieces.CorridorCrossing.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressPieces.CorridorExit.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressPieces.CorridorLeftTurn.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressPieces.CorridorNetherWartsRoom.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainlength) NetherFortressPieces.CorridorRightTurn.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressPieces.CorridorStairs.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressPieces.SmallCorridor.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) StrongholdPieces.ChestCorridor.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) StrongholdPieces.EndPortalRoom.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) StrongholdPieces.FiveWayCrossing.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) static BlockBoxStrongholdPieces.FlexibleCorridor.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation) static StrongholdPieces.LeftTurnStrongholdPieces.LeftTurn.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) static StrongholdPieces.LibraryStrongholdPieces.Library.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) static StrongholdPieces.PrisonHallStrongholdPieces.PrisonHall.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) StrongholdPieces.SpiralStaircase.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) static StrongholdPieces.SquareRoomStrongholdPieces.SquareRoom.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) StrongholdPieces.StraightCorridor.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) StrongholdPieces.StraightStairs.create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) VillagePieces.BlacksmithHouse.create(VillagePieces.StartPiece start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) static VillagePieces.BookHouseVillagePieces.BookHouse.create(VillagePieces.StartPiece start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) static VillagePieces.ChurchVillagePieces.Church.create(VillagePieces.StartPiece start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) static VillagePieces.FarmFieldVillagePieces.FarmField.create(VillagePieces.StartPiece start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) static BlockBoxVillagePieces.LampPost.create(VillagePieces.StartPiece start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation) static VillagePieces.LargeFarmFieldVillagePieces.LargeFarmField.create(VillagePieces.StartPiece start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) static VillagePieces.PeasantHouseVillagePieces.PeasantHouse.create(VillagePieces.StartPiece start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) static VillagePieces.SingleHouseVillagePieces.SingleHouse.create(VillagePieces.StartPiece start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction direction, int chainLength) VillagePieces.SingleMultifunctionalHouse.create(VillagePieces.StartPiece start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int type) static VillagePieces.TinyHouseVillagePieces.TinyHouse.create(VillagePieces.StartPiece start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) private static NetherFortressPieces.AbstractPieceNetherFortressPieces.createPiece(NetherFortressPieces.PieceData pieceData, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) private static StrongholdPieces.AbstractPieceStrongholdPieces.createPiece(Class<? extends StrongholdPieces.AbstractPiece> pieceType, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) private static VillagePieces.AbstractPieceVillagePieces.createPiece(VillagePieces.StartPiece start, VillagePieces.PieceData chance, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) private StructurePieceNetherFortressPieces.AbstractPiece.generate(NetherFortressPieces.StartPiece start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength, boolean inside) OceanMonumentPieces.DoubleXRoomFactory.generate(Direction orientation, OceanMonumentPieces.PieceSetting settings, Random random) OceanMonumentPieces.DoubleXYRoomFactory.generate(Direction orientation, OceanMonumentPieces.PieceSetting settings, Random random) OceanMonumentPieces.DoubleYRoomFactory.generate(Direction orientation, OceanMonumentPieces.PieceSetting settings, Random random) OceanMonumentPieces.DoubleYZRoomFactory.generate(Direction orientation, OceanMonumentPieces.PieceSetting settings, Random random) OceanMonumentPieces.DoubleZRoomFactory.generate(Direction orientation, OceanMonumentPieces.PieceSetting settings, Random random) OceanMonumentPieces.Factory.generate(Direction orientation, OceanMonumentPieces.PieceSetting settings, Random random) OceanMonumentPieces.SimpleRoomFactory.generate(Direction orientation, OceanMonumentPieces.PieceSetting settings, Random random) OceanMonumentPieces.SimpleTopRoomFactory.generate(Direction orientation, OceanMonumentPieces.PieceSetting settings, Random random) private static StructurePieceStrongholdPieces.generate(StrongholdPieces.StartPiece start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) private static StructurePieceVillagePieces.generate(VillagePieces.StartPiece start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) static BlockBoxMineshaftPieces.MineshaftCorridor.getBoundingBox(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation) static BlockBoxMineshaftPieces.MineshaftCrossing.getBoundingBox(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation) static BlockBoxMineshaftPieces.MineshaftStairs.getBoundingBox(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation) static BlockBoxVillagePieces.StraightRoad.method_106(VillagePieces.StartPiece start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction direction) private static StructurePieceVillagePieces.method_93(VillagePieces.StartPiece start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) private static StructurePieceMineshaftPieces.pickPiece(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressPieces.AbstractPiece.pickPiece(NetherFortressPieces.StartPiece start, List<NetherFortressPieces.PieceData> possiblePieces, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) private static StrongholdPieces.AbstractPieceStrongholdPieces.pickPiece(StrongholdPieces.StartPiece start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) private static VillagePieces.AbstractPieceVillagePieces.pickPiece(VillagePieces.StartPiece start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) private static StructurePieceMineshaftPieces.pieceGenerator(StructurePiece start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) protected voidStructurePiece.placeDoor(World world, BlockBox box, Random random, int x, int y, int z, Direction facing) voidOceanMonumentPieces.PieceSetting.setNeighbor(Direction orientation, OceanMonumentPieces.PieceSetting settings) Constructors in net.minecraft.structure with parameters of type DirectionModifierConstructorDescriptionprotectedAbstractPiece(int chainLength, Direction orientation, OceanMonumentPieces.PieceSetting setting, int x, int y, int z) AbstractPiece(Direction orientation, BlockBox boundingBox) BlacksmithHouse(VillagePieces.StartPiece start, int chainLength, Random random, BlockBox boundingBox, Direction orientation) BookHouse(VillagePieces.StartPiece start, int chainLength, Random random, BlockBox boundingBox, Direction orientation) BridgeCrossing(int chainLength, Random random, BlockBox boundingBox, Direction orientation) BridgePiece(int chainLength, Random random, BlockBox box, Direction orientation) BridgePlatform(int chainLength, Random random, BlockBox boundingBox, Direction orientation) BridgeSmallCrossing(int chainLength, Random random, BlockBox boundingBox, Direction orientation) BridgeStairs(int chainLength, Random random, BlockBox boundingBox, Direction orientation) ChestCorridor(int chainLength, Random random, BlockBox boundingBox, Direction orientation) Church(VillagePieces.StartPiece start, int chainLength, Random random, BlockBox boundingBox, Direction orientation) CoreRoom(Direction orientation, OceanMonumentPieces.PieceSetting settings, Random random) CorridorBalcony(int chainLength, Random random, BlockBox box, Direction orientation) CorridorCrossing(int chainLength, Random random, 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, Random random, BlockBox boundingBox, Direction orientation) CorridorRightTurn(int chainLength, Random random, BlockBox boundingBox, Direction orientation) CorridorStairs(int chainLength, Random random, BlockBox boundingBox, Direction orientation) DoubleXRoom(Direction orientation, OceanMonumentPieces.PieceSetting settings, Random random) DoubleXYRoom(Direction orientation, OceanMonumentPieces.PieceSetting settings, Random random) DoubleYRoom(Direction orientation, OceanMonumentPieces.PieceSetting settings, Random random) DoubleYZRoom(Direction orientation, OceanMonumentPieces.PieceSetting settings, Random random) DoubleZRoom(Direction orientation, OceanMonumentPieces.PieceSetting settings, Random random) EndPortalRoom(int chainLength, Random random, BlockBox boundingBox, Direction orientation) Entrance(Direction orientation, OceanMonumentPieces.PieceSetting settings) FarmField(VillagePieces.StartPiece start, int chainLength, Random random, BlockBox boundingBox, Direction orientation) FiveWayCrossing(int chainLength, Random random, BlockBox boundingBox, Direction orientation) FlexibleCorridor(int chainLength, Random random, BlockBox boundingBox, Direction orientation) LampPost(VillagePieces.StartPiece start, int chainLength, Random random, BlockBox boundingBox, Direction orientation) LargeFarmField(VillagePieces.StartPiece start, int chainLength, Random random, BlockBox boundingBox, Direction orientation) MainBuilding(Random random, int x, int z, Direction orientation) MineshaftCorridor(int chainLength, Random random, BlockBox boundingBox, Direction orientation) MineshaftCrossing(int chainLength, Random random, BlockBox boundingBox, Direction orientation) MineshaftStairs(int chainLength, Random random, BlockBox boundingBox, Direction orientation) PeasantHouse(VillagePieces.StartPiece start, int chainLength, Random random, BlockBox boundingBox, Direction orientation) PrisonHall(int chainLength, Random random, BlockBox boundingBox, Direction orientation) SimpleRoom(Direction orientation, OceanMonumentPieces.PieceSetting settings, Random random) SimpleTopRoom(Direction orientation, OceanMonumentPieces.PieceSetting settings, Random random) SingleHouse(VillagePieces.StartPiece start, int chainLength, Random random, BlockBox boundingBox, Direction direction) SingleMultifunctionalHouse(VillagePieces.StartPiece start, int chainLength, Random random, BlockBox boundingBox, Direction orientation) SmallCorridor(int chainLength, Random random, BlockBox boundingBox, Direction orientation) SpiralStaircase(int chainLength, Random random, BlockBox boundingBox, Direction orientation) SquareRoom(int chainLength, Random random, BlockBox boundingBox, Direction orientation) StraightCorridor(int chainLength, Random random, BlockBox boundingBox, Direction orientation) StraightRoad(VillagePieces.StartPiece start, int chainLength, Random random, BlockBox boundingBox, Direction direction) StraightStairs(int chainLength, Random random, BlockBox boundingBox, Direction orientation) TinyHouse(VillagePieces.StartPiece start, int chainLength, Random random, BlockBox boundingBox, Direction orientation) -
Uses of Direction in net.minecraft.util.hit
Fields in net.minecraft.util.hit declared as DirectionConstructors in net.minecraft.util.hit with parameters of type DirectionModifierConstructorDescriptionBlockHitResult(BlockHitResult.Type hitType, Vec3d vec, Direction direction, BlockPos pos) BlockHitResult(Vec3d vec, Direction direction) BlockHitResult(Vec3d vec, Direction direction, BlockPos pos) -
Uses of Direction in net.minecraft.util.math
Fields in net.minecraft.util.math declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction[]Direction.ALLprivate static final Direction[]Direction.HORIZONTALFields in net.minecraft.util.math with type parameters of type DirectionMethods in net.minecraft.util.math that return DirectionModifier and TypeMethodDescriptionstatic Directionstatic DirectionDirection.fromHorizontal(int value) static DirectionDirection.fromRotation(double rotation) static DirectionDirection.get(Direction.AxisDirection direction, Direction.Axis axis) static DirectionDirection.getById(int id) Direction.getClockWiseFacingByAxis(Direction.Axis axis) Direction.DirectionType.getDirections()static DirectionDirection.getFacing(float x, float y, float z) Direction.getOpposite()Direction.DirectionType.getRandomDirection(Random random) static DirectionDirection.rotateYClockwise()private DirectionDirection.rotateYClockWise()Direction.rotateYCounterclockwise()private DirectionDirection.rotateZClockWise()static DirectionReturns the enum constant of this class with the specified name.static Direction[]Direction.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.util.math that return types with arguments of type DirectionMethods in net.minecraft.util.math with parameters of type Direction -
Uses of Direction in net.minecraft.village
Fields in net.minecraft.village declared as DirectionMethods in net.minecraft.village that return DirectionModifier and TypeMethodDescriptionprivate static DirectionVillageDoor.method_11042(int int2, int int3) Methods in net.minecraft.village with parameters of type DirectionModifier and TypeMethodDescriptionprivate intVillageState.method_11063(BlockPos blockPos, Direction direction, int int2) Constructors in net.minecraft.village with parameters of type Direction -
Uses of Direction in net.minecraft.world
Methods in net.minecraft.world with parameters of type DirectionModifier and TypeMethodDescriptionbooleanWorld.canBlockBePlaced(Block block, BlockPos pos, boolean bool, Direction direction, Entity entity, ItemStack item) booleanWorld.extinguishFire(PlayerEntity player, BlockPos pos, Direction direction) intWorld.getEmittedRedstonePower(BlockPos pos, Direction dir) intBlockView.getStrongRedstonePower(BlockPos pos, Direction direction) intWorld.getStrongRedstonePower(BlockPos pos, Direction direction) booleanWorld.isEmittingRedstonePower(BlockPos pos, Direction dir) voidWorld.updateNeighborsExcept(BlockPos pos, Block sourceBlock, Direction dir) -
Uses of Direction in net.minecraft.world.chunk
Methods in net.minecraft.world.chunk with parameters of type DirectionModifier and TypeMethodDescriptionintChunkCache.getStrongRedstonePower(BlockPos pos, Direction direction) private voidChunk.updateLight(Direction dir) -
Uses of Direction in net.minecraft.world.gen.feature
Methods in net.minecraft.world.gen.feature with parameters of type DirectionModifier and TypeMethodDescriptionprivate voidJungleTreeFeature.method_9224(World world, int int2, BlockPos blockPos, Direction direction)