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 Vec3Modifier and TypeFieldDescriptionprivate final Vec3
ListenerTransform.forward
The field for theforward
record component.private final Vec3
ListenerTransform.position
The field for theposition
record component.private final Vec3
ListenerTransform.up
The field for theup
record component.Methods in com.mojang.blaze3d.audio that return Vec3Modifier and TypeMethodDescriptionListenerTransform.forward()
Returns the value of theforward
record component.ListenerTransform.position()
Returns the value of theposition
record component.ListenerTransform.right()
ListenerTransform.up()
Returns the value of theup
record component.Methods in com.mojang.blaze3d.audio with parameters of type Vec3Constructors in com.mojang.blaze3d.audio with parameters of type Vec3ModifierConstructorDescriptionListenerTransform
(Vec3 position, Vec3 forward, Vec3 up) Creates an instance of aListenerTransform
record class. -
Uses of Vec3 in com.mojang.blaze3d.vertex
Methods in com.mojang.blaze3d.vertex 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
EntitySubPredicate.matches
(Entity p_218828_, ServerLevel p_218829_, Vec3 p_218830_) boolean
FallAfterExplosionTrigger.TriggerInstance.matches
(ServerLevel p_335990_, Vec3 p_335477_, Vec3 p_336025_, LootContext p_335849_) boolean
FishingHookPredicate.matches
(Entity p_219716_, ServerLevel p_219717_, Vec3 p_219718_) boolean
LevitationTrigger.TriggerInstance.matches
(ServerPlayer p_49141_, Vec3 p_49142_, int p_49143_) boolean
LightningBoltPredicate.matches
(Entity p_299034_, ServerLevel p_299101_, Vec3 p_298929_) boolean
PlayerPredicate.matches
(Entity p_222484_, ServerLevel p_222485_, Vec3 p_222486_) boolean
RaiderPredicate.matches
(Entity p_338232_, ServerLevel p_338194_, Vec3 p_338564_) boolean
SheepPredicate.matches
(Entity p_368517_, ServerLevel p_368673_, Vec3 p_368505_) boolean
SlimePredicate.matches
(Entity p_223423_, ServerLevel p_223424_, Vec3 p_223425_) boolean
TargetBlockTrigger.TriggerInstance.matches
(LootContext p_70242_, Vec3 p_70243_, int p_70244_) void
DistanceTrigger.trigger
(ServerPlayer p_186166_, Vec3 p_186167_) void
FallAfterExplosionTrigger.trigger
(ServerPlayer p_335648_, Vec3 p_336086_, Entity p_336120_) 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 Vec3Modifier and TypeFieldDescriptionprivate final Vec3
SubtitleOverlay.SoundPlayedAt.location
The field for thelocation
record component.Methods in net.minecraft.client.gui.components that return Vec3Modifier and TypeMethodDescriptionSubtitleOverlay.SoundPlayedAt.location()
Returns the value of thelocation
record component.Methods in net.minecraft.client.gui.components with parameters of type Vec3Modifier and TypeMethodDescriptionSubtitleOverlay.Subtitle.getClosest
(Vec3 p_347452_) boolean
SubtitleOverlay.Subtitle.isAudibleFrom
(Vec3 p_314706_) void
Constructors in net.minecraft.client.gui.components with parameters of type Vec3ModifierConstructorDescription(package private)
SoundPlayedAt
(Vec3 location, long time) Creates an instance of aSoundPlayedAt
record class. -
Uses of Vec3 in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type Vec3Modifier and TypeMethodDescriptionvoid
ClientLevel.gameEvent
(Holder<GameEvent> p_316478_, Vec3 p_233640_, GameEvent.Context p_233641_) int
ClientLevel.getSkyColor
(Vec3 p_171661_, float p_171662_) void
ClientLevel.syncBlockState
(BlockPos p_233648_, BlockState p_233649_, Vec3 p_233650_) -
Uses of Vec3 in net.minecraft.client.multiplayer.prediction
Fields in net.minecraft.client.multiplayer.prediction declared as Vec3Modifier and TypeFieldDescription(package private) final Vec3
BlockStatePredictionHandler.ServerVerifiedState.playerPos
Constructors in net.minecraft.client.multiplayer.prediction with parameters of type Vec3ModifierConstructorDescription(package private)
ServerVerifiedState
(int p_233878_, BlockState p_233879_, Vec3 p_233880_) -
Uses of Vec3 in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as Vec3Methods in net.minecraft.client.particle that return Vec3Constructors in net.minecraft.client.particle with parameters of type Vec3ModifierConstructorDescriptionItemPickupParticle
(EntityRenderDispatcher p_107023_, ClientLevel p_107025_, Entity p_107026_, Entity p_107027_, Vec3 p_382893_) TrackingEmitter
(ClientLevel p_108399_, Entity p_108400_, ParticleOptions p_108401_, int p_108402_, Vec3 p_108403_) TrailParticle
(ClientLevel p_380008_, double p_380201_, double p_380198_, double p_380357_, double p_380375_, double p_380026_, double p_379483_, Vec3 p_379353_, int p_379830_) -
Uses of Vec3 in net.minecraft.client.player
Fields in net.minecraft.client.player declared as Vec3Modifier and TypeFieldDescriptionprotected Vec3
AbstractClientPlayer.deltaMovementOnPreviousTick
private Vec3
RemotePlayer.lerpDeltaMovement
Methods in net.minecraft.client.player that return Vec3Modifier and TypeMethodDescriptionAbstractClientPlayer.getDeltaMovementLerped
(float p_272943_) LocalPlayer.getRopeHoldPosition
(float p_108758_) Methods 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
Methods 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.addCloudsPass
(FrameGraphBuilder p_361907_, CloudStatus p_364196_, Vec3 p_362985_, float p_365209_, int p_362342_, float p_362337_) Deprecated.private void
LevelRenderer.addCloudsPass
(FrameGraphBuilder p_361907_, CloudStatus p_364196_, Vec3 p_362985_, float p_365209_, int p_362342_, float p_362337_, org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix) private void
LevelRenderer.addLateDebugPass
(FrameGraphBuilder p_361973_, Vec3 p_363812_, FogParameters p_362448_) private void
LevelRenderer.addWeatherPass
(FrameGraphBuilder p_364025_, Vec3 p_360771_, float p_362434_, FogParameters p_360974_) Deprecated.private void
LevelRenderer.addWeatherPass
(FrameGraphBuilder p_364025_, Vec3 p_360771_, float p_362434_, FogParameters p_360974_, org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix, Camera camera) private void
WeatherEffectRenderer.collectColumnInstances
(Level p_363309_, int p_364806_, float p_363571_, Vec3 p_361736_, int p_365047_, List<WeatherEffectRenderer.ColumnInstance> p_363743_, List<WeatherEffectRenderer.ColumnInstance> p_363189_) private static HitResult
GameRenderer.filterHitResult
(HitResult p_319875_, Vec3 p_320631_, double p_319892_) 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
(Vec3 p_253766_, org.joml.Matrix4f p_254341_, org.joml.Matrix4f p_323487_) void
CloudRenderer.render
(int p_363907_, CloudStatus p_364293_, float p_363260_, Vec3 p_363573_, float p_360711_) private void
WeatherEffectRenderer.render
(MultiBufferSource p_382792_, Vec3 p_360652_, int p_365362_, float p_362894_, List<WeatherEffectRenderer.ColumnInstance> p_362059_, List<WeatherEffectRenderer.ColumnInstance> p_362633_) void
WeatherEffectRenderer.render
(Level p_364994_, MultiBufferSource p_383071_, int p_363664_, float p_361655_, Vec3 p_363375_) void
WorldBorderRenderer.render
(WorldBorder p_365515_, Vec3 p_360961_, double p_364707_, double p_361253_) private void
WeatherEffectRenderer.renderInstances
(VertexConsumer p_383100_, List<WeatherEffectRenderer.ColumnInstance> p_364429_, Vec3 p_363972_, float p_364489_, int p_361243_, float p_362812_) static void
ShapeRenderer.renderVector
(PoseStack p_360595_, VertexConsumer p_363463_, org.joml.Vector3f p_360401_, Vec3 p_364678_, int p_360349_) private void
SectionOcclusionGraph.runPartialUpdate
(boolean p_294795_, Frustum p_294341_, List<SectionRenderDispatcher.RenderSection> p_294796_, Vec3 p_295915_, it.unimi.dsi.fastutil.longs.LongOpenHashSet p_366753_) private void
SectionOcclusionGraph.runUpdates
(SectionOcclusionGraph.GraphStorage p_295507_, Vec3 p_294343_, Queue<SectionOcclusionGraph.Node> p_295598_, boolean p_295668_, Consumer<SectionRenderDispatcher.RenderSection> p_295393_, it.unimi.dsi.fastutil.longs.LongOpenHashSet p_366468_) private void
SectionOcclusionGraph.scheduleFullUpdate
(boolean p_294514_, Camera p_295663_, Vec3 p_295096_, it.unimi.dsi.fastutil.longs.LongOpenHashSet p_366772_) private void
LevelRenderer.scheduleResort
(SectionRenderDispatcher.RenderSection p_371775_, SectionRenderDispatcher.TranslucencyPointOfView p_371652_, Vec3 p_371372_, boolean p_371855_, boolean p_371355_) private void
LevelRenderer.scheduleTranslucentSectionResort
(Vec3 p_361632_) -
Uses of Vec3 in net.minecraft.client.renderer.blockentity
Fields in net.minecraft.client.renderer.blockentity declared as Vec3Modifier and TypeFieldDescriptionprivate static final Vec3
HangingSignRenderer.TEXT_OFFSET
private static final Vec3
SignRenderer.TEXT_OFFSET
Methods in net.minecraft.client.renderer.blockentity that return Vec3Modifier and TypeMethodDescriptionprotected abstract Vec3
AbstractSignRenderer.getTextOffset()
protected Vec3
HangingSignRenderer.getTextOffset()
protected Vec3
SignRenderer.getTextOffset()
Methods in net.minecraft.client.renderer.blockentity with parameters of type Vec3Modifier and TypeMethodDescriptionvoid
AbstractSignRenderer.render
(SignBlockEntity p_389499_, float p_389653_, PoseStack p_389702_, MultiBufferSource p_389632_, int p_389452_, int p_389727_, Vec3 p_401029_) void
BannerRenderer.render
(BannerBlockEntity p_112052_, float p_112053_, PoseStack p_112054_, MultiBufferSource p_112055_, int p_112056_, int p_112057_, Vec3 p_401132_) void
BeaconRenderer.render
(T p_112149_, float p_112150_, PoseStack p_112151_, MultiBufferSource p_112152_, int p_112153_, int p_112154_, Vec3 p_401093_) void
BedRenderer.render
(BedBlockEntity p_112205_, float p_112206_, PoseStack p_112207_, MultiBufferSource p_112208_, int p_112209_, int p_112210_, Vec3 p_401344_) void
BellRenderer.render
(BellBlockEntity p_112233_, float p_112234_, PoseStack p_112235_, MultiBufferSource p_112236_, int p_112237_, int p_112238_, Vec3 p_401104_) void
BlockEntityRenderer.render
(T p_112307_, float p_112308_, PoseStack p_112309_, MultiBufferSource p_112310_, int p_112311_, int p_112312_, Vec3 p_401186_) void
BlockEntityWithBoundingBoxRenderer.render
(T p_397324_, float p_397611_, PoseStack p_397388_, MultiBufferSource p_397625_, int p_397985_, int p_397795_, Vec3 p_401190_) void
BrushableBlockRenderer.render
(BrushableBlockEntity p_277712_, float p_277981_, PoseStack p_277490_, MultiBufferSource p_278015_, int p_277463_, int p_277346_, Vec3 p_401179_) void
CampfireRenderer.render
(CampfireBlockEntity p_112344_, float p_112345_, PoseStack p_112346_, MultiBufferSource p_112347_, int p_112348_, int p_112349_, Vec3 p_401331_) void
ChestRenderer.render
(T p_112363_, float p_112364_, PoseStack p_112365_, MultiBufferSource p_112366_, int p_112367_, int p_112368_, Vec3 p_401038_) void
ConduitRenderer.render
(ConduitBlockEntity p_112399_, float p_112400_, PoseStack p_112401_, MultiBufferSource p_112402_, int p_112403_, int p_112404_, Vec3 p_401311_) void
DecoratedPotRenderer.render
(DecoratedPotBlockEntity p_273776_, float p_273103_, PoseStack p_273455_, MultiBufferSource p_273010_, int p_273407_, int p_273059_, Vec3 p_401111_) void
EnchantTableRenderer.render
(EnchantingTableBlockEntity p_341203_, float p_112419_, PoseStack p_112420_, MultiBufferSource p_112421_, int p_112422_, int p_112423_, Vec3 p_401253_) void
LecternRenderer.render
(LecternBlockEntity p_112435_, float p_112436_, PoseStack p_112437_, MultiBufferSource p_112438_, int p_112439_, int p_112440_, Vec3 p_401430_) void
PistonHeadRenderer.render
(PistonMovingBlockEntity p_112452_, float p_112453_, PoseStack p_112454_, MultiBufferSource p_112455_, int p_112456_, int p_112457_, Vec3 p_401129_) void
ShulkerBoxRenderer.render
(ShulkerBoxBlockEntity p_112478_, float p_112479_, PoseStack p_112480_, MultiBufferSource p_112481_, int p_112482_, int p_112483_, Vec3 p_401208_) void
SkullBlockRenderer.render
(SkullBlockEntity p_112534_, float p_112535_, PoseStack p_112536_, MultiBufferSource p_112537_, int p_112538_, int p_112539_, Vec3 p_401159_) void
SpawnerRenderer.render
(SpawnerBlockEntity p_112563_, float p_112564_, PoseStack p_112565_, MultiBufferSource p_112566_, int p_112567_, int p_112568_, Vec3 p_401292_) void
TestInstanceRenderer.render
(TestInstanceBlockEntity p_397390_, float p_397164_, PoseStack p_397714_, MultiBufferSource p_397845_, int p_397115_, int p_397818_, Vec3 p_401004_) void
TheEndGatewayRenderer.render
(TheEndGatewayBlockEntity p_112613_, float p_112614_, PoseStack p_112615_, MultiBufferSource p_112616_, int p_112617_, int p_112618_, Vec3 p_401343_) void
TheEndPortalRenderer.render
(T p_112650_, float p_112651_, PoseStack p_112652_, MultiBufferSource p_112653_, int p_112654_, int p_112655_, Vec3 p_401153_) void
TrialSpawnerRenderer.render
(TrialSpawnerBlockEntity p_312217_, float p_312274_, PoseStack p_312684_, MultiBufferSource p_312816_, int p_312320_, int p_312349_, Vec3 p_401133_) void
VaultRenderer.render
(VaultBlockEntity p_323921_, float p_324166_, PoseStack p_324316_, MultiBufferSource p_323716_, int p_324311_, int p_324178_, Vec3 p_401121_) private static <T extends BlockEntity>
voidBlockEntityRenderDispatcher.setupAndRender
(BlockEntityRenderer<T> p_112285_, T p_112286_, float p_112287_, PoseStack p_112288_, MultiBufferSource p_112289_, Vec3 p_401398_) boolean
BeaconRenderer.shouldRender
(T p_173534_, Vec3 p_173535_) default boolean
BlockEntityRenderer.shouldRender
(T p_173568_, Vec3 p_173569_) boolean
TestInstanceRenderer.shouldRender
(TestInstanceBlockEntity p_397042_, Vec3 p_397171_) private void
AbstractSignRenderer.translateSignText
(PoseStack p_389535_, boolean p_389461_, Vec3 p_389589_) -
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 Vec3Modifier and TypeMethodDescriptionvoid
-
Uses of Vec3 in net.minecraft.client.renderer.debug
Fields in net.minecraft.client.renderer.debug declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3
GameEventListenerRenderer.TrackedGameEvent.position
The field for theposition
record component.Methods in net.minecraft.client.renderer.debug that return Vec3Modifier and TypeMethodDescriptionprivate static Vec3
DebugRenderer.mixColor
(float p_362997_) GameEventListenerRenderer.TrackedGameEvent.position()
Returns the value of theposition
record component.private static Vec3
DebugRenderer.shiftHue
(float p_363162_, float p_360992_, float p_363824_, float p_363167_) Methods in net.minecraft.client.renderer.debug that return types with arguments of type Vec3Modifier and TypeMethodDescriptionGameEventListenerRenderer.TrackedListener.getPosition
(Level p_173876_) Methods in net.minecraft.client.renderer.debug with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static void
BreezeDebugRenderer.drawCircle
(org.joml.Matrix4f p_312289_, double p_312777_, double p_312720_, double p_312378_, VertexConsumer p_312840_, Vec3 p_312033_, float p_312193_, int p_312116_) private static void
BreezeDebugRenderer.drawCircleVertex
(int p_312234_, org.joml.Matrix4f p_312568_, double p_312049_, double p_312421_, double p_311755_, VertexConsumer p_311778_, Vec3 p_312214_, float p_312646_, int p_312055_) private static void
BreezeDebugRenderer.drawLine
(PoseStack p_311968_, MultiBufferSource p_312154_, double p_312731_, double p_312933_, double p_312347_, Vec3 p_312653_, Vec3 p_312341_, int p_311785_) boolean
GameEventListenerRenderer.TrackedListener.handleGameEvent
(ServerLevel p_234540_, Holder<GameEvent> p_316503_, GameEvent.Context p_250285_, Vec3 p_250758_) boolean
void
GameEventListenerRenderer.trackGameEvent
(ResourceKey<GameEvent> p_294637_, Vec3 p_234515_) Constructors in net.minecraft.client.renderer.debug with parameters of type Vec3ModifierConstructorDescription(package private)
TrackedGameEvent
(long timeStamp, ResourceKey<GameEvent> gameEvent, Vec3 position) Creates an instance of aTrackedGameEvent
record class. -
Uses of Vec3 in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity that return Vec3Modifier and TypeMethodDescriptionprivate Vec3
FishingHookRenderer.getPlayerHandPos
(Player p_340935_, float p_340872_, float p_341261_) private Vec3
GuardianRenderer.getPosition
(LivingEntity p_114803_, double p_114804_, float p_114805_) AbstractMinecartRenderer.getRenderOffset
(S p_363702_) EndermanRenderer.getRenderOffset
(EndermanRenderState p_362373_) EntityRenderer.getRenderOffset
(S p_364311_) ItemFrameRenderer.getRenderOffset
(ItemFrameRenderState p_361106_) ShulkerRenderer.getRenderOffset
(ShulkerRenderState p_360997_) Methods in net.minecraft.client.renderer.entity with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static void
GuardianRenderer.renderBeam
(PoseStack p_363906_, VertexConsumer p_365218_, Vec3 p_360399_, float p_363920_, float p_363755_, float p_361709_) -
Uses of Vec3 in net.minecraft.client.renderer.entity.player
Methods in net.minecraft.client.renderer.entity.player that return Vec3 -
Uses of Vec3 in net.minecraft.client.renderer.entity.state
Fields in net.minecraft.client.renderer.entity.state declared as Vec3Modifier and TypeFieldDescriptionGuardianRenderState.attackTargetPosition
MinecartRenderState.backPos
EndCrystalRenderState.beamOffset
EnderDragonRenderState.beamOffset
EntityRenderState.LeashState.end
GuardianRenderState.eyePosition
MinecartRenderState.frontPos
Vec3[]
IllusionerRenderState.illusionOffsets
FishingHookRenderState.lineOriginOffset
GuardianRenderState.lookAtPosition
GuardianRenderState.lookDirection
EntityRenderState.nameTagAttachment
EntityRenderState.LeashState.offset
EntityRenderState.passengerOffset
MinecartRenderState.posOnRail
ShulkerRenderState.renderOffset
MinecartRenderState.renderPos
EntityRenderState.LeashState.start
-
Uses of Vec3 in net.minecraft.client.resources.sounds
Methods in net.minecraft.client.resources.sounds with parameters of type Vec3Modifier and TypeMethodDescriptionstatic SimpleSoundInstance
SimpleSoundInstance.forJukeboxSong
(SoundEvent p_249575_, Vec3 p_249600_) -
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_282943_, Vec3 p_282023_, Vec2 p_282896_, ServerLevel p_282659_, int p_283075_, String p_282379_, Component p_282469_, MinecraftServer p_281590_, Entity p_281515_, boolean p_282415_, CommandResultCallback p_309630_, EntityAnchorArgument.Anchor p_282332_, CommandSigningContext p_283585_, TaskChainer p_282376_) -
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>> EntitySelector.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 AABB
EntitySelector.getAbsoluteAabb
(Vec3 p_352924_) EntitySelector.getPredicate
(Vec3 p_121145_, AABB p_352908_, FeatureFlagSet p_352911_) 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_, List<Predicate<Entity>> p_352913_, 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_, List<Predicate<Entity>> p_352913_, 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_, List<Predicate<Entity>> p_352913_, 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
Fields in net.minecraft.core declared as Vec3Methods in net.minecraft.core that return Vec3Modifier and TypeMethodDescriptionBlockPos.clampLocationWithin
(Vec3 p_350293_) BlockPos.getBottomCenter()
BlockPos.getCenter()
Direction.getUnitVec3()
Methods in net.minecraft.core with parameters of type Vec3Modifier and TypeMethodDescriptionBlockPos.clampLocationWithin
(Vec3 p_350293_) static Direction
Direction.getApproximateNearest
(Vec3 p_361200_) -
Uses of Vec3 in net.minecraft.core.dispenser
Methods in net.minecraft.core.dispenser that return Vec3 -
Uses of Vec3 in net.minecraft.core.particles
Fields in net.minecraft.core.particles declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3
TrailParticleOption.target
The field for thetarget
record component.Methods in net.minecraft.core.particles that return Vec3Modifier and TypeMethodDescriptionTrailParticleOption.target()
Returns the value of thetarget
record component.Constructors in net.minecraft.core.particles with parameters of type Vec3ModifierConstructorDescriptionTrailParticleOption
(Vec3 target, int color, int duration) Creates an instance of aTrailParticleOption
record class. -
Uses of Vec3 in net.minecraft.gametest.framework
Methods in net.minecraft.gametest.framework that return Vec3Modifier and TypeMethodDescriptionGameTestHelper.absoluteVec
(Vec3 p_177228_) GameTestHelper.relativeVec
(Vec3 p_251543_) Methods in net.minecraft.gametest.framework with parameters of type Vec3Modifier and TypeMethodDescriptionGameTestHelper.absoluteVec
(Vec3 p_177228_) GameTestHelper.findEntities
(EntityType<E> p_320878_, Vec3 p_320734_, double p_320825_) GameTestHelper.relativeVec
(Vec3 p_251543_) <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
Methods in net.minecraft.network that return Vec3Modifier and TypeMethodDescriptionFriendlyByteBuf.readVec3()
static Vec3
FriendlyByteBuf.readVec3
(io.netty.buffer.ByteBuf p_363264_) Methods in net.minecraft.network with parameters of type Vec3 -
Uses of Vec3 in net.minecraft.network.protocol.common.custom
Fields in net.minecraft.network.protocol.common.custom declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3
BeeDebugPayload.BeeInfo.pos
The field for thepos
record component.private final Vec3
BrainDebugPayload.BrainDump.pos
The field for thepos
record component.private final Vec3
GameEventDebugPayload.pos
The field for thepos
record component.Methods in net.minecraft.network.protocol.common.custom that return Vec3Modifier and TypeMethodDescriptionBeeDebugPayload.BeeInfo.pos()
Returns the value of thepos
record component.BrainDebugPayload.BrainDump.pos()
Returns the value of thepos
record component.GameEventDebugPayload.pos()
Returns the value of thepos
record component.Constructors in net.minecraft.network.protocol.common.custom with parameters of type Vec3ModifierConstructorDescriptionBeeInfo
(UUID uuid, int id, Vec3 pos, Path path, BlockPos hivePos, BlockPos flowerPos, int travelTicks, Set<String> goals, List<BlockPos> blacklistedHives) Creates an instance of aBeeInfo
record class.BrainDump
(UUID uuid, int id, String name, String profession, int xp, float health, float maxHealth, Vec3 pos, String inventory, Path path, boolean wantsGolem, int angerLevel, List<String> activities, List<String> behaviors, List<String> memories, List<String> gossips, Set<BlockPos> pois, Set<BlockPos> potentialPois) Creates an instance of aBrainDump
record class.GameEventDebugPayload
(ResourceKey<GameEvent> gameEventType, Vec3 pos) Creates an instance of aGameEventDebugPayload
record class. -
Uses of Vec3 in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as Vec3Modifier and TypeFieldDescriptionprivate Vec3
VecDeltaCodec.base
private final Vec3
ClientboundExplodePacket.center
The field for thecenter
record component.private final Vec3
ServerboundInteractPacket.InteractionAtLocationAction.location
private final Vec3
ClientboundMoveVehiclePacket.position
The field for theposition
record component.private final Vec3
ServerboundMoveVehiclePacket.position
The field for theposition
record component.Fields in net.minecraft.network.protocol.game with type parameters of type Vec3Modifier and TypeFieldDescriptionClientboundExplodePacket.playerKnockback
The field for theplayerKnockback
record component.ClientboundDamageEventPacket.sourcePosition
The field for thesourcePosition
record component.Methods in net.minecraft.network.protocol.game that return Vec3Modifier and TypeMethodDescriptionClientboundExplodePacket.center()
Returns the value of thecenter
record component.VecDeltaCodec.decode
(long p_238022_, long p_238023_, long p_238024_) VecDeltaCodec.getBase()
ClientboundPlayerLookAtPacket.getPosition
(Level p_132786_) ClientboundMoveVehiclePacket.position()
Returns the value of theposition
record component.ServerboundMoveVehiclePacket.position()
Returns the value of theposition
record component.Methods in net.minecraft.network.protocol.game that return types with arguments of type Vec3Modifier and TypeMethodDescriptionClientboundExplodePacket.playerKnockback()
Returns the value of theplayerKnockback
record component.ClientboundDamageEventPacket.sourcePosition()
Returns the value of thesourcePosition
record component.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_) long
long
long
void
ServerboundInteractPacket.Handler.onInteraction
(InteractionHand p_179644_, Vec3 p_179645_) static void
DebugPackets.sendGameEventInfo
(Level p_237888_, Holder<GameEvent> p_316607_, Vec3 p_237890_) void
Constructors in net.minecraft.network.protocol.game with parameters of type Vec3ModifierConstructorDescriptionClientboundAddEntityPacket
(int p_237546_, UUID p_237547_, double p_237548_, double p_237549_, double p_237550_, float p_237551_, float p_237552_, EntityType<?> p_237553_, int p_237554_, Vec3 p_237555_, double p_237556_) ClientboundExplodePacket
(Vec3 center, Optional<Vec3> playerKnockback, ParticleOptions explosionParticle, Holder<SoundEvent> explosionSound) Creates an instance of aClientboundExplodePacket
record class.ClientboundMoveVehiclePacket
(Vec3 position, float yRot, float xRot) Creates an instance of aClientboundMoveVehiclePacket
record class.ClientboundSetEntityMotionPacket
(int p_133182_, Vec3 p_133183_) (package private)
InteractionAtLocationAction
(InteractionHand p_179659_, Vec3 p_179660_) ServerboundMoveVehiclePacket
(Vec3 position, float yRot, float xRot, boolean onGround) Creates an instance of aServerboundMoveVehiclePacket
record class.Constructor parameters in net.minecraft.network.protocol.game with type arguments of type Vec3ModifierConstructorDescriptionClientboundDamageEventPacket
(int entityId, Holder<DamageType> sourceType, int sourceCauseId, int sourceDirectId, Optional<Vec3> sourcePosition) Creates an instance of aClientboundDamageEventPacket
record class.ClientboundExplodePacket
(Vec3 center, Optional<Vec3> playerKnockback, ParticleOptions explosionParticle, Holder<SoundEvent> explosionSound) Creates an instance of aClientboundExplodePacket
record class. -
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 Vec3Modifier and TypeFieldDescriptionprivate final Vec3
LookAt.LookAtPosition.position
The field for theposition
record component.Methods in net.minecraft.server.commands that return Vec3Modifier and TypeMethodDescriptionLookAt.LookAtPosition.position()
Returns the value of theposition
record component.Methods in net.minecraft.server.commands with parameters of type Vec3Modifier and TypeMethodDescriptionstatic Entity
SummonCommand.createEntity
(CommandSourceStack p_270582_, Holder.Reference<EntityType<?>> p_270277_, Vec3 p_270366_, CompoundTag p_270197_, boolean p_270947_) private 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_249752_, Holder.Reference<EntityType<?>> p_251948_, Vec3 p_251429_, CompoundTag p_250568_, boolean p_250229_) Constructors in net.minecraft.server.commands with parameters of type Vec3ModifierConstructorDescriptionLookAtPosition
(Vec3 position) Creates an instance of aLookAtPosition
record class. -
Uses of Vec3 in net.minecraft.server.level
Fields in net.minecraft.server.level declared as Vec3Modifier and TypeFieldDescriptionprivate Vec3
ServerPlayer.enteredLavaOnVehiclePosition
private Vec3
ServerPlayer.enteredNetherPosition
private Vec3
ServerPlayer.lastKnownClientMovement
private Vec3
ServerEntity.lastSentMovement
private Vec3
ServerPlayer.levitationStartPos
private final Vec3
ServerPlayer.RespawnPosAngle.position
The field for theposition
record component.private Vec3
ServerPlayer.startingToFallPosition
Methods in net.minecraft.server.level that return Vec3Modifier and TypeMethodDescriptionServerPlayer.getKnownMovement()
ServerPlayer.getLastClientMoveIntent()
ServerEntity.getLastSentMovement()
ServerEntity.getPositionBase()
ServerPlayer.RespawnPosAngle.position()
Returns the value of theposition
record component.Methods in net.minecraft.server.level with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static float
ServerPlayer.RespawnPosAngle.calculateLookAtYaw
(Vec3 p_348686_, BlockPos p_348467_) private static double
ChunkMap.euclideanDistanceSquared
(ChunkPos p_140227_, Vec3 p_401867_) void
ServerLevel.gameEvent
(Holder<GameEvent> p_316597_, Vec3 p_215042_, GameEvent.Context p_215043_) void
WorldGenRegion.gameEvent
(Holder<GameEvent> p_316792_, Vec3 p_215164_, GameEvent.Context p_215165_) void
ServerPlayer.lookAt
(EntityAnchorArgument.Anchor p_9112_, Vec3 p_9113_) static ServerPlayer.RespawnPosAngle
void
ServerPlayer.setKnownMovement
(Vec3 p_348509_) Constructors in net.minecraft.server.level with parameters of type Vec3ModifierConstructorDescriptionRespawnPosAngle
(Vec3 position, float yaw) Creates an instance of aRespawnPosAngle
record class. -
Uses of Vec3 in net.minecraft.server.network
Fields in net.minecraft.server.network declared as Vec3Modifier and TypeFieldDescriptionprivate Vec3
ServerGamePacketListenerImpl.awaitingPositionFromClient
Methods in net.minecraft.server.network with parameters of type Vec3Modifier and TypeMethodDescriptionprivate void
ServerGamePacketListenerImpl.handlePlayerKnownMovement
(Vec3 p_360420_) -
Uses of Vec3 in net.minecraft.util
Methods in net.minecraft.util that return Vec3Modifier and TypeMethodDescriptionCubicSampler.Vec3Fetcher.fetch
(int p_130042_, int p_130043_, int p_130044_) static Vec3
CubicSampler.gaussianSampleVec3
(Vec3 p_130039_, CubicSampler.Vec3Fetcher p_130040_) private static Vec3
ParticleUtils.getRandomSpeedRanges
(RandomSource p_216303_) static Vec3
Methods in net.minecraft.util with parameters of type Vec3Modifier and TypeMethodDescriptionstatic int
static Vec3
CubicSampler.gaussianSampleVec3
(Vec3 p_130039_, CubicSampler.Vec3Fetcher p_130040_) static Vec3
static boolean
Mth.rayIntersectsAABB
(Vec3 p_144889_, Vec3 p_144890_, AABB p_144891_) static void
ParticleUtils.spawnParticleOnFace
(Level p_216307_, BlockPos p_216308_, Direction p_216309_, ParticleOptions p_216310_, Vec3 p_216311_, double p_216312_) Method parameters in net.minecraft.util with type arguments of type Vec3Modifier and TypeMethodDescriptionstatic void
ParticleUtils.spawnParticlesOnBlockFace
(Level p_216319_, BlockPos p_216320_, ParticleOptions p_216321_, IntProvider p_216322_, Direction p_216323_, Supplier<Vec3> p_216324_, double p_216325_) -
Uses of Vec3 in net.minecraft.world.damagesource
Fields in net.minecraft.world.damagesource declared as Vec3Methods in net.minecraft.world.damagesource that return Vec3Modifier and TypeMethodDescriptionDamageSource.getSourcePosition()
DamageSource.sourcePositionRaw()
Methods in net.minecraft.world.damagesource with parameters of type Vec3Constructors in net.minecraft.world.damagesource with parameters of type Vec3ModifierConstructorDescriptionDamageSource
(Holder<DamageType> p_270906_, Entity p_270796_, Entity p_270459_, Vec3 p_270623_) DamageSource
(Holder<DamageType> p_270690_, Vec3 p_270579_) -
Uses of Vec3 in net.minecraft.world.effect
Methods in net.minecraft.world.effect with parameters of type Vec3Modifier and TypeMethodDescriptionstatic List
<ServerPlayer> MobEffectUtil.addEffectToPlayersAround
(ServerLevel p_216947_, Entity p_216948_, Vec3 p_216949_, double p_216950_, MobEffectInstance p_216951_, int p_216952_) -
Uses of Vec3 in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as Vec3Modifier and TypeFieldDescriptionprivate Vec3
Entity.deltaMovement
private final Vec3
PositionMoveRotation.deltaMovement
The field for thedeltaMovement
record component.private final Vec3
Entity.Movement.from
The field for thefrom
record component.private Vec3
Entity.position
(package private) Vec3
InterpolationHandler.InterpolationData.position
private final Vec3
PositionMoveRotation.position
The field for theposition
record component.private Vec3
InterpolationHandler.previousTickPosition
protected Vec3
Entity.stuckSpeedMultiplier
private final Vec3
Entity.Movement.to
The field for theto
record component.Fields in net.minecraft.world.entity with type parameters of type Vec3Modifier and TypeFieldDescriptionprivate final Map
<EntityAttachment, List<Vec3>> EntityAttachments.attachments
private final Map
<EntityAttachment, List<Vec3>> EntityAttachments.Builder.attachments
EntityAttachment.Fallback.ZERO
Methods in net.minecraft.world.entity that return Vec3Modifier and TypeMethodDescriptionprotected final Vec3
Entity.calculateUpVector
(float p_20215_, float p_20216_) 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_) PositionMoveRotation.deltaMovement()
Returns the value of thedeltaMovement
record component.Entity.Movement.from()
Returns the value of thefrom
record component.EntityAttachments.get
(EntityAttachment p_316290_, int p_316517_, float p_316296_) EntityAttachments.getClamped
(EntityAttachment p_316117_, int p_316379_, float p_316900_) protected static Vec3
Entity.getCollisionHorizontalEscapeVector
(double p_19904_, double p_19905_, float p_19906_) protected static Vec3
Entity.getDefaultPassengerAttachmentPoint
(Entity p_316557_, Entity p_316799_, EntityAttachments p_316167_) 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_) protected static Vec3
Entity.getInputVector
(Vec3 p_20016_, float p_20017_, float p_20018_) Entity.getKnownMovement()
protected Vec3
Entity.getLeashOffset()
Entity.getLeashOffset
(float p_249286_) Entity.getLightProbePosition
(float p_20309_) Entity.getLookAngle()
EntityAttachments.getNullable
(EntityAttachment p_316263_, int p_316709_, float p_316113_) protected Vec3
Entity.getPassengerAttachmentPoint
(Entity p_294756_, EntityDimensions p_295396_, float p_296362_) Entity.getPassengerRidingPosition
(Entity p_294938_) LivingEntity.getPassengerRidingPosition
(Entity p_295664_) final Vec3
Entity.getPosition
(float p_20319_) Entity.getRelativePortalPosition
(Direction.Axis p_20045_, BlockUtil.FoundRectangle p_20046_) LivingEntity.getRelativePortalPosition
(Direction.Axis p_21085_, BlockUtil.FoundRectangle p_21086_) protected Vec3
LivingEntity.getRiddenInput
(Player p_278326_, Vec3 p_275300_) Entity.getRopeHoldPosition
(float p_20347_) final Vec3
Entity.getUpVector
(float p_20290_) Entity.getVehicleAttachmentPoint
(Entity p_316322_) final Vec3
Entity.getViewVector
(float p_20253_) private Vec3
LivingEntity.handleOnClimbable
(Vec3 p_21298_) private Vec3
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_) final Vec3
Entity.oldPosition()
Entity.position()
InterpolationHandler.position()
PositionMoveRotation.position()
Returns the value of theposition
record component.static Vec3
LivingEntity.resetForwardDirectionOfRelativePortalPosition
(Vec3 p_21290_) Entity.Movement.to()
Returns the value of theto
record component.Entity.trackingPosition()
private static Vec3
EntityAttachments.transformPoint
(Vec3 p_316742_, float p_316708_) private Vec3
LivingEntity.updateFallFlyingMovement
(Vec3 p_361725_) Methods in net.minecraft.world.entity that return types with arguments of type Vec3Modifier and TypeMethodDescriptionEntityAttachment.Fallback.create
(float p_316360_, float p_316865_) EntityAttachment.createFallbackPoints
(float p_316596_, float p_316153_) Methods in net.minecraft.world.entity with parameters of type Vec3Modifier and TypeMethodDescriptionvoid
void
Entity.addDeltaMovement
(Vec3 p_250128_) void
Entity.applyEffectsFromBlocks
(Vec3 p_372978_, Vec3 p_372858_) private void
Entity.applyMovementEmissionAndPlaySound
(Entity.MovementEmission p_365086_, Vec3 p_365141_, BlockPos p_365493_, BlockState p_365295_) EntityAttachments.Builder.attach
(EntityAttachment p_316903_, Vec3 p_316337_) EntityType.Builder.attach
(EntityAttachment p_320601_, Vec3 p_320745_) static void
ExperienceOrb.award
(ServerLevel p_147083_, Vec3 p_147084_, int p_147085_) private static Iterable
<Direction.Axis> Entity.axisStepOrder
(Vec3 p_410296_) protected void
Entity.checkSupportingBlock
(boolean p_289694_, Vec3 p_289680_) private Vec3
static Vec3
Entity.collideBoundingBox
(Entity p_198895_, Vec3 p_198896_, AABB p_198897_, Level p_198898_, List<VoxelShape> p_198899_) private boolean
Entity.collidedWithFluid
(FluidState p_398005_, BlockPos p_397890_, Vec3 p_397088_, Vec3 p_397336_) private boolean
Entity.collidedWithShapeMovingFrom
(Vec3 p_371201_, Vec3 p_372821_, List<AABB> p_397872_) 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_) protected static Vec3
Entity.getInputVector
(Vec3 p_20016_, float p_20017_, float p_20018_) protected Vec3
LivingEntity.getRiddenInput
(Player p_278326_, Vec3 p_275300_) private Vec3
LivingEntity.handleOnClimbable
(Vec3 p_21298_) private Vec3
LivingEntity.handleRelativeFrictionAndCalculateMovement
(Vec3 p_21075_, float p_21076_) Entity.interactAt
(Player p_19980_, Vec3 p_19981_, InteractionHand p_19982_) void
InterpolationHandler.interpolateTo
(Vec3 p_393836_, float p_394255_, float p_393907_) 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_) protected AABB
Entity.makeBoundingBox
(Vec3 p_388602_) EntityDimensions.makeBoundingBox
(Vec3 p_20394_) protected AABB
Interaction.makeBoundingBox
(Vec3 p_390454_) void
Entity.makeStuckInBlock
(BlockState p_20006_, Vec3 p_20007_) protected Vec3
Entity.maybeBackOffFromEdge
(Vec3 p_20019_, MoverType p_20020_) void
final void
Entity.moveOrInterpolateTo
(Vec3 p_394393_, float p_394448_, float p_393511_) void
Entity.moveRelative
(float p_19921_, Vec3 p_19922_) EntityType.Builder.passengerAttachments
(Vec3... p_316160_) void
static Vec3
LivingEntity.resetForwardDirectionOfRelativePortalPosition
(Vec3 p_21290_) void
Entity.setDeltaMovement
(Vec3 p_20257_) private void
final void
Entity.setOldPosAndRot
(Vec3 p_371927_, float p_371686_, float p_371638_) void
Entity.setOnGroundWithMovement
(boolean p_289661_, boolean p_364321_, Vec3 p_289653_) void
Entity.setOnGroundWithMovement
(boolean p_386472_, Vec3 p_388270_) final void
void
void
protected void
LivingEntity.tickRidden
(Player p_278262_, Vec3 p_275242_) private static Vec3
EntityAttachments.transformPoint
(Vec3 p_316742_, float p_316708_) void
void
private void
LivingEntity.travelFallFlying
(Vec3 p_393496_) private void
LivingEntity.travelInAir
(Vec3 p_362457_) private void
LivingEntity.travelInFluid
(Vec3 p_365480_) Deprecated.Neo: useLivingEntity.travelInFluid(Vec3, FluidState)
insteadprivate void
LivingEntity.travelInFluid
(Vec3 p_365480_, FluidState fluidState) private void
LivingEntity.travelRidden
(Player p_278244_, Vec3 p_278231_) private static boolean
ExperienceOrb.tryMergeToExisting
(ServerLevel p_147097_, Vec3 p_147098_, int p_147099_) private Vec3
LivingEntity.updateFallFlyingMovement
(Vec3 p_361725_) EntityType.Builder.vehicleAttachment
(Vec3 p_316758_) private boolean
Entity.vibrationAndSoundEffectsFromBlock
(BlockPos p_286221_, BlockState p_286549_, boolean p_286708_, boolean p_286543_, Vec3 p_286448_) Constructors in net.minecraft.world.entity with parameters of type Vec3ModifierConstructorDescription(package private)
InterpolationData
(int p_394434_, Vec3 p_393933_, float p_393655_, float p_393861_) (package private)
Creates an instance of aMovement
record class.PositionMoveRotation
(Vec3 position, Vec3 deltaMovement, float yRot, float xRot) Creates an instance of aPositionMoveRotation
record class.Constructor parameters in net.minecraft.world.entity with type arguments of type Vec3ModifierConstructorDescription(package private)
EntityAttachments
(Map<EntityAttachment, List<Vec3>> p_316675_) -
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
protected Vec3
LongJumpToRandomPos.chosenJump
private Vec3
RamTarget.ramDirection
Fields in net.minecraft.world.entity.ai.behavior with type parameters of type Vec3Methods in net.minecraft.world.entity.ai.behavior that return Vec3Modifier and TypeMethodDescriptionprotected Vec3
LongJumpToRandomPos.calculateOptimalJumpVector
(Mob p_217304_, Vec3 p_217305_) BlockPosTracker.currentPosition()
EntityTracker.currentPosition()
PositionTracker.currentPosition()
private Vec3
PrepareRamNearestTarget.getEdgeOfBlock
(BlockPos p_147755_, BlockPos p_147756_) private static Vec3
MoveToSkySeeingSpot.getOutdoorPosition
(ServerLevel p_23565_, LivingEntity p_23566_) private Vec3
AnimalPanic.getPanicPos
(E p_196639_, ServerLevel p_196640_) static Vec3
BehaviorUtils.getRandomSwimmablePos
(PathfinderMob p_147445_, int p_147446_, int p_147447_) private static Vec3
RandomStroll.getTargetFlyPos
(PathfinderMob p_260316_, int p_259038_, int p_259696_) private static Vec3
RandomStroll.getTargetSwimPos
(PathfinderMob p_259491_) private static Vec3
GoAndGiveItemsToTarget.getThrowPosition
(PositionTracker p_217212_) Methods in net.minecraft.world.entity.ai.behavior that return types with arguments of type Vec3Modifier and TypeMethodDescriptionLongJumpUtil.calculateJumpVectorForAngle
(Mob p_311799_, Vec3 p_312876_, float p_312407_, int p_311991_, boolean p_312784_) Methods in net.minecraft.world.entity.ai.behavior with parameters of type Vec3Modifier and TypeMethodDescriptionLongJumpUtil.calculateJumpVectorForAngle
(Mob p_311799_, Vec3 p_312876_, float p_312407_, int p_311991_, boolean p_312784_) protected Vec3
LongJumpToRandomPos.calculateOptimalJumpVector
(Mob p_217304_, Vec3 p_217305_) private static boolean
LongJumpUtil.isClearTransition
(Mob p_312910_, EntityDimensions p_312734_, Vec3 p_311995_, Vec3 p_312896_) static void
BehaviorUtils.throwItem
(LivingEntity p_22614_, ItemStack p_22615_, Vec3 p_22616_) static void
BehaviorUtils.throwItem
(LivingEntity p_217134_, ItemStack p_217135_, Vec3 p_217136_, Vec3 p_217137_, float p_217138_) static void
GoAndGiveItemsToTarget.throwItem
(LivingEntity p_217208_, ItemStack p_217209_, Vec3 p_217210_) Method parameters in net.minecraft.world.entity.ai.behavior with type arguments of type Vec3Modifier and TypeMethodDescriptionprivate static <T> OneShot
<PathfinderMob> SetWalkTargetAwayFrom.create
(MemoryModuleType<T> p_260057_, float p_259672_, int p_259866_, boolean p_259232_, Function<T, Vec3> p_259355_) private static OneShot
<PathfinderMob> RandomStroll.strollFlyOrSwim
(float p_260030_, Function<PathfinderMob, Vec3> p_259912_, Predicate<PathfinderMob> p_259088_) Constructors in net.minecraft.world.entity.ai.behavior with parameters of type Vec3 -
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
(package private) Vec3
Squid.movementVector
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()
protected Vec3
Parrot.ParrotWanderGoal.getPosition()
protected Vec3
Pig.getRiddenInput
(Player p_278309_, Vec3 p_275479_) private Vec3
Parrot.ParrotWanderGoal.getTreePos()
private Vec3
Squid.rotateVector
(Vec3 p_29986_) Methods in net.minecraft.world.entity.animal with parameters of type Vec3Modifier and TypeMethodDescriptionprotected Vec3
Pig.getRiddenInput
(Player p_278309_, Vec3 p_275479_) private Vec3
Squid.rotateVector
(Vec3 p_29986_) protected void
Pig.tickRidden
(Player p_278330_, Vec3 p_278267_) void
void
void
void
-
Uses of Vec3 in net.minecraft.world.entity.animal.allay
Methods in net.minecraft.world.entity.animal.allay that return Vec3Methods in net.minecraft.world.entity.animal.allay with parameters of type Vec3Modifier and TypeMethodDescriptionboolean
Allay.JukeboxListener.handleGameEvent
(ServerLevel p_250009_, Holder<GameEvent> p_316687_, GameEvent.Context p_249478_, Vec3 p_250852_) void
-
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.camel
Methods in net.minecraft.world.entity.animal.camel that return Vec3Modifier and TypeMethodDescriptionCamel.getLeashOffset
(float p_251477_) protected Vec3
Camel.getPassengerAttachmentPoint
(Entity p_295101_, EntityDimensions p_294765_, float p_294716_) protected Vec3
Camel.getRiddenInput
(Player p_278264_, Vec3 p_278298_) Methods in net.minecraft.world.entity.animal.camel with parameters of type Vec3Modifier and TypeMethodDescriptionprotected void
Camel.executeRidersJump
(float p_251967_, Vec3 p_275627_) protected Vec3
Camel.getRiddenInput
(Player p_278264_, Vec3 p_278298_) protected void
Camel.tickRidden
(Player p_278319_, Vec3 p_278301_) void
-
Uses of Vec3 in net.minecraft.world.entity.animal.frog
Fields in net.minecraft.world.entity.animal.frog declared as Vec3Methods in net.minecraft.world.entity.animal.frog 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()
protected Vec3
AbstractHorse.getPassengerAttachmentPoint
(Entity p_295612_, EntityDimensions p_296023_, float p_295509_) protected Vec3
Llama.getPassengerAttachmentPoint
(Entity p_294968_, EntityDimensions p_296042_, float p_295134_) protected Vec3
AbstractHorse.getRiddenInput
(Player p_278278_, Vec3 p_275506_) Methods in net.minecraft.world.entity.animal.horse with parameters of type Vec3Modifier and TypeMethodDescriptionprotected void
AbstractHorse.executeRidersJump
(float p_248808_, Vec3 p_275435_) private Vec3
AbstractHorse.getDismountLocationInDirection
(Vec3 p_30562_, LivingEntity p_30563_) protected Vec3
AbstractHorse.getRiddenInput
(Player p_278278_, Vec3 p_275506_) protected void
AbstractHorse.tickRidden
(Player p_278233_, Vec3 p_275693_) -
Uses of Vec3 in net.minecraft.world.entity.animal.sniffer
Methods in net.minecraft.world.entity.animal.sniffer that return Vec3 -
Uses of Vec3 in net.minecraft.world.entity.animal.wolf
Methods in net.minecraft.world.entity.animal.wolf that return Vec3 -
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_) Painting.trackingPosition()
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()
protected Vec3
Slime.getPassengerAttachmentPoint
(Entity p_296103_, EntityDimensions p_295741_, float p_295572_) protected Vec3
Strider.getPassengerAttachmentPoint
(Entity p_294748_, EntityDimensions p_295089_, float p_295230_) Shulker.getRenderPosition
(float p_149767_) protected Vec3
Strider.getRiddenInput
(Player p_278251_, Vec3 p_275578_) CaveSpider.getVehicleAttachmentPoint
(Entity p_316479_) Spider.getVehicleAttachmentPoint
(Entity p_316696_) private Vec3
Drowned.DrownedGoToWaterGoal.getWaterPos()
Methods in net.minecraft.world.entity.monster with parameters of type Vec3Modifier and TypeMethodDescriptionprivate boolean
static AABB
Shulker.getProgressAabb
(float p_149792_, Direction p_149791_, float p_320551_, Vec3 p_390415_) static AABB
Shulker.getProgressDeltaAabb
(float p_149795_, Direction p_149794_, float p_149796_, float p_320876_, Vec3 p_390404_) protected Vec3
Strider.getRiddenInput
(Player p_278251_, Vec3 p_275578_) protected AABB
Shulker.makeBoundingBox
(Vec3 p_390436_) void
Spider.makeStuckInBlock
(BlockState p_33796_, Vec3 p_33797_) void
void
Shulker.setDeltaMovement
(Vec3 p_149804_) protected void
Strider.tickRidden
(Player p_278331_, Vec3 p_278234_) void
void
-
Uses of Vec3 in net.minecraft.world.entity.monster.breeze
Methods in net.minecraft.world.entity.monster.breeze that return Vec3Modifier and TypeMethodDescriptionstatic Vec3
BreezeUtil.randomPointBehindTarget
(LivingEntity p_316886_, RandomSource p_316867_) private static Vec3
Slide.randomPointInMiddleCircle
(Breeze p_311931_, LivingEntity p_312413_) Methods in net.minecraft.world.entity.monster.breeze that return types with arguments of type Vec3Modifier and TypeMethodDescriptionLongJump.calculateOptimalJumpVector
(Breeze p_312651_, RandomSource p_312364_, Vec3 p_312758_) Methods in net.minecraft.world.entity.monster.breeze with parameters of type Vec3Modifier and TypeMethodDescriptionLongJump.calculateOptimalJumpVector
(Breeze p_312651_, RandomSource p_312364_, Vec3 p_312758_) static boolean
BreezeUtil.hasLineOfSight
(Breeze p_316785_, Vec3 p_316249_) private static BlockPos
LongJump.snapToSurface
(LivingEntity p_311909_, Vec3 p_312597_) boolean
Breeze.withinInnerCircleRange
(Vec3 p_312331_) -
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.monster.warden
Methods in net.minecraft.world.entity.monster.warden with parameters of type Vec3Modifier and TypeMethodDescriptionstatic void
Warden.applyDarknessAround
(ServerLevel p_219376_, Vec3 p_219377_, Entity p_219378_, int p_219379_) -
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
Fields in net.minecraft.world.entity.player declared as Vec3Modifier and TypeFieldDescriptionPlayer.currentImpulseImpactPos
static final Vec3
Player.DEFAULT_VEHICLE_ATTACHMENT
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 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 that return Vec3Modifier and TypeMethodDescriptionProjectile.getMovementToShoot
(double p_338345_, double p_338731_, double p_338427_, float p_338430_, float p_338697_) Methods in net.minecraft.world.entity.projectile with parameters of type Vec3Modifier and TypeMethodDescriptionprivate void
AbstractArrow.addBubbleParticles
(Vec3 p_380279_) private void
AbstractHurtingProjectile.assignDirectionalMovement
(Vec3 p_347481_, double p_347589_) protected 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_) private static HitResult
ProjectileUtil.getHitResult
(Vec3 p_278237_, Entity p_278320_, Predicate<Entity> p_278257_, Vec3 p_278342_, Level p_278321_, float p_305813_, ClipContext.Block p_312920_) void
private void
Constructors in net.minecraft.world.entity.projectile with parameters of type Vec3ModifierConstructorDescriptionAbstractHurtingProjectile
(EntityType<? extends AbstractHurtingProjectile> p_36826_, double p_36828_, double p_36829_, double p_36830_, Vec3 p_347477_, Level p_36831_) AbstractHurtingProjectile
(EntityType<? extends AbstractHurtingProjectile> p_36817_, LivingEntity p_347648_, Vec3 p_347596_, Level p_36824_) DragonFireball
(Level p_36903_, LivingEntity p_36904_, Vec3 p_347512_) Fireball
(EntityType<? extends Fireball> p_36990_, double p_36991_, double p_36992_, double p_36993_, Vec3 p_347521_, Level p_36997_) Fireball
(EntityType<? extends Fireball> p_36999_, LivingEntity p_37000_, Vec3 p_347671_, Level p_37004_) LargeFireball
(Level p_181151_, LivingEntity p_181152_, Vec3 p_347580_, int p_181156_) SmallFireball
(Level p_37367_, double p_37368_, double p_37369_, double p_37370_, Vec3 p_347543_) SmallFireball
(Level p_37375_, LivingEntity p_37376_, Vec3 p_347501_) WitherSkull
(Level p_37609_, LivingEntity p_37610_, Vec3 p_347464_) -
Uses of Vec3 in net.minecraft.world.entity.projectile.windcharge
Methods in net.minecraft.world.entity.projectile.windcharge with parameters of type Vec3Modifier and TypeMethodDescriptionprotected abstract void
protected void
protected void
protected AABB
AbstractWindCharge.makeBoundingBox
(Vec3 p_390351_) Constructors in net.minecraft.world.entity.projectile.windcharge with parameters of type Vec3ModifierConstructorDescription(package private)
AbstractWindCharge
(EntityType<? extends AbstractWindCharge> p_326232_, double p_326236_, double p_326440_, double p_326413_, Vec3 p_347459_, Level p_326449_) WindCharge
(Level p_326007_, double p_326331_, double p_326001_, double p_325990_, Vec3 p_347497_) -
Uses of Vec3 in net.minecraft.world.entity.vehicle
Fields in net.minecraft.world.entity.vehicle declared as Vec3Modifier and TypeFieldDescriptionprivate static final Vec3
MinecartFurnace.DEFAULT_PUSH
private static final Vec3
AbstractMinecart.LOWERED_PASSENGER_ATTACHMENT
private final Vec3
NewMinecartBehavior.MinecartStep.movement
The field for themovement
record component.private final Vec3
NewMinecartBehavior.MinecartStep.position
The field for theposition
record component.MinecartFurnace.push
private Vec3
OldMinecartBehavior.targetDeltaMovement
Methods in net.minecraft.world.entity.vehicle that return Vec3Modifier and TypeMethodDescriptionprotected Vec3
AbstractMinecart.applyNaturalSlowdown
(Vec3 p_362705_) protected Vec3
AbstractMinecartContainer.applyNaturalSlowdown
(Vec3 p_365520_) protected Vec3
MinecartFurnace.applyNaturalSlowdown
(Vec3 p_363865_) private Vec3
NewMinecartBehavior.calculateBoostTrackSpeed
(Vec3 p_363053_, BlockPos p_361792_, BlockState p_361859_) private Vec3
NewMinecartBehavior.calculateHaltTrackSpeed
(Vec3 p_360517_, BlockState p_362923_) private Vec3
MinecartFurnace.calculateNewPushAlong
(Vec3 p_374438_) private Vec3
NewMinecartBehavior.calculatePlayerInputSpeed
(Vec3 p_362005_) private Vec3
NewMinecartBehavior.calculateSlopeSpeed
(Vec3 p_361946_, RailShape p_361759_) private Vec3
NewMinecartBehavior.calculateTrackSpeed
(ServerLevel p_376196_, Vec3 p_364530_, NewMinecartBehavior.TrackIteration p_364155_, BlockPos p_364264_, BlockState p_363628_, RailShape p_364548_) static Vec3
DismountHelper.findSafeDismountLocation
(EntityType<?> p_38442_, CollisionGetter p_38443_, BlockPos p_38444_, boolean p_38445_) NewMinecartBehavior.getCartLerpMovements
(float p_365356_) NewMinecartBehavior.getCartLerpPosition
(float p_363111_) MinecartBehavior.getDeltaMovement()
AbstractBoat.getDismountLocationForPassenger
(LivingEntity p_376670_) AbstractMinecart.getDismountLocationForPassenger
(LivingEntity p_38145_) AbstractMinecart.getKnownMovement()
MinecartBehavior.getKnownMovement
(Vec3 p_361961_) OldMinecartBehavior.getKnownMovement
(Vec3 p_364791_) AbstractBoat.getLeashOffset()
protected Vec3
AbstractBoat.getPassengerAttachmentPoint
(Entity p_376607_, EntityDimensions p_376417_, float p_376713_) protected Vec3
AbstractMinecart.getPassengerAttachmentPoint
(Entity p_294753_, EntityDimensions p_295251_, float p_296054_) OldMinecartBehavior.getPos
(double p_362686_, double p_363092_, double p_365100_) MinecartCommandBlock.MinecartCommandBase.getPosition()
OldMinecartBehavior.getPosOffs
(double p_360608_, double p_363435_, double p_365504_, double p_362853_) AbstractMinecart.getRedstoneDirection
(BlockPos p_361470_) AbstractBoat.getRelativePortalPosition
(Direction.Axis p_376896_, BlockUtil.FoundRectangle p_376254_) AbstractMinecart.getRelativePortalPosition
(Direction.Axis p_38132_, BlockUtil.FoundRectangle p_38133_) NewMinecartBehavior.MinecartStep.movement()
Returns the value of themovement
record component.ContainerEntity.position()
MinecartBehavior.position()
NewMinecartBehavior.MinecartStep.position()
Returns the value of theposition
record component.Methods in net.minecraft.world.entity.vehicle with parameters of type Vec3Modifier and TypeMethodDescriptionprotected Vec3
AbstractMinecart.applyNaturalSlowdown
(Vec3 p_362705_) protected Vec3
AbstractMinecartContainer.applyNaturalSlowdown
(Vec3 p_365520_) protected Vec3
MinecartFurnace.applyNaturalSlowdown
(Vec3 p_363865_) private Vec3
NewMinecartBehavior.calculateBoostTrackSpeed
(Vec3 p_363053_, BlockPos p_361792_, BlockState p_361859_) private Vec3
NewMinecartBehavior.calculateHaltTrackSpeed
(Vec3 p_360517_, BlockState p_362923_) private Vec3
MinecartFurnace.calculateNewPushAlong
(Vec3 p_374438_) private Vec3
NewMinecartBehavior.calculatePlayerInputSpeed
(Vec3 p_362005_) private Vec3
NewMinecartBehavior.calculateSlopeSpeed
(Vec3 p_361946_, RailShape p_361759_) private Vec3
NewMinecartBehavior.calculateTrackSpeed
(ServerLevel p_376196_, Vec3 p_364530_, NewMinecartBehavior.TrackIteration p_364155_, BlockPos p_364264_, BlockState p_363628_, RailShape p_364548_) static boolean
DismountHelper.canDismountTo
(CollisionGetter p_150280_, Vec3 p_150281_, LivingEntity p_150282_, Pose p_150283_) MinecartBehavior.getKnownMovement
(Vec3 p_361961_) OldMinecartBehavior.getKnownMovement
(Vec3 p_364791_) private boolean
NewMinecartBehavior.isDecending
(Vec3 p_363895_, RailShape p_363541_) void
void
MinecartBehavior.setDeltaMovement
(Vec3 p_362692_) void
Constructors in net.minecraft.world.entity.vehicle with parameters of type Vec3ModifierConstructorDescriptionMinecartStep
(Vec3 position, Vec3 movement, float yRot, float xRot, float weight) Creates an instance of aMinecartStep
record class. -
Uses of Vec3 in net.minecraft.world.item
Methods in net.minecraft.world.item that return Vec3Modifier and TypeMethodDescriptionprivate Vec3
MaceItem.calculateImpactPosition
(ServerPlayer p_365384_) private static Vec3
FireworkRocketItem.getEntityJustOutsideOfBlockPos
(BlockSource p_371687_, Direction p_371656_) Methods in net.minecraft.world.item with parameters of type Vec3Modifier and TypeMethodDescriptionstatic BrushItem.DustParticlesDelta
BrushItem.DustParticlesDelta.fromDirection
(Vec3 p_273421_, Direction p_272987_) private static double
MaceItem.getKnockbackPower
(Entity p_364341_, LivingEntity p_338630_, Vec3 p_338866_) private static org.joml.Vector3f
CrossbowItem.getProjectileShotVector
(LivingEntity p_331584_, Vec3 p_331590_, float p_331104_) private void
BrushItem.spawnDustParticles
(Level p_278327_, BlockHitResult p_278272_, BlockState p_278235_, Vec3 p_278337_, HumanoidArm p_285071_) SpawnEggItem.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.item.enchantment
Methods in net.minecraft.world.item.enchantment with parameters of type Vec3Modifier and TypeMethodDescriptionstatic LootContext
Enchantment.blockHitContext
(ServerLevel p_350329_, int p_350503_, Entity p_350451_, Vec3 p_350874_, BlockState p_350311_) static LootContext
Enchantment.entityContext
(ServerLevel p_346134_, int p_346059_, Entity p_346146_, Vec3 p_345814_) void
Enchantment.onHitBlock
(ServerLevel p_345175_, int p_346193_, EnchantedItemInUse p_344721_, Entity p_345951_, Vec3 p_344878_, BlockState p_351026_) static void
EnchantmentHelper.onHitBlock
(ServerLevel p_346213_, ItemStack p_344826_, LivingEntity p_345015_, Entity p_345210_, EquipmentSlot p_345889_, Vec3 p_345922_, BlockState p_350787_, Consumer<Item> p_348575_) -
Uses of Vec3 in net.minecraft.world.item.enchantment.effects
Fields in net.minecraft.world.item.enchantment.effects declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3
ExplodeEffect.offset
The field for theoffset
record component.Methods in net.minecraft.world.item.enchantment.effects that return Vec3Modifier and TypeMethodDescriptionExplodeEffect.offset()
Returns the value of theoffset
record component.Methods in net.minecraft.world.item.enchantment.effects with parameters of type Vec3Modifier and TypeMethodDescriptionvoid
AllOf.EntityEffects.apply
(ServerLevel p_346093_, int p_345940_, EnchantedItemInUse p_344929_, Entity p_345319_, Vec3 p_345200_) void
ApplyMobEffect.apply
(ServerLevel p_345355_, int p_346112_, EnchantedItemInUse p_344766_, Entity p_345996_, Vec3 p_345315_) void
ChangeItemDamage.apply
(ServerLevel p_379674_, int p_379927_, EnchantedItemInUse p_380376_, Entity p_379570_, Vec3 p_380002_) void
DamageEntity.apply
(ServerLevel p_345710_, int p_344734_, EnchantedItemInUse p_345002_, Entity p_345450_, Vec3 p_345442_) void
EnchantmentEntityEffect.apply
(ServerLevel p_345106_, int p_346004_, EnchantedItemInUse p_344966_, Entity p_346140_, Vec3 p_345890_) void
ExplodeEffect.apply
(ServerLevel p_346186_, int p_345966_, EnchantedItemInUse p_346324_, Entity p_345305_, Vec3 p_344916_) void
Ignite.apply
(ServerLevel p_345606_, int p_344968_, EnchantedItemInUse p_346032_, Entity p_346370_, Vec3 p_344775_) void
PlaySoundEffect.apply
(ServerLevel p_344971_, int p_344872_, EnchantedItemInUse p_345016_, Entity p_346106_, Vec3 p_345017_) void
ReplaceBlock.apply
(ServerLevel p_345756_, int p_346215_, EnchantedItemInUse p_345202_, Entity p_346293_, Vec3 p_345339_) void
ReplaceDisk.apply
(ServerLevel p_353045_, int p_353076_, EnchantedItemInUse p_353050_, Entity p_353038_, Vec3 p_353044_) void
RunFunction.apply
(ServerLevel p_346152_, int p_344788_, EnchantedItemInUse p_344801_, Entity p_346210_, Vec3 p_345413_) void
SetBlockProperties.apply
(ServerLevel p_346105_, int p_345373_, EnchantedItemInUse p_346028_, Entity p_346068_, Vec3 p_345511_) void
SpawnParticlesEffect.apply
(ServerLevel p_345529_, int p_346425_, EnchantedItemInUse p_346391_, Entity p_345668_, Vec3 p_344842_) void
SummonEntityEffect.apply
(ServerLevel p_345900_, int p_346183_, EnchantedItemInUse p_345549_, Entity p_346414_, Vec3 p_346284_) private DamageSource
ExplodeEffect.getDamageSource
(Entity p_346246_, Vec3 p_345332_) void
AllOf.LocationBasedEffects.onChangedBlock
(ServerLevel p_345329_, int p_345154_, EnchantedItemInUse p_344984_, Entity p_345671_, Vec3 p_344781_, boolean p_345113_) void
EnchantmentAttributeEffect.onChangedBlock
(ServerLevel p_346176_, int p_345071_, EnchantedItemInUse p_345394_, Entity p_345539_, Vec3 p_346261_, boolean p_345801_) default void
EnchantmentEntityEffect.onChangedBlock
(ServerLevel p_345419_, int p_345173_, EnchantedItemInUse p_344724_, Entity p_346126_, Vec3 p_345614_, boolean p_346410_) void
EnchantmentLocationBasedEffect.onChangedBlock
(ServerLevel p_345577_, int p_345675_, EnchantedItemInUse p_345807_, Entity p_345378_, Vec3 p_344844_, boolean p_345637_) void
AllOf.LocationBasedEffects.onDeactivated
(EnchantedItemInUse p_346024_, Entity p_346234_, Vec3 p_346036_, int p_345698_) void
EnchantmentAttributeEffect.onDeactivated
(EnchantedItemInUse p_346016_, Entity p_346371_, Vec3 p_345145_, int p_346185_) default void
EnchantmentLocationBasedEffect.onDeactivated
(EnchantedItemInUse p_346131_, Entity p_345920_, Vec3 p_345758_, int p_344750_) Constructors in net.minecraft.world.item.enchantment.effects with parameters of type Vec3ModifierConstructorDescriptionExplodeEffect
(boolean attributeToUser, Optional<Holder<DamageType>> damageType, Optional<LevelBasedValue> knockbackMultiplier, Optional<HolderSet<Block>> immuneBlocks, Vec3 offset, LevelBasedValue radius, boolean createFire, Level.ExplosionInteraction blockInteraction, ParticleOptions smallParticle, ParticleOptions largeParticle, Holder<SoundEvent> sound) Creates an instance of aExplodeEffect
record class. -
Uses of Vec3 in net.minecraft.world.level
Fields in net.minecraft.world.level declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3
ServerExplosion.center
private final Vec3
ClipBlockStateContext.from
private final Vec3
ClipContext.from
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 TypeMethodDescriptionExplosion.center()
ServerExplosion.center()
ClipBlockStateContext.getFrom()
ClipContext.getFrom()
abstract Vec3
BaseCommandBlock.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_) ServerExplosion.getHitPlayers()
Methods in net.minecraft.world.level with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static int
BlockGetter.addCollisionsAlongTravel
(it.unimi.dsi.fastutil.longs.LongSet p_404983_, Vec3 p_365197_, Vec3 p_362395_, AABB p_362649_, BlockGetter.BlockStepVisitor p_405208_) default BlockHitResult
BlockGetter.clipWithInteractionOverride
(Vec3 p_45559_, Vec3 p_45560_, BlockPos p_45561_, VoxelShape p_45562_, BlockState p_45563_) void
Level.explode
(Entity p_256233_, DamageSource p_255861_, ExplosionDamageCalculator p_255867_, Vec3 p_361166_, float p_256013_, boolean p_256228_, Level.ExplosionInteraction p_255784_) CollisionGetter.findFreePosition
(Entity p_151419_, VoxelShape p_151420_, Vec3 p_151421_, double p_151422_, double p_151423_, double p_151424_) static void
BlockGetter.forEachBlockIntersectedBetween
(Vec3 p_405487_, Vec3 p_405072_, AABB p_405459_, BlockGetter.BlockStepVisitor p_405341_) void
LevelAccessor.gameEvent
(Holder<GameEvent> p_316267_, Vec3 p_220405_, GameEvent.Context p_220406_) default void
static float
ServerExplosion.getSeenPercent
(Vec3 p_363930_, Entity p_363796_) 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_) ClipContext
(Vec3 p_311916_, Vec3 p_312802_, ClipContext.Block p_312540_, ClipContext.Fluid p_312487_, CollisionContext p_311823_) ServerExplosion
(ServerLevel p_361323_, Entity p_365060_, DamageSource p_360713_, ExplosionDamageCalculator p_360818_, Vec3 p_365404_, float p_365227_, boolean p_365067_, Explosion.BlockInteraction p_363174_) -
Uses of Vec3 in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block with type parameters of type Vec3Methods in net.minecraft.world.level.block that return Vec3Modifier and TypeMethodDescriptionSignBlock.getSignHitboxCenterPosition
(BlockState p_278294_) WallSignBlock.getSignHitboxCenterPosition
(BlockState p_278316_) Methods 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_261547_, CollisionGetter p_261946_, BlockPos p_261614_, Direction p_261648_, float p_261680_) 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_220688_, Vec3 p_220689_, RandomSource p_220690_) private static TeleportTransition
NetherPortalBlock.createDimensionTransition
(ServerLevel p_350955_, BlockUtil.FoundRectangle p_350865_, Direction.Axis p_351013_, Vec3 p_351020_, Entity p_350578_, TeleportTransition.PostTeleportTransition p_379531_) static Position
DispenserBlock.getDispensePosition
(BlockSource p_338419_, double p_338633_, Vec3 p_338798_) private static int
TargetBlock.getRedstoneStrength
(BlockHitResult p_57409_, Vec3 p_57410_) -
Uses of Vec3 in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as Vec3Methods in net.minecraft.world.level.block.entity that return Vec3Modifier and TypeMethodDescriptionprivate static Vec3
TheEndGatewayBlockEntity.findExitPortalXZPosTentative
(ServerLevel p_155842_, BlockPos p_155843_) TheEndGatewayBlockEntity.getPortalPosition
(ServerLevel p_350561_, BlockPos p_350271_) 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
List
<RecipeHolder<?>> AbstractFurnaceBlockEntity.getRecipesToAwardAndPopExperience
(ServerLevel p_154996_, Vec3 p_154997_) boolean
SculkCatalystBlockEntity.CatalystListener.handleGameEvent
(ServerLevel p_283470_, Holder<GameEvent> p_316661_, GameEvent.Context p_283014_, Vec3 p_282350_) private static boolean
TheEndGatewayBlockEntity.isChunkEmpty
(ServerLevel p_155816_, Vec3 p_155817_) -
Uses of Vec3 in net.minecraft.world.level.block.entity.trialspawner
Methods in net.minecraft.world.level.block.entity.trialspawner that return types with arguments of type Vec3Modifier and TypeMethodDescriptionTrialSpawnerState.calculatePositionAbove
(Entity p_338791_, ServerLevel p_338807_) TrialSpawnerState.calculatePositionToSpawnSpawner
(ServerLevel p_338436_, BlockPos p_338583_, TrialSpawner p_338226_, TrialSpawnerData p_338461_) Methods in net.minecraft.world.level.block.entity.trialspawner with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static void
TrialSpawnerState.ParticleEmission.addParticle
(SimpleParticleType p_312519_, Vec3 p_312023_, Level p_311937_) private static boolean
PlayerDetector.inLineOfSight
(Level p_338760_, Vec3 p_338259_, Vec3 p_338810_) private static boolean
TrialSpawner.inLineOfSight
(Level p_312623_, Vec3 p_312390_, Vec3 p_312652_) -
Uses of Vec3 in net.minecraft.world.level.block.entity.vault
Methods in net.minecraft.world.level.block.entity.vault that return Vec3Modifier and TypeMethodDescriptionprivate static Vec3
VaultBlockEntity.Client.keyholePos
(BlockPos p_323572_, Direction p_324503_) private static Vec3
VaultBlockEntity.Client.randomPosCenterOfCage
(BlockPos p_323493_, RandomSource p_324481_) private static Vec3
VaultBlockEntity.Client.randomPosInsideCage
(BlockPos p_324080_, RandomSource p_324532_) Methods in net.minecraft.world.level.block.entity.vault with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static void
VaultBlockEntity.Client.emitConnectionParticlesForPlayer
(Level p_323629_, Vec3 p_324592_, Player p_324428_) -
Uses of Vec3 in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state that return Vec3 -
Uses of Vec3 in net.minecraft.world.level.border
Methods in net.minecraft.world.level.border that return Vec3Modifier and TypeMethodDescriptionWorldBorder.clampVec3ToBound
(double p_362510_, double p_362166_, double p_360417_) WorldBorder.clampVec3ToBound
(Vec3 p_362111_) Methods in net.minecraft.world.level.border with parameters of type Vec3Modifier and TypeMethodDescriptionWorldBorder.clampToBounds
(Vec3 p_352921_) WorldBorder.clampVec3ToBound
(Vec3 p_362111_) boolean
WorldBorder.isWithinBounds
(Vec3 p_352959_) -
Uses of Vec3 in net.minecraft.world.level.gameevent
Fields in net.minecraft.world.level.gameevent declared as Vec3Methods in net.minecraft.world.level.gameevent that return Vec3Methods in net.minecraft.world.level.gameevent that return types with arguments of type Vec3Modifier and TypeMethodDescriptionBlockPositionSource.getPosition
(Level p_157708_) EntityPositionSource.getPosition
(Level p_157733_) PositionSource.getPosition
(Level p_157870_) EuclideanGameEventListenerRegistry.getPostableListenerPosition
(ServerLevel p_249585_, Vec3 p_251333_, GameEventListener p_251051_) Methods in net.minecraft.world.level.gameevent with parameters of type Vec3Modifier and TypeMethodDescriptionEuclideanGameEventListenerRegistry.getPostableListenerPosition
(ServerLevel p_249585_, Vec3 p_251333_, GameEventListener p_251051_) boolean
GameEventListener.handleGameEvent
(ServerLevel p_223757_, Holder<GameEvent> p_316739_, GameEvent.Context p_249681_, Vec3 p_251048_) void
GameEventDispatcher.post
(Holder<GameEvent> p_316151_, Vec3 p_250613_, GameEvent.Context p_251777_) void
GameEventListenerRegistry.ListenerVisitor.visit
(GameEventListener p_250787_, Vec3 p_251603_) boolean
EuclideanGameEventListenerRegistry.visitInRangeListeners
(Holder<GameEvent> p_316862_, Vec3 p_251445_, GameEvent.Context p_252317_, GameEventListenerRegistry.ListenerVisitor p_251422_) boolean
GameEventListenerRegistry.visitInRangeListeners
(Holder<GameEvent> p_316434_, Vec3 p_249144_, GameEvent.Context p_249328_, GameEventListenerRegistry.ListenerVisitor p_250123_) Constructors in net.minecraft.world.level.gameevent with parameters of type Vec3ModifierConstructorDescriptionListenerInfo
(Holder<GameEvent> p_316198_, Vec3 p_249118_, GameEvent.Context p_251196_, GameEventListener p_251701_, Vec3 p_248854_) -
Uses of Vec3 in net.minecraft.world.level.gameevent.vibrations
Fields in net.minecraft.world.level.gameevent.vibrations declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3
VibrationInfo.pos
The field for thepos
record component.Methods in net.minecraft.world.level.gameevent.vibrations that return Vec3Modifier and TypeMethodDescriptionVibrationInfo.pos()
Returns the value of thepos
record component.Methods in net.minecraft.world.level.gameevent.vibrations with parameters of type Vec3Modifier and TypeMethodDescriptionvoid
VibrationSystem.Listener.forceScheduleVibration
(ServerLevel p_282808_, Holder<GameEvent> p_316321_, GameEvent.Context p_281652_, Vec3 p_281530_) boolean
VibrationSystem.Listener.handleGameEvent
(ServerLevel p_282254_, Holder<GameEvent> p_316513_, GameEvent.Context p_283664_, Vec3 p_282426_) private static boolean
VibrationSystem.Listener.isOccluded
(Level p_283225_, Vec3 p_283328_, Vec3 p_283163_) private void
VibrationSystem.Listener.scheduleVibration
(ServerLevel p_282037_, VibrationSystem.Data p_283229_, Holder<GameEvent> p_316858_, GameEvent.Context p_283344_, Vec3 p_281758_, Vec3 p_282990_) Constructors in net.minecraft.world.level.gameevent.vibrations with parameters of type Vec3ModifierConstructorDescriptionVibrationInfo
(Holder<GameEvent> p_316546_, float p_251086_, Vec3 p_250935_, UUID p_316193_, UUID p_316157_) VibrationInfo
(Holder<GameEvent> gameEvent, float distance, Vec3 pos, UUID uuid, UUID projectileOwnerUuid, Entity entity) Creates an instance of aVibrationInfo
record class.VibrationInfo
(Holder<GameEvent> p_316851_, float p_250190_, Vec3 p_251692_, Entity p_316868_) -
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 Vec3Modifier and TypeFieldDescriptionprivate final Vec3
TeleportTransition.deltaMovement
The field for thedeltaMovement
record component.private final Vec3
TeleportTransition.position
The field for theposition
record component.Methods in net.minecraft.world.level.portal that return Vec3Modifier and TypeMethodDescriptionTeleportTransition.deltaMovement()
Returns the value of thedeltaMovement
record component.private static Vec3
TeleportTransition.findAdjustedSharedSpawnPos
(ServerLevel p_379295_, Entity p_379825_) static Vec3
PortalShape.findCollisionFreePosition
(Vec3 p_260315_, ServerLevel p_259704_, Entity p_259626_, EntityDimensions p_259816_) static Vec3
PortalShape.getRelativePosition
(BlockUtil.FoundRectangle p_77739_, Direction.Axis p_77740_, Vec3 p_77741_, EntityDimensions p_77742_) TeleportTransition.position()
Returns the value of theposition
record component.Methods in net.minecraft.world.level.portal with parameters of type Vec3Modifier and TypeMethodDescriptionstatic Vec3
PortalShape.findCollisionFreePosition
(Vec3 p_260315_, ServerLevel p_259704_, Entity p_259626_, EntityDimensions p_259816_) static Vec3
PortalShape.getRelativePosition
(BlockUtil.FoundRectangle p_77739_, Direction.Axis p_77740_, Vec3 p_77741_, EntityDimensions p_77742_) TeleportTransition.withPosition
(Vec3 p_379914_) Constructors in net.minecraft.world.level.portal with parameters of type Vec3ModifierConstructorDescriptionTeleportTransition
(ServerLevel newLevel, Vec3 position, Vec3 deltaMovement, float yRot, float xRot, boolean missingRespawnBlock, boolean asPassenger, Set<Relative> relatives, TeleportTransition.PostTeleportTransition postTeleportTransition) Creates an instance of aTeleportTransition
record class.TeleportTransition
(ServerLevel p_380133_, Vec3 p_379861_, Vec3 p_380308_, float p_379941_, float p_380119_, Set<Relative> p_379959_, TeleportTransition.PostTeleportTransition p_379425_) TeleportTransition
(ServerLevel p_379776_, Vec3 p_379412_, Vec3 p_379320_, float p_380257_, float p_379610_, TeleportTransition.PostTeleportTransition p_380303_) -
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
Fields in net.minecraft.world.phys with type parameters of type Vec3Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Vec3> Vec3.CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, Vec3> Vec3.STREAM_CODEC
Methods in net.minecraft.world.phys that return Vec3Modifier and TypeMethodDescriptionVec3.add
(double p_361376_) Vec3.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.atLowerCornerWithOffset
(Vec3i p_272866_, double p_273680_, double p_273668_, double p_273687_) 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.getBottomCenter()
AABB.getCenter()
HitResult.getLocation()
AABB.getMaxPosition()
AABB.getMinPosition()
Vec3.horizontal()
Vec3.multiply
(double p_82543_, double p_82544_, double p_82545_) Vec3.normalize()
Vec3.offsetRandom
(RandomSource p_272810_, float p_273473_) Vec3.projectedOn
(Vec3 p_374230_) Vec3.reverse()
Vec3.scale
(double p_82491_) Vec3.subtract
(double p_361762_) 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 Vec3Modifier and TypeMethodDescriptionAABB.clip
(double p_361194_, double p_363689_, double p_360465_, double p_364788_, double p_361609_, double p_362064_, Vec3 p_360499_, Vec3 p_364132_) Methods in net.minecraft.world.phys with parameters of type Vec3Modifier and TypeMethodDescriptionAABB.clip
(double p_361194_, double p_363689_, double p_360465_, double p_364788_, double p_361609_, double p_362064_, Vec3 p_360499_, Vec3 p_364132_) static BlockHitResult
boolean
Vec3.closerThan
(Vec3 p_312866_, double p_312928_, double p_312788_) boolean
AABB.collidedAlongVector
(Vec3 p_371478_, List<AABB> p_371359_) boolean
double
Vec3.distanceTo
(Vec3 p_82555_) double
AABB.distanceToSqr
(Vec3 p_273572_) double
Vec3.distanceToSqr
(Vec3 p_82558_) double
AABB.expandTowards
(Vec3 p_82370_) private static Direction
AABB.getDirection
(double p_364368_, double p_364216_, double p_364169_, double p_361791_, double p_364011_, double p_362267_, Vec3 p_360578_, double[] p_361390_, Direction p_365077_, double p_362143_, double p_362210_, double p_364339_) 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
Vec3.projectedOn
(Vec3 p_374230_) 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_, boolean p_366493_) BlockHitResult
(Vec3 p_82415_, Direction p_82416_, BlockPos p_82417_, boolean p_82418_) BlockHitResult
(Vec3 p_366888_, Direction p_366561_, BlockPos p_366409_, boolean p_366822_, boolean p_366589_) EntityHitResult
(Entity p_82441_, Vec3 p_82442_) protected
-
Uses of Vec3 in net.minecraft.world.phys.shapes
Fields in net.minecraft.world.phys.shapes declared as Vec3Methods in net.minecraft.world.phys.shapes that return types with arguments of type Vec3Methods in net.minecraft.world.phys.shapes with parameters of type Vec3Modifier and TypeMethodDescriptionVoxelShape.closestPointTo
(Vec3 p_166068_) static VoxelShape
Shapes.rotate
(VoxelShape p_394159_, OctahedralGroup p_393775_, Vec3 p_393709_) static Map
<Direction, VoxelShape> Shapes.rotateAll
(VoxelShape p_394143_, Vec3 p_394280_) static Map
<Direction.Axis, VoxelShape> Shapes.rotateAllAxis
(VoxelShape p_393798_, Vec3 p_393985_) static Map
<Direction, VoxelShape> Shapes.rotateHorizontal
(VoxelShape p_394145_, Vec3 p_393544_) static Map
<Direction.Axis, VoxelShape> Shapes.rotateHorizontalAxis
(VoxelShape p_393683_, Vec3 p_394313_) -
Uses of Vec3 in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static void
BlockEntityRenderBoundsDebugRenderer.drawRenderBoundingBox
(PoseStack poseStack, VertexConsumer consumer, Vec3 camera, BlockEntity be) Constructors in net.neoforged.neoforge.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.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common with type parameters of type Vec3Modifier and TypeFieldDescriptionprivate static final Map
<LevelReader, Map<ChunkPos, ChunkTicketManager<Vec3>>> FarmlandWaterManager.customWaterHandler
Methods in net.neoforged.neoforge.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.neoforged.neoforge.common that return types with arguments of type Vec3Modifier and TypeMethodDescriptionprivate static ChunkTicketManager
<Vec3> FarmlandWaterManager.getTicketManager
(ChunkPos pos, LevelReader level) Methods in net.neoforged.neoforge.common with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static double
FarmlandWaterManager.getDistanceSq
(ChunkPos pos, Vec3 vec3d) static @Nullable InteractionResult
CommonHooks.onInteractEntityAt
(Player player, Entity entity, Vec3 vec3d, InteractionHand hand) static boolean
CommonHooks.onVanillaGameEvent
(Level level, Holder<GameEvent> vanillaEvent, Vec3 pos, GameEvent.Context context) -
Uses of Vec3 in net.neoforged.neoforge.common.advancements.critereon
Methods in net.neoforged.neoforge.common.advancements.critereon with parameters of type Vec3Modifier and TypeMethodDescriptionboolean
PiglinNeutralArmorEntityPredicate.matches
(Entity entity, ServerLevel level, @Nullable Vec3 position) boolean
SnowBootsEntityPredicate.matches
(Entity entity, ServerLevel level, @Nullable Vec3 position) boolean
TridentEntityPredicate.matches
(Entity entity, ServerLevel level, @Nullable Vec3 position) -
Uses of Vec3 in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions with parameters of type Vec3Modifier and TypeMethodDescriptiondefault BlockState
IBlockExtension.getStateAtViewpoint
(BlockState state, BlockGetter level, BlockPos pos, Vec3 viewpoint) Used to determine the state 'viewed' by an entity (seeinvalid reference
Camera#getBlockAtCamera()
default BlockState
IBlockStateExtension.getStateAtViewpoint
(BlockGetter level, BlockPos pos, Vec3 viewpoint) Used to determine the state 'viewed' by an entity (seeinvalid reference
Camera#getBlockAtCamera()
default boolean
IFluidExtension.move
(FluidState state, LivingEntity entity, Vec3 movementVector, double gravity) Performs how an entity moves when within the fluid.default boolean
IFluidStateExtension.move
(LivingEntity entity, Vec3 movementVector, double gravity) Performs how an entity moves when within the fluid.default boolean
ILivingEntityExtension.moveInFluid
(FluidState state, Vec3 movementVector, double gravity) Performs how an entity moves when within the fluid. -
Uses of Vec3 in net.neoforged.neoforge.common.ticket
Methods in net.neoforged.neoforge.common.ticket with parameters of type Vec3 -
Uses of Vec3 in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3
PlayLevelSoundEvent.AtPosition.position
private final Vec3
VanillaGameEvent.position
Methods in net.neoforged.neoforge.event that return Vec3Modifier and TypeMethodDescriptionVanillaGameEvent.getEventPosition()
static Vec3
EventHooks.getExplosionKnockback
(Level level, ServerExplosion explosion, Entity entity, Vec3 initialVelocity, List<BlockPos> blocks) To be called when an explosion has calculated the knockback velocity but has not yet added the knockback to the entity caught in blast.PlayLevelSoundEvent.AtPosition.getPosition()
Returns the position the sound is being played at.Methods in net.neoforged.neoforge.event with parameters of type Vec3Modifier and TypeMethodDescriptionstatic Vec3
EventHooks.getExplosionKnockback
(Level level, ServerExplosion explosion, Entity entity, Vec3 initialVelocity, List<BlockPos> blocks) To be called when an explosion has calculated the knockback velocity but has not yet added the knockback to the entity caught in blast.Constructors in net.neoforged.neoforge.event with parameters of type Vec3ModifierConstructorDescriptionAtPosition
(Level level, Vec3 position, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch) VanillaGameEvent
(Level level, Holder<GameEvent> vanillaEvent, Vec3 position, GameEvent.Context context) -
Uses of Vec3 in net.neoforged.neoforge.event.entity
Methods in net.neoforged.neoforge.event.entity that return Vec3 -
Uses of Vec3 in net.neoforged.neoforge.event.entity.player
Fields in net.neoforged.neoforge.event.entity.player declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3
PlayerInteractEvent.EntityInteractSpecific.localPos
Methods in net.neoforged.neoforge.event.entity.player that return Vec3Modifier and TypeMethodDescriptionPlayerInteractEvent.EntityInteractSpecific.getLocalPos()
Returns the local interaction position.Constructors in net.neoforged.neoforge.event.entity.player with parameters of type Vec3ModifierConstructorDescriptionEntityInteractSpecific
(Player player, InteractionHand hand, Entity target, Vec3 localPos) -
Uses of Vec3 in net.neoforged.neoforge.event.level
Fields in net.neoforged.neoforge.event.level declared as Vec3Methods in net.neoforged.neoforge.event.level that return Vec3Modifier and TypeMethodDescriptionExplosionKnockbackEvent.getKnockbackVelocity()
return the explosion knockback velocity to apply to entity.Methods in net.neoforged.neoforge.event.level with parameters of type Vec3Modifier and TypeMethodDescriptionvoid
ExplosionKnockbackEvent.setKnockbackVelocity
(Vec3 newKnockbackVelocity) Sets the explosion knockback velocity to add to the entity's existing velocity.Constructors in net.neoforged.neoforge.event.level with parameters of type Vec3ModifierConstructorDescriptionExplosionKnockbackEvent
(Level level, ServerExplosion explosion, Entity entity, Vec3 knockbackVelocity, List<BlockPos> blockList) -
Uses of Vec3 in net.neoforged.neoforge.event.village
Fields in net.neoforged.neoforge.event.village declared as Vec3Methods in net.neoforged.neoforge.event.village that return Vec3Constructors in net.neoforged.neoforge.event.village with parameters of type Vec3ModifierConstructorDescriptionVillageSiegeEvent
(VillageSiege siege, Level level, Player player, Vec3 attemptedSpawnPos) -
Uses of Vec3 in net.neoforged.neoforge.fluids
Methods in net.neoforged.neoforge.fluids with parameters of type Vec3Modifier and TypeMethodDescriptionboolean
FluidType.move
(FluidState state, LivingEntity entity, Vec3 movementVector, double gravity) Performs how an entity moves when within the fluid.
LevelRenderer.addCloudsPass(FrameGraphBuilder, CloudStatus, Vec3, float, int, float, Matrix4f, Matrix4f)
instead