Uses of Class
net.minecraft.world.phys.Vec3
Packages that use Vec3
Package
Description
-
Uses of Vec3 in com.mojang.blaze3d.audio
Fields in com.mojang.blaze3d.audio declared as Vec3Methods in com.mojang.blaze3d.audio that return Vec3Methods in com.mojang.blaze3d.audio with parameters of type Vec3Modifier and TypeMethodDescriptionvoid
Listener.setListenerPosition
(Vec3 p_83740_) void
Channel.setSelfPosition
(Vec3 p_83655_) -
Uses of Vec3 in com.mojang.math
Constructors in com.mojang.math with parameters of type Vec3 -
Uses of Vec3 in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type Vec3Modifier and TypeMethodDescriptionboolean
DamageSourcePredicate.matches
(ServerLevel p_25445_, Vec3 p_25446_, DamageSource p_25447_) boolean
DistanceTrigger.TriggerInstance.matches
(ServerLevel p_186189_, Vec3 p_186190_, Vec3 p_186191_) boolean
EntityPredicate.matches
(ServerLevel p_36608_, Vec3 p_36609_, Entity p_36610_) boolean
LevitationTrigger.TriggerInstance.matches
(ServerPlayer p_49141_, Vec3 p_49142_, int p_49143_) boolean
LighthingBoltPredicate.matches
(Entity p_153247_, ServerLevel p_153248_, Vec3 p_153249_) boolean
TargetBlockTrigger.TriggerInstance.matches
(LootContext p_70242_, Vec3 p_70243_, int p_70244_) void
DistanceTrigger.trigger
(ServerPlayer p_186166_, Vec3 p_186167_) void
LevitationTrigger.trigger
(ServerPlayer p_49117_, Vec3 p_49118_, int p_49119_) void
TargetBlockTrigger.trigger
(ServerPlayer p_70212_, Entity p_70213_, Vec3 p_70214_, int p_70215_) -
Uses of Vec3 in net.minecraft.client
Fields in net.minecraft.client declared as Vec3Modifier and TypeFieldDescription(package private) final Vec3
Camera.NearPlane.forward
private final Vec3
Camera.NearPlane.left
private Vec3
Camera.position
private final Vec3
Camera.NearPlane.up
Methods in net.minecraft.client that return Vec3Modifier and TypeMethodDescriptionCamera.NearPlane.getBottomLeft()
Camera.NearPlane.getBottomRight()
Camera.NearPlane.getPointOnPlane
(float p_167696_, float p_167697_) Camera.getPosition()
Camera.NearPlane.getTopLeft()
Camera.NearPlane.getTopRight()
Methods in net.minecraft.client with parameters of type Vec3Modifier and TypeMethodDescriptionprivate void
KeyboardHandler.copyCreateEntityCommand
(ResourceLocation p_90923_, Vec3 p_90924_, CompoundTag p_90925_) protected void
Camera.setPosition
(Vec3 p_90582_) Constructors in net.minecraft.client with parameters of type Vec3 -
Uses of Vec3 in net.minecraft.client.gui.components
Fields in net.minecraft.client.gui.components declared as Vec3Methods in net.minecraft.client.gui.components that return Vec3Methods in net.minecraft.client.gui.components with parameters of type Vec3Constructors in net.minecraft.client.gui.components with parameters of type Vec3 -
Uses of Vec3 in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer with type parameters of type Vec3Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2ObjectLinkedOpenHashMap<com.mojang.datafixers.util.Pair<BlockPos,
ServerboundPlayerActionPacket.Action>, Vec3> MultiPlayerGameMode.unAckedActions
Methods in net.minecraft.client.multiplayer that return Vec3Modifier and TypeMethodDescriptionClientLevel.getCloudColor
(float p_104809_) ClientLevel.getSkyColor
(Vec3 p_171661_, float p_171662_) Methods in net.minecraft.client.multiplayer with parameters of type Vec3 -
Uses of Vec3 in net.minecraft.client.particle
Constructors in net.minecraft.client.particle with parameters of type Vec3ModifierConstructorDescriptionprivate
ItemPickupParticle
(EntityRenderDispatcher p_107029_, RenderBuffers p_107030_, ClientLevel p_107031_, Entity p_107032_, Entity p_107033_, Vec3 p_107034_) private
TrackingEmitter
(ClientLevel p_108399_, Entity p_108400_, ParticleOptions p_108401_, int p_108402_, Vec3 p_108403_) -
Uses of Vec3 in net.minecraft.client.player
Methods in net.minecraft.client.player that return Vec3Methods in net.minecraft.client.player with parameters of type Vec3Modifier and TypeMethodDescriptionprotected boolean
LocalPlayer.isHorizontalCollisionMinor
(Vec3 p_197411_) void
-
Uses of Vec3 in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as Vec3Methods in net.minecraft.client.renderer that return Vec3Modifier and TypeMethodDescriptionDimensionSpecialEffects.EndEffects.getBrightnessDependentFogColor
(Vec3 p_108894_, float p_108895_) abstract Vec3
DimensionSpecialEffects.getBrightnessDependentFogColor
(Vec3 p_108878_, float p_108879_) DimensionSpecialEffects.NetherEffects.getBrightnessDependentFogColor
(Vec3 p_108901_, float p_108902_) DimensionSpecialEffects.OverworldEffects.getBrightnessDependentFogColor
(Vec3 p_108908_, float p_108909_) Methods in net.minecraft.client.renderer with parameters of type Vec3Modifier and TypeMethodDescriptionprivate void
LevelRenderer.buildClouds
(BufferBuilder p_109579_, double p_109580_, double p_109581_, double p_109582_, Vec3 p_109583_) DimensionSpecialEffects.EndEffects.getBrightnessDependentFogColor
(Vec3 p_108894_, float p_108895_) abstract Vec3
DimensionSpecialEffects.getBrightnessDependentFogColor
(Vec3 p_108878_, float p_108879_) DimensionSpecialEffects.NetherEffects.getBrightnessDependentFogColor
(Vec3 p_108901_, float p_108902_) DimensionSpecialEffects.OverworldEffects.getBrightnessDependentFogColor
(Vec3 p_108908_, float p_108909_) void
LevelRenderer.prepareCullFrustum
(PoseStack p_172962_, Vec3 p_172963_, Matrix4f p_172964_) private void
LevelRenderer.updateRenderChunks
(LinkedHashSet<LevelRenderer.RenderChunkInfo> p_194363_, LevelRenderer.RenderInfoMap p_194364_, Vec3 p_194365_, Queue<LevelRenderer.RenderChunkInfo> p_194366_, boolean p_194367_) -
Uses of Vec3 in net.minecraft.client.renderer.blockentity
Methods in net.minecraft.client.renderer.blockentity with parameters of type Vec3Modifier and TypeMethodDescriptionboolean
BeaconRenderer.shouldRender
(BeaconBlockEntity p_173531_, Vec3 p_173532_) default boolean
BlockEntityRenderer.shouldRender
(T p_173568_, Vec3 p_173569_) -
Uses of Vec3 in net.minecraft.client.renderer.chunk
Fields in net.minecraft.client.renderer.chunk declared as Vec3Methods in net.minecraft.client.renderer.chunk that return Vec3Methods in net.minecraft.client.renderer.chunk with parameters of type Vec3 -
Uses of Vec3 in net.minecraft.client.renderer.debug
Fields in net.minecraft.client.renderer.debug declared as Vec3Constructors in net.minecraft.client.renderer.debug with parameters of type Vec3ModifierConstructorDescriptionTrackedGameEvent
(long p_173865_, GameEvent p_173866_, Vec3 p_173867_) -
Uses of Vec3 in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity that return Vec3Modifier and TypeMethodDescriptionprivate Vec3
GuardianRenderer.getPosition
(LivingEntity p_114803_, double p_114804_, float p_114805_) EndermanRenderer.getRenderOffset
(EnderMan p_114336_, float p_114337_) EntityRenderer.getRenderOffset
(T p_114483_, float p_114484_) ItemFrameRenderer.getRenderOffset
(T p_115073_, float p_115074_) ShulkerRenderer.getRenderOffset
(Shulker p_115904_, float p_115905_) -
Uses of Vec3 in net.minecraft.client.renderer.entity.player
Methods in net.minecraft.client.renderer.entity.player that return Vec3Modifier and TypeMethodDescriptionPlayerRenderer.getRenderOffset
(AbstractClientPlayer p_117785_, float p_117786_) -
Uses of Vec3 in net.minecraft.commands
Fields in net.minecraft.commands declared as Vec3Methods in net.minecraft.commands that return Vec3Methods in net.minecraft.commands with parameters of type Vec3Constructors in net.minecraft.commands with parameters of type Vec3ModifierConstructorDescriptionCommandSourceStack
(CommandSource p_81302_, Vec3 p_81303_, Vec2 p_81304_, ServerLevel p_81305_, int p_81306_, String p_81307_, Component p_81308_, MinecraftServer p_81309_, Entity p_81310_) protected
CommandSourceStack
(CommandSource p_81312_, Vec3 p_81313_, Vec2 p_81314_, ServerLevel p_81315_, int p_81316_, String p_81317_, Component p_81318_, MinecraftServer p_81319_, Entity p_81320_, boolean p_81321_, com.mojang.brigadier.ResultConsumer<CommandSourceStack> p_81322_, EntityAnchorArgument.Anchor p_81323_) -
Uses of Vec3 in net.minecraft.commands.arguments
Fields in net.minecraft.commands.arguments with type parameters of type Vec3Modifier and TypeFieldDescriptionprivate final BiFunction<Vec3,
Entity, Vec3> EntityAnchorArgument.Anchor.transform
private final BiFunction<Vec3,
Entity, Vec3> EntityAnchorArgument.Anchor.transform
Methods in net.minecraft.commands.arguments that return Vec3Constructor parameters in net.minecraft.commands.arguments with type arguments of type Vec3 -
Uses of Vec3 in net.minecraft.commands.arguments.coordinates
Methods in net.minecraft.commands.arguments.coordinates that return Vec3Modifier and TypeMethodDescriptionCoordinates.getPosition
(CommandSourceStack p_119566_) LocalCoordinates.getPosition
(CommandSourceStack p_119912_) WorldCoordinates.getPosition
(CommandSourceStack p_120893_) static Vec3
Vec3Argument.getVec3
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120845_, String p_120846_) -
Uses of Vec3 in net.minecraft.commands.arguments.selector
Fields in net.minecraft.commands.arguments.selector with type parameters of type Vec3Modifier and TypeFieldDescriptionprivate final BiConsumer<Vec3,
List<? extends Entity>> EntitySelector.order
private BiConsumer<Vec3,
List<? extends Entity>> EntitySelectorParser.order
static final BiConsumer<Vec3,
List<? extends Entity>> EntitySelectorParser.ORDER_ARBITRARY
static final BiConsumer<Vec3,
List<? extends Entity>> EntitySelectorParser.ORDER_FURTHEST
static final BiConsumer<Vec3,
List<? extends Entity>> EntitySelectorParser.ORDER_NEAREST
static final BiConsumer<Vec3,
List<? extends Entity>> EntitySelectorParser.ORDER_RANDOM
EntitySelector.position
EntitySelector.position
Methods in net.minecraft.commands.arguments.selector that return types with arguments of type Vec3Modifier and TypeMethodDescriptionBiConsumer<Vec3,
List<? extends Entity>> EntitySelectorParser.getOrder()
Methods in net.minecraft.commands.arguments.selector with parameters of type Vec3Modifier and TypeMethodDescriptionprivate void
EntitySelector.addEntities
(List<Entity> p_121155_, ServerLevel p_121156_, Vec3 p_121157_, Predicate<Entity> p_121158_) EntitySelector.getPredicate
(Vec3 p_121145_) EntitySelector.sortAndLimit
(Vec3 p_121150_, List<T> p_121151_) Method parameters in net.minecraft.commands.arguments.selector with type arguments of type Vec3Modifier and TypeMethodDescriptionvoid
EntitySelectorParser.setOrder
(BiConsumer<Vec3, List<? extends Entity>> p_121269_) Constructor parameters in net.minecraft.commands.arguments.selector with type arguments of type Vec3ModifierConstructorDescriptionEntitySelector
(int p_121125_, boolean p_121126_, boolean p_121127_, Predicate<Entity> p_121128_, MinMaxBounds.Doubles p_121129_, Function<Vec3, Vec3> p_121130_, AABB p_121131_, BiConsumer<Vec3, List<? extends Entity>> p_121132_, boolean p_121133_, String p_121134_, UUID p_121135_, EntityType<?> p_121136_, boolean p_121137_) EntitySelector
(int p_121125_, boolean p_121126_, boolean p_121127_, Predicate<Entity> p_121128_, MinMaxBounds.Doubles p_121129_, Function<Vec3, Vec3> p_121130_, AABB p_121131_, BiConsumer<Vec3, List<? extends Entity>> p_121132_, boolean p_121133_, String p_121134_, UUID p_121135_, EntityType<?> p_121136_, boolean p_121137_) EntitySelector
(int p_121125_, boolean p_121126_, boolean p_121127_, Predicate<Entity> p_121128_, MinMaxBounds.Doubles p_121129_, Function<Vec3, Vec3> p_121130_, AABB p_121131_, BiConsumer<Vec3, List<? extends Entity>> p_121132_, boolean p_121133_, String p_121134_, UUID p_121135_, EntityType<?> p_121136_, boolean p_121137_) -
Uses of Vec3 in net.minecraft.core
Constructors in net.minecraft.core with parameters of type Vec3 -
Uses of Vec3 in net.minecraft.gametest.framework
Methods in net.minecraft.gametest.framework that return Vec3Methods in net.minecraft.gametest.framework with parameters of type Vec3Modifier and TypeMethodDescriptionGameTestHelper.absoluteVec
(Vec3 p_177228_) <E extends Entity>
EGameTestHelper.spawn
(EntityType<E> p_177174_, Vec3 p_177175_) <E extends Mob>
EGameTestHelper.spawnWithNoFreeWill
(EntityType<E> p_177327_, Vec3 p_177328_) -
Uses of Vec3 in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3
ServerboundInteractPacket.InteractionAtLocationAction.location
Methods in net.minecraft.network.protocol.game that return Vec3Modifier and TypeMethodDescriptionClientboundPlayerLookAtPacket.getPosition
(Level p_132786_) static Vec3
ClientboundMoveEntityPacket.packetToEntity
(long p_132516_, long p_132517_, long p_132518_) ClientboundMoveEntityPacket.updateEntityPosition
(Vec3 p_132522_) Methods in net.minecraft.network.protocol.game with parameters of type Vec3Modifier and TypeMethodDescriptionstatic ServerboundInteractPacket
ServerboundInteractPacket.createInteractionPacket
(Entity p_179613_, boolean p_179614_, InteractionHand p_179615_, Vec3 p_179616_) void
ServerboundInteractPacket.Handler.onInteraction
(InteractionHand p_179644_, Vec3 p_179645_) ClientboundMoveEntityPacket.updateEntityPosition
(Vec3 p_132522_) Constructors in net.minecraft.network.protocol.game with parameters of type Vec3ModifierConstructorDescriptionClientboundAddEntityPacket
(int p_131470_, UUID p_131471_, double p_131472_, double p_131473_, double p_131474_, float p_131475_, float p_131476_, EntityType<?> p_131477_, int p_131478_, Vec3 p_131479_) ClientboundCustomSoundPacket
(ResourceLocation p_132055_, SoundSource p_132056_, Vec3 p_132057_, float p_132058_, float p_132059_) ClientboundExplodePacket
(double p_132115_, double p_132116_, double p_132117_, float p_132118_, List<BlockPos> p_132119_, Vec3 p_132120_) ClientboundSetEntityMotionPacket
(int p_133182_, Vec3 p_133183_) (package private)
InteractionAtLocationAction
(InteractionHand p_179659_, Vec3 p_179660_) -
Uses of Vec3 in net.minecraft.server.chase
Fields in net.minecraft.server.chase declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3
ChaseClient.TeleportTarget.pos
The field for thepos
record component.Methods in net.minecraft.server.chase that return Vec3Modifier and TypeMethodDescriptionChaseClient.TeleportTarget.pos()
Returns the value of thepos
record component.Constructors in net.minecraft.server.chase with parameters of type Vec3ModifierConstructorDescription(package private)
TeleportTarget
(ResourceKey<Level> level, Vec3 pos, Vec2 rot) Creates an instance of aTeleportTarget
record class. -
Uses of Vec3 in net.minecraft.server.commands
Fields in net.minecraft.server.commands declared as Vec3Methods in net.minecraft.server.commands with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static int
LootCommand.dropInWorld
(CommandSourceStack p_137946_, Vec3 p_137947_, List<ItemStack> p_137948_, LootCommand.Callback p_137949_) private static int
PlaySoundCommand.playSound
(CommandSourceStack p_138161_, Collection<ServerPlayer> p_138162_, ResourceLocation p_138163_, SoundSource p_138164_, Vec3 p_138165_, float p_138166_, float p_138167_, float p_138168_) private static int
ParticleCommand.sendParticles
(CommandSourceStack p_138129_, ParticleOptions p_138130_, Vec3 p_138131_, Vec3 p_138132_, float p_138133_, int p_138134_, boolean p_138135_, Collection<ServerPlayer> p_138136_) private static int
SummonCommand.spawnEntity
(CommandSourceStack p_138821_, ResourceLocation p_138822_, Vec3 p_138823_, CompoundTag p_138824_, boolean p_138825_) Constructors in net.minecraft.server.commands with parameters of type Vec3 -
Uses of Vec3 in net.minecraft.server.level
Fields in net.minecraft.server.level declared as Vec3Modifier and TypeFieldDescriptionprivate Vec3
ServerEntity.ap
private Vec3
ServerPlayer.enteredLavaOnVehiclePosition
private Vec3
ServerPlayer.enteredNetherPosition
private Vec3
ServerPlayer.levitationStartPos
private Vec3
ServerPlayer.startingToFallPosition
Methods in net.minecraft.server.level that return Vec3Methods in net.minecraft.server.level with parameters of type Vec3Modifier and TypeMethodDescriptionvoid
ServerPlayer.lookAt
(EntityAnchorArgument.Anchor p_9112_, Vec3 p_9113_) -
Uses of Vec3 in net.minecraft.server.network
Fields in net.minecraft.server.network declared as Vec3Modifier and TypeFieldDescriptionprivate Vec3
ServerGamePacketListenerImpl.awaitingPositionFromClient
-
Uses of Vec3 in net.minecraft.util
Methods in net.minecraft.util that return Vec3Modifier and TypeMethodDescriptionstatic Vec3
Mth.catmullRomSplinePos
(Vec3 p_144893_, Vec3 p_144894_, Vec3 p_144895_, Vec3 p_144896_, double p_144897_) CubicSampler.Vec3Fetcher.fetch
(int p_130042_, int p_130043_, int p_130044_) static Vec3
CubicSampler.gaussianSampleVec3
(Vec3 p_130039_, CubicSampler.Vec3Fetcher p_130040_) Methods in net.minecraft.util with parameters of type Vec3Modifier and TypeMethodDescriptionstatic Vec3
Mth.catmullRomSplinePos
(Vec3 p_144893_, Vec3 p_144894_, Vec3 p_144895_, Vec3 p_144896_, double p_144897_) static Vec3
CubicSampler.gaussianSampleVec3
(Vec3 p_130039_, CubicSampler.Vec3Fetcher p_130040_) static boolean
Mth.rayIntersectsAABB
(Vec3 p_144889_, Vec3 p_144890_, AABB p_144891_) -
Uses of Vec3 in net.minecraft.world.damagesource
Methods in net.minecraft.world.damagesource that return Vec3Modifier and TypeMethodDescriptionDamageSource.getSourcePosition()
EntityDamageSource.getSourcePosition()
-
Uses of Vec3 in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as Vec3Modifier and TypeFieldDescriptionprivate Vec3
Entity.deltaMovement
private Vec3
Entity.packetCoordinates
private Vec3
Entity.position
protected Vec3
Entity.stuckSpeedMultiplier
Methods in net.minecraft.world.entity that return Vec3Modifier and TypeMethodDescriptionprotected final Vec3
Entity.calculateUpVector
(float p_20215_, float p_20216_) protected final Vec3
Entity.calculateViewVector
(float p_20172_, float p_20173_) private Vec3
static Vec3
Entity.collideBoundingBox
(Entity p_198895_, Vec3 p_198896_, AABB p_198897_, Level p_198898_, List<VoxelShape> p_198899_) private static Vec3
Entity.collideWithShapes
(Vec3 p_198901_, AABB p_198902_, List<VoxelShape> p_198903_) protected static Vec3
Entity.getCollisionHorizontalEscapeVector
(double p_19904_, double p_19905_, float p_19906_) Entity.getDeltaMovement()
Entity.getDismountLocationForPassenger
(LivingEntity p_20123_) final Vec3
Entity.getEyePosition()
final Vec3
Entity.getEyePosition
(float p_20300_) LivingEntity.getFluidFallingAdjustedMovement
(double p_20995_, boolean p_20996_, Vec3 p_20997_) Entity.getForward()
Entity.getHandHoldingItemAngle
(Item p_204035_) private static Vec3
Entity.getInputVector
(Vec3 p_20016_, float p_20017_, float p_20018_) Entity.getLeashOffset()
Entity.getLightProbePosition
(float p_20309_) Entity.getLookAngle()
Entity.getPacketCoordinates()
final Vec3
Entity.getPosition
(float p_20319_) protected Vec3
Entity.getRelativePortalPosition
(Direction.Axis p_20045_, BlockUtil.FoundRectangle p_20046_) protected Vec3
LivingEntity.getRelativePortalPosition
(Direction.Axis p_21085_, BlockUtil.FoundRectangle p_21086_) Entity.getRopeHoldPosition
(float p_20347_) final Vec3
Entity.getUpVector
(float p_20290_) final Vec3
Entity.getViewVector
(float p_20253_) private Vec3
LivingEntity.handleOnClimbable
(Vec3 p_21298_) LivingEntity.handleRelativeFrictionAndCalculateMovement
(Vec3 p_21075_, float p_21076_) protected Vec3
Entity.limitPistonMovement
(Vec3 p_20134_) protected Vec3
Entity.maybeBackOffFromEdge
(Vec3 p_20019_, MoverType p_20020_) Entity.position()
static Vec3
LivingEntity.resetForwardDirectionOfRelativePortalPosition
(Vec3 p_21290_) Methods in net.minecraft.world.entity with parameters of type Vec3Modifier and TypeMethodDescriptionstatic void
ExperienceOrb.award
(ServerLevel p_147083_, Vec3 p_147084_, int p_147085_) private Vec3
static Vec3
Entity.collideBoundingBox
(Entity p_198895_, Vec3 p_198896_, AABB p_198897_, Level p_198898_, List<VoxelShape> p_198899_) private static Vec3
Entity.collideWithShapes
(Vec3 p_198901_, AABB p_198902_, List<VoxelShape> p_198903_) double
Entity.distanceToSqr
(Vec3 p_20239_) LivingEntity.getFluidFallingAdjustedMovement
(double p_20995_, boolean p_20996_, Vec3 p_20997_) private static Vec3
Entity.getInputVector
(Vec3 p_20016_, float p_20017_, float p_20018_) private Vec3
LivingEntity.handleOnClimbable
(Vec3 p_21298_) LivingEntity.handleRelativeFrictionAndCalculateMovement
(Vec3 p_21075_, float p_21076_) Entity.interactAt
(Player p_19980_, Vec3 p_19981_, InteractionHand p_19982_) protected boolean
Entity.isHorizontalCollisionMinor
(Vec3 p_196625_) protected Vec3
Entity.limitPistonMovement
(Vec3 p_20134_) void
Entity.lookAt
(EntityAnchorArgument.Anchor p_20033_, Vec3 p_20034_) void
LivingEntity.lookAt
(EntityAnchorArgument.Anchor p_21078_, Vec3 p_21079_) EntityDimensions.makeBoundingBox
(Vec3 p_20394_) void
Entity.makeStuckInBlock
(BlockState p_20006_, Vec3 p_20007_) protected Vec3
Entity.maybeBackOffFromEdge
(Vec3 p_20019_, MoverType p_20020_) void
void
Entity.moveRelative
(float p_19921_, Vec3 p_19922_) void
static Vec3
LivingEntity.resetForwardDirectionOfRelativePortalPosition
(Vec3 p_21290_) void
Entity.setDeltaMovement
(Vec3 p_20257_) void
Entity.setPacketCoordinates
(Vec3 p_20014_) final void
void
default boolean
ItemSteerable.travel
(Mob p_20855_, ItemBasedSteering p_20856_, Vec3 p_20857_) void
void
ItemSteerable.travelWithInput
(Vec3 p_20858_) private static boolean
ExperienceOrb.tryMergeToExisting
(ServerLevel p_147097_, Vec3 p_147098_, int p_147099_) -
Uses of Vec3 in net.minecraft.world.entity.ai.behavior
Fields in net.minecraft.world.entity.ai.behavior declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3
BlockPosTracker.centerPosition
private final Vec3
LongJumpToRandomPos.PossibleJump.jumpVector
private Vec3
RamTarget.ramDirection
Fields in net.minecraft.world.entity.ai.behavior with type parameters of type Vec3Modifier and TypeFieldDescriptionLongJumpToRandomPos.initialPosition
SetWalkTargetAwayFrom.toPosition
Methods in net.minecraft.world.entity.ai.behavior that return Vec3Modifier and TypeMethodDescriptionBlockPosTracker.currentPosition()
EntityTracker.currentPosition()
PositionTracker.currentPosition()
private Vec3
PrepareRamNearestTarget.getEdgeOfBlock
(BlockPos p_147755_, BlockPos p_147756_) LongJumpToRandomPos.PossibleJump.getJumpVector()
private Vec3
MoveToSkySeeingSpot.getOutdoorPosition
(ServerLevel p_23565_, LivingEntity p_23566_) private Vec3
AnimalPanic.getPanicPos
(PathfinderMob p_196639_, ServerLevel p_196640_) private Vec3
SetWalkTargetAwayFrom.getPosToAvoid
(PathfinderMob p_24007_) static Vec3
BehaviorUtils.getRandomSwimmablePos
(PathfinderMob p_147445_, int p_147446_, int p_147447_) protected Vec3
RandomStroll.getTargetPos
(PathfinderMob p_147851_) protected Vec3
RandomSwim.getTargetPos
(PathfinderMob p_147861_) Methods in net.minecraft.world.entity.ai.behavior that return types with arguments of type Vec3Modifier and TypeMethodDescriptionLongJumpToRandomPos.calculateJumpVectorForAngle
(Mob p_147660_, Vec3 p_147661_, int p_147662_) LongJumpToRandomPos.calculateOptimalJumpVector
(Mob p_147657_, Vec3 p_147658_) Methods in net.minecraft.world.entity.ai.behavior with parameters of type Vec3Modifier and TypeMethodDescriptionLongJumpToRandomPos.calculateJumpVectorForAngle
(Mob p_147660_, Vec3 p_147661_, int p_147662_) LongJumpToRandomPos.calculateOptimalJumpVector
(Mob p_147657_, Vec3 p_147658_) private boolean
LongJumpToRandomPos.isClearTransition
(Mob p_147664_, Vec3 p_147665_, Vec3 p_147666_) private static void
SetWalkTargetAwayFrom.moveAwayFrom
(PathfinderMob p_24009_, Vec3 p_24010_, float p_24011_) static void
BehaviorUtils.throwItem
(LivingEntity p_22614_, ItemStack p_22615_, Vec3 p_22616_) Constructors in net.minecraft.world.entity.ai.behavior with parameters of type Vec3Constructor parameters in net.minecraft.world.entity.ai.behavior with type arguments of type Vec3ModifierConstructorDescriptionSetWalkTargetAwayFrom
(MemoryModuleType<T> p_23987_, float p_23988_, int p_23989_, boolean p_23990_, Function<T, Vec3> p_23991_) -
Uses of Vec3 in net.minecraft.world.entity.ai.control
Methods in net.minecraft.world.entity.ai.control with parameters of type Vec3 -
Uses of Vec3 in net.minecraft.world.entity.ai.goal
Methods in net.minecraft.world.entity.ai.goal that return Vec3Modifier and TypeMethodDescriptionprotected Vec3
FleeSunGoal.getHidePos()
protected Vec3
GolemRandomStrollInVillageGoal.getPosition()
protected Vec3
MoveBackToVillageGoal.getPosition()
protected Vec3
RandomStrollGoal.getPosition()
protected Vec3
RandomSwimmingGoal.getPosition()
protected Vec3
WaterAvoidingRandomFlyingGoal.getPosition()
protected Vec3
WaterAvoidingRandomStrollGoal.getPosition()
private Vec3
GolemRandomStrollInVillageGoal.getPositionTowardsAnywhere()
private Vec3
GolemRandomStrollInVillageGoal.getPositionTowardsPoi()
private Vec3
GolemRandomStrollInVillageGoal.getPositionTowardsVillagerWhoWantsGolem()
-
Uses of Vec3 in net.minecraft.world.entity.ai.memory
Fields in net.minecraft.world.entity.ai.memory with type parameters of type Vec3Constructors in net.minecraft.world.entity.ai.memory with parameters of type Vec3 -
Uses of Vec3 in net.minecraft.world.entity.ai.util
Methods in net.minecraft.world.entity.ai.util that return Vec3Modifier and TypeMethodDescriptionstatic Vec3
RandomPos.generateRandomPos
(Supplier<BlockPos> p_148562_, ToDoubleFunction<BlockPos> p_148563_) static Vec3
RandomPos.generateRandomPos
(PathfinderMob p_148543_, Supplier<BlockPos> p_148544_) static Vec3
AirAndWaterRandomPos.getPos
(PathfinderMob p_148358_, int p_148359_, int p_148360_, int p_148361_, double p_148362_, double p_148363_, double p_148364_) static Vec3
DefaultRandomPos.getPos
(PathfinderMob p_148404_, int p_148405_, int p_148406_) static Vec3
HoverRandomPos.getPos
(PathfinderMob p_148466_, int p_148467_, int p_148468_, double p_148469_, double p_148470_, float p_148471_, int p_148472_, int p_148473_) static Vec3
LandRandomPos.getPos
(PathfinderMob p_148489_, int p_148490_, int p_148491_) static Vec3
LandRandomPos.getPos
(PathfinderMob p_148504_, int p_148505_, int p_148506_, ToDoubleFunction<BlockPos> p_148507_) static Vec3
DefaultRandomPos.getPosAway
(PathfinderMob p_148408_, int p_148409_, int p_148410_, Vec3 p_148411_) static Vec3
LandRandomPos.getPosAway
(PathfinderMob p_148522_, int p_148523_, int p_148524_, Vec3 p_148525_) private static Vec3
LandRandomPos.getPosInDirection
(PathfinderMob p_148498_, int p_148499_, int p_148500_, Vec3 p_148501_, boolean p_148502_) static Vec3
AirRandomPos.getPosTowards
(PathfinderMob p_148388_, int p_148389_, int p_148390_, int p_148391_, Vec3 p_148392_, double p_148393_) static Vec3
DefaultRandomPos.getPosTowards
(PathfinderMob p_148413_, int p_148414_, int p_148415_, Vec3 p_148416_, double p_148417_) static Vec3
LandRandomPos.getPosTowards
(PathfinderMob p_148493_, int p_148494_, int p_148495_, Vec3 p_148496_) Methods in net.minecraft.world.entity.ai.util with parameters of type Vec3Modifier and TypeMethodDescriptionstatic Vec3
DefaultRandomPos.getPosAway
(PathfinderMob p_148408_, int p_148409_, int p_148410_, Vec3 p_148411_) static Vec3
LandRandomPos.getPosAway
(PathfinderMob p_148522_, int p_148523_, int p_148524_, Vec3 p_148525_) private static Vec3
LandRandomPos.getPosInDirection
(PathfinderMob p_148498_, int p_148499_, int p_148500_, Vec3 p_148501_, boolean p_148502_) static Vec3
AirRandomPos.getPosTowards
(PathfinderMob p_148388_, int p_148389_, int p_148390_, int p_148391_, Vec3 p_148392_, double p_148393_) static Vec3
DefaultRandomPos.getPosTowards
(PathfinderMob p_148413_, int p_148414_, int p_148415_, Vec3 p_148416_, double p_148417_) static Vec3
LandRandomPos.getPosTowards
(PathfinderMob p_148493_, int p_148494_, int p_148495_, Vec3 p_148496_) -
Uses of Vec3 in net.minecraft.world.entity.ai.village
Methods in net.minecraft.world.entity.ai.village that return Vec3Modifier and TypeMethodDescriptionprivate Vec3
VillageSiege.findRandomSpawnPos
(ServerLevel p_27010_, BlockPos p_27011_) -
Uses of Vec3 in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal declared as Vec3Modifier and TypeFieldDescriptionprivate Vec3
Bee.BeePollinateGoal.hoverPos
private Vec3
Panda.rollDelta
Methods in net.minecraft.world.entity.animal that return Vec3Modifier and TypeMethodDescriptionprivate Vec3
Bee.BeeWanderGoal.findPos()
Pig.getDismountLocationForPassenger
(LivingEntity p_29487_) Bee.getLeashOffset()
Fox.getLeashOffset()
IronGolem.getLeashOffset()
Ocelot.getLeashOffset()
Parrot.getLeashOffset()
Pig.getLeashOffset()
Rabbit.getLeashOffset()
SnowGolem.getLeashOffset()
Wolf.getLeashOffset()
protected Vec3
Parrot.ParrotWanderGoal.getPosition()
private Vec3
Parrot.ParrotWanderGoal.getTreePos()
private Vec3
Squid.rotateVector
(Vec3 p_29986_) Methods in net.minecraft.world.entity.animal with parameters of type Vec3 -
Uses of Vec3 in net.minecraft.world.entity.animal.axolotl
Methods in net.minecraft.world.entity.animal.axolotl with parameters of type Vec3 -
Uses of Vec3 in net.minecraft.world.entity.animal.horse
Methods in net.minecraft.world.entity.animal.horse that return Vec3Modifier and TypeMethodDescriptionAbstractHorse.getDismountLocationForPassenger
(LivingEntity p_30576_) private Vec3
AbstractHorse.getDismountLocationInDirection
(Vec3 p_30562_, LivingEntity p_30563_) Llama.getLeashOffset()
Methods in net.minecraft.world.entity.animal.horse with parameters of type Vec3Modifier and TypeMethodDescriptionprivate Vec3
AbstractHorse.getDismountLocationInDirection
(Vec3 p_30562_, LivingEntity p_30563_) void
-
Uses of Vec3 in net.minecraft.world.entity.boss.enderdragon
Methods in net.minecraft.world.entity.boss.enderdragon that return Vec3 -
Uses of Vec3 in net.minecraft.world.entity.boss.enderdragon.phases
Fields in net.minecraft.world.entity.boss.enderdragon.phases declared as Vec3Modifier and TypeFieldDescriptionprivate Vec3
DragonChargePlayerPhase.targetLocation
private Vec3
DragonDeathPhase.targetLocation
private Vec3
DragonHoldingPatternPhase.targetLocation
private Vec3
DragonHoverPhase.targetLocation
private Vec3
DragonLandingApproachPhase.targetLocation
private Vec3
DragonLandingPhase.targetLocation
private Vec3
DragonStrafePlayerPhase.targetLocation
private Vec3
DragonTakeoffPhase.targetLocation
Methods in net.minecraft.world.entity.boss.enderdragon.phases that return Vec3Modifier and TypeMethodDescriptionAbstractDragonPhaseInstance.getFlyTargetLocation()
DragonChargePlayerPhase.getFlyTargetLocation()
DragonDeathPhase.getFlyTargetLocation()
DragonHoldingPatternPhase.getFlyTargetLocation()
DragonHoverPhase.getFlyTargetLocation()
DragonLandingApproachPhase.getFlyTargetLocation()
DragonLandingPhase.getFlyTargetLocation()
DragonPhaseInstance.getFlyTargetLocation()
DragonStrafePlayerPhase.getFlyTargetLocation()
DragonTakeoffPhase.getFlyTargetLocation()
Methods in net.minecraft.world.entity.boss.enderdragon.phases with parameters of type Vec3 -
Uses of Vec3 in net.minecraft.world.entity.boss.wither
Methods in net.minecraft.world.entity.boss.wither with parameters of type Vec3Modifier and TypeMethodDescriptionvoid
WitherBoss.makeStuckInBlock
(BlockState p_31471_, Vec3 p_31472_) -
Uses of Vec3 in net.minecraft.world.entity.decoration
Methods in net.minecraft.world.entity.decoration that return Vec3Modifier and TypeMethodDescriptionArmorStand.getLightProbePosition
(float p_31665_) LeashFenceKnotEntity.getRopeHoldPosition
(float p_31863_) Methods in net.minecraft.world.entity.decoration with parameters of type Vec3Modifier and TypeMethodDescriptionprivate EquipmentSlot
ArmorStand.getClickedSlot
(Vec3 p_31660_) ArmorStand.interactAt
(Player p_31594_, Vec3 p_31595_, InteractionHand p_31596_) void
void
void
-
Uses of Vec3 in net.minecraft.world.entity.monster
Fields in net.minecraft.world.entity.monster declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3[][]
Illusioner.clientSideIllusionOffsets
(package private) Vec3
Phantom.moveTargetPoint
Methods in net.minecraft.world.entity.monster that return Vec3Modifier and TypeMethodDescriptionShulker.getDeltaMovement()
Strider.getDismountLocationForPassenger
(LivingEntity p_33908_) Vec3[]
Illusioner.getIllusionOffsets
(float p_32940_) Strider.getLeashOffset()
private Vec3
Drowned.DrownedGoToWaterGoal.getWaterPos()
Methods in net.minecraft.world.entity.monster that return types with arguments of type Vec3Methods in net.minecraft.world.entity.monster with parameters of type Vec3Modifier and TypeMethodDescriptionprivate boolean
default Vector3f
CrossbowAttackMob.getProjectileShotVector
(LivingEntity p_32333_, Vec3 p_32334_, float p_32335_) void
Spider.makeStuckInBlock
(BlockState p_33796_, Vec3 p_33797_) void
void
void
Shulker.setDeltaMovement
(Vec3 p_149804_) void
void
void
void
Strider.travelWithInput
(Vec3 p_33902_) -
Uses of Vec3 in net.minecraft.world.entity.monster.piglin
Methods in net.minecraft.world.entity.monster.piglin that return Vec3Modifier and TypeMethodDescriptionprivate static Vec3
PiglinAi.getRandomNearbyPos
(Piglin p_35017_) Methods in net.minecraft.world.entity.monster.piglin with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static void
PiglinAi.throwItemsTowardPos
(Piglin p_34864_, List<ItemStack> p_34865_, Vec3 p_34866_) -
Uses of Vec3 in net.minecraft.world.entity.npc
Methods in net.minecraft.world.entity.npc that return Vec3 -
Uses of Vec3 in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player that return Vec3Modifier and TypeMethodDescriptionPlayer.getRopeHoldPosition
(float p_36374_) protected Vec3
Player.maybeBackOffFromEdge
(Vec3 p_36201_, MoverType p_36202_) Methods in net.minecraft.world.entity.player that return types with arguments of type Vec3Modifier and TypeMethodDescriptionPlayer.findRespawnPositionAndUseSpawnBlock
(ServerLevel p_36131_, BlockPos p_36132_, float p_36133_, boolean p_36134_, boolean p_36135_) Methods in net.minecraft.world.entity.player with parameters of type Vec3Modifier and TypeMethodDescriptionvoid
Player.makeStuckInBlock
(BlockState p_36196_, Vec3 p_36197_) protected Vec3
Player.maybeBackOffFromEdge
(Vec3 p_36201_, MoverType p_36202_) void
-
Uses of Vec3 in net.minecraft.world.entity.projectile
Methods in net.minecraft.world.entity.projectile with parameters of type Vec3Modifier and TypeMethodDescriptionprotected EntityHitResult
AbstractArrow.findHitEntity
(Vec3 p_36758_, Vec3 p_36759_) protected EntityHitResult
ThrownTrident.findHitEntity
(Vec3 p_37575_, Vec3 p_37576_) static EntityHitResult
ProjectileUtil.getEntityHitResult
(Entity p_37288_, Vec3 p_37289_, Vec3 p_37290_, AABB p_37291_, Predicate<Entity> p_37292_, double p_37293_) static EntityHitResult
ProjectileUtil.getEntityHitResult
(Level p_37305_, Entity p_37306_, Vec3 p_37307_, Vec3 p_37308_, AABB p_37309_, Predicate<Entity> p_37310_) static EntityHitResult
ProjectileUtil.getEntityHitResult
(Level p_150176_, Entity p_150177_, Vec3 p_150178_, Vec3 p_150179_, AABB p_150180_, Predicate<Entity> p_150181_, float p_150182_) void
-
Uses of Vec3 in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle that return Vec3Modifier and TypeMethodDescriptionstatic Vec3
DismountHelper.findSafeDismountLocation
(EntityType<?> p_38442_, CollisionGetter p_38443_, BlockPos p_38444_, boolean p_38445_) AbstractMinecart.getDismountLocationForPassenger
(LivingEntity p_38145_) Boat.getDismountLocationForPassenger
(LivingEntity p_38357_) AbstractMinecart.getPos
(double p_38180_, double p_38181_, double p_38182_) MinecartCommandBlock.MinecartCommandBase.getPosition()
AbstractMinecart.getPosOffs
(double p_38097_, double p_38098_, double p_38099_, double p_38100_) protected Vec3
AbstractMinecart.getRelativePortalPosition
(Direction.Axis p_38132_, BlockUtil.FoundRectangle p_38133_) protected Vec3
Boat.getRelativePortalPosition
(Direction.Axis p_38335_, BlockUtil.FoundRectangle p_38336_) Methods in net.minecraft.world.entity.vehicle with parameters of type Vec3Modifier and TypeMethodDescriptionstatic boolean
DismountHelper.canDismountTo
(CollisionGetter p_150280_, Vec3 p_150281_, LivingEntity p_150282_, Pose p_150283_) -
Uses of Vec3 in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type Vec3Modifier and TypeMethodDescriptionSpawnEggItem.spawnOffspringFromSpawnEgg
(Player p_43216_, Mob p_43217_, EntityType<? extends Mob> p_43218_, ServerLevel p_43219_, Vec3 p_43220_, ItemStack p_43221_) -
Uses of Vec3 in net.minecraft.world.item.context
Methods in net.minecraft.world.item.context that return Vec3 -
Uses of Vec3 in net.minecraft.world.level
Fields in net.minecraft.world.level declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3
ClipBlockStateContext.from
private final Vec3
ClipContext.from
private final Vec3
Explosion.position
private final Vec3
ClipBlockStateContext.to
private final Vec3
ClipContext.to
Fields in net.minecraft.world.level with type parameters of type Vec3Methods in net.minecraft.world.level that return Vec3Modifier and TypeMethodDescriptionClipBlockStateContext.getFrom()
ClipContext.getFrom()
abstract Vec3
BaseCommandBlock.getPosition()
Explosion.getPosition()
ClipBlockStateContext.getTo()
ClipContext.getTo()
Methods in net.minecraft.world.level that return types with arguments of type Vec3Modifier and TypeMethodDescriptionCollisionGetter.findFreePosition
(Entity p_151419_, VoxelShape p_151420_, Vec3 p_151421_, double p_151422_, double p_151423_, double p_151424_) Explosion.getHitPlayers()
Methods in net.minecraft.world.level with parameters of type Vec3Modifier and TypeMethodDescriptiondefault BlockHitResult
BlockGetter.clipWithInteractionOverride
(Vec3 p_45559_, Vec3 p_45560_, BlockPos p_45561_, VoxelShape p_45562_, BlockState p_45563_) CollisionGetter.findFreePosition
(Entity p_151419_, VoxelShape p_151420_, Vec3 p_151421_, double p_151422_, double p_151423_, double p_151424_) static float
Explosion.getSeenPercent
(Vec3 p_46065_, Entity p_46066_) static <T,
C> T BlockGetter.traverseBlocks
(Vec3 p_151362_, Vec3 p_151363_, C p_151364_, BiFunction<C, BlockPos, T> p_151365_, Function<C, T> p_151366_) Constructors in net.minecraft.world.level with parameters of type Vec3ModifierConstructorDescriptionClipBlockStateContext
(Vec3 p_151401_, Vec3 p_151402_, Predicate<BlockState> p_151403_) ClipContext
(Vec3 p_45688_, Vec3 p_45689_, ClipContext.Block p_45690_, ClipContext.Fluid p_45691_, Entity p_45692_) -
Uses of Vec3 in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as Vec3Fields in net.minecraft.world.level.block with type parameters of type Vec3Methods in net.minecraft.world.level.block that return types with arguments of type Vec3Modifier and TypeMethodDescriptionBedBlock.findBunkBedStandUpPosition
(EntityType<?> p_49464_, CollisionGetter p_49465_, BlockPos p_49466_, Direction p_49467_, Direction p_49468_) BedBlock.findStandUpPosition
(EntityType<?> p_49459_, CollisionGetter p_49460_, BlockPos p_49461_, float p_49462_) RespawnAnchorBlock.findStandUpPosition
(EntityType<?> p_55840_, CollisionGetter p_55841_, BlockPos p_55842_) RespawnAnchorBlock.findStandUpPosition
(EntityType<?> p_55844_, CollisionGetter p_55845_, BlockPos p_55846_, boolean p_55847_) BedBlock.findStandUpPositionAtOffset
(EntityType<?> p_49470_, CollisionGetter p_49471_, BlockPos p_49472_, int[][] p_49473_, boolean p_49474_) AbstractCandleBlock.getParticleOffsets
(BlockState p_151927_) CandleBlock.getParticleOffsets
(BlockState p_152812_) CandleCakeBlock.getParticleOffsets
(BlockState p_152868_) Methods in net.minecraft.world.level.block with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static void
AbstractCandleBlock.addParticlesAndSound
(Level p_151910_, Vec3 p_151911_, Random p_151912_) private static int
TargetBlock.getRedstoneStrength
(BlockHitResult p_57409_, Vec3 p_57410_) private void
RedStoneWireBlock.spawnParticlesAlongLine
(Level p_154310_, Random p_154311_, BlockPos p_154312_, Vec3 p_154313_, Direction p_154314_, Direction p_154315_, float p_154316_, float p_154317_) -
Uses of Vec3 in net.minecraft.world.level.block.entity
Methods in net.minecraft.world.level.block.entity that return Vec3Modifier and TypeMethodDescriptionprivate static Vec3
TheEndGatewayBlockEntity.findExitPortalXZPosTentative
(ServerLevel p_155842_, BlockPos p_155843_) Methods in net.minecraft.world.level.block.entity with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static void
AbstractFurnaceBlockEntity.createExperience
(ServerLevel p_154999_, Vec3 p_155000_, int p_155001_, float p_155002_) private static LevelChunk
AbstractFurnaceBlockEntity.getRecipesToAwardAndPopExperience
(ServerLevel p_154996_, Vec3 p_154997_) private static boolean
TheEndGatewayBlockEntity.isChunkEmpty
(ServerLevel p_155816_, Vec3 p_155817_) -
Uses of Vec3 in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state that return Vec3Modifier and TypeMethodDescriptionBlockBehaviour.BlockStateBase.getOffset
(BlockGetter p_60825_, BlockPos p_60826_) -
Uses of Vec3 in net.minecraft.world.level.levelgen.feature
Fields in net.minecraft.world.level.levelgen.feature declared as Vec3 -
Uses of Vec3 in net.minecraft.world.level.levelgen.structure.templatesystem
Fields in net.minecraft.world.level.levelgen.structure.templatesystem declared as Vec3Methods in net.minecraft.world.level.levelgen.structure.templatesystem that return Vec3Modifier and TypeMethodDescriptionstatic Vec3
static Vec3
StructureTemplate.transformedVec3d
(StructurePlaceSettings placementIn, Vec3 pos) Methods in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type Vec3Modifier and TypeMethodDescriptionstatic Vec3
static Vec3
StructureTemplate.transformedVec3d
(StructurePlaceSettings placementIn, Vec3 pos) Constructors in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type Vec3ModifierConstructorDescriptionStructureEntityInfo
(Vec3 p_74687_, BlockPos p_74688_, CompoundTag p_74689_) -
Uses of Vec3 in net.minecraft.world.level.material
Methods in net.minecraft.world.level.material that return Vec3Modifier and TypeMethodDescriptionEmptyFluid.getFlow
(BlockGetter p_75918_, BlockPos p_75919_, FluidState p_75920_) FlowingFluid.getFlow
(BlockGetter p_75987_, BlockPos p_75988_, FluidState p_75989_) protected abstract Vec3
Fluid.getFlow
(BlockGetter p_76110_, BlockPos p_76111_, FluidState p_76112_) FluidState.getFlow
(BlockGetter p_76180_, BlockPos p_76181_) -
Uses of Vec3 in net.minecraft.world.level.pathfinder
Methods in net.minecraft.world.level.pathfinder that return Vec3Modifier and TypeMethodDescriptionNode.asVec3()
Path.getEntityPosAtNode
(Entity p_77383_, int p_77384_) Path.getNextEntityPos
(Entity p_77381_) -
Uses of Vec3 in net.minecraft.world.level.portal
Fields in net.minecraft.world.level.portal declared as Vec3Methods in net.minecraft.world.level.portal that return Vec3Modifier and TypeMethodDescriptionstatic Vec3
PortalShape.getRelativePosition
(BlockUtil.FoundRectangle p_77739_, Direction.Axis p_77740_, Vec3 p_77741_, EntityDimensions p_77742_) Methods in net.minecraft.world.level.portal with parameters of type Vec3Modifier and TypeMethodDescriptionstatic PortalInfo
PortalShape.createPortalInfo
(ServerLevel p_77700_, BlockUtil.FoundRectangle p_77701_, Direction.Axis p_77702_, Vec3 p_77703_, EntityDimensions p_77704_, Vec3 p_77705_, float p_77706_, float p_77707_) static Vec3
PortalShape.getRelativePosition
(BlockUtil.FoundRectangle p_77739_, Direction.Axis p_77740_, Vec3 p_77741_, EntityDimensions p_77742_) Constructors in net.minecraft.world.level.portal with parameters of type Vec3ModifierConstructorDescriptionPortalInfo
(Vec3 p_77681_, Vec3 p_77682_, float p_77683_, float p_77684_) -
Uses of Vec3 in net.minecraft.world.level.storage.loot.parameters
Fields in net.minecraft.world.level.storage.loot.parameters with type parameters of type Vec3 -
Uses of Vec3 in net.minecraft.world.phys
Fields in net.minecraft.world.phys declared as Vec3Modifier and TypeFieldDescriptionprotected final Vec3
HitResult.location
static final Vec3
Vec3.ZERO
Methods in net.minecraft.world.phys that return Vec3Modifier and TypeMethodDescriptionVec3.add
(double p_82521_, double p_82522_, double p_82523_) Vec3.align
(EnumSet<Direction.Axis> p_82518_) static Vec3
Vec3.atBottomCenterOf
(Vec3i p_82540_) static Vec3
Vec3.atCenterOf
(Vec3i p_82513_) static Vec3
Vec3.atLowerCornerOf
(Vec3i p_82529_) static Vec3
Vec3.directionFromRotation
(float p_82499_, float p_82500_) static Vec3
Vec3.directionFromRotation
(Vec2 p_82504_) static Vec3
Vec3.fromRGB24
(int p_82502_) AABB.getCenter()
HitResult.getLocation()
Vec3.multiply
(double p_82543_, double p_82544_, double p_82545_) Vec3.normalize()
Vec3.reverse()
Vec3.scale
(double p_82491_) Vec3.subtract
(double p_82493_, double p_82494_, double p_82495_) static Vec3
Vec3.upFromBottomCenterOf
(Vec3i p_82515_, double p_82516_) Vec3.with
(Direction.Axis p_193104_, double p_193105_) Vec3.xRot
(float p_82497_) Vec3.yRot
(float p_82525_) Vec3.zRot
(float p_82536_) Methods in net.minecraft.world.phys that return types with arguments of type Vec3Methods in net.minecraft.world.phys with parameters of type Vec3Modifier and TypeMethodDescriptionstatic BlockHitResult
boolean
double
Vec3.distanceTo
(Vec3 p_82555_) double
Vec3.distanceToSqr
(Vec3 p_82558_) double
AABB.expandTowards
(Vec3 p_82370_) private static Direction
AABB.getDirection
(AABB p_82326_, Vec3 p_82327_, double[] p_82328_, Direction p_82329_, double p_82330_, double p_82331_, double p_82332_) boolean
AABB.intersects
(Vec3 p_82336_, Vec3 p_82337_) static BlockHitResult
static AABB
static AABB
AABB.unitCubeFromLowerCorner
(Vec3 p_82334_) Constructors in net.minecraft.world.phys with parameters of type Vec3ModifierConstructorDescriptionprivate
BlockHitResult
(boolean p_82420_, Vec3 p_82421_, Direction p_82422_, BlockPos p_82423_, boolean p_82424_) BlockHitResult
(Vec3 p_82415_, Direction p_82416_, BlockPos p_82417_, boolean p_82418_) EntityHitResult
(Entity p_82441_, Vec3 p_82442_) protected
-
Uses of Vec3 in net.minecraft.world.phys.shapes
Methods in net.minecraft.world.phys.shapes that return types with arguments of type Vec3Methods in net.minecraft.world.phys.shapes with parameters of type Vec3 -
Uses of Vec3 in net.minecraftforge.client
Constructors in net.minecraftforge.client with parameters of type Vec3ModifierConstructorDescriptionClientCommandSourceStack
(CommandSource source, Vec3 position, Vec2 rotation, int permission, String plainTextName, Component displayName, Entity executing) -
Uses of Vec3 in net.minecraftforge.common
Fields in net.minecraftforge.common with type parameters of type Vec3Modifier and TypeFieldDescriptionprivate static final Map<LevelReader,
Map<ChunkPos, ChunkTicketManager<Vec3>>> FarmlandWaterManager.customWaterHandler
Methods in net.minecraftforge.common with type parameters of type Vec3Modifier and TypeMethodDescriptionstatic <T extends SimpleTicket<Vec3>>
TFarmlandWaterManager.addCustomTicket
(Level level, T ticket, ChunkPos masterChunk, ChunkPos... additionalChunks) Adds a custom ticket.Methods in net.minecraftforge.common that return types with arguments of type Vec3Modifier and TypeMethodDescriptionprivate static ChunkTicketManager<Vec3>
FarmlandWaterManager.getTicketManager
(ChunkPos pos, LevelReader level) Methods in net.minecraftforge.common with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static double
FarmlandWaterManager.getDistanceSq
(ChunkPos pos, Vec3 vec3d) static InteractionResult
ForgeHooks.onInteractEntityAt
(Player player, Entity entity, Vec3 vec3d, InteractionHand hand) -
Uses of Vec3 in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions that return types with arguments of type Vec3Modifier and TypeMethodDescriptionIForgeBlock.getRespawnPosition
(BlockState state, EntityType<?> type, LevelReader levelReader, BlockPos pos, float orientation, LivingEntity entity) Returns the position that the entity is moved to upon respawning at this block.IForgeBlockState.getRespawnPosition
(EntityType<?> type, LevelReader level, BlockPos pos, float orientation, LivingEntity entity) Returns the position that the entity is moved to upon respawning at this block.Methods in net.minecraftforge.common.extensions with parameters of type Vec3Modifier and TypeMethodDescriptiondefault BlockState
IForgeBlock.getStateAtViewpoint
(BlockState state, BlockGetter level, BlockPos pos, Vec3 viewpoint) Used to determine the state 'viewed' by an entity (seeCamera.getBlockAtCamera()
).default BlockState
IForgeBlockState.getStateAtViewpoint
(BlockGetter level, BlockPos pos, Vec3 viewpoint) Used to determine the state 'viewed' by an entity (seeCamera.getBlockAtCamera()
). -
Uses of Vec3 in net.minecraftforge.common.ticket
Methods in net.minecraftforge.common.ticket with parameters of type Vec3 -
Uses of Vec3 in net.minecraftforge.common.util
Methods in net.minecraftforge.common.util that return Vec3 -
Uses of Vec3 in net.minecraftforge.debug.block
Methods in net.minecraftforge.debug.block that return types with arguments of type Vec3Modifier and TypeMethodDescriptionCustomRespawnTest.CustomRespawnBlock.getRespawnPosition
(BlockState state, EntityType<?> type, LevelReader levelReader, BlockPos pos, float orientation, LivingEntity entity) -
Uses of Vec3 in net.minecraftforge.debug.client
Constructors in net.minecraftforge.debug.client with parameters of type Vec3 -
Uses of Vec3 in net.minecraftforge.event.entity
Methods in net.minecraftforge.event.entity that return Vec3 -
Uses of Vec3 in net.minecraftforge.event.entity.player
Fields in net.minecraftforge.event.entity.player declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3
PlayerInteractEvent.EntityInteractSpecific.localPos
Methods in net.minecraftforge.event.entity.player that return Vec3Modifier and TypeMethodDescriptionPlayerInteractEvent.EntityInteractSpecific.getLocalPos()
Returns the local interaction position.Constructors in net.minecraftforge.event.entity.player with parameters of type Vec3ModifierConstructorDescriptionEntityInteractSpecific
(Player player, InteractionHand hand, Entity target, Vec3 localPos) -
Uses of Vec3 in net.minecraftforge.event.village
Fields in net.minecraftforge.event.village declared as Vec3Methods in net.minecraftforge.event.village that return Vec3Constructors in net.minecraftforge.event.village with parameters of type Vec3ModifierConstructorDescriptionVillageSiegeEvent
(VillageSiege siege, Level world, Player player, Vec3 attemptedSpawnPos)