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) static Position
DispenserBlock.getOutputLocation
(BlockPointer pointer, double facingOffset, Vec3d constantOffset) -
Uses of Position in net.minecraft.block.dispenser
-
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.item
Modifier and TypeMethodDescriptionProjectileItem.PositionFunction.getDispensePosition
(BlockPointer pointer, Direction facing) Modifier and TypeMethodDescriptionArrowItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) EggItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) ExperienceBottleItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) FireChargeItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) FireworkRocketItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) ProjectileItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) SnowballItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) SpectralArrowItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) ThrowablePotionItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) TridentItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) WindChargeItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) -
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