Uses of Enum Class
net.minecraft.core.Direction.Axis
Packages that use Direction.Axis
Package
Description
-
Uses of Direction.Axis in com.mojang.math
Fields in com.mojang.math declared as Direction.AxisMethods in com.mojang.math that return Direction.AxisMethods in com.mojang.math with parameters of type Direction.AxisModifier and TypeMethodDescriptionbooleanOctahedralGroup.inverts(Direction.Axis axis) OctahedralGroup.permute(Direction.Axis axis) -
Uses of Direction.Axis in net.minecraft
Methods in net.minecraft with parameters of type Direction.AxisModifier and TypeMethodDescriptionstatic BlockUtil.FoundRectangleBlockUtil.getLargestRectangleAround(BlockPos centerPos, Direction.Axis axis1, int max1, Direction.Axis axis2, int max2, Predicate<BlockPos> posPredicate) Finds the rectangle with the largest area containing centerPos within the blocks specified by the predicate -
Uses of Direction.Axis in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model declared as Direction.AxisModifier and TypeFieldDescriptionprivate final Direction.AxisBlockElementRotation.axisThe field for theaxisrecord component.Methods in net.minecraft.client.renderer.block.model that return Direction.AxisModifier and TypeMethodDescriptionBlockElementRotation.axis()Returns the value of theaxisrecord component.private Direction.AxisBlockElement.Deserializer.getAxis(JsonObject json) Constructors in net.minecraft.client.renderer.block.model with parameters of type Direction.AxisModifierConstructorDescriptionBlockElementRotation(org.joml.Vector3f origin, Direction.Axis axis, float angle, boolean rescale) Creates an instance of aBlockElementRotationrecord class. -
Uses of Direction.Axis in net.minecraft.commands.arguments.coordinates
Methods in net.minecraft.commands.arguments.coordinates that return types with arguments of type Direction.AxisModifier and TypeMethodDescriptionstatic EnumSet<Direction.Axis> SwizzleArgument.getSwizzle(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) SwizzleArgument.parse(com.mojang.brigadier.StringReader reader) -
Uses of Direction.Axis in net.minecraft.core
Fields in net.minecraft.core declared as Direction.AxisModifier and TypeFieldDescriptionprivate final Direction.AxisDirection.axisprivate final Direction.Axis[]Direction.Plane.axisstatic final Direction.Axis[]AxisCycle.AXIS_VALUESstatic final Direction.Axis[]Direction.Axis.VALUESFields in net.minecraft.core with type parameters of type Direction.AxisModifier and TypeFieldDescriptionstatic final StringRepresentable.EnumCodec<Direction.Axis> Direction.Axis.CODECMethods in net.minecraft.core that return Direction.AxisModifier and TypeMethodDescriptionstatic Direction.Axisabstract Direction.AxisAxisCycle.cycle(Direction.Axis axis) Direction.getAxis()static Direction.AxisDirection.Axis.getRandom(RandomSource random) Direction.Plane.getRandomAxis(RandomSource random) static Direction.AxisReturns the enum constant of this class with the specified name.static Direction.Axis[]Direction.Axis.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.core with parameters of type Direction.AxisModifier and TypeMethodDescriptionstatic AxisCycleAxisCycle.between(Direction.Axis to, Direction.Axis axis2) BlockPos.MutableBlockPos.clamp(Direction.Axis axis, int min, int max) abstract doubleAxisCycle.cycle(double x, double y, double z, Direction.Axis axis) abstract intAxisCycle.cycle(int x, int y, int z, Direction.Axis axis) abstract Direction.AxisAxisCycle.cycle(Direction.Axis axis) static DirectionDirection.fromAxisAndDirection(Direction.Axis axis, Direction.AxisDirection axisDirection) static DirectionDirection.get(Direction.AxisDirection axisDirection, Direction.Axis axis) intVec3i.get(Direction.Axis axis) Direction.getClockWise(Direction.Axis axis) Direction.getCounterClockWise(Direction.Axis axis) static DirectionDirection.getFacingAxis(Entity entity, Direction.Axis axis) BlockPos.MutableBlockPos.relative(Direction.Axis p_122145_, int p_122146_) BlockPos.relative(Direction.Axis p_121943_, int p_121944_) Vec3i.relative(Direction.Axis axis, int amount) Constructors in net.minecraft.core with parameters of type Direction.AxisModifierConstructorDescriptionprivateDirection(int data3d, int oppositeIndex, int data2d, String name, Direction.AxisDirection axisDirection, Direction.Axis axis, Vec3i normal) privatePlane(Direction[] faces, Direction.Axis[] axis) -
Uses of Direction.Axis in net.minecraft.util
Methods in net.minecraft.util with parameters of type Direction.AxisModifier and TypeMethodDescriptionstatic voidParticleUtils.spawnParticlesAlongAxis(Direction.Axis axis, Level level, BlockPos pos, double spread, ParticleOptions particle, UniformInt count) -
Uses of Direction.Axis in net.minecraft.world.entity
Fields in net.minecraft.world.entity with type parameters of type Direction.AxisModifier and TypeFieldDescriptionprivate static final ImmutableList<Direction.Axis> Entity.YXZ_AXIS_ORDERprivate static final ImmutableList<Direction.Axis> Entity.YZX_AXIS_ORDERMethods in net.minecraft.world.entity that return types with arguments of type Direction.AxisModifier and TypeMethodDescriptionprivate static Iterable<Direction.Axis> Entity.axisStepOrder(Vec3 deltaMovement) Methods in net.minecraft.world.entity with parameters of type Direction.AxisModifier and TypeMethodDescriptionprivate doubleEntity.applyPistonMovementRestriction(Direction.Axis axis, double distance) Entity.getRelativePortalPosition(Direction.Axis axis, BlockUtil.FoundRectangle portal) LivingEntity.getRelativePortalPosition(Direction.Axis p_21085_, BlockUtil.FoundRectangle p_21086_) -
Uses of Direction.Axis in net.minecraft.world.entity.projectile
Methods in net.minecraft.world.entity.projectile with parameters of type Direction.AxisModifier and TypeMethodDescriptionprivate voidShulkerBullet.selectNextMoveDirection(Direction.Axis axis) Constructors in net.minecraft.world.entity.projectile with parameters of type Direction.AxisModifierConstructorDescriptionShulkerBullet(Level level, LivingEntity shooter, Entity finalTarget, Direction.Axis axis) -
Uses of Direction.Axis in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle with parameters of type Direction.AxisModifier and TypeMethodDescriptionAbstractBoat.getRelativePortalPosition(Direction.Axis p_376896_, BlockUtil.FoundRectangle p_376254_) AbstractMinecart.getRelativePortalPosition(Direction.Axis p_38132_, BlockUtil.FoundRectangle p_38133_) -
Uses of Direction.Axis in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block with type parameters of type Direction.AxisModifier and TypeFieldDescriptionstatic final EnumProperty<Direction.Axis> CreakingHeartBlock.AXISstatic final EnumProperty<Direction.Axis> NetherPortalBlock.AXISstatic final EnumProperty<Direction.Axis> RotatedPillarBlock.AXISprivate static final Map<Direction.Axis, VoxelShape> FenceGateBlock.SHAPE_COLLISIONprivate static final Map<Direction.Axis, VoxelShape> BellBlock.SHAPE_DOUBLE_WALLprivate static final Map<Direction.Axis, VoxelShape> BellBlock.SHAPE_FLOORprivate static final Map<Direction.Axis, VoxelShape> FenceGateBlock.SHAPE_OCCLUSIONprivate static final Map<Direction.Axis, VoxelShape> FenceGateBlock.SHAPE_OCCLUSION_WALLprivate static final Map<Direction.Axis, VoxelShape> FenceGateBlock.SHAPE_SUPPORTprivate static final Map<Direction.Axis, VoxelShape> AnvilBlock.SHAPESprivate static final Map<Direction.Axis, VoxelShape> ChainBlock.SHAPESprivate static final Map<Direction.Axis, VoxelShape> FenceGateBlock.SHAPESprivate static final Map<Direction.Axis, VoxelShape> NetherPortalBlock.SHAPESprivate static final Map<Direction.Axis, VoxelShape> RodBlock.SHAPESprivate static final Map<Direction.Axis, VoxelShape> WallHangingSignBlock.SHAPESprivate static final Map<Direction.Axis, VoxelShape> WallHangingSignBlock.SHAPES_PLANKprivate static final Map<Direction.Axis, VoxelShape> FenceGateBlock.SHAPES_WALLMethods in net.minecraft.world.level.block with parameters of type Direction.AxisModifier and TypeMethodDescriptionprivate static TeleportTransitionNetherPortalBlock.createDimensionTransition(ServerLevel level, BlockUtil.FoundRectangle rectangle, Direction.Axis axis, Vec3 offset, Entity entity, TeleportTransition.PostTeleportTransition postTeleportTransition) -
Uses of Direction.Axis in net.minecraft.world.level.block.state.properties
Fields in net.minecraft.world.level.block.state.properties with type parameters of type Direction.AxisModifier and TypeFieldDescriptionstatic final EnumProperty<Direction.Axis> BlockStateProperties.AXISstatic final EnumProperty<Direction.Axis> BlockStateProperties.HORIZONTAL_AXIS -
Uses of Direction.Axis in net.minecraft.world.level.levelgen.feature.trunkplacers
Methods in net.minecraft.world.level.levelgen.feature.trunkplacers that return Direction.AxisModifier and TypeMethodDescriptionprivate Direction.AxisFancyTrunkPlacer.getLogAxis(BlockPos pos, BlockPos otherPos) -
Uses of Direction.Axis in net.minecraft.world.level.levelgen.structure.templatesystem
Fields in net.minecraft.world.level.levelgen.structure.templatesystem declared as Direction.AxisConstructors in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type Direction.AxisModifierConstructorDescriptionAxisAlignedLinearPosTest(float minChance, float maxChance, int minDist, int maxDist, Direction.Axis axis) -
Uses of Direction.Axis in net.minecraft.world.level.portal
Fields in net.minecraft.world.level.portal declared as Direction.AxisMethods in net.minecraft.world.level.portal with parameters of type Direction.AxisModifier and TypeMethodDescriptionPortalForcer.createPortal(BlockPos pos, Direction.Axis axis) static PortalShapePortalShape.findAnyShape(BlockGetter level, BlockPos bottomLeft, Direction.Axis axis) static Optional<PortalShape> PortalShape.findEmptyPortalShape(LevelAccessor level, BlockPos bottomLeft, Direction.Axis axis) static Optional<PortalShape> PortalShape.findPortalShape(LevelAccessor level, BlockPos bottomLeft, Predicate<PortalShape> predicate, Direction.Axis axis) static Vec3PortalShape.getRelativePosition(BlockUtil.FoundRectangle foundRectangle, Direction.Axis axis, Vec3 pos, EntityDimensions entityDimensions) Constructors in net.minecraft.world.level.portal with parameters of type Direction.AxisModifierConstructorDescriptionprivatePortalShape(Direction.Axis axis, int numPortalBlocks, Direction rightDir, BlockPos bottomLeft, int width, int height) -
Uses of Direction.Axis in net.minecraft.world.phys
Methods in net.minecraft.world.phys with parameters of type Direction.AxisModifier and TypeMethodDescriptiondoubleVec3.get(Direction.Axis axis) doubleAABB.max(Direction.Axis axis) doubleAABB.min(Direction.Axis axis) Vec3.with(Direction.Axis axis, double length) Method parameters in net.minecraft.world.phys with type arguments of type Direction.Axis -
Uses of Direction.Axis in net.minecraft.world.phys.shapes
Fields in net.minecraft.world.phys.shapes declared as Direction.AxisModifier and TypeFieldDescriptionprivate final Direction.AxisSliceShape.axisprivate static final Direction.Axis[]DiscreteVoxelShape.AXIS_VALUESMethods in net.minecraft.world.phys.shapes that return types with arguments of type Direction.AxisModifier and TypeMethodDescriptionstatic Map<Direction.Axis, VoxelShape> Shapes.rotateAllAxis(VoxelShape shape) static Map<Direction.Axis, VoxelShape> Shapes.rotateAllAxis(VoxelShape shape, Vec3 pos) static Map<Direction.Axis, VoxelShape> Shapes.rotateHorizontalAxis(VoxelShape shape) static Map<Direction.Axis, VoxelShape> Shapes.rotateHorizontalAxis(VoxelShape shape, Vec3 pos) Methods in net.minecraft.world.phys.shapes with parameters of type Direction.AxisModifier and TypeMethodDescriptionprivate intSubShape.clampToShape(Direction.Axis axis, int value) static doubleShapes.collide(Direction.Axis movementAxis, AABB collisionBox, Iterable<VoxelShape> possibleHits, double desiredOffset) doubleVoxelShape.collide(Direction.Axis movementAxis, AABB collisionBox, double desiredOffset) protected intCubeVoxelShape.findIndex(Direction.Axis axis, double position) protected intVoxelShape.findIndex(Direction.Axis axis, double position) intBitSetDiscreteVoxelShape.firstFull(Direction.Axis axis) abstract intDiscreteVoxelShape.firstFull(Direction.Axis axis) intDiscreteVoxelShape.firstFull(Direction.Axis axis, int y, int z) intSubShape.firstFull(Direction.Axis axis) protected doubleVoxelShape.get(Direction.Axis axis, int index) it.unimi.dsi.fastutil.doubles.DoubleListArrayVoxelShape.getCoords(Direction.Axis axis) it.unimi.dsi.fastutil.doubles.DoubleListCubeVoxelShape.getCoords(Direction.Axis axis) it.unimi.dsi.fastutil.doubles.DoubleListSliceShape.getCoords(Direction.Axis axis) abstract it.unimi.dsi.fastutil.doubles.DoubleListVoxelShape.getCoords(Direction.Axis axis) intDiscreteVoxelShape.getSize(Direction.Axis axis) private booleanVoxelShape.isCubeLikeAlong(Direction.Axis axis) intBitSetDiscreteVoxelShape.lastFull(Direction.Axis axis) abstract intDiscreteVoxelShape.lastFull(Direction.Axis axis) intDiscreteVoxelShape.lastFull(Direction.Axis axis, int y, int z) Gives the index of the last filled part in the column.intSubShape.lastFull(Direction.Axis axis) private static DiscreteVoxelShapeSliceShape.makeSlice(DiscreteVoxelShape shape, Direction.Axis axis, int index) doubleVoxelShape.max(Direction.Axis axis) doubleVoxelShape.max(Direction.Axis axis, double primaryPosition, double secondaryPosition) doubleVoxelShape.min(Direction.Axis axis) doubleVoxelShape.min(Direction.Axis axis, double primaryPosition, double secondaryPosition) Constructors in net.minecraft.world.phys.shapes with parameters of type Direction.Axis -
Uses of Direction.Axis in net.neoforged.neoforge.client.model.generators.template
Fields in net.neoforged.neoforge.client.model.generators.template declared as Direction.AxisMethods in net.neoforged.neoforge.client.model.generators.template with parameters of type Direction.Axis