Uses of Interface
net.minecraft.core.Position
Packages that use Position
Package
Description
-
Uses of Position in net.minecraft.client.renderer.debug
Methods in net.minecraft.client.renderer.debug with parameters of type PositionModifier and TypeMethodDescriptionprivate static void
BeeDebugRenderer.renderTextOverMob
(PoseStack poseStack, MultiBufferSource buffer, Position pos, int layer, String text, int color, float scale) private static void
BrainDebugRenderer.renderTextOverMob
(PoseStack poseStack, MultiBufferSource buffer, Position pos, int layer, String text, int color, float scale) -
Uses of Position in net.minecraft.core
Methods in net.minecraft.core with parameters of type PositionModifier and TypeMethodDescriptionboolean
Vec3i.closerToCenterThan
(Position position, double distance) static BlockPos
BlockPos.containing
(Position position) double
Vec3i.distToCenterSqr
(Position position) static SectionPos
-
Uses of Position in net.minecraft.core.dispenser
Methods in net.minecraft.core.dispenser with parameters of type Position -
Uses of Position in net.minecraft.world.item
Methods in net.minecraft.world.item that return PositionModifier and TypeMethodDescriptionProjectileItem.PositionFunction.getDispensePosition
(BlockSource source, Direction direction) Methods in net.minecraft.world.item with parameters of type PositionModifier and TypeMethodDescriptionArrowItem.asProjectile
(Level level, Position pos, ItemStack stack, Direction direction) EggItem.asProjectile
(Level level, Position pos, ItemStack stack, Direction direction) ExperienceBottleItem.asProjectile
(Level level, Position pos, ItemStack stack, Direction direction) FireChargeItem.asProjectile
(Level level, Position pos, ItemStack stack, Direction direction) FireworkRocketItem.asProjectile
(Level level, Position pos, ItemStack stack, Direction direction) ProjectileItem.asProjectile
(Level level, Position pos, ItemStack stack, Direction direction) SnowballItem.asProjectile
(Level level, Position pos, ItemStack stack, Direction direction) SpectralArrowItem.asProjectile
(Level p_338332_, Position p_338313_, ItemStack p_338304_, Direction p_338842_) ThrowablePotionItem.asProjectile
(Level level, Position pos, ItemStack stack, Direction direction) TridentItem.asProjectile
(Level level, Position pos, ItemStack stack, Direction direction) WindChargeItem.asProjectile
(Level p_338589_, Position p_338670_, ItemStack p_338308_, Direction p_338206_) -
Uses of Position in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block that return PositionModifier and TypeMethodDescriptionstatic Position
DispenserBlock.getDispensePosition
(BlockSource blockSource) static Position
DispenserBlock.getDispensePosition
(BlockSource blockSource, double multiplier, Vec3 offset) -
Uses of Position in net.minecraft.world.phys
Classes in net.minecraft.world.phys that implement PositionMethods in net.minecraft.world.phys with parameters of type PositionModifier and TypeMethodDescriptionboolean
Vec3.closerThan
(Position pos, double distance) Checks if a position is within a certain distance of the coordinates.