Uses of Interface
net.minecraft.core.Position
Packages that use Position
Package
Description
-
Uses of Position in net.minecraft.core
Methods in net.minecraft.core with parameters of type PositionModifier and TypeMethodDescriptionbooleanVec3i.closerToCenterThan(Position position, double distance) static BlockPosBlockPos.containing(Position position) doubleVec3i.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 p_338330_, Position p_338329_, ItemStack p_338197_, Direction p_338469_) 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 p_338826_, Position p_338780_, ItemStack p_338320_, Direction p_338841_) FireworkRocketItem.asProjectile(Level p_338390_, Position p_338574_, ItemStack p_338487_, Direction p_338368_) ProjectileItem.asProjectile(Level level, Position pos, ItemStack stack, Direction direction) 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 p_338465_, Position p_338661_, ItemStack p_338506_, Direction p_338517_) 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 AbstractThrownPotionLingeringPotionItem.createPotion(Level p_399818_, Position p_399889_, ItemStack p_399694_) protected AbstractThrownPotionSplashPotionItem.createPotion(Level p_400201_, Position p_399482_, ItemStack p_399625_) protected abstract AbstractThrownPotionThrowablePotionItem.createPotion(Level level, Position position, ItemStack stack) -
Uses of Position in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block that return PositionModifier and TypeMethodDescriptionstatic PositionDispenserBlock.getDispensePosition(BlockSource blockSource) static PositionDispenserBlock.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 TypeMethodDescriptionbooleanVec3.closerThan(Position pos, double distance) Checks if a position is within a certain distance of the coordinates.