Uses of Enum
net.minecraft.util.math.Direction.Axis
Packages that use Direction.Axis
Package
Description
-
Uses of Direction.Axis in net.minecraft.block
Fields in net.minecraft.block with type parameters of type Direction.AxisModifier and TypeFieldDescriptionstatic EnumProperty<Direction.Axis>NetherPortalBlock.AXISstatic EnumProperty<Direction.Axis>PillarBlock.AXISMethods in net.minecraft.block with parameters of type Direction.AxisModifier and TypeMethodDescriptionstatic doubleLightningRodBlock.method_35282(Random random, Direction.Axis axis, double double2, Direction.Axis axis2) -
Uses of Direction.Axis in net.minecraft.client.render.model.json
Fields in net.minecraft.client.render.model.json declared as Direction.AxisMethods in net.minecraft.client.render.model.json that return Direction.AxisModifier and TypeMethodDescriptionprivate Direction.AxisModelElement.Deserializer.deserializeAxis(JsonObject object)Constructors in net.minecraft.client.render.model.json with parameters of type Direction.AxisModifierConstructorDescriptionModelRotation(Vec3f origin, Direction.Axis axis, float angle, boolean rescale) -
Uses of Direction.Axis in net.minecraft.client.util
Methods in net.minecraft.client.util with parameters of type Direction.AxisModifier and TypeMethodDescriptionstatic voidParticleUtil.spawnParticle(Direction.Axis axis, World world, BlockPos pos, double variance, ParticleEffect effect, UniformIntProvider range) -
Uses of Direction.Axis in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return types with arguments of type Direction.AxisModifier and TypeMethodDescriptionstatic EnumSet<Direction.Axis>SwizzleArgumentType.getSwizzle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)SwizzleArgumentType.parse(com.mojang.brigadier.StringReader stringReader) -
Uses of Direction.Axis in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type Direction.AxisModifier and TypeMethodDescriptionprivate doubleEntity.calculatePistonMovementFactor(Direction.Axis axis, double offsetFactor)protected Vec3dEntity.positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect)protected Vec3dLivingEntity.positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect) -
Uses of Direction.Axis in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile with parameters of type Direction.AxisModifier and TypeMethodDescriptionprivate voidShulkerBulletEntity.method_7486(Direction.Axis axis)Constructors in net.minecraft.entity.projectile with parameters of type Direction.AxisModifierConstructorDescriptionShulkerBulletEntity(World world, LivingEntity owner, Entity target, Direction.Axis axis) -
Uses of Direction.Axis in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle with parameters of type Direction.AxisModifier and TypeMethodDescriptionprotected Vec3dAbstractMinecartEntity.positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect)protected Vec3dBoatEntity.positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect) -
Uses of Direction.Axis in net.minecraft.state.property
Fields in net.minecraft.state.property with type parameters of type Direction.AxisModifier and TypeFieldDescriptionstatic EnumProperty<Direction.Axis>Properties.AXISA property that specifies the axis a block is oriented to.static EnumProperty<Direction.Axis>Properties.HORIZONTAL_AXISA property that specifies the axis a block is oriented to. -
Uses of Direction.Axis in net.minecraft.structure.rule
Fields in net.minecraft.structure.rule declared as Direction.AxisConstructors in net.minecraft.structure.rule with parameters of type Direction.AxisModifierConstructorDescriptionAxisAlignedLinearPosRuleTest(float minChance, float maxChance, int minDistance, int maxDistance, Direction.Axis axis) -
Uses of Direction.Axis in net.minecraft.util.math
Fields in net.minecraft.util.math declared as Direction.AxisModifier and TypeFieldDescriptionstatic Direction.Axis[]AxisCycleDirection.AXESprivate Direction.AxisDirection.axisprivate Direction.Axis[]Direction.Type.axisArraystatic Direction.Axis[]Direction.Axis.VALUESFields in net.minecraft.util.math with type parameters of type Direction.AxisModifier and TypeFieldDescriptionprivate static Map<String,Direction.Axis>Direction.Axis.BY_NAMEstatic com.mojang.serialization.Codec<Direction.Axis>Direction.Axis.CODECMethods in net.minecraft.util.math that return Direction.AxisModifier and TypeMethodDescriptionabstract Direction.AxisAxisCycleDirection.cycle(Direction.Axis axis)static @Nullable Direction.AxisDirection.getAxis()static Direction.AxisDirection.Axis.pickRandomAxis(Random random)Direction.Type.randomAxis(Random random)static Direction.AxisReturns the enum constant of this type with the specified name.static Direction.Axis[]Direction.Axis.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.minecraft.util.math with parameters of type Direction.AxisModifier and TypeMethodDescriptionstatic AxisCycleDirectionAxisCycleDirection.between(Direction.Axis from, Direction.Axis to)abstract intAxisCycleDirection.choose(int x, int y, int z, Direction.Axis axis)BlockPos.Mutable.clamp(Direction.Axis axis, int min, int max)Clamps the component corresponding to the givenaxisbetweenminandmax.abstract Direction.AxisAxisCycleDirection.cycle(Direction.Axis axis)static DirectionDirection.from(Direction.Axis axis, Direction.AxisDirection direction)static DirectionDirection.get(Direction.AxisDirection direction, Direction.Axis axis)doubleVec3d.getComponentAlongAxis(Direction.Axis axis)intVec3i.getComponentAlongAxis(Direction.Axis axis)static DirectionDirection.getLookDirectionForAxis(Entity entity, Direction.Axis axis)doubleBox.getMax(Direction.Axis axis)doubleBox.getMin(Direction.Axis axis)abstract doubleAxisCycleDirection.method_35819(double double2, double double3, double double4, Direction.Axis axis)Direction.method_35833(Direction.Axis axis)Direction.method_35834(Direction.Axis axis)BlockPos.Mutable.offset(Direction.Axis axis, int int2)BlockPos.offset(Direction.Axis axis, int int2)Vec3i.offset(Direction.Axis axis, int distance)booleanDirectionTransformation.shouldFlipDirection(Direction.Axis axis)Method parameters in net.minecraft.util.math with type arguments of type Direction.AxisConstructors in net.minecraft.util.math with parameters of type Direction.AxisModifierConstructorDescriptionprivateDirection(int id, int idOpposite, int idHorizontal, String name, Direction.AxisDirection direction, Direction.Axis axis, Vec3i vector)privateType(Direction[] facingArray, Direction.Axis[] axisArray) -
Uses of Direction.Axis in net.minecraft.util.shape
Fields in net.minecraft.util.shape declared as Direction.AxisModifier and TypeFieldDescriptionprivate static Direction.Axis[]VoxelSet.AXESprivate Direction.AxisSlicedVoxelShape.axisMethods in net.minecraft.util.shape with parameters of type Direction.AxisModifier and TypeMethodDescriptiondoubleVoxelShape.calculateMaxDistance(Direction.Axis axis, Box box, double maxDist)static doubleVoxelShapes.calculateMaxOffset(Direction.Axis axis, Box box, Stream<VoxelShape> shapes, double maxDist)static doubleVoxelShapes.calculatePushVelocity(Direction.Axis axis, Box box, WorldView world, double initial, ShapeContext context, Stream<VoxelShape> shapes)private intCroppedVoxelSet.clamp(Direction.Axis axis, int value)private static VoxelSetSlicedVoxelShape.createVoxelSet(VoxelSet voxelSet, Direction.Axis axis, int sliceWidth)protected intSimpleVoxelShape.getCoordIndex(Direction.Axis axis, double coord)protected intVoxelShape.getCoordIndex(Direction.Axis axis, double coord)intVoxelSet.getEndingAxisCoord(Direction.Axis axis, int from, int to)doubleVoxelShape.getEndingCoord(Direction.Axis axis, double from, double to)intBitSetVoxelSet.getMax(Direction.Axis axis)intCroppedVoxelSet.getMax(Direction.Axis axis)abstract intVoxelSet.getMax(Direction.Axis axis)doubleVoxelShape.getMax(Direction.Axis axis)intBitSetVoxelSet.getMin(Direction.Axis axis)intCroppedVoxelSet.getMin(Direction.Axis axis)abstract intVoxelSet.getMin(Direction.Axis axis)doubleVoxelShape.getMin(Direction.Axis axis)protected doubleVoxelShape.getPointPosition(Direction.Axis axis, int index)protected DoubleListArrayVoxelShape.getPointPositions(Direction.Axis axis)protected DoubleListSimpleVoxelShape.getPointPositions(Direction.Axis axis)protected DoubleListSlicedVoxelShape.getPointPositions(Direction.Axis axis)protected abstract DoubleListVoxelShape.getPointPositions(Direction.Axis axis)intVoxelSet.getSize(Direction.Axis axis)intVoxelSet.method_35592(Direction.Axis axis, int int2, int int3)doubleVoxelShape.method_35593(Direction.Axis axis, double double2, double double3)Constructors in net.minecraft.util.shape with parameters of type Direction.AxisModifierConstructorDescriptionSlicedVoxelShape(VoxelShape shape, Direction.Axis axis, int sliceWidth) -
Uses of Direction.Axis in net.minecraft.world
Methods in net.minecraft.world with parameters of type Direction.AxisModifier and TypeMethodDescriptionPortalForcer.createPortal(BlockPos blockPos, Direction.Axis axis)static PortalUtil.RectanglePortalUtil.getLargestRectangle(BlockPos center, Direction.Axis primaryAxis, int primaryMaxBlocks, Direction.Axis secondaryAxis, int secondaryMaxBlocks, Predicate<BlockPos> predicate)Gets the largest rectangle of blocks along two axes for which all blocks meet a predicate. -
Uses of Direction.Axis in net.minecraft.world.dimension
Fields in net.minecraft.world.dimension declared as Direction.AxisMethods in net.minecraft.world.dimension with parameters of type Direction.AxisModifier and TypeMethodDescriptionstatic Vec3dAreaHelper.entityPosInPortal(PortalUtil.Rectangle portalRect, Direction.Axis portalAxis, Vec3d entityPos, EntityDimensions entityDimensions)static TeleportTargetAreaHelper.getNetherTeleportTarget(ServerWorld destination, PortalUtil.Rectangle portalRect, Direction.Axis portalAxis, Vec3d offset, EntityDimensions dimensions, Vec3d velocity, float yaw, float pitch)static Optional<AreaHelper>AreaHelper.getNewPortal(WorldAccess world, BlockPos pos, Direction.Axis axis)static Optional<AreaHelper>AreaHelper.getOrEmpty(WorldAccess world, BlockPos pos, Predicate<AreaHelper> predicate, Direction.Axis axis)Constructors in net.minecraft.world.dimension with parameters of type Direction.Axis -
Uses of Direction.Axis in net.minecraft.world.gen.trunk
Methods in net.minecraft.world.gen.trunk that return Direction.AxisModifier and TypeMethodDescriptionprivate Direction.AxisLargeOakTrunkPlacer.getLogAxis(BlockPos branchStart, BlockPos branchEnd)