Uses of Enum Class
net.minecraft.core.Direction.Axis
Package
Description
-
Uses of Direction.Axis in com.mojang.math
-
Uses of Direction.Axis in net.minecraft
Modifier and TypeMethodDescriptionstatic BlockUtil.FoundRectangle
BlockUtil.getLargestRectangleAround(BlockPos p_124335_, Direction.Axis p_124336_, int p_124337_, Direction.Axis p_124338_, int p_124339_, Predicate<BlockPos> p_124340_)
-
Uses of Direction.Axis in net.minecraft.client.renderer.block.model
Modifier and TypeMethodDescriptionprivate Direction.Axis
BlockElement.Deserializer.getAxis(com.google.gson.JsonObject p_111345_)
ModifierConstructorDescriptionBlockElementRotation(Vector3f p_111383_, Direction.Axis p_111384_, float p_111385_, boolean p_111386_)
-
Uses of Direction.Axis in net.minecraft.commands.arguments.coordinates
Modifier and TypeMethodDescriptionstatic EnumSet<Direction.Axis>
SwizzleArgument.getSwizzle(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120811_, String p_120812_)
SwizzleArgument.parse(com.mojang.brigadier.StringReader p_120809_)
-
Uses of Direction.Axis in net.minecraft.core
Modifier and TypeFieldDescriptionprivate Direction.Axis
Direction.axis
private Direction.Axis[]
Direction.Plane.axis
static Direction.Axis[]
AxisCycle.AXIS_VALUES
static Direction.Axis[]
Direction.Axis.VALUES
Modifier and TypeFieldDescriptionprivate static Map<String,Direction.Axis>
Direction.Axis.BY_NAME
static com.mojang.serialization.Codec<Direction.Axis>
Direction.Axis.CODEC
Modifier and TypeMethodDescriptionstatic Direction.Axis
abstract Direction.Axis
AxisCycle.cycle(Direction.Axis p_121798_)
Direction.getAxis()
static Direction.Axis
Direction.Plane.getRandomAxis(Random p_122563_)
static Direction.Axis
Returns 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.Modifier and TypeMethodDescriptionstatic AxisCycle
AxisCycle.between(Direction.Axis p_121800_, Direction.Axis p_121801_)
BlockPos.MutableBlockPos.clamp(Direction.Axis p_122148_, int p_122149_, int p_122150_)
abstract double
AxisCycle.cycle(double p_175236_, double p_175237_, double p_175238_, Direction.Axis p_175239_)
abstract int
AxisCycle.cycle(int p_121794_, int p_121795_, int p_121796_, Direction.Axis p_121797_)
abstract Direction.Axis
AxisCycle.cycle(Direction.Axis p_121798_)
static Direction
Direction.fromAxisAndDirection(Direction.Axis p_122388_, Direction.AxisDirection p_122389_)
static Direction
Direction.get(Direction.AxisDirection p_122391_, Direction.Axis p_122392_)
int
Vec3i.get(Direction.Axis p_123305_)
Direction.getClockWise(Direction.Axis p_175363_)
Direction.getCounterClockWise(Direction.Axis p_175365_)
static Direction
Direction.getFacingAxis(Entity p_175358_, Direction.Axis p_175359_)
BlockPos.MutableBlockPos.relative(Direction.Axis p_122145_, int p_122146_)
BlockPos.relative(Direction.Axis p_121943_, int p_121944_)
Vec3i.relative(Direction.Axis p_175590_, int p_175591_)
ModifierConstructorDescriptionprivate
Direction(int p_122356_, int p_122357_, int p_122358_, String p_122359_, Direction.AxisDirection p_122360_, Direction.Axis p_122361_, Vec3i p_122362_)
private
Plane(Direction[] p_122555_, Direction.Axis[] p_122556_)
-
Uses of Direction.Axis in net.minecraft.util
Modifier and TypeMethodDescriptionstatic void
ParticleUtils.spawnParticlesAlongAxis(Direction.Axis p_144968_, Level p_144969_, BlockPos p_144970_, double p_144971_, ParticleOptions p_144972_, UniformInt p_144973_)
-
Uses of Direction.Axis in net.minecraft.world.entity
Modifier and TypeMethodDescriptionprivate double
Entity.applyPistonMovementRestriction(Direction.Axis p_20043_, double p_20044_)
protected Vec3
Entity.getRelativePortalPosition(Direction.Axis p_20045_, BlockUtil.FoundRectangle p_20046_)
protected Vec3
LivingEntity.getRelativePortalPosition(Direction.Axis p_21085_, BlockUtil.FoundRectangle p_21086_)
-
Uses of Direction.Axis in net.minecraft.world.entity.projectile
Modifier and TypeMethodDescriptionprivate void
ShulkerBullet.selectNextMoveDirection(Direction.Axis p_37349_)
ModifierConstructorDescriptionShulkerBullet(Level p_37330_, LivingEntity p_37331_, Entity p_37332_, Direction.Axis p_37333_)
-
Uses of Direction.Axis in net.minecraft.world.entity.vehicle
Modifier and TypeMethodDescriptionprotected Vec3
AbstractMinecart.getRelativePortalPosition(Direction.Axis p_38132_, BlockUtil.FoundRectangle p_38133_)
protected Vec3
Boat.getRelativePortalPosition(Direction.Axis p_38335_, BlockUtil.FoundRectangle p_38336_)
-
Uses of Direction.Axis in net.minecraft.world.level.block
Modifier and TypeFieldDescriptionstatic EnumProperty<Direction.Axis>
NetherPortalBlock.AXIS
static EnumProperty<Direction.Axis>
RotatedPillarBlock.AXIS
-
Uses of Direction.Axis in net.minecraft.world.level.block.state.properties
Modifier and TypeFieldDescriptionstatic EnumProperty<Direction.Axis>
BlockStateProperties.AXIS
static EnumProperty<Direction.Axis>
BlockStateProperties.HORIZONTAL_AXIS
-
Uses of Direction.Axis in net.minecraft.world.level.levelgen.feature.trunkplacers
Modifier and TypeMethodDescriptionprivate Direction.Axis
FancyTrunkPlacer.getLogAxis(BlockPos p_70130_, BlockPos p_70131_)
-
Uses of Direction.Axis in net.minecraft.world.level.levelgen.structure.templatesystem
ModifierConstructorDescriptionAxisAlignedLinearPosTest(float p_73970_, float p_73971_, int p_73972_, int p_73973_, Direction.Axis p_73974_)
-
Uses of Direction.Axis in net.minecraft.world.level.portal
Modifier and TypeMethodDescriptionPortalForcer.createPortal(BlockPos p_77667_, Direction.Axis p_77668_)
static PortalInfo
PortalShape.createPortalInfo(ServerLevel p_77700_, BlockUtil.FoundRectangle p_77701_, Direction.Axis p_77702_, Vec3 p_77703_, EntityDimensions p_77704_, Vec3 p_77705_, float p_77706_, float p_77707_)
static Optional<PortalShape>
PortalShape.findEmptyPortalShape(LevelAccessor p_77709_, BlockPos p_77710_, Direction.Axis p_77711_)
static Optional<PortalShape>
PortalShape.findPortalShape(LevelAccessor p_77713_, BlockPos p_77714_, Predicate<PortalShape> p_77715_, Direction.Axis p_77716_)
static Vec3
PortalShape.getRelativePosition(BlockUtil.FoundRectangle p_77739_, Direction.Axis p_77740_, Vec3 p_77741_, EntityDimensions p_77742_)
ModifierConstructorDescriptionPortalShape(LevelAccessor p_77695_, BlockPos p_77696_, Direction.Axis p_77697_)
-
Uses of Direction.Axis in net.minecraft.world.phys
Modifier and TypeMethodDescriptiondouble
Vec3.get(Direction.Axis p_82508_)
double
AABB.max(Direction.Axis p_82375_)
double
AABB.min(Direction.Axis p_82341_)
-
Uses of Direction.Axis in net.minecraft.world.phys.shapes
Modifier and TypeFieldDescriptionprivate Direction.Axis
SliceShape.axis
private static Direction.Axis[]
DiscreteVoxelShape.AXIS_VALUES
Modifier and TypeMethodDescriptionprivate int
SubShape.clampToShape(Direction.Axis p_166057_, int p_166058_)
static double
Shapes.collide(Direction.Axis p_83135_, AABB p_83136_, Stream<VoxelShape> p_83137_, double p_83138_)
static double
Shapes.collide(Direction.Axis p_83128_, AABB p_83129_, LevelReader p_83130_, double p_83131_, CollisionContext p_83132_, Stream<VoxelShape> p_83133_)
double
VoxelShape.collide(Direction.Axis p_83260_, AABB p_83261_, double p_83262_)
protected int
CubeVoxelShape.findIndex(Direction.Axis p_82769_, double p_82770_)
protected int
VoxelShape.findIndex(Direction.Axis p_83250_, double p_83251_)
int
BitSetDiscreteVoxelShape.firstFull(Direction.Axis p_82674_)
abstract int
DiscreteVoxelShape.firstFull(Direction.Axis p_82827_)
int
DiscreteVoxelShape.firstFull(Direction.Axis p_165995_, int p_165996_, int p_165997_)
int
SubShape.firstFull(Direction.Axis p_83204_)
protected double
VoxelShape.get(Direction.Axis p_83257_, int p_83258_)
protected it.unimi.dsi.fastutil.doubles.DoubleList
ArrayVoxelShape.getCoords(Direction.Axis p_82577_)
protected it.unimi.dsi.fastutil.doubles.DoubleList
CubeVoxelShape.getCoords(Direction.Axis p_82767_)
protected it.unimi.dsi.fastutil.doubles.DoubleList
SliceShape.getCoords(Direction.Axis p_83181_)
protected abstract it.unimi.dsi.fastutil.doubles.DoubleList
VoxelShape.getCoords(Direction.Axis p_83249_)
int
DiscreteVoxelShape.getSize(Direction.Axis p_82851_)
int
BitSetDiscreteVoxelShape.lastFull(Direction.Axis p_82680_)
abstract int
DiscreteVoxelShape.lastFull(Direction.Axis p_82840_)
int
DiscreteVoxelShape.lastFull(Direction.Axis p_82842_, int p_82843_, int p_82844_)
int
SubShape.lastFull(Direction.Axis p_83210_)
private static DiscreteVoxelShape
SliceShape.makeSlice(DiscreteVoxelShape p_83177_, Direction.Axis p_83178_, int p_83179_)
double
VoxelShape.max(Direction.Axis p_83298_)
double
VoxelShape.max(Direction.Axis p_83291_, double p_83292_, double p_83293_)
double
VoxelShape.min(Direction.Axis p_83289_)
double
VoxelShape.min(Direction.Axis p_166079_, double p_166080_, double p_166081_)
ModifierConstructorDescriptionSliceShape(VoxelShape p_83173_, Direction.Axis p_83174_, int p_83175_)
-
Uses of Direction.Axis in net.minecraftforge.client.model.generators
Modifier and TypeFieldDescriptionprivate Direction.Axis
ModelBuilder.ElementBuilder.RotationBuilder.axis
Modifier and TypeMethodDescriptionModelBuilder.ElementBuilder.RotationBuilder.axis(Direction.Axis axis)