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 offset, Direction side, Position pos) -
Uses of Position in net.minecraft.client.render.debug
Fields in net.minecraft.client.render.debug declared as PositionModifier and TypeFieldDescriptionfinal Position
VillageDebugRenderer.Brain.pos
final Position
BeeDebugRenderer.Bee.position
Methods in net.minecraft.client.render.debug with parameters of type PositionModifier and TypeMethodDescriptionprivate static void
BeeDebugRenderer.drawString
(Position pos, int line, String string, int color, float size) private static void
VillageDebugRenderer.drawString
(Position pos, int offsetY, String string, int color, float size) Constructors in net.minecraft.client.render.debug with parameters of type PositionModifierConstructorDescriptionBee
(UUID uuid, int entityId, Position position, Path path, BlockPos hive, BlockPos flower, int travelTicks) Brain
(UUID uuid, int entityId, String name, String profession, int xp, float health, float maxHealth, Position pos, String inventory, @Nullable Path path, boolean wantsGolem) -
Uses of Position in net.minecraft.util.math
Subinterfaces of Position in net.minecraft.util.mathClasses in net.minecraft.util.math that implement PositionModifier and TypeClassDescriptionclass
class
class
An immutable vector composed of 3 doubles.Methods in net.minecraft.util.math with parameters of type PositionModifier and TypeMethodDescriptiondouble
Vec3i.getSquaredDistance
(Position pos, boolean treatAsBlockPos) boolean
Checks if the distance between this vector and the given position is less thanradius
.boolean
Vec3i.isWithinDistance
(Position pos, double distance) Constructors in net.minecraft.util.math with parameters of type Position