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 TypeFieldDescriptionfinal Position
VillageDebugRenderer.Brain.pos
final Position
BeeDebugRenderer.Bee.position
Modifier 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) ModifierConstructorDescriptionBee
(UUID uuid, int entityId, Position position, @Nullable Path path, @Nullable BlockPos hive, @Nullable 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, int angerLevel) -
Uses of Position in net.minecraft.util.math
Modifier and TypeClassDescriptionclass
class
class
An immutable vector composed of 3 doubles.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
.