Uses of Interface
net.minecraft.util.math.Position
Package
Description
-
Uses of Position in net.minecraft.block
Modifier and TypeMethodDescriptionstatic Position
DispenserBlock.getOutputLocation
(BlockPointer pointer) -
Uses of Position in net.minecraft.block.dispenser
Modifier 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
Modifier 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
Modifier 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