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 pPoseStack, MultiBufferSource pBuffer, Position pPos, int pLayer, String pText, int pColor, float pScale) private static void
BrainDebugRenderer.renderTextOverMob
(PoseStack pPoseStack, MultiBufferSource pBuffer, Position pPos, int pLayer, String pText, int pColor, float pScale) -
Uses of Position in net.minecraft.core
Methods in net.minecraft.core with parameters of type PositionModifier and TypeMethodDescriptionboolean
Vec3i.closerToCenterThan
(Position pPosition, double pDistance) static BlockPos
BlockPos.containing
(Position pPosition) double
Vec3i.distToCenterSqr
(Position pPosition) 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 pSource, Direction pDirection) Methods in net.minecraft.world.item with parameters of type PositionModifier and TypeMethodDescriptionArrowItem.asProjectile
(Level pLevel, Position pPos, ItemStack pStack, Direction pDirection) EggItem.asProjectile
(Level p_338884_, Position p_338312_, ItemStack p_338704_, Direction p_338366_) ExperienceBottleItem.asProjectile
(Level p_338868_, Position p_338766_, ItemStack p_338321_, Direction p_338772_) FireChargeItem.asProjectile
(Level pLevel, Position pPos, ItemStack pStack, Direction pDirection) FireworkRocketItem.asProjectile
(Level pLevel, Position pPos, ItemStack pStack, Direction pDirection) ProjectileItem.asProjectile
(Level pLevel, Position pPos, ItemStack pStack, Direction pDirection) SnowballItem.asProjectile
(Level p_338685_, Position p_338637_, ItemStack p_338820_, Direction p_338856_) SpectralArrowItem.asProjectile
(Level p_338332_, Position p_338313_, ItemStack p_338304_, Direction p_338842_) ThrowablePotionItem.asProjectile
(Level pLevel, Position pPos, ItemStack pStack, Direction pDirection) TridentItem.asProjectile
(Level p_338505_, Position p_338277_, ItemStack p_338353_, Direction p_338220_) WindChargeItem.asProjectile
(Level p_338589_, Position p_338670_, ItemStack p_338308_, Direction p_338206_) protected AbstractThrownPotion
LingeringPotionItem.createPotion
(Level p_399818_, Position p_399889_, ItemStack p_399694_) protected AbstractThrownPotion
SplashPotionItem.createPotion
(Level p_400201_, Position p_399482_, ItemStack p_399625_) protected abstract AbstractThrownPotion
ThrowablePotionItem.createPotion
(Level pLevel, Position pPosition, ItemStack pStack) -
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 pBlockSource) static Position
DispenserBlock.getDispensePosition
(BlockSource pBlockSource, double pMultiplier, Vec3 pOffset) -
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 pPos, double pDistance) Checks if a position is within a certain distance of the coordinates.