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 PositionDispenserBlock.getOutputLocation(BlockPointer pointer) static PositionDispenserBlock.getOutputLocation(BlockPointer pointer, double facingOffset, Vec3d constantOffset) -
Uses of Position in net.minecraft.block.dispenser
Methods in net.minecraft.block.dispenser with parameters of type Position -
Uses of Position in net.minecraft.client.render.debug
Methods in net.minecraft.client.render.debug with parameters of type PositionModifier and TypeMethodDescriptionprivate static voidBeeDebugRenderer.drawString(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Position pos, int line, String string, int color, float size) private static voidVillageDebugRenderer.drawString(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Position pos, int offsetY, String string, int color, float size) -
Uses of Position in net.minecraft.item
Methods in net.minecraft.item that return PositionModifier and TypeMethodDescriptionProjectileItem.PositionFunction.getDispensePosition(BlockPointer pointer, Direction facing) Methods in net.minecraft.item with parameters of type PositionModifier 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
Classes in net.minecraft.util.math that implement PositionMethods in net.minecraft.util.math with parameters of type PositionModifier and TypeMethodDescriptionstatic ChunkSectionPosdoubleVec3i.getSquaredDistance(Position pos) Returns the squared distance between here andpos.booleanChecks if the distance between this vector and the given position is less thanradius.booleanVec3i.isWithinDistance(Position pos, double distance) Returns whether the distance between here andposis less thandistance.static BlockPos