Uses of Interface
net.minecraft.util.math.Position
Packages that use Position
Package
Description
-
Uses of Position in net.minecraft.block
Methods in net.minecraft.block that return PositionModifier and TypeMethodDescriptionstatic Position
DispenserBlock.getOutputLocation
(BlockPointer pointer) -
Uses of Position in net.minecraft.block.dispenser
Methods in net.minecraft.block.dispenser with parameters of type PositionModifier and TypeMethodDescriptionprotected abstract ProjectileEntity
ProjectileDispenserBehavior.createProjectile
(World world, Position position, ItemStack stack) Creates the entity that will be spawned in front of the dispenser.static void
ItemDispenserBehavior.spawnItem
(World world, ItemStack stack, int speed, Direction side, Position pos) -
Uses of Position in net.minecraft.client.render.debug
Methods in net.minecraft.client.render.debug with parameters of type PositionModifier and TypeMethodDescriptionprivate static void
BeeDebugRenderer.drawString
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Position pos, int line, String string, int color, float size) private static void
VillageDebugRenderer.drawString
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Position pos, int offsetY, String string, int color, float size) -
Uses of Position in net.minecraft.util.math
Classes in net.minecraft.util.math that implement PositionMethods in net.minecraft.util.math with parameters of type PositionModifier and TypeMethodDescriptionstatic ChunkSectionPos
double
Vec3i.getSquaredDistance
(Position pos) Returns the squared distance between here andpos
.boolean
Checks if the distance between this vector and the given position is less thanradius
.boolean
Vec3i.isWithinDistance
(Position pos, double distance) Returns whether the distance between here andpos
is less thandistance
.static BlockPos