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) -
Uses of Position in net.minecraft.block.dispenser
Methods in net.minecraft.block.dispenser with parameters of type PositionModifier and TypeMethodDescriptionprotected abstract ProjectileEntityProjectileDispenserBehavior.createProjectile(World world, Position position, ItemStack stack) Creates the entity that will be spawned in front of the dispenser.static voidItemDispenserBehavior.spawnItem(World world, ItemStack stack, int speed, 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 PositionVillageDebugRenderer.Brain.posfinal PositionBeeDebugRenderer.Bee.positionMethods in net.minecraft.client.render.debug with parameters of type PositionModifier and TypeMethodDescriptionprivate static voidBeeDebugRenderer.drawString(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, Position position, int int2, String string, int int3, float float2) private static voidVillageDebugRenderer.drawString(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, Position position, int int2, String string, int int3, float float2) Constructors in net.minecraft.client.render.debug with parameters of type PositionModifierConstructorDescriptionBee(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
Subinterfaces of Position in net.minecraft.util.mathClasses in net.minecraft.util.math that implement PositionModifier and TypeClassDescriptionclassclassclassAn immutable vector composed of 3 doubles.Methods 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.Constructors in net.minecraft.util.math with parameters of type Position