类的使用
net.minecraft.util.math.Direction
-
-
net.minecraft.block中Direction的使用
声明为Direction的net.minecraft.block中的字段 修饰符和类型 字段 说明 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. growthDirection返回变量类型为Direction的类型的net.minecraft.block中的方法 修饰符和类型 方法 说明 private Optional<com.mojang.datafixers.util.Pair<BlockPos,Direction>>AbstractLichenBlock. getSpreadLocation(BlockState state, BlockView world, BlockPos pos, Direction from, Direction to)参数类型为Direction的net.minecraft.block中的方法 修饰符和类型 方法 说明 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)已过时。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)已过时。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)已过时。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)已过时。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)类型变量类型为Direction的net.minecraft.block中的方法参数 修饰符和类型 方法 说明 private BlockStateAbstractLichenBlock. mirror(BlockState state, Function<Direction,Direction> mirror)private BlockStateAbstractLichenBlock. mirror(BlockState state, Function<Direction,Direction> mirror)参数类型为Direction的net.minecraft.block中的构造器 构造器 说明 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) -
net.minecraft.block.dispenser中Direction的使用
参数类型为Direction的net.minecraft.block.dispenser中的方法 修饰符和类型 方法 说明 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) -
net.minecraft.block.entity中Direction的使用
声明为Direction的net.minecraft.block.entity中的字段 修饰符和类型 字段 说明 private DirectionPistonBlockEntity. facingDirectionBellBlockEntity. lastSideHit类型参数类型为Direction的net.minecraft.block.entity中的字段 修饰符和类型 字段 说明 private static ThreadLocal<Direction>PistonBlockEntity. field_12205返回Direction的net.minecraft.block.entity中的方法 修饰符和类型 方法 说明 DirectionPistonBlockEntity. getFacing()DirectionPistonBlockEntity. getMovementDirection()参数类型为Direction的net.minecraft.block.entity中的方法 修饰符和类型 方法 说明 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)参数类型为Direction的net.minecraft.block.entity中的构造器 构造器 说明 PistonBlockEntity(BlockPos pos, BlockState state, BlockState pushedBlock, Direction facing, boolean extending, boolean source) -
net.minecraft.block.enums中Direction的使用
声明为Direction的net.minecraft.block.enums中的字段 修饰符和类型 字段 说明 private DirectionJigsawOrientation. facingprivate DirectionJigsawOrientation. rotation返回Direction的net.minecraft.block.enums中的方法 修饰符和类型 方法 说明 DirectionJigsawOrientation. getFacing()DirectionJigsawOrientation. getRotation()参数类型为Direction的net.minecraft.block.enums中的方法 修饰符和类型 方法 说明 static JigsawOrientationJigsawOrientation. byDirections(Direction facing, Direction rotation)private static intJigsawOrientation. getIndex(Direction facing, Direction rotation)参数类型为Direction的net.minecraft.block.enums中的构造器 构造器 说明 JigsawOrientation(String name, Direction facing, Direction rotation) -
net.minecraft.block.pattern中Direction的使用
声明为Direction的net.minecraft.block.pattern中的字段 修饰符和类型 字段 说明 private DirectionBlockPattern.Result. forwardsprivate DirectionBlockPattern.Result. up返回Direction的net.minecraft.block.pattern中的方法 修饰符和类型 方法 说明 DirectionBlockPattern.Result. getForwards()DirectionBlockPattern.Result. getUp()参数类型为Direction的net.minecraft.block.pattern中的方法 修饰符和类型 方法 说明 @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)参数类型为Direction的net.minecraft.block.pattern中的构造器 构造器 说明 Result(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos,CachedBlockPosition> cache, int width, int height, int depth) -
net.minecraft.block.piston中Direction的使用
声明为Direction的net.minecraft.block.piston中的字段 修饰符和类型 字段 说明 private DirectionPistonHandler. motionDirectionprivate DirectionPistonHandler. pistonDirection返回Direction的net.minecraft.block.piston中的方法 修饰符和类型 方法 说明 DirectionPistonHandler. getMotionDirection()参数类型为Direction的net.minecraft.block.piston中的方法 修饰符和类型 方法 说明 private booleanPistonHandler. tryMove(BlockPos pos, Direction dir)参数类型为Direction的net.minecraft.block.piston中的构造器 构造器 说明 PistonHandler(World world, BlockPos pos, Direction dir, boolean retracted) -
net.minecraft.client.model中Direction的使用
参数类型为Direction的net.minecraft.client.model中的构造器 构造器 说明 Quad(ModelPart.Vertex[] vertices, float u1, float v1, float u2, float v2, float squishU, float squishV, boolean flip, Direction direction) -
net.minecraft.client.network中Direction的使用
参数类型为Direction的net.minecraft.client.network中的方法 修饰符和类型 方法 说明 booleanClientPlayerInteractionManager. attackBlock(BlockPos pos, Direction direction)private voidClientPlayerInteractionManager. sendPlayerAction(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction)booleanClientPlayerInteractionManager. updateBlockBreakingProgress(BlockPos pos, Direction direction) -
net.minecraft.client.particle中Direction的使用
参数类型为Direction的net.minecraft.client.particle中的方法 修饰符和类型 方法 说明 voidParticleManager. addBlockBreakingParticles(BlockPos pos, Direction direction) -
net.minecraft.client.render中Direction的使用
声明为Direction的net.minecraft.client.render中的字段 修饰符和类型 字段 说明 static Direction[]WorldRenderer. DIRECTIONS参数类型为Direction的net.minecraft.client.render中的方法 修饰符和类型 方法 说明 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)参数类型为Direction的net.minecraft.client.render中的构造器 构造器 说明 ChunkInfo(ChunkBuilder.BuiltChunk builtChunk, @Nullable Direction direction, int int2) -
net.minecraft.client.render.block中Direction的使用
声明为Direction的net.minecraft.client.render.block中的字段 修饰符和类型 字段 说明 private static Direction[]BlockModelRenderer. DIRECTIONSprivate Direction[]BlockModelRenderer.NeighborData. faces参数类型为Direction的net.minecraft.client.render.block中的方法 修饰符和类型 方法 说明 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)参数类型为Direction的net.minecraft.client.render.block中的构造器 构造器 说明 NeighborData(Direction[] faces, float float2, boolean nonCubicWeight, BlockModelRenderer.NeighborOrientation[] neighborOrientation, BlockModelRenderer.NeighborOrientation[] neighborOrientation2, BlockModelRenderer.NeighborOrientation[] neighborOrientation3, BlockModelRenderer.NeighborOrientation[] neighborOrientation4)NeighborOrientation(Direction direction, boolean bool) -
net.minecraft.client.render.block.entity中Direction的使用
参数类型为Direction的net.minecraft.client.render.block.entity中的方法 修饰符和类型 方法 说明 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) -
net.minecraft.client.render.chunk中Direction的使用
声明为Direction的net.minecraft.client.render.chunk中的字段 修饰符和类型 字段 说明 private static Direction[]ChunkOcclusionDataBuilder. DIRECTIONS返回变量类型为Direction的类型的net.minecraft.client.render.chunk中的方法 修饰符和类型 方法 说明 private Set<Direction>ChunkOcclusionDataBuilder. getOpenFaces(int pos)参数类型为Direction的net.minecraft.client.render.chunk中的方法 修饰符和类型 方法 说明 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)类型变量类型为Direction的net.minecraft.client.render.chunk中的方法参数 修饰符和类型 方法 说明 private voidChunkOcclusionDataBuilder. addEdgeFaces(int pos, Set<Direction> openFaces)voidChunkOcclusionData. addOpenEdgeFaces(Set<Direction> faces) -
net.minecraft.client.render.entity中Direction的使用
参数类型为Direction的net.minecraft.client.render.entity中的方法 修饰符和类型 方法 说明 private static floatLivingEntityRenderer. getYaw(Direction direction) -
net.minecraft.client.render.model中Direction的使用
声明为Direction的net.minecraft.client.render.model中的字段 修饰符和类型 字段 说明 protected DirectionBakedQuad. face类型参数类型为Direction的net.minecraft.client.render.model中的字段 修饰符和类型 字段 说明 private Map<Direction,List<BakedQuad>>BasicBakedModel.Builder. faceQuadsprotected Map<Direction,List<BakedQuad>>BasicBakedModel. faceQuads返回Direction的net.minecraft.client.render.model中的方法 修饰符和类型 方法 说明 static DirectionBakedQuadFactory. decodeDirection(int[] rotationMatrix)DirectionBakedQuad. getFace()参数类型为Direction的net.minecraft.client.render.model中的方法 修饰符和类型 方法 说明 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)参数类型为Direction的net.minecraft.client.render.model中的构造器 构造器 说明 BakedQuad(int[] vertexData, int colorIndex, Direction face, Sprite sprite, boolean shade)类型变量类型为Direction的net.minecraft.client.render.model中的构造器参数 构造器 说明 BasicBakedModel(List<BakedQuad> quads, Map<Direction,List<BakedQuad>> faceQuads, boolean usesAo, boolean isSideLit, boolean hasDepth, Sprite sprite, ModelTransformation transformation, ModelOverrideList itemPropertyOverrides) -
net.minecraft.client.render.model.json中Direction的使用
声明为Direction的net.minecraft.client.render.model.json中的字段 修饰符和类型 字段 说明 DirectionModelElementFace. cullFaceprivate DirectionItemModelGenerator.Side. direction类型参数类型为Direction的net.minecraft.client.render.model.json中的字段 修饰符和类型 字段 说明 Map<Direction,ModelElementFace>ModelElement. faces返回Direction的net.minecraft.client.render.model.json中的方法 修饰符和类型 方法 说明 private @Nullable DirectionModelElementFace.Deserializer. deserializeCullFace(JsonObject object)DirectionItemModelGenerator.Side. getDirection()private DirectionModelElement.Deserializer. getDirection(String name)返回变量类型为Direction的类型的net.minecraft.client.render.model.json中的方法 修饰符和类型 方法 说明 private Map<Direction,ModelElementFace>ModelElement.Deserializer. deserializeFaces(JsonDeserializationContext context, JsonObject object)private Map<Direction,ModelElementFace>ModelElement.Deserializer. deserializeFacesValidating(JsonDeserializationContext context, JsonObject object)参数类型为Direction的net.minecraft.client.render.model.json中的方法 修饰符和类型 方法 说明 private static BakedQuadJsonUnbakedModel. createQuad(ModelElement element, ModelElementFace elementFace, Sprite sprite, Direction side, ModelBakeSettings settings, Identifier id)private float[]ModelElement. getRotatedMatrix(Direction direction)参数类型为Direction的net.minecraft.client.render.model.json中的构造器 构造器 说明 ModelElementFace(@Nullable Direction cullFace, int tintIndex, String textureId, ModelElementTexture textureData)Side(Direction direction, int offsetX, int offsetY)类型变量类型为Direction的net.minecraft.client.render.model.json中的构造器参数 构造器 说明 ModelElement(Vec3f from, Vec3f to, Map<Direction,ModelElementFace> faces, @Nullable ModelRotation rotation, boolean shade) -
net.minecraft.client.util中Direction的使用
参数类型为Direction的net.minecraft.client.util中的方法 修饰符和类型 方法 说明 static voidParticleUtil. spawnParticle(World world, BlockPos pos, Direction direction, ParticleEffect effect) -
net.minecraft.client.world中Direction的使用
参数类型为Direction的net.minecraft.client.world中的方法 修饰符和类型 方法 说明 floatClientWorld. getBrightness(Direction direction, boolean shaded) -
net.minecraft.data.client.model中Direction的使用
返回变量类型为Direction的类型的net.minecraft.data.client.model中的方法 修饰符和类型 方法 说明 private static BlockStateVariantMap.QuadrupleProperty<Direction,DoubleBlockHalf,DoorHinge,Boolean>BlockStateModelGenerator. fillDoorVariantMap(BlockStateVariantMap.QuadrupleProperty<Direction,DoubleBlockHalf,DoorHinge,Boolean> variantMap, DoubleBlockHalf targetHalf, Identifier regularModel, Identifier hingeModel)参数类型为Direction的net.minecraft.data.client.model中的方法 修饰符和类型 方法 说明 private BlockStateVariantBlockStateModelGenerator. getDripstoneVariant(Direction direction, Thickness thickness)类型变量类型为Direction的net.minecraft.data.client.model中的方法参数 修饰符和类型 方法 说明 private static BlockStateVariantMap.QuadrupleProperty<Direction,DoubleBlockHalf,DoorHinge,Boolean>BlockStateModelGenerator. fillDoorVariantMap(BlockStateVariantMap.QuadrupleProperty<Direction,DoubleBlockHalf,DoorHinge,Boolean> variantMap, DoubleBlockHalf targetHalf, Identifier regularModel, Identifier hingeModel) -
net.minecraft.entity中Direction的使用
返回Direction的net.minecraft.entity中的方法 修饰符和类型 方法 说明 DirectionEntity. getHorizontalFacing()DirectionEntity. getMovementDirection()@Nullable DirectionLivingEntity. getSleepingDirection()参数类型为Direction的net.minecraft.entity中的方法 修饰符和类型 方法 说明 static int[][]Dismounting. getDismountOffsets(Direction movementDirection) -
net.minecraft.entity.ai.pathing中Direction的使用
参数类型为Direction的net.minecraft.entity.ai.pathing中的方法 修饰符和类型 方法 说明 private @Nullable PathNodeLandPathNodeMaker. getPathNode(int x, int y, int z, int maxYStep, double prevFeetY, Direction direction, PathNodeType pathNodeType) -
net.minecraft.entity.data中Direction的使用
类型参数类型为Direction的net.minecraft.entity.data中的字段 修饰符和类型 字段 说明 static TrackedDataHandler<Direction>TrackedDataHandlerRegistry. FACING -
net.minecraft.entity.decoration中Direction的使用
声明为Direction的net.minecraft.entity.decoration中的字段 修饰符和类型 字段 说明 protected DirectionAbstractDecorationEntity. facing返回Direction的net.minecraft.entity.decoration中的方法 修饰符和类型 方法 说明 DirectionAbstractDecorationEntity. getHorizontalFacing()参数类型为Direction的net.minecraft.entity.decoration中的方法 修饰符和类型 方法 说明 protected voidAbstractDecorationEntity. setFacing(Direction facing)protected voidItemFrameEntity. setFacing(Direction facing)voidLeashKnotEntity. setFacing(Direction facing)参数类型为Direction的net.minecraft.entity.decoration中的构造器 构造器 说明 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) -
net.minecraft.entity.decoration.painting中Direction的使用
参数类型为Direction的net.minecraft.entity.decoration.painting中的构造器 构造器 说明 PaintingEntity(World world, BlockPos pos, Direction direction)PaintingEntity(World world, BlockPos pos, Direction direction, PaintingMotive motive) -
net.minecraft.entity.mob中Direction的使用
声明为Direction的net.minecraft.entity.mob中的字段 修饰符和类型 字段 说明 private DirectionSilverfishEntity.WanderAndInfestGoal. direction类型参数类型为Direction的net.minecraft.entity.mob中的字段 修饰符和类型 字段 说明 protected static TrackedData<Direction>ShulkerEntity. ATTACHED_FACE返回Direction的net.minecraft.entity.mob中的方法 修饰符和类型 方法 说明 protected @Nullable DirectionShulkerEntity. findAttachSide(BlockPos pos)DirectionShulkerEntity. getAttachedFace()参数类型为Direction的net.minecraft.entity.mob中的方法 修饰符和类型 方法 说明 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) -
net.minecraft.entity.player中Direction的使用
参数类型为Direction的net.minecraft.entity.player中的方法 修饰符和类型 方法 说明 booleanPlayerEntity. canPlaceOn(BlockPos pos, Direction facing, ItemStack stack) -
net.minecraft.entity.projectile中Direction的使用
声明为Direction的net.minecraft.entity.projectile中的字段 修饰符和类型 字段 说明 private @Nullable DirectionShulkerBulletEntity. direction返回Direction的net.minecraft.entity.projectile中的方法 修饰符和类型 方法 说明 private @Nullable DirectionShulkerBulletEntity. getDirection()参数类型为Direction的net.minecraft.entity.projectile中的方法 修饰符和类型 方法 说明 private voidShulkerBulletEntity. setDirection(@Nullable Direction direction) -
net.minecraft.entity.vehicle中Direction的使用
返回Direction的net.minecraft.entity.vehicle中的方法 修饰符和类型 方法 说明 DirectionAbstractMinecartEntity. getMovementDirection()DirectionBoatEntity. getMovementDirection() -
net.minecraft.fluid中Direction的使用
返回变量类型为Direction的类型的net.minecraft.fluid中的方法 修饰符和类型 方法 说明 protected Map<Direction,FluidState>FlowableFluid. getSpread(WorldView world, BlockPos pos, BlockState state)参数类型为Direction的net.minecraft.fluid中的方法 修饰符和类型 方法 说明 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) -
net.minecraft.inventory中Direction的使用
参数类型为Direction的net.minecraft.inventory中的方法 修饰符和类型 方法 说明 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. -
net.minecraft.item中Direction的使用
声明为Direction的net.minecraft.item中的字段 修饰符和类型 字段 说明 private DirectionAutomaticItemPlacementContext. facing返回Direction的net.minecraft.item中的方法 修饰符和类型 方法 说明 Direction[]AutomaticItemPlacementContext. getPlacementDirections()Direction[]ItemPlacementContext. getPlacementDirections()DirectionAutomaticItemPlacementContext. getPlayerFacing()DirectionItemUsageContext. getPlayerFacing()DirectionAutomaticItemPlacementContext. getPlayerLookDirection()DirectionItemPlacementContext. getPlayerLookDirection()DirectionItemUsageContext. getSide()DirectionItemPlacementContext. getVerticalPlayerLookDirection()参数类型为Direction的net.minecraft.item中的方法 修饰符和类型 方法 说明 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)参数类型为Direction的net.minecraft.item中的构造器 构造器 说明 AutomaticItemPlacementContext(World world, BlockPos pos, Direction facing, ItemStack stack, Direction side) -
net.minecraft.network.packet.c2s.play中Direction的使用
声明为Direction的net.minecraft.network.packet.c2s.play中的字段 修饰符和类型 字段 说明 private DirectionPlayerActionC2SPacket. direction返回Direction的net.minecraft.network.packet.c2s.play中的方法 修饰符和类型 方法 说明 DirectionPlayerActionC2SPacket. getDirection()参数类型为Direction的net.minecraft.network.packet.c2s.play中的构造器 构造器 说明 PlayerActionC2SPacket(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction) -
net.minecraft.network.packet.s2c.play中Direction的使用
声明为Direction的net.minecraft.network.packet.s2c.play中的字段 修饰符和类型 字段 说明 private DirectionPaintingSpawnS2CPacket. facing返回Direction的net.minecraft.network.packet.s2c.play中的方法 修饰符和类型 方法 说明 DirectionPaintingSpawnS2CPacket. getFacing() -
net.minecraft.server.network中Direction的使用
参数类型为Direction的net.minecraft.server.network中的方法 修饰符和类型 方法 说明 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) -
net.minecraft.server.world中Direction的使用
参数类型为Direction的net.minecraft.server.world中的方法 修饰符和类型 方法 说明 floatServerWorld. getBrightness(Direction direction, boolean shaded) -
net.minecraft.state.property中Direction的使用
参数类型为Direction的net.minecraft.state.property中的方法 修饰符和类型 方法 说明 static DirectionPropertyDirectionProperty. of(String name, Direction[] values)Creates a direction property which only supports specific values类型变量类型为Direction的net.minecraft.state.property中的方法参数 修饰符和类型 方法 说明 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.类型变量类型为Direction的net.minecraft.state.property中的构造器参数 构造器 说明 DirectionProperty(String name, Collection<Direction> values) -
net.minecraft.structure中Direction的使用
声明为Direction的net.minecraft.structure中的字段 修饰符和类型 字段 说明 private DirectionMineshaftGenerator.MineshaftCrossing. directionprivate @Nullable DirectionStructurePiece. facing返回Direction的net.minecraft.structure中的方法 修饰符和类型 方法 说明 @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)参数类型为Direction的net.minecraft.structure中的方法 修饰符和类型 方法 说明 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)参数类型为Direction的net.minecraft.structure中的构造器 构造器 说明 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) -
net.minecraft.util中Direction的使用
类型参数类型为Direction的net.minecraft.util中的字段 修饰符和类型 字段 说明 private Set<Direction>EightWayDirection. directions返回Direction的net.minecraft.util中的方法 修饰符和类型 方法 说明 DirectionBlockMirror. apply(Direction direction)DirectionBlockRotation. rotate(Direction direction)返回变量类型为Direction的类型的net.minecraft.util中的方法 修饰符和类型 方法 说明 Set<Direction>EightWayDirection. getDirections()参数类型为Direction的net.minecraft.util中的方法 修饰符和类型 方法 说明 DirectionBlockMirror. apply(Direction direction)BlockRotationBlockMirror. getRotation(Direction direction)DirectionBlockRotation. rotate(Direction direction)参数类型为Direction的net.minecraft.util中的构造器 构造器 说明 EightWayDirection(Direction[] directions) -
net.minecraft.util.hit中Direction的使用
声明为Direction的net.minecraft.util.hit中的字段 修饰符和类型 字段 说明 private DirectionBlockHitResult. side返回Direction的net.minecraft.util.hit中的方法 修饰符和类型 方法 说明 DirectionBlockHitResult. getSide()参数类型为Direction的net.minecraft.util.hit中的方法 修饰符和类型 方法 说明 static BlockHitResultBlockHitResult. createMissed(Vec3d pos, Direction side, BlockPos blockPos)BlockHitResultBlockHitResult. withSide(Direction side)参数类型为Direction的net.minecraft.util.hit中的构造器 构造器 说明 BlockHitResult(boolean missed, Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock)BlockHitResult(Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock) -
net.minecraft.util.math中Direction的使用
声明为Direction的net.minecraft.util.math中的字段 修饰符和类型 字段 说明 private static Direction[]Direction. ALLprivate DirectionVerticalSurfaceType. directionprivate Direction[]Direction.Type. facingArrayprivate static Direction[]Direction. HORIZONTALprivate static Direction[]Direction. VALUES类型参数类型为Direction的net.minecraft.util.math中的字段 修饰符和类型 字段 说明 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_DIRECTION返回Direction的net.minecraft.util.math中的方法 修饰符和类型 方法 说明 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)返回带有指定名称的该类型的枚举常量。static Direction[]Direction. values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。返回变量类型为Direction的类型的net.minecraft.util.math中的方法 修饰符和类型 方法 说明 Iterator<Direction>Direction.Type. iterator()Stream<Direction>Direction.Type. stream()参数类型为Direction的net.minecraft.util.math中的方法 修饰符和类型 方法 说明 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)参数类型为Direction的net.minecraft.util.math中的构造器 构造器 说明 Type(Direction[] facingArray, Direction.Axis[] axisArray)VerticalSurfaceType(Direction direction, int offset, String name) -
net.minecraft.util.shape中Direction的使用
参数类型为Direction的net.minecraft.util.shape中的方法 修饰符和类型 方法 说明 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) -
net.minecraft.world中Direction的使用
声明为Direction的net.minecraft.world中的字段 修饰符和类型 字段 说明 private static Direction[]World. DIRECTIONS参数类型为Direction的net.minecraft.world中的方法 修饰符和类型 方法 说明 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) -
net.minecraft.world.chunk中Direction的使用
声明为Direction的net.minecraft.world.chunk中的字段 修饰符和类型 字段 说明 static Direction[]UpgradeData.BuiltinLogic. DIRECTIONS参数类型为Direction的net.minecraft.world.chunk中的方法 修饰符和类型 方法 说明 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) -
net.minecraft.world.chunk.light中Direction的使用
声明为Direction的net.minecraft.world.chunk.light中的字段 修饰符和类型 字段 说明 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_DIRECTIONS参数类型为Direction的net.minecraft.world.chunk.light中的方法 修饰符和类型 方法 说明 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) -
net.minecraft.world.dimension中Direction的使用
声明为Direction的net.minecraft.world.dimension中的字段 修饰符和类型 字段 说明 private DirectionAreaHelper. negativeDir参数类型为Direction的net.minecraft.world.dimension中的方法 修饰符和类型 方法 说明 private intAreaHelper. getWidth(BlockPos pos, Direction direction) -
net.minecraft.world.gen.feature中Direction的使用
声明为Direction的net.minecraft.world.gen.feature中的字段 修饰符和类型 字段 说明 DirectionGrowingPlantFeatureConfig. directionprivate static Direction[]DeltaFeature. DIRECTIONSprivate static Direction[]GeodeFeature. DIRECTIONSprivate static Direction[]WeepingVinesFeature. DIRECTIONS类型参数类型为Direction的net.minecraft.world.gen.feature中的字段 修饰符和类型 字段 说明 List<Direction>GlowLichenFeatureConfig. directions返回变量类型为Direction的类型的net.minecraft.world.gen.feature中的方法 修饰符和类型 方法 说明 static List<Direction>GlowLichenFeature. shuffleDirections(GlowLichenFeatureConfig config, Random random)static List<Direction>GlowLichenFeature. shuffleDirections(GlowLichenFeatureConfig config, Random random, Direction excluded)参数类型为Direction的net.minecraft.world.gen.feature中的方法 修饰符和类型 方法 说明 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)类型变量类型为Direction的net.minecraft.world.gen.feature中的方法参数 修饰符和类型 方法 说明 static booleanGlowLichenFeature. generate(StructureWorldAccess world, BlockPos pos, BlockState state, GlowLichenFeatureConfig config, Random random, List<Direction> directions)参数类型为Direction的net.minecraft.world.gen.feature中的构造器 构造器 说明 GrowingPlantFeatureConfig(DataPool<IntProvider> heightDistribution, Direction direction, BlockStateProvider bodyProvider, BlockStateProvider headProvider, boolean allowWater) -
net.minecraft.world.gen.feature.util中Direction的使用
参数类型为Direction的net.minecraft.world.gen.feature.util中的方法 修饰符和类型 方法 说明 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)
-