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 Vec3ListenerTransform.forwardThe field for theforwardrecord component.private final Vec3ListenerTransform.positionThe field for thepositionrecord component.private final Vec3ListenerTransform.upThe field for theuprecord component.Methods in com.mojang.blaze3d.audio that return Vec3Modifier and TypeMethodDescriptionListenerTransform.forward()Returns the value of theforwardrecord component.ListenerTransform.position()Returns the value of thepositionrecord component.ListenerTransform.right()ListenerTransform.up()Returns the value of theuprecord component.Methods in com.mojang.blaze3d.audio with parameters of type Vec3Modifier and TypeMethodDescriptionvoidChannel.setSelfPosition(Vec3 pSource) Sets the position of the audio channel.Constructors in com.mojang.blaze3d.audio with parameters of type Vec3ModifierConstructorDescriptionListenerTransform(Vec3 position, Vec3 forward, Vec3 up) Creates an instance of aListenerTransformrecord class. -
Uses of Vec3 in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type Vec3Modifier and TypeMethodDescriptionbooleanDamageSourcePredicate.matches(ServerLevel pLevel, Vec3 pPosition, DamageSource pSource) booleanDistanceTrigger.TriggerInstance.matches(ServerLevel pLevel, Vec3 pStartPosition, Vec3 pCurrentPosition) booleanEntityPredicate.matches(ServerLevel pLevel, Vec3 pPosition, Entity pEntity) booleanEntitySubPredicate.matches(Entity pEntity, ServerLevel pLevel, Vec3 pPosition) booleanEntitySubPredicates.EntityHolderVariantPredicateType.Instance.matches(Entity pEntity, ServerLevel pLevel, Vec3 pPosition) booleanEntitySubPredicates.EntityVariantPredicateType.Instance.matches(Entity pEntity, ServerLevel pLevel, Vec3 pPosition) booleanFallAfterExplosionTrigger.TriggerInstance.matches(ServerLevel pLevel, Vec3 pStartPosition, Vec3 pEndPosition, LootContext pContext) booleanFishingHookPredicate.matches(Entity pEntity, ServerLevel pLevel, Vec3 pPosition) booleanLevitationTrigger.TriggerInstance.matches(ServerPlayer pPlayer, Vec3 pStartPos, int pDuration) booleanLightningBoltPredicate.matches(Entity pEntity, ServerLevel pLevel, Vec3 pPosition) booleanPlayerPredicate.matches(Entity pEntity, ServerLevel pLevel, Vec3 pPosition) booleanRaiderPredicate.matches(Entity pEntity, ServerLevel pLevel, Vec3 pPosition) booleanSlimePredicate.matches(Entity pEntity, ServerLevel pLevel, Vec3 pPosition) booleanTargetBlockTrigger.TriggerInstance.matches(LootContext pContext, Vec3 pVector, int pSignalStrength) voidDistanceTrigger.trigger(ServerPlayer pPlayer, Vec3 pPosition) voidFallAfterExplosionTrigger.trigger(ServerPlayer pPlayer, Vec3 pPos, Entity pEntity) voidLevitationTrigger.trigger(ServerPlayer pPlayer, Vec3 pStartPos, int pDuration) voidTargetBlockTrigger.trigger(ServerPlayer pPlayer, Entity pProjectile, Vec3 pVector, int pSignalStrength) -
Uses of Vec3 in net.minecraft.client
Fields in net.minecraft.client declared as Vec3Modifier and TypeFieldDescription(package private) final Vec3Camera.NearPlane.forwardprivate final Vec3Camera.NearPlane.leftprivate Vec3Camera.positionprivate final Vec3Camera.NearPlane.upMethods in net.minecraft.client that return Vec3Modifier and TypeMethodDescriptionCamera.NearPlane.getBottomLeft()Camera.NearPlane.getBottomRight()Camera.NearPlane.getPointOnPlane(float pLeftScale, float pUpScale) Camera.getPosition()Camera.NearPlane.getTopLeft()Camera.NearPlane.getTopRight()Methods in net.minecraft.client with parameters of type Vec3Modifier and TypeMethodDescriptionprivate voidKeyboardHandler.copyCreateEntityCommand(ResourceLocation pEntityId, Vec3 pPos, CompoundTag pCompound) protected voidCamera.setPosition(Vec3 pPos) 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 Vec3SubtitleOverlay.SoundPlayedAt.locationThe field for thelocationrecord component.Methods in net.minecraft.client.gui.components that return Vec3Modifier and TypeMethodDescriptionSubtitleOverlay.SoundPlayedAt.location()Returns the value of thelocationrecord component.Methods in net.minecraft.client.gui.components with parameters of type Vec3Modifier and TypeMethodDescriptionSubtitleOverlay.Subtitle.getClosest(Vec3 pLocation) booleanSubtitleOverlay.Subtitle.isAudibleFrom(Vec3 pLocation) voidConstructors in net.minecraft.client.gui.components with parameters of type Vec3ModifierConstructorDescription(package private)SoundPlayedAt(Vec3 location, long time) Creates an instance of aSoundPlayedAtrecord class. -
Uses of Vec3 in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer that return Vec3Modifier and TypeMethodDescriptionClientLevel.getCloudColor(float pPartialTick) ClientLevel.getSkyColor(Vec3 pPos, float pPartialTick) Methods in net.minecraft.client.multiplayer with parameters of type Vec3Modifier and TypeMethodDescriptionvoidClientLevel.gameEvent(Holder<GameEvent> pGameEvent, Vec3 pPos, GameEvent.Context pContext) ClientLevel.getSkyColor(Vec3 pPos, float pPartialTick) voidClientLevel.syncBlockState(BlockPos pPos, BlockState pState, Vec3 pPlayerPos) -
Uses of Vec3 in net.minecraft.client.multiplayer.prediction
Fields in net.minecraft.client.multiplayer.prediction declared as Vec3Modifier and TypeFieldDescription(package private) final Vec3BlockStatePredictionHandler.ServerVerifiedState.playerPosConstructors in net.minecraft.client.multiplayer.prediction with parameters of type Vec3ModifierConstructorDescription(package private)ServerVerifiedState(int pSequence, BlockState pBlockState, Vec3 pPlayerPos) -
Uses of Vec3 in net.minecraft.client.particle
Methods in net.minecraft.client.particle that return Vec3Constructors in net.minecraft.client.particle with parameters of type Vec3ModifierConstructorDescriptionprivateItemPickupParticle(EntityRenderDispatcher pEntityRenderDispatcher, RenderBuffers pBuffers, ClientLevel pLevel, Entity pItemEntity, Entity pTarget, Vec3 pSpeedVector) privateTrackingEmitter(ClientLevel pLevel, Entity pEntity, ParticleOptions pParticleType, int pLifetime, Vec3 pSpeedVector) -
Uses of Vec3 in net.minecraft.client.player
Fields in net.minecraft.client.player declared as Vec3Modifier and TypeFieldDescriptionprotected Vec3AbstractClientPlayer.deltaMovementOnPreviousTickprivate Vec3RemotePlayer.lerpDeltaMovementMethods in net.minecraft.client.player that return Vec3Modifier and TypeMethodDescriptionAbstractClientPlayer.getDeltaMovementLerped(float pPatialTick) LocalPlayer.getRopeHoldPosition(float pPartialTick) Methods in net.minecraft.client.player with parameters of type Vec3Modifier and TypeMethodDescriptionprotected booleanLocalPlayer.isHorizontalCollisionMinor(Vec3 pDeltaMovement) void -
Uses of Vec3 in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as Vec3Methods in net.minecraft.client.renderer that return Vec3Modifier and TypeMethodDescriptionDimensionSpecialEffects.EndEffects.getBrightnessDependentFogColor(Vec3 p_108894_, float p_108895_) abstract Vec3DimensionSpecialEffects.getBrightnessDependentFogColor(Vec3 pFogColor, float pBrightness) DimensionSpecialEffects.NetherEffects.getBrightnessDependentFogColor(Vec3 p_108901_, float p_108902_) DimensionSpecialEffects.OverworldEffects.getBrightnessDependentFogColor(Vec3 p_108908_, float p_108909_) private static Vec3LevelRenderer.mixColor(float pHue) private static Vec3LevelRenderer.shiftHue(float pRed, float pGreen, float pBlue, float pHue) Methods in net.minecraft.client.renderer with parameters of type Vec3Modifier and TypeMethodDescriptionprivate MeshDataLevelRenderer.buildClouds(Tesselator pTesselator, double pX, double pY, double pZ, Vec3 pCloudColor) private static HitResultGameRenderer.filterHitResult(HitResult pHitResult, Vec3 pPos, double pBlockInteractionRange) DimensionSpecialEffects.EndEffects.getBrightnessDependentFogColor(Vec3 p_108894_, float p_108895_) abstract Vec3DimensionSpecialEffects.getBrightnessDependentFogColor(Vec3 pFogColor, float pBrightness) DimensionSpecialEffects.NetherEffects.getBrightnessDependentFogColor(Vec3 p_108901_, float p_108902_) DimensionSpecialEffects.OverworldEffects.getBrightnessDependentFogColor(Vec3 p_108908_, float p_108909_) voidLevelRenderer.prepareCullFrustum(Vec3 pCameraPosition, org.joml.Matrix4f pFrustumMatrix, org.joml.Matrix4f pProjectionMatrix) private voidSectionOcclusionGraph.runPartialUpdate(boolean pSmartCull, Frustum pFrustum, List<SectionRenderDispatcher.RenderSection> pSections, Vec3 pCameraPosition) private voidSectionOcclusionGraph.runUpdates(SectionOcclusionGraph.GraphStorage pGraphStorage, Vec3 pCameraPosition, Queue<SectionOcclusionGraph.Node> pNodeQueue, boolean pSmartCull, Consumer<SectionRenderDispatcher.RenderSection> pSections) private voidSectionOcclusionGraph.scheduleFullUpdate(boolean pSmartCull, Camera pCamera, Vec3 pCameraPosition) -
Uses of Vec3 in net.minecraft.client.renderer.blockentity
Fields in net.minecraft.client.renderer.blockentity declared as Vec3Modifier and TypeFieldDescriptionprivate static final Vec3HangingSignRenderer.TEXT_OFFSETprivate static final Vec3SignRenderer.TEXT_OFFSETMethods in net.minecraft.client.renderer.blockentity that return Vec3Modifier and TypeMethodDescription(package private) Vec3HangingSignRenderer.getTextOffset()(package private) Vec3SignRenderer.getTextOffset()Methods in net.minecraft.client.renderer.blockentity with parameters of type Vec3Modifier and TypeMethodDescriptionbooleanBeaconRenderer.shouldRender(BeaconBlockEntity pBlockEntity, Vec3 pCameraPos) default booleanBlockEntityRenderer.shouldRender(T pBlockEntity, Vec3 pCameraPos) private voidSignRenderer.translateSignText(PoseStack pPoseStack, boolean pIsFrontText, Vec3 pOffset) -
Uses of Vec3 in net.minecraft.client.renderer.chunk
Fields in net.minecraft.client.renderer.chunk declared as Vec3Methods in net.minecraft.client.renderer.chunk that return Vec3Methods in net.minecraft.client.renderer.chunk with parameters of type Vec3 -
Uses of Vec3 in net.minecraft.client.renderer.debug
Fields in net.minecraft.client.renderer.debug declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3GameEventListenerRenderer.TrackedGameEvent.positionThe field for thepositionrecord component.Methods in net.minecraft.client.renderer.debug that return Vec3Modifier and TypeMethodDescriptionGameEventListenerRenderer.TrackedGameEvent.position()Returns the value of thepositionrecord component.Methods in net.minecraft.client.renderer.debug that return types with arguments of type Vec3Modifier and TypeMethodDescriptionGameEventListenerRenderer.TrackedListener.getPosition(Level pLevel) Methods in net.minecraft.client.renderer.debug with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static voidBreezeDebugRenderer.drawCircle(org.joml.Matrix4f pPose, double pXOffset, double pYOffset, double pZOffset, VertexConsumer pConsumer, Vec3 pPos, float pRadius, int pColor) private static voidBreezeDebugRenderer.drawCircleVertex(int pIndex, org.joml.Matrix4f pPose, double pXOffset, double pYOffset, double pZOffset, VertexConsumer pConsumer, Vec3 pCircleCenter, float pRadius, int pColor) private static voidBreezeDebugRenderer.drawLine(PoseStack pPoseStack, MultiBufferSource pBuffer, double pXOffset, double pYOffset, double pZOffset, Vec3 pFromPos, Vec3 pToPos, int pColor) booleanGameEventListenerRenderer.TrackedListener.handleGameEvent(ServerLevel pLevel, Holder<GameEvent> pGameEvent, GameEvent.Context pContext, Vec3 pPos) booleanvoidGameEventListenerRenderer.trackGameEvent(ResourceKey<GameEvent> pGameEvent, Vec3 pPosition) 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 aTrackedGameEventrecord class. -
Uses of Vec3 in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity that return Vec3Modifier and TypeMethodDescriptionprivate Vec3FishingHookRenderer.getPlayerHandPos(Player pPlayer, float p_340872_, float pPartialTick) private Vec3GuardianRenderer.getPosition(LivingEntity pLivingEntity, double pYOffset, float pPartialTick) EndermanRenderer.getRenderOffset(EnderMan pEntity, float pPartialTicks) EntityRenderer.getRenderOffset(T pEntity, float pPartialTicks) ItemFrameRenderer.getRenderOffset(T pEntity, float pPartialTicks) ShulkerRenderer.getRenderOffset(Shulker pEntity, float pPartialTicks) Methods in net.minecraft.client.renderer.entity with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static voidEntityRenderDispatcher.renderVector(PoseStack pPoseStack, VertexConsumer pBuffer, org.joml.Vector3f pStartPos, Vec3 pVector, int pColor) -
Uses of Vec3 in net.minecraft.client.renderer.entity.player
Methods in net.minecraft.client.renderer.entity.player that return Vec3Modifier and TypeMethodDescriptionPlayerRenderer.getRenderOffset(AbstractClientPlayer pEntity, float pPartialTicks) -
Uses of Vec3 in net.minecraft.client.resources.sounds
Methods in net.minecraft.client.resources.sounds with parameters of type Vec3Modifier and TypeMethodDescriptionstatic SimpleSoundInstanceSimpleSoundInstance.forJukeboxSong(SoundEvent pSound, Vec3 pPos) -
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 pSource, Vec3 pWorldPosition, Vec2 pRotation, ServerLevel pLevel, int pPermissionLevel, String pTextName, Component pDisplayName, MinecraftServer pServer, Entity pEntity) protectedCommandSourceStack(CommandSource pSource, Vec3 pWorldPosition, Vec2 pRotation, ServerLevel pLevel, int pPermissionLevel, String pTextName, Component pDisplayName, MinecraftServer pServer, Entity pEntity, boolean pSilent, CommandResultCallback pResultCallback, EntityAnchorArgument.Anchor pAnchor, CommandSigningContext pSigningContext, TaskChainer pChatMessageChainer) -
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.transformprivate final BiFunction<Vec3, Entity, Vec3> EntityAnchorArgument.Anchor.transformMethods in net.minecraft.commands.arguments that return Vec3Modifier and TypeMethodDescriptionEntityAnchorArgument.Anchor.apply(CommandSourceStack pSource) Gets the coordinate based on the given command source's position.Gets the coordinate based on the given entity's position.Constructor 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 pSource) LocalCoordinates.getPosition(CommandSourceStack pSource) WorldCoordinates.getPosition(CommandSourceStack pSource) static Vec3Vec3Argument.getVec3(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pName) -
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.orderprivate BiConsumer<Vec3, List<? extends Entity>> EntitySelectorParser.orderstatic final BiConsumer<Vec3, List<? extends Entity>> EntitySelector.ORDER_ARBITRARYstatic final BiConsumer<Vec3, List<? extends Entity>> EntitySelectorParser.ORDER_FURTHESTstatic final BiConsumer<Vec3, List<? extends Entity>> EntitySelectorParser.ORDER_NEARESTstatic final BiConsumer<Vec3, List<? extends Entity>> EntitySelectorParser.ORDER_RANDOMEntitySelector.positionEntitySelector.positionMethods 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 AABBEntitySelector.getAbsoluteAabb(Vec3 pPos) EntitySelector.getPredicate(Vec3 pPos, AABB pBox, FeatureFlagSet pEnabledFeatures) EntitySelector.sortAndLimit(Vec3 pPos, List<T> pEntities) Method parameters in net.minecraft.commands.arguments.selector with type arguments of type Vec3Modifier and TypeMethodDescriptionvoidEntitySelectorParser.setOrder(BiConsumer<Vec3, List<? extends Entity>> pOrder) Constructor parameters in net.minecraft.commands.arguments.selector with type arguments of type Vec3ModifierConstructorDescriptionEntitySelector(int pMaxResults, boolean pIncludesEntities, boolean pWorldLimited, List<Predicate<Entity>> pContextFreePredicates, MinMaxBounds.Doubles pRange, Function<Vec3, Vec3> pPosition, AABB pAabb, BiConsumer<Vec3, List<? extends Entity>> pOrder, boolean pCurrentEntity, String pPlayerName, UUID pEntityUUID, EntityType<?> pType, boolean pUsesSelector) EntitySelector(int pMaxResults, boolean pIncludesEntities, boolean pWorldLimited, List<Predicate<Entity>> pContextFreePredicates, MinMaxBounds.Doubles pRange, Function<Vec3, Vec3> pPosition, AABB pAabb, BiConsumer<Vec3, List<? extends Entity>> pOrder, boolean pCurrentEntity, String pPlayerName, UUID pEntityUUID, EntityType<?> pType, boolean pUsesSelector) EntitySelector(int pMaxResults, boolean pIncludesEntities, boolean pWorldLimited, List<Predicate<Entity>> pContextFreePredicates, MinMaxBounds.Doubles pRange, Function<Vec3, Vec3> pPosition, AABB pAabb, BiConsumer<Vec3, List<? extends Entity>> pOrder, boolean pCurrentEntity, String pPlayerName, UUID pEntityUUID, EntityType<?> pType, boolean pUsesSelector) -
Uses of Vec3 in net.minecraft.core
Methods in net.minecraft.core that return Vec3Modifier and TypeMethodDescriptionBlockPos.clampLocationWithin(Vec3 pPos) BlockPos.getBottomCenter()BlockPos.getCenter()Methods in net.minecraft.core with parameters of type Vec3Modifier and TypeMethodDescriptionBlockPos.clampLocationWithin(Vec3 pPos) static DirectionDirection.getNearest(Vec3 pOis) -
Uses of Vec3 in net.minecraft.core.dispenser
Methods in net.minecraft.core.dispenser that return Vec3 -
Uses of Vec3 in net.minecraft.gametest.framework
Methods in net.minecraft.gametest.framework that return Vec3Modifier and TypeMethodDescriptionGameTestHelper.absoluteVec(Vec3 pRelativeVec3) GameTestHelper.relativeVec(Vec3 pAbsoluteVec3) Methods in net.minecraft.gametest.framework with parameters of type Vec3Modifier and TypeMethodDescriptionGameTestHelper.absoluteVec(Vec3 pRelativeVec3) voidGameTestHelper.assertEntityNotPresent(EntityType<?> pType, Vec3 pFrom, Vec3 pTo) voidGameTestHelper.assertEntityPresent(EntityType<?> pEntityType, Vec3 pStartPos, Vec3 pEndPos) GameTestHelper.findEntities(EntityType<E> pType, Vec3 pPos, double pRadius) GameTestHelper.relativeVec(Vec3 pAbsoluteVec3) <E extends Entity>
EGameTestHelper.spawn(EntityType<E> pType, Vec3 pPos) <E extends Mob>
EGameTestHelper.spawnWithNoFreeWill(EntityType<E> pType, Vec3 pPos) -
Uses of Vec3 in net.minecraft.network
Methods in net.minecraft.network that return Vec3Methods 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 Vec3BeeDebugPayload.BeeInfo.posThe field for theposrecord component.private final Vec3BrainDebugPayload.BrainDump.posThe field for theposrecord component.private final Vec3GameEventDebugPayload.posThe field for theposrecord component.Methods in net.minecraft.network.protocol.common.custom that return Vec3Modifier and TypeMethodDescriptionBeeDebugPayload.BeeInfo.pos()Returns the value of theposrecord component.BrainDebugPayload.BrainDump.pos()Returns the value of theposrecord component.GameEventDebugPayload.pos()Returns the value of theposrecord 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 aBeeInforecord 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 aBrainDumprecord class.GameEventDebugPayload(ResourceKey<GameEvent> gameEventType, Vec3 pos) Creates an instance of aGameEventDebugPayloadrecord class. -
Uses of Vec3 in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as Vec3Modifier and TypeFieldDescriptionprivate Vec3VecDeltaCodec.baseprivate final Vec3ServerboundInteractPacket.InteractionAtLocationAction.locationFields in net.minecraft.network.protocol.game with type parameters of type Vec3Modifier and TypeFieldDescriptionClientboundDamageEventPacket.sourcePositionThe field for thesourcePositionrecord component.Methods in net.minecraft.network.protocol.game that return Vec3Modifier and TypeMethodDescriptionVecDeltaCodec.decode(long pX, long pY, long pZ) VecDeltaCodec.getBase()ClientboundPlayerLookAtPacket.getPosition(Level pLevel) Methods in net.minecraft.network.protocol.game that return types with arguments of type Vec3Modifier and TypeMethodDescriptionClientboundDamageEventPacket.sourcePosition()Returns the value of thesourcePositionrecord component.Methods in net.minecraft.network.protocol.game with parameters of type Vec3Modifier and TypeMethodDescriptionstatic ServerboundInteractPacketServerboundInteractPacket.createInteractionPacket(Entity pEntity, boolean pUsingSecondaryAction, InteractionHand pHand, Vec3 pInteractionLocation) longlonglongvoidServerboundInteractPacket.Handler.onInteraction(InteractionHand pHand, Vec3 pInteractionLocation) static voidDebugPackets.sendGameEventInfo(Level pLevel, Holder<GameEvent> pGameEvent, Vec3 pPos) voidConstructors in net.minecraft.network.protocol.game with parameters of type Vec3ModifierConstructorDescriptionClientboundAddEntityPacket(int pId, UUID pUuid, double pX, double pY, double pZ, float pXRot, float pYRot, EntityType<?> pType, int pData, Vec3 pDeltaMovement, double pYHeadRot) ClientboundExplodePacket(double pX, double pY, double pZ, float pPower, List<BlockPos> pToBlow, Vec3 pKnockback, Explosion.BlockInteraction pBlockInteraction, ParticleOptions pSmallExplosionParticles, ParticleOptions pLargeExplosionParticles, Holder<SoundEvent> pExplosionSound) ClientboundSetEntityMotionPacket(int pId, Vec3 pDeltaMovement) (package private)InteractionAtLocationAction(InteractionHand pHand, Vec3 pLocation) 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 aClientboundDamageEventPacketrecord class. -
Uses of Vec3 in net.minecraft.server.chase
Fields in net.minecraft.server.chase declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3ChaseClient.TeleportTarget.posThe field for theposrecord component.Methods in net.minecraft.server.chase that return Vec3Modifier and TypeMethodDescriptionChaseClient.TeleportTarget.pos()Returns the value of theposrecord 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 aTeleportTargetrecord class. -
Uses of Vec3 in net.minecraft.server.commands
Fields in net.minecraft.server.commands declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3TeleportCommand.LookAtPosition.positionThe field for thepositionrecord component.Methods in net.minecraft.server.commands that return Vec3Modifier and TypeMethodDescriptionTeleportCommand.LookAtPosition.position()Returns the value of thepositionrecord component.Methods in net.minecraft.server.commands with parameters of type Vec3Modifier and TypeMethodDescriptionstatic EntitySummonCommand.createEntity(CommandSourceStack pSource, Holder.Reference<EntityType<?>> pType, Vec3 pPos, CompoundTag pTag, boolean pRandomizeProperties) private static intLootCommand.dropInWorld(CommandSourceStack pSource, Vec3 pPos, List<ItemStack> pItems, LootCommand.Callback pCallback) private static intPlaySoundCommand.playSound(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, ResourceLocation pSound, SoundSource pCategory, Vec3 pPos, float pVolume, float pPitch, float pMinVolume) private static intParticleCommand.sendParticles(CommandSourceStack pSource, ParticleOptions pParticleData, Vec3 pPos, Vec3 pDelta, float pSpeed, int pCount, boolean pForce, Collection<ServerPlayer> pViewers) private static intSummonCommand.spawnEntity(CommandSourceStack pSource, Holder.Reference<EntityType<?>> pType, Vec3 pPos, CompoundTag pTag, boolean pRandomizeProperties) Constructors in net.minecraft.server.commands with parameters of type Vec3ModifierConstructorDescription(package private)LookAtPosition(Vec3 position) Creates an instance of aLookAtPositionrecord class. -
Uses of Vec3 in net.minecraft.server.level
Fields in net.minecraft.server.level declared as Vec3Modifier and TypeFieldDescriptionprivate Vec3ServerPlayer.enteredLavaOnVehiclePositionprivate Vec3ServerPlayer.enteredNetherPositionprivate Vec3ServerPlayer.lastKnownClientMovementprivate Vec3ServerEntity.lastSentMovementprivate Vec3ServerPlayer.levitationStartPosprivate final Vec3ServerPlayer.RespawnPosAngle.positionThe field for thepositionrecord component.private Vec3ServerPlayer.startingToFallPositionMethods in net.minecraft.server.level that return Vec3Modifier and TypeMethodDescriptionServerPlayer.getKnownMovement()ServerEntity.getLastSentMovement()ServerEntity.getPositionBase()ServerPlayer.RespawnPosAngle.position()Returns the value of thepositionrecord component.Methods in net.minecraft.server.level with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static floatServerPlayer.RespawnPosAngle.calculateLookAtYaw(Vec3 pPosition, BlockPos pTowardsPos) voidServerLevel.gameEvent(Holder<GameEvent> pGameEvent, Vec3 pPos, GameEvent.Context pContext) voidWorldGenRegion.gameEvent(Holder<GameEvent> pGameEvent, Vec3 pPos, GameEvent.Context pContext) voidServerPlayer.lookAt(EntityAnchorArgument.Anchor pAnchor, Vec3 pTarget) static ServerPlayer.RespawnPosAnglevoidServerPlayer.setKnownMovement(Vec3 pKnownMovement) voidConstructors in net.minecraft.server.level with parameters of type Vec3ModifierConstructorDescriptionRespawnPosAngle(Vec3 position, float yaw) Creates an instance of aRespawnPosAnglerecord class. -
Uses of Vec3 in net.minecraft.server.network
Fields in net.minecraft.server.network declared as Vec3Modifier and TypeFieldDescriptionprivate Vec3ServerGamePacketListenerImpl.awaitingPositionFromClient -
Uses of Vec3 in net.minecraft.util
Methods in net.minecraft.util that return Vec3Modifier and TypeMethodDescriptionCubicSampler.Vec3Fetcher.fetch(int pX, int pY, int pZ) static Vec3CubicSampler.gaussianSampleVec3(Vec3 pVec, CubicSampler.Vec3Fetcher pFetcher) private static Vec3ParticleUtils.getRandomSpeedRanges(RandomSource pRandom) Methods in net.minecraft.util with parameters of type Vec3Modifier and TypeMethodDescriptionstatic Vec3CubicSampler.gaussianSampleVec3(Vec3 pVec, CubicSampler.Vec3Fetcher pFetcher) static booleanMth.rayIntersectsAABB(Vec3 pStart, Vec3 pEnd, AABB pBoundingBox) static voidParticleUtils.spawnParticleOnFace(Level pLevel, BlockPos pPos, Direction pDirection, ParticleOptions pParticle, Vec3 pSpeed, double pSpread) Method parameters in net.minecraft.util with type arguments of type Vec3Modifier and TypeMethodDescriptionstatic voidParticleUtils.spawnParticlesOnBlockFace(Level pLevel, BlockPos pPos, ParticleOptions pParticle, IntProvider pCount, Direction pDirection, Supplier<Vec3> pSpeedSupplier, double pSpread) -
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> pType, Entity pDirectEntity, Entity pCausingEntity, Vec3 pDamageSourcePosition) DamageSource(Holder<DamageType> pType, Vec3 pDamageSourcePosition) -
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 pLevel, Entity pSource, Vec3 pPos, double pRadius, MobEffectInstance pEffect, int pDuration) -
Uses of Vec3 in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as Vec3Modifier and TypeFieldDescriptionprivate Vec3Entity.deltaMovementprivate Vec3Entity.positionprotected Vec3Entity.stuckSpeedMultiplierFields in net.minecraft.world.entity with type parameters of type Vec3Modifier and TypeFieldDescriptionprivate final Map<EntityAttachment, List<Vec3>> EntityAttachments.attachmentsprivate final Map<EntityAttachment, List<Vec3>> EntityAttachments.Builder.attachmentsEntityAttachment.Fallback.ZEROMethods in net.minecraft.world.entity that return Vec3Modifier and TypeMethodDescriptionprotected final Vec3Entity.calculateUpVector(float pXRot, float pYRot) final Vec3Entity.calculateViewVector(float pXRot, float pYRot) Calculates the view vector using the X and Y rotation of an entity.private Vec3Given a motion vector, return an updated vector that takes into account restrictions such as collisions (from all directions) and step-up from stepHeightstatic Vec3Entity.collideBoundingBox(Entity pEntity, Vec3 pVec, AABB pCollisionBox, Level pLevel, List<VoxelShape> pPotentialHits) private static Vec3Entity.collideWithShapes(Vec3 pDeltaMovement, AABB pEntityBB, List<VoxelShape> pShapes) EntityAttachments.get(EntityAttachment pAttachment, int pIndex, float pYRot) EntityAttachments.getClamped(EntityAttachment pAttachment, int pIndex, float pYRot) protected static Vec3Entity.getCollisionHorizontalEscapeVector(double pVehicleWidth, double pPassengerWidth, float pYRot) protected static Vec3Entity.getDefaultPassengerAttachmentPoint(Entity pVehicle, Entity pPassenger, EntityAttachments pAttachments) Entity.getDeltaMovement()Entity.getDismountLocationForPassenger(LivingEntity pPassenger) final Vec3Entity.getEyePosition()final Vec3Entity.getEyePosition(float pPartialTicks) LivingEntity.getFluidFallingAdjustedMovement(double pGravity, boolean pIsFalling, Vec3 pDeltaMovement) Entity.getForward()Entity.getHandHoldingItemAngle(Item pItem) private static Vec3Entity.getInputVector(Vec3 pRelative, float pMotionScaler, float pFacing) Entity.getKnownMovement()protected Vec3Entity.getLeashOffset()Entity.getLeashOffset(float pPartialTick) Entity.getLightProbePosition(float pPartialTicks) Entity.getLookAngle()EntityAttachments.getNullable(EntityAttachment pAttachment, int pIndex, float pYRot) protected Vec3Entity.getPassengerAttachmentPoint(Entity pEntity, EntityDimensions pDimensions, float pPartialTick) Entity.getPassengerRidingPosition(Entity pEntity) LivingEntity.getPassengerRidingPosition(Entity pEntity) final Vec3Entity.getPosition(float pPartialTicks) Entity.getRelativePortalPosition(Direction.Axis pAxis, BlockUtil.FoundRectangle pPortal) LivingEntity.getRelativePortalPosition(Direction.Axis pAxis, BlockUtil.FoundRectangle pPortal) protected Vec3LivingEntity.getRiddenInput(Player pPlayer, Vec3 pTravelVector) Entity.getRopeHoldPosition(float pPartialTicks) final Vec3Entity.getUpVector(float pPartialTicks) Entity.getVehicleAttachmentPoint(Entity pEntity) final Vec3Entity.getViewVector(float pPartialTicks) Gets the interpolated look vector.private Vec3LivingEntity.handleOnClimbable(Vec3 pDeltaMovement) LivingEntity.handleRelativeFrictionAndCalculateMovement(Vec3 pDeltaMovement, float pFriction) protected Vec3Entity.limitPistonMovement(Vec3 pPos) protected Vec3Entity.maybeBackOffFromEdge(Vec3 pVec, MoverType pMover) Entity.position()static Vec3LivingEntity.resetForwardDirectionOfRelativePortalPosition(Vec3 pRelativePortalPosition) Entity.trackingPosition()private static Vec3EntityAttachments.transformPoint(Vec3 pPoint, float pYRot) Methods in net.minecraft.world.entity that return types with arguments of type Vec3Modifier and TypeMethodDescriptionEntityAttachment.Fallback.create(float pWidth, float pHeight) EntityAttachment.createFallbackPoints(float pWidth, float pHeight) EntityAttachments.scalePoints(List<Vec3> pAttachmentPoints, float pXScale, float pYScale, float pZScale) Methods in net.minecraft.world.entity with parameters of type Vec3Modifier and TypeMethodDescriptionvoidEntity.addDeltaMovement(Vec3 pAddend) EntityAttachments.Builder.attach(EntityAttachment pAttachment, Vec3 pPoas) EntityType.Builder.attach(EntityAttachment pAttachment, Vec3 pPos) static voidExperienceOrb.award(ServerLevel pLevel, Vec3 pPos, int pAmount) protected voidEntity.checkSupportingBlock(boolean pOnGround, Vec3 pMovement) private Vec3Given a motion vector, return an updated vector that takes into account restrictions such as collisions (from all directions) and step-up from stepHeightstatic Vec3Entity.collideBoundingBox(Entity pEntity, Vec3 pVec, AABB pCollisionBox, Level pLevel, List<VoxelShape> pPotentialHits) private static Vec3Entity.collideWithShapes(Vec3 pDeltaMovement, AABB pEntityBB, List<VoxelShape> pShapes) doubleEntity.distanceToSqr(Vec3 pVec) LivingEntity.getFluidFallingAdjustedMovement(double pGravity, boolean pIsFalling, Vec3 pDeltaMovement) private static Vec3Entity.getInputVector(Vec3 pRelative, float pMotionScaler, float pFacing) protected Vec3LivingEntity.getRiddenInput(Player pPlayer, Vec3 pTravelVector) private Vec3LivingEntity.handleOnClimbable(Vec3 pDeltaMovement) LivingEntity.handleRelativeFrictionAndCalculateMovement(Vec3 pDeltaMovement, float pFriction) Entity.interactAt(Player pPlayer, Vec3 pVec, InteractionHand pHand) Applies the given player interaction to this Entity.protected booleanEntity.isHorizontalCollisionMinor(Vec3 pDeltaMovement) protected Vec3Entity.limitPistonMovement(Vec3 pPos) voidEntity.lookAt(EntityAnchorArgument.Anchor pAnchor, Vec3 pTarget) voidLivingEntity.lookAt(EntityAnchorArgument.Anchor pAnchor, Vec3 pTarget) EntityDimensions.makeBoundingBox(Vec3 pPos) voidEntity.makeStuckInBlock(BlockState pState, Vec3 pMotionMultiplier) protected Vec3Entity.maybeBackOffFromEdge(Vec3 pVec, MoverType pMover) voidvoidEntity.moveRelative(float pAmount, Vec3 pRelative) voidvoidEntityType.Builder.passengerAttachments(Vec3... pAttachPoints) voidstatic Vec3LivingEntity.resetForwardDirectionOfRelativePortalPosition(Vec3 pRelativePortalPosition) voidEntity.setDeltaMovement(Vec3 pDeltaMovement) voidEntity.setOnGroundWithMovement(boolean pOnGround, Vec3 pMovement) final voidprotected voidLivingEntity.tickRidden(Player pPlayer, Vec3 pTravelVector) private static Vec3EntityAttachments.transformPoint(Vec3 pPoint, float pYRot) voidvoidprivate voidLivingEntity.travelRidden(Player pPlayer, Vec3 pTravelVector) private static booleanExperienceOrb.tryMergeToExisting(ServerLevel pLevel, Vec3 pPos, int pAmount) EntityType.Builder.vehicleAttachment(Vec3 pAttachPoint) private booleanEntity.vibrationAndSoundEffectsFromBlock(BlockPos pPos, BlockState pState, boolean pPlayStepSound, boolean pBroadcastGameEvent, Vec3 pEntityPos) Method parameters in net.minecraft.world.entity with type arguments of type Vec3Modifier and TypeMethodDescriptionEntityAttachments.scalePoints(List<Vec3> pAttachmentPoints, float pXScale, float pYScale, float pZScale) Constructor parameters in net.minecraft.world.entity with type arguments of type Vec3ModifierConstructorDescription(package private)EntityAttachments(Map<EntityAttachment, List<Vec3>> pAttachments) -
Uses of Vec3 in net.minecraft.world.entity.ai.behavior
Fields in net.minecraft.world.entity.ai.behavior declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3BlockPosTracker.centerPositionprotected Vec3LongJumpToRandomPos.chosenJumpprivate Vec3RamTarget.ramDirectionFields 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 Vec3LongJumpToRandomPos.calculateOptimalJumpVector(Mob pMob, Vec3 pTarget) BlockPosTracker.currentPosition()EntityTracker.currentPosition()PositionTracker.currentPosition()private Vec3PrepareRamNearestTarget.getEdgeOfBlock(BlockPos pPos, BlockPos pOther) private static Vec3MoveToSkySeeingSpot.getOutdoorPosition(ServerLevel pLevel, LivingEntity pEntity) private Vec3AnimalPanic.getPanicPos(E pPathfinder, ServerLevel pLevel) static Vec3BehaviorUtils.getRandomSwimmablePos(PathfinderMob pPathfinder, int pRadius, int pVerticalDistance) private static Vec3RandomStroll.getTargetFlyPos(PathfinderMob pMob, int pMaxDistance, int pYRange) private static Vec3RandomStroll.getTargetSwimPos(PathfinderMob p_259491_) private static Vec3GoAndGiveItemsToTarget.getThrowPosition(PositionTracker pPositionTracker) Methods in net.minecraft.world.entity.ai.behavior that return types with arguments of type Vec3Modifier and TypeMethodDescriptionLongJumpUtil.calculateJumpVectorForAngle(Mob pMob, Vec3 pTarget, float pMaxJumpVelocity, int pAngle, boolean pRequireClearTransition) Methods in net.minecraft.world.entity.ai.behavior with parameters of type Vec3Modifier and TypeMethodDescriptionLongJumpUtil.calculateJumpVectorForAngle(Mob pMob, Vec3 pTarget, float pMaxJumpVelocity, int pAngle, boolean pRequireClearTransition) protected Vec3LongJumpToRandomPos.calculateOptimalJumpVector(Mob pMob, Vec3 pTarget) private static booleanLongJumpUtil.isClearTransition(Mob pMob, EntityDimensions pDimensions, Vec3 pStartPos, Vec3 pEndPos) static voidBehaviorUtils.throwItem(LivingEntity pLivingEntity, ItemStack pStack, Vec3 pOffset) static voidBehaviorUtils.throwItem(LivingEntity pEntity, ItemStack pStack, Vec3 pOffset, Vec3 pSpeedMultiplier, float pYOffset) static voidGoAndGiveItemsToTarget.throwItem(LivingEntity pEntity, ItemStack pStack, Vec3 pThrowPos) 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> pWalkTargetAwayFromMemory, float pSpeedModifier, int pDesiredDistance, boolean pHasTarget, Function<T, Vec3> pToPosition) private static OneShot<PathfinderMob> RandomStroll.strollFlyOrSwim(float pSpeedModifier, Function<PathfinderMob, Vec3> pTarget, Predicate<PathfinderMob> pCanStroll) 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 Vec3FleeSunGoal.getHidePos()protected Vec3GolemRandomStrollInVillageGoal.getPosition()protected Vec3MoveBackToVillageGoal.getPosition()protected Vec3RandomStrollGoal.getPosition()protected Vec3RandomSwimmingGoal.getPosition()protected Vec3WaterAvoidingRandomFlyingGoal.getPosition()protected Vec3WaterAvoidingRandomStrollGoal.getPosition()private Vec3GolemRandomStrollInVillageGoal.getPositionTowardsAnywhere()private Vec3GolemRandomStrollInVillageGoal.getPositionTowardsPoi()private Vec3GolemRandomStrollInVillageGoal.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 Vec3ModifierConstructorDescriptionWalkTarget(Vec3 pVectorPos, float pSpeedModifier, int pCloseEnoughDist) Constructs a walk target using a vector that's directly converted to a BlockPos. -
Uses of Vec3 in net.minecraft.world.entity.ai.util
Methods in net.minecraft.world.entity.ai.util that return Vec3Modifier and TypeMethodDescriptionstatic Vec3RandomPos.generateRandomPos(Supplier<BlockPos> pPosSupplier, ToDoubleFunction<BlockPos> pToDoubleFunction) Tries 10 times to maximize the return value of the position to double function based on the supplied positionstatic Vec3RandomPos.generateRandomPos(PathfinderMob pMob, Supplier<BlockPos> pPosSupplier) static Vec3AirAndWaterRandomPos.getPos(PathfinderMob pMob, int pMaxDistance, int pYRange, int pY, double pX, double pZ, double pAmplifier) static Vec3DefaultRandomPos.getPos(PathfinderMob pMob, int pRadius, int pVerticalDistance) static Vec3HoverRandomPos.getPos(PathfinderMob pMob, int pRadius, int pYRange, double pX, double pZ, float pAmplifier, int pMaxSwimUp, int pMinSwimUp) Tries to generate a random position a couple different ways, and if failing, sees if swimming vertically is an option.static Vec3LandRandomPos.getPos(PathfinderMob pMob, int pRadius, int pVerticalRange) static Vec3LandRandomPos.getPos(PathfinderMob pMob, int pRadius, int pYRange, ToDoubleFunction<BlockPos> pToDoubleFunction) static Vec3DefaultRandomPos.getPosAway(PathfinderMob pMob, int pRadius, int pYRange, Vec3 pVectorPosition) static Vec3LandRandomPos.getPosAway(PathfinderMob pMob, int pRadius, int pYRange, Vec3 pVectorPosition) private static Vec3LandRandomPos.getPosInDirection(PathfinderMob pMob, int pRadius, int pYRange, Vec3 pVectorPosition, boolean pShortCircuit) static Vec3AirRandomPos.getPosTowards(PathfinderMob pMob, int pRadius, int pYRange, int pY, Vec3 pVectorPosition, double pAmplifier) static Vec3DefaultRandomPos.getPosTowards(PathfinderMob pMob, int pRadius, int pYRange, Vec3 pVectorPosition, double pAmplifier) static Vec3LandRandomPos.getPosTowards(PathfinderMob pMob, int pRadius, int pYRange, Vec3 pVectorPosition) Methods in net.minecraft.world.entity.ai.util with parameters of type Vec3Modifier and TypeMethodDescriptionstatic Vec3DefaultRandomPos.getPosAway(PathfinderMob pMob, int pRadius, int pYRange, Vec3 pVectorPosition) static Vec3LandRandomPos.getPosAway(PathfinderMob pMob, int pRadius, int pYRange, Vec3 pVectorPosition) private static Vec3LandRandomPos.getPosInDirection(PathfinderMob pMob, int pRadius, int pYRange, Vec3 pVectorPosition, boolean pShortCircuit) static Vec3AirRandomPos.getPosTowards(PathfinderMob pMob, int pRadius, int pYRange, int pY, Vec3 pVectorPosition, double pAmplifier) static Vec3DefaultRandomPos.getPosTowards(PathfinderMob pMob, int pRadius, int pYRange, Vec3 pVectorPosition, double pAmplifier) static Vec3LandRandomPos.getPosTowards(PathfinderMob pMob, int pRadius, int pYRange, Vec3 pVectorPosition) -
Uses of Vec3 in net.minecraft.world.entity.ai.village
Methods in net.minecraft.world.entity.ai.village that return Vec3Modifier and TypeMethodDescriptionprivate Vec3VillageSiege.findRandomSpawnPos(ServerLevel pLevel, BlockPos pPos) -
Uses of Vec3 in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal declared as Vec3Modifier and TypeFieldDescriptionprivate Vec3Bee.BeePollinateGoal.hoverPosprivate Vec3Panda.rollDeltaMethods in net.minecraft.world.entity.animal that return Vec3Modifier and TypeMethodDescriptionprivate Vec3Bee.BeeWanderGoal.findPos()Pig.getDismountLocationForPassenger(LivingEntity pLivingEntity) Bee.getLeashOffset()Fox.getLeashOffset()IronGolem.getLeashOffset()Ocelot.getLeashOffset()Parrot.getLeashOffset()Pig.getLeashOffset()Rabbit.getLeashOffset()SnowGolem.getLeashOffset()Wolf.getLeashOffset()protected Vec3Parrot.ParrotWanderGoal.getPosition()protected Vec3Pig.getRiddenInput(Player pPlayer, Vec3 pTravelVector) private Vec3Parrot.ParrotWanderGoal.getTreePos()private Vec3Squid.rotateVector(Vec3 pVector) Methods in net.minecraft.world.entity.animal with parameters of type Vec3Modifier and TypeMethodDescriptionprotected Vec3Pig.getRiddenInput(Player pPlayer, Vec3 pTravelVector) private Vec3Squid.rotateVector(Vec3 pVector) protected voidPig.tickRidden(Player pPlayer, Vec3 pTravelVector) voidvoidvoidvoid -
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 TypeMethodDescriptionbooleanAllay.JukeboxListener.handleGameEvent(ServerLevel pLevel, Holder<GameEvent> pGameEvent, GameEvent.Context pContext, Vec3 pPos) 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 pPartialTick) protected Vec3Camel.getPassengerAttachmentPoint(Entity pEntity, EntityDimensions pDimensions, float pPartialTick) protected Vec3Camel.getRiddenInput(Player pPlayer, Vec3 pTravelVector) Methods in net.minecraft.world.entity.animal.camel with parameters of type Vec3Modifier and TypeMethodDescriptionprotected voidCamel.executeRidersJump(float pPlayerJumpPendingScale, Vec3 pTravelVector) protected Vec3Camel.getRiddenInput(Player pPlayer, Vec3 pTravelVector) protected voidCamel.tickRidden(Player pPlayer, Vec3 pTravelVector) 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 pLivingEntity) private Vec3AbstractHorse.getDismountLocationInDirection(Vec3 pDirection, LivingEntity pPassenger) Llama.getLeashOffset()protected Vec3AbstractHorse.getPassengerAttachmentPoint(Entity pEntity, EntityDimensions pDimensions, float pPartialTick) protected Vec3Llama.getPassengerAttachmentPoint(Entity pEntity, EntityDimensions pDimensions, float pPartialTick) protected Vec3AbstractHorse.getRiddenInput(Player pPlayer, Vec3 pTravelVector) Methods in net.minecraft.world.entity.animal.horse with parameters of type Vec3Modifier and TypeMethodDescriptionprotected voidAbstractHorse.executeRidersJump(float pPlayerJumpPendingScale, Vec3 pTravelVector) private Vec3AbstractHorse.getDismountLocationInDirection(Vec3 pDirection, LivingEntity pPassenger) protected Vec3AbstractHorse.getRiddenInput(Player pPlayer, Vec3 pTravelVector) protected voidAbstractHorse.tickRidden(Player pPlayer, Vec3 pTravelVector) -
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.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 Vec3DragonChargePlayerPhase.targetLocationprivate Vec3DragonDeathPhase.targetLocationprivate Vec3DragonHoldingPatternPhase.targetLocationprivate Vec3DragonHoverPhase.targetLocationprivate Vec3DragonLandingApproachPhase.targetLocationprivate Vec3DragonLandingPhase.targetLocationprivate Vec3DragonStrafePlayerPhase.targetLocationprivate Vec3DragonTakeoffPhase.targetLocationMethods 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 TypeMethodDescriptionvoidWitherBoss.makeStuckInBlock(BlockState pState, Vec3 pMotionMultiplier) -
Uses of Vec3 in net.minecraft.world.entity.decoration
Methods in net.minecraft.world.entity.decoration that return Vec3Modifier and TypeMethodDescriptionArmorStand.getLightProbePosition(float pPartialTicks) LeashFenceKnotEntity.getRopeHoldPosition(float pPartialTicks) Painting.trackingPosition()Methods in net.minecraft.world.entity.decoration with parameters of type Vec3Modifier and TypeMethodDescriptionprivate EquipmentSlotArmorStand.getClickedSlot(Vec3 pVector) ArmorStand.interactAt(Player pPlayer, Vec3 pVec, InteractionHand pHand) Applies the given player interaction to this Entity.voidvoidvoid -
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) Vec3Phantom.moveTargetPointMethods in net.minecraft.world.entity.monster that return Vec3Modifier and TypeMethodDescriptionShulker.getDeltaMovement()Strider.getDismountLocationForPassenger(LivingEntity pLivingEntity) Vec3[]Illusioner.getIllusionOffsets(float pPartialTick) Strider.getLeashOffset()protected Vec3Slime.getPassengerAttachmentPoint(Entity pEntity, EntityDimensions pDimensions, float pPartialTick) protected Vec3Strider.getPassengerAttachmentPoint(Entity pEntity, EntityDimensions pDimensions, float pPartialTick) protected Vec3Strider.getRiddenInput(Player pPlayer, Vec3 pTravelVector) CaveSpider.getVehicleAttachmentPoint(Entity pEntity) Spider.getVehicleAttachmentPoint(Entity pEntity) private Vec3Drowned.DrownedGoToWaterGoal.getWaterPos()Methods in net.minecraft.world.entity.monster that return types with arguments of type Vec3Methods in net.minecraft.world.entity.monster with parameters of type Vec3Modifier and TypeMethodDescriptionprivate booleanprotected Vec3Strider.getRiddenInput(Player pPlayer, Vec3 pTravelVector) voidSpider.makeStuckInBlock(BlockState pState, Vec3 pMotionMultiplier) voidvoidvoidShulker.setDeltaMovement(Vec3 pDeltaMovement) protected voidStrider.tickRidden(Player pPlayer, Vec3 pTravelVector) voidvoid -
Uses of Vec3 in net.minecraft.world.entity.monster.breeze
Methods in net.minecraft.world.entity.monster.breeze that return Vec3Modifier and TypeMethodDescriptionstatic Vec3BreezeUtil.randomPointBehindTarget(LivingEntity pTarget, RandomSource pRandom) private static Vec3Slide.randomPointInMiddleCircle(Breeze pBreeze, LivingEntity pTarget) Methods in net.minecraft.world.entity.monster.breeze that return types with arguments of type Vec3Modifier and TypeMethodDescriptionLongJump.calculateOptimalJumpVector(Breeze pBreeze, RandomSource pRandom, Vec3 pTarget) Methods in net.minecraft.world.entity.monster.breeze with parameters of type Vec3Modifier and TypeMethodDescriptionLongJump.calculateOptimalJumpVector(Breeze pBreeze, RandomSource pRandom, Vec3 pTarget) static booleanBreezeUtil.hasLineOfSight(Breeze pBreeze, Vec3 pPos) private static BlockPosLongJump.snapToSurface(LivingEntity pOwner, Vec3 pTargetPos) booleanBreeze.withinInnerCircleRange(Vec3 pPos) -
Uses of Vec3 in net.minecraft.world.entity.monster.piglin
Methods in net.minecraft.world.entity.monster.piglin that return Vec3Modifier and TypeMethodDescriptionprivate static Vec3PiglinAi.getRandomNearbyPos(Piglin pPiglin) Methods in net.minecraft.world.entity.monster.piglin with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static voidPiglinAi.throwItemsTowardPos(Piglin pPiglin, List<ItemStack> pStacks, Vec3 pPos) -
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 voidWarden.applyDarknessAround(ServerLevel pLevel, Vec3 pPos, Entity pSource, int pRadius) -
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.currentImpulseImpactPosstatic final Vec3Player.DEFAULT_VEHICLE_ATTACHMENTMethods in net.minecraft.world.entity.player that return Vec3Modifier and TypeMethodDescriptionPlayer.getRopeHoldPosition(float pPartialTicks) protected Vec3Player.maybeBackOffFromEdge(Vec3 pVec, MoverType pMover) Methods in net.minecraft.world.entity.player with parameters of type Vec3Modifier and TypeMethodDescriptionvoidPlayer.makeStuckInBlock(BlockState pState, Vec3 pMotionMultiplier) protected Vec3Player.maybeBackOffFromEdge(Vec3 pVec, MoverType pMover) void -
Uses of Vec3 in net.minecraft.world.entity.projectile
Methods in net.minecraft.world.entity.projectile that return Vec3Modifier and TypeMethodDescriptionProjectile.getMovementToShoot(double pX, double pY, double pZ, float pVelocity, float pInaccuracy) Methods in net.minecraft.world.entity.projectile with parameters of type Vec3Modifier and TypeMethodDescriptionprivate voidAbstractHurtingProjectile.assignDirectionalMovement(Vec3 pMovement, double pAccelerationPower) protected EntityHitResultAbstractArrow.findHitEntity(Vec3 pStartVec, Vec3 pEndVec) Gets the EntityRayTraceResult representing the entity hitprotected EntityHitResultThrownTrident.findHitEntity(Vec3 pStartVec, Vec3 pEndVec) Gets the EntityHitResult representing the entity hitstatic EntityHitResultProjectileUtil.getEntityHitResult(Entity pShooter, Vec3 pStartVec, Vec3 pEndVec, AABB pBoundingBox, Predicate<Entity> pFilter, double pDistance) Gets the EntityRayTraceResult representing the entity hitstatic EntityHitResultProjectileUtil.getEntityHitResult(Level pLevel, Entity pProjectile, Vec3 pStartVec, Vec3 pEndVec, AABB pBoundingBox, Predicate<Entity> pFilter) Gets the EntityHitResult representing the entity hitstatic EntityHitResultProjectileUtil.getEntityHitResult(Level pLevel, Entity pProjectile, Vec3 pStartVec, Vec3 pEndVec, AABB pBoundingBox, Predicate<Entity> pFilter, float pInflationAmount) Gets the EntityHitResult representing the entity hitprivate static HitResultProjectileUtil.getHitResult(Vec3 pPos, Entity pProjectile, Predicate<Entity> pFilter, Vec3 pDeltaMovement, Level pLevel, float pMargin, ClipContext.Block pClipContext) voidprivate voidConstructors in net.minecraft.world.entity.projectile with parameters of type Vec3ModifierConstructorDescriptionAbstractHurtingProjectile(EntityType<? extends AbstractHurtingProjectile> pEntityType, double pX, double pY, double pZ, Vec3 pMovement, Level pLevel) AbstractHurtingProjectile(EntityType<? extends AbstractHurtingProjectile> pEntityType, LivingEntity pOwner, Vec3 pMovement, Level pLevel) DragonFireball(Level pLevel, LivingEntity pOwner, Vec3 pMovement) Fireball(EntityType<? extends Fireball> pEntityType, double pX, double pY, double pZ, Vec3 pMovement, Level pLevel) Fireball(EntityType<? extends Fireball> pEntityType, LivingEntity pOwner, Vec3 pMovement, Level pLevel) LargeFireball(Level pLevel, LivingEntity pOwner, Vec3 pMovement, int pExplosionPower) SmallFireball(Level pLevel, double pX, double pY, double pZ, Vec3 pMovement) SmallFireball(Level pLevel, LivingEntity pOwner, Vec3 pMovement) WitherSkull(Level pLevel, LivingEntity pOwner, Vec3 pMovement) -
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 voidprotected voidprotected voidConstructors in net.minecraft.world.entity.projectile.windcharge with parameters of type Vec3ModifierConstructorDescription(package private)AbstractWindCharge(EntityType<? extends AbstractWindCharge> pEntityType, double pX, double pY, double pZ, Vec3 pMovement, Level pLevel) WindCharge(Level pLevel, double pX, double pY, double pZ, Vec3 pMovement) -
Uses of Vec3 in net.minecraft.world.entity.vehicle
Fields in net.minecraft.world.entity.vehicle declared as Vec3Modifier and TypeFieldDescriptionprivate static final Vec3AbstractMinecart.LOWERED_PASSENGER_ATTACHMENTprivate Vec3AbstractMinecart.targetDeltaMovementMethods in net.minecraft.world.entity.vehicle that return Vec3Modifier and TypeMethodDescriptionstatic Vec3DismountHelper.findSafeDismountLocation(EntityType<?> pEntityType, CollisionGetter pLevel, BlockPos pPos, boolean pOnlySafePositions) AbstractMinecart.getDismountLocationForPassenger(LivingEntity pLivingEntity) Boat.getDismountLocationForPassenger(LivingEntity pLivingEntity) Boat.getLeashOffset()protected Vec3AbstractMinecart.getPassengerAttachmentPoint(Entity pEntity, EntityDimensions pDimensions, float pPartialTick) protected Vec3Boat.getPassengerAttachmentPoint(Entity pEntity, EntityDimensions pDimensions, float pPartialTick) AbstractMinecart.getPos(double pX, double pY, double pZ) MinecartCommandBlock.MinecartCommandBase.getPosition()AbstractMinecart.getPosOffs(double pX, double pY, double pZ, double pOffset) AbstractMinecart.getRelativePortalPosition(Direction.Axis pAxis, BlockUtil.FoundRectangle pPortal) Boat.getRelativePortalPosition(Direction.Axis pAxis, BlockUtil.FoundRectangle pPortal) ContainerEntity.position()Methods in net.minecraft.world.entity.vehicle with parameters of type Vec3Modifier and TypeMethodDescriptionstatic booleanDismountHelper.canDismountTo(CollisionGetter pLevel, Vec3 pOffset, LivingEntity pPassenger, Pose pPose) -
Uses of Vec3 in net.minecraft.world.item
Methods in net.minecraft.world.item that return Vec3Modifier and TypeMethodDescriptionprivate static Vec3FireworkRocketItem.getEntityPokingOutOfBlockPos(BlockSource p_338806_, Direction p_338706_) Methods in net.minecraft.world.item with parameters of type Vec3Modifier and TypeMethodDescriptionstatic BrushItem.DustParticlesDeltaBrushItem.DustParticlesDelta.fromDirection(Vec3 pPos, Direction pDirection) private static doubleMaceItem.getKnockbackPower(Player pPlayer, LivingEntity pEntity, Vec3 pEntityPos) private static org.joml.Vector3fCrossbowItem.getProjectileShotVector(LivingEntity pShooter, Vec3 pDistance, float pAngle) private voidBrushItem.spawnDustParticles(Level pLevel, BlockHitResult pHitResult, BlockState pState, Vec3 pPos, HumanoidArm pArm) SpawnEggItem.spawnOffspringFromSpawnEgg(Player pPlayer, Mob pMob, EntityType<? extends Mob> pEntityType, ServerLevel pServerLevel, Vec3 pPos, ItemStack pStack) -
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 LootContextEnchantment.blockHitContext(ServerLevel pLevel, int pEnchantmentLevel, Entity pEntity, Vec3 pOrigin, BlockState pState) static LootContextEnchantment.entityContext(ServerLevel pLevel, int pEnchantmentLevel, Entity pEntity, Vec3 pOrigin) voidEnchantment.onHitBlock(ServerLevel pLevel, int pEnchantmentLevel, EnchantedItemInUse pItem, Entity pEntity, Vec3 pPos, BlockState pState) static voidEnchantmentHelper.onHitBlock(ServerLevel pLevel, ItemStack pStack, LivingEntity pOwner, Entity pEntity, EquipmentSlot pSlot, Vec3 pPos, BlockState pState, Consumer<Item> pOnBreak) -
Uses of Vec3 in net.minecraft.world.item.enchantment.effects
Fields in net.minecraft.world.item.enchantment.effects declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3ExplodeEffect.offsetThe field for theoffsetrecord component.Methods in net.minecraft.world.item.enchantment.effects that return Vec3Modifier and TypeMethodDescriptionExplodeEffect.offset()Returns the value of theoffsetrecord component.Methods in net.minecraft.world.item.enchantment.effects with parameters of type Vec3Modifier and TypeMethodDescriptionvoidAllOf.EntityEffects.apply(ServerLevel p_346093_, int p_345940_, EnchantedItemInUse p_344929_, Entity p_345319_, Vec3 p_345200_) voidApplyMobEffect.apply(ServerLevel pLevel, int pEnchantmentLevel, EnchantedItemInUse pItem, Entity pEntity, Vec3 pOrigin) voidDamageEntity.apply(ServerLevel pLevel, int pEnchantmentLevel, EnchantedItemInUse pItem, Entity pEntity, Vec3 pOrigin) voidDamageItem.apply(ServerLevel pLevel, int pEnchantmentLevel, EnchantedItemInUse pItem, Entity pEntity, Vec3 pOrigin) voidEnchantmentEntityEffect.apply(ServerLevel pLevel, int pEnchantmentLevel, EnchantedItemInUse pItem, Entity pEntity, Vec3 pOrigin) voidExplodeEffect.apply(ServerLevel pLevel, int pEnchantmentLevel, EnchantedItemInUse pItem, Entity pEntity, Vec3 pOrigin) voidIgnite.apply(ServerLevel pLevel, int pEnchantmentLevel, EnchantedItemInUse pItem, Entity pEntity, Vec3 pOrigin) voidPlaySoundEffect.apply(ServerLevel pLevel, int pEnchantmentLevel, EnchantedItemInUse pItem, Entity pEntity, Vec3 pOrigin) voidReplaceBlock.apply(ServerLevel pLevel, int pEnchantmentLevel, EnchantedItemInUse pItem, Entity pEntity, Vec3 pOrigin) voidReplaceDisk.apply(ServerLevel pLevel, int pEnchantmentLevel, EnchantedItemInUse pItem, Entity pEntity, Vec3 pOrigin) voidRunFunction.apply(ServerLevel pLevel, int pEnchantmentLevel, EnchantedItemInUse pItem, Entity pEntity, Vec3 pOrigin) voidSetBlockProperties.apply(ServerLevel pLevel, int pEnchantmentLevel, EnchantedItemInUse pItem, Entity pEntity, Vec3 pOrigin) voidSpawnParticlesEffect.apply(ServerLevel pLevel, int pEnchantmentLevel, EnchantedItemInUse pItem, Entity pEntity, Vec3 pOrigin) voidSummonEntityEffect.apply(ServerLevel pLevel, int pEnchantmentLevel, EnchantedItemInUse pItem, Entity pEntity, Vec3 pOrigin) private DamageSourceExplodeEffect.getDamageSource(Entity pEntity, Vec3 pPos) voidAllOf.LocationBasedEffects.onChangedBlock(ServerLevel p_345329_, int p_345154_, EnchantedItemInUse p_344984_, Entity p_345671_, Vec3 p_344781_, boolean p_345113_) voidEnchantmentAttributeEffect.onChangedBlock(ServerLevel pLevel, int pEnchantmentLevel, EnchantedItemInUse pItem, Entity pEntity, Vec3 pPos, boolean pApplyTransientEffects) default voidEnchantmentEntityEffect.onChangedBlock(ServerLevel pLevel, int pEnchantmentLevel, EnchantedItemInUse pItem, Entity pEntity, Vec3 pPos, boolean pApplyTransientEffects) voidEnchantmentLocationBasedEffect.onChangedBlock(ServerLevel pLevel, int pEnchantmentLevel, EnchantedItemInUse pItem, Entity pEntity, Vec3 pPos, boolean pApplyTransientEffects) voidAllOf.LocationBasedEffects.onDeactivated(EnchantedItemInUse p_346024_, Entity p_346234_, Vec3 p_346036_, int p_345698_) voidEnchantmentAttributeEffect.onDeactivated(EnchantedItemInUse pItem, Entity pEntity, Vec3 pPos, int pEnchantmentLevel) default voidEnchantmentLocationBasedEffect.onDeactivated(EnchantedItemInUse pItem, Entity pEntity, Vec3 pPos, int pEnchantmentLevel) 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 aExplodeEffectrecord class. -
Uses of Vec3 in net.minecraft.world.level
Fields in net.minecraft.world.level declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3ClipBlockStateContext.fromprivate final Vec3ClipContext.fromprivate final Vec3ClipBlockStateContext.toprivate final Vec3ClipContext.toFields in net.minecraft.world.level with type parameters of type Vec3Methods in net.minecraft.world.level that return Vec3Modifier and TypeMethodDescriptionExplosion.center()ClipBlockStateContext.getFrom()ClipContext.getFrom()abstract Vec3BaseCommandBlock.getPosition()ClipBlockStateContext.getTo()ClipContext.getTo()Methods in net.minecraft.world.level that return types with arguments of type Vec3Modifier and TypeMethodDescriptionCollisionGetter.findFreePosition(Entity pEntity, VoxelShape pShape, Vec3 pPos, double pX, double pY, double pZ) Explosion.getHitPlayers()Methods in net.minecraft.world.level with parameters of type Vec3Modifier and TypeMethodDescriptiondefault BlockHitResultBlockGetter.clipWithInteractionOverride(Vec3 pStartVec, Vec3 pEndVec, BlockPos pPos, VoxelShape pShape, BlockState pState) Level.explode(Entity pSource, DamageSource pDamageSource, ExplosionDamageCalculator pDamageCalculator, Vec3 pPos, float pRadius, boolean pFire, Level.ExplosionInteraction pExplosionInteraction) CollisionGetter.findFreePosition(Entity pEntity, VoxelShape pShape, Vec3 pPos, double pX, double pY, double pZ) voidLevelAccessor.gameEvent(Holder<GameEvent> pGameEvent, Vec3 pPos, GameEvent.Context pContext) default voidstatic floatExplosion.getSeenPercent(Vec3 pExplosionVector, Entity pEntity) static <T,C> T BlockGetter.traverseBlocks(Vec3 pFrom, Vec3 pTo, C pContext, BiFunction<C, BlockPos, T> pTester, Function<C, T> pOnFail) Constructors in net.minecraft.world.level with parameters of type Vec3ModifierConstructorDescriptionClipBlockStateContext(Vec3 pFrom, Vec3 pTo, Predicate<BlockState> pBlock) ClipContext(Vec3 pFrom, Vec3 pTo, ClipContext.Block pBlock, ClipContext.Fluid pFluid, Entity pEntity) ClipContext(Vec3 pFrom, Vec3 pTo, ClipContext.Block pBlock, ClipContext.Fluid pFluid, CollisionContext pCollisionContext) -
Uses of Vec3 in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as Vec3Fields in net.minecraft.world.level.block with type parameters of type Vec3Methods in net.minecraft.world.level.block that return Vec3Modifier and TypeMethodDescriptionprivate static Vec3EndGatewayBlock.calculateExitMovement(Entity pEntity) SignBlock.getSignHitboxCenterPosition(BlockState pState) WallSignBlock.getSignHitboxCenterPosition(BlockState pState) Methods in net.minecraft.world.level.block that return types with arguments of type Vec3Modifier and TypeMethodDescriptionBedBlock.findBunkBedStandUpPosition(EntityType<?> pEntityType, CollisionGetter pCollisionGetter, BlockPos pPos, Direction pStateFacing, Direction pEntityFacing) BedBlock.findStandUpPosition(EntityType<?> pEntityType, CollisionGetter pCollisionGetter, BlockPos pPos, Direction pDirection, float pYRot) RespawnAnchorBlock.findStandUpPosition(EntityType<?> pEntityType, CollisionGetter pLevel, BlockPos pPos) RespawnAnchorBlock.findStandUpPosition(EntityType<?> pEntityType, CollisionGetter pLevel, BlockPos pPos, boolean pSimulate) BedBlock.findStandUpPositionAtOffset(EntityType<?> pEntityType, CollisionGetter pCollisionGetter, BlockPos pPos, int[][] pOffsets, boolean pSimulate) AbstractCandleBlock.getParticleOffsets(BlockState pState) CandleBlock.getParticleOffsets(BlockState pState) CandleCakeBlock.getParticleOffsets(BlockState pState) Methods in net.minecraft.world.level.block with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static voidAbstractCandleBlock.addParticlesAndSound(Level pLevel, Vec3 pOffset, RandomSource pRandom) private static DimensionTransitionNetherPortalBlock.createDimensionTransition(ServerLevel pLevel, BlockUtil.FoundRectangle pRectangle, Direction.Axis pAxis, Vec3 pOffset, Entity pEntity, Vec3 pSpeed, float pYRot, float pXRot, DimensionTransition.PostDimensionTransition pPostDimensionTransition) static PositionDispenserBlock.getDispensePosition(BlockSource pBlockSource, double pMultiplier, Vec3 pOffset) private static intTargetBlock.getRedstoneStrength(BlockHitResult pHit, Vec3 pHitLocation) private voidRedStoneWireBlock.spawnParticlesAlongLine(Level pLevel, RandomSource pRandom, BlockPos pPos, Vec3 pParticleVec, Direction pXDirection, Direction pZDirection, float pMin, float pMax) -
Uses of Vec3 in net.minecraft.world.level.block.entity
Methods in net.minecraft.world.level.block.entity that return Vec3Modifier and TypeMethodDescriptionprivate static Vec3TheEndGatewayBlockEntity.findExitPortalXZPosTentative(ServerLevel pLevel, BlockPos pPos) TheEndGatewayBlockEntity.getPortalPosition(ServerLevel pLevel, BlockPos pPos) Methods in net.minecraft.world.level.block.entity with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static voidAbstractFurnaceBlockEntity.createExperience(ServerLevel pLevel, Vec3 pPopVec, int pRecipeIndex, float pExperience) private static LevelChunkList<RecipeHolder<?>> AbstractFurnaceBlockEntity.getRecipesToAwardAndPopExperience(ServerLevel pLevel, Vec3 pPopVec) booleanSculkCatalystBlockEntity.CatalystListener.handleGameEvent(ServerLevel pLevel, Holder<GameEvent> pGameEvent, GameEvent.Context pContext, Vec3 pPos) private static booleanTheEndGatewayBlockEntity.isChunkEmpty(ServerLevel pLevel, Vec3 pPos) -
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 pEntity, ServerLevel pLevel) TrialSpawnerState.calculatePositionToSpawnSpawner(ServerLevel pLevel, BlockPos pPos, TrialSpawner pSpawner, TrialSpawnerData pSpawnerData) Methods in net.minecraft.world.level.block.entity.trialspawner with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static voidTrialSpawnerState.ParticleEmission.addParticle(SimpleParticleType pParticleType, Vec3 pPos, Level pLevel) private static booleanPlayerDetector.inLineOfSight(Level pLevel, Vec3 pPos, Vec3 pTargetPos) private static booleanTrialSpawner.inLineOfSight(Level pLevel, Vec3 pSpawnerPos, Vec3 pMobPos) -
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 Vec3VaultBlockEntity.Client.keyholePos(BlockPos pPos, Direction pFacing) private static Vec3VaultBlockEntity.Client.randomPosCenterOfCage(BlockPos pPos, RandomSource pRandom) private static Vec3VaultBlockEntity.Client.randomPosInsideCage(BlockPos pPos, RandomSource pRandom) Methods in net.minecraft.world.level.block.entity.vault with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static voidVaultBlockEntity.Client.emitConnectionParticlesForPlayer(Level pLevel, Vec3 pPos, Player pPlayer) -
Uses of Vec3 in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state that return Vec3Modifier and TypeMethodDescriptionBlockBehaviour.OffsetFunction.evaluate(BlockState pState, BlockGetter pLevel, BlockPos pPos) BlockBehaviour.BlockStateBase.getOffset(BlockGetter pLevel, BlockPos pPos) -
Uses of Vec3 in net.minecraft.world.level.border
Methods in net.minecraft.world.level.border with parameters of type Vec3Modifier and TypeMethodDescriptionWorldBorder.clampToBounds(Vec3 pPos) booleanWorldBorder.isWithinBounds(Vec3 pPos) -
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 pLevel) EntityPositionSource.getPosition(Level pLevel) PositionSource.getPosition(Level pLevel) EuclideanGameEventListenerRegistry.getPostableListenerPosition(ServerLevel pLevel, Vec3 pPos, GameEventListener pListener) Methods in net.minecraft.world.level.gameevent with parameters of type Vec3Modifier and TypeMethodDescriptionEuclideanGameEventListenerRegistry.getPostableListenerPosition(ServerLevel pLevel, Vec3 pPos, GameEventListener pListener) booleanGameEventListener.handleGameEvent(ServerLevel pLevel, Holder<GameEvent> pGameEvent, GameEvent.Context pContext, Vec3 pPos) voidGameEventDispatcher.post(Holder<GameEvent> pGameEvent, Vec3 pPos, GameEvent.Context pContext) voidGameEventListenerRegistry.ListenerVisitor.visit(GameEventListener pListener, Vec3 pPos) booleanEuclideanGameEventListenerRegistry.visitInRangeListeners(Holder<GameEvent> pGameEvent, Vec3 pPos, GameEvent.Context pContext, GameEventListenerRegistry.ListenerVisitor pVisitor) booleanGameEventListenerRegistry.visitInRangeListeners(Holder<GameEvent> pGameEvent, Vec3 pPos, GameEvent.Context pContext, GameEventListenerRegistry.ListenerVisitor pVisitor) Constructors in net.minecraft.world.level.gameevent with parameters of type Vec3ModifierConstructorDescriptionListenerInfo(Holder<GameEvent> pGameEvent, Vec3 pSource, GameEvent.Context pContext, GameEventListener pRecipient, Vec3 pPos) -
Uses of Vec3 in net.minecraft.world.level.gameevent.vibrations
Fields in net.minecraft.world.level.gameevent.vibrations declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3VibrationInfo.posThe field for theposrecord component.Methods in net.minecraft.world.level.gameevent.vibrations that return Vec3Modifier and TypeMethodDescriptionVibrationInfo.pos()Returns the value of theposrecord component.Methods in net.minecraft.world.level.gameevent.vibrations with parameters of type Vec3Modifier and TypeMethodDescriptionvoidVibrationSystem.Listener.forceScheduleVibration(ServerLevel pLevel, Holder<GameEvent> pGameEvent, GameEvent.Context pContext, Vec3 pPos) booleanVibrationSystem.Listener.handleGameEvent(ServerLevel pLevel, Holder<GameEvent> pGameEvent, GameEvent.Context pContext, Vec3 pPos) private static booleanVibrationSystem.Listener.isOccluded(Level pLevel, Vec3 pEventPos, Vec3 pVibrationUserPos) private voidVibrationSystem.Listener.scheduleVibration(ServerLevel pLevel, VibrationSystem.Data pData, Holder<GameEvent> pGameEvent, GameEvent.Context pContext, Vec3 pPos, Vec3 pSensorPos) 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 aVibrationInforecord 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 Vec3StructureTemplate.transform(Vec3 pTarget, Mirror pMirror, Rotation pRotation, BlockPos pCenterOffset) static Vec3StructureTemplate.transformedVec3d(StructurePlaceSettings placementIn, Vec3 pos) Methods in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type Vec3Modifier and TypeMethodDescriptionstatic Vec3StructureTemplate.transform(Vec3 pTarget, Mirror pMirror, Rotation pRotation, BlockPos pCenterOffset) static Vec3StructureTemplate.transformedVec3d(StructurePlaceSettings placementIn, Vec3 pos) Constructors in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type Vec3ModifierConstructorDescriptionStructureEntityInfo(Vec3 pPos, BlockPos pBlockPos, CompoundTag pNbt) -
Uses of Vec3 in net.minecraft.world.level.material
Methods in net.minecraft.world.level.material that return Vec3Modifier and TypeMethodDescriptionEmptyFluid.getFlow(BlockGetter pBlockReader, BlockPos pPos, FluidState pFluidState) FlowingFluid.getFlow(BlockGetter pBlockReader, BlockPos pPos, FluidState pFluidState) protected abstract Vec3Fluid.getFlow(BlockGetter pBlockReader, BlockPos pPos, FluidState pFluidState) FluidState.getFlow(BlockGetter pLevel, BlockPos pPos) -
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 pEntity, int pIndex) Gets the vector of theNodeassociated with the given index.Path.getNextEntityPos(Entity pEntity) -
Uses of Vec3 in net.minecraft.world.level.portal
Fields in net.minecraft.world.level.portal declared as Vec3Modifier and TypeFieldDescriptionprivate final Vec3DimensionTransition.posThe field for theposrecord component.private final Vec3DimensionTransition.speedThe field for thespeedrecord component.Methods in net.minecraft.world.level.portal that return Vec3Modifier and TypeMethodDescriptionprivate static Vec3DimensionTransition.findAdjustedSharedSpawnPos(ServerLevel pNewLevel, Entity pEntity) static Vec3PortalShape.findCollisionFreePosition(Vec3 pPos, ServerLevel pLevel, Entity pEntity, EntityDimensions pDimensions) static Vec3PortalShape.getRelativePosition(BlockUtil.FoundRectangle pFoundRectangle, Direction.Axis pAxis, Vec3 pPos, EntityDimensions pEntityDimensions) DimensionTransition.pos()Returns the value of theposrecord component.DimensionTransition.speed()Returns the value of thespeedrecord component.Methods in net.minecraft.world.level.portal with parameters of type Vec3Modifier and TypeMethodDescriptionstatic Vec3PortalShape.findCollisionFreePosition(Vec3 pPos, ServerLevel pLevel, Entity pEntity, EntityDimensions pDimensions) static Vec3PortalShape.getRelativePosition(BlockUtil.FoundRectangle pFoundRectangle, Direction.Axis pAxis, Vec3 pPos, EntityDimensions pEntityDimensions) Constructors in net.minecraft.world.level.portal with parameters of type Vec3ModifierConstructorDescriptionDimensionTransition(ServerLevel newLevel, Vec3 pos, Vec3 speed, float yRot, float xRot, boolean missingRespawnBlock, DimensionTransition.PostDimensionTransition postDimensionTransition) Creates an instance of aDimensionTransitionrecord class.DimensionTransition(ServerLevel p_348637_, Vec3 p_348645_, Vec3 p_348472_, float p_348548_, float p_348664_, DimensionTransition.PostDimensionTransition p_352139_) -
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 Vec3HitResult.locationstatic final Vec3Vec3.ZEROFields in net.minecraft.world.phys with type parameters of type Vec3Methods in net.minecraft.world.phys that return Vec3Modifier and TypeMethodDescriptionVec3.add(double pX, double pY, double pZ) Adds the specified x,y,z vector components to this vector and returns the resulting vector.Vec3.align(EnumSet<Direction.Axis> pAxes) static Vec3Vec3.atBottomCenterOf(Vec3i pToCopy) Copies the coordinates of an int vector and centers them horizontally (x and z)static Vec3Vec3.atCenterOf(Vec3i pToCopy) Copies the coordinates of an Int vector and centers them.static Vec3Vec3.atLowerCornerOf(Vec3i pToCopy) Copies the coordinates of an int vector exactly.static Vec3Vec3.atLowerCornerWithOffset(Vec3i pToCopy, double pOffsetX, double pOffsetY, double pOffsetZ) Returns a new vector with the result of this vector x the specified vector.static Vec3Vec3.directionFromRotation(float pPitch, float pYaw) Returns aVec3from the given pitch and yaw degrees.static Vec3Vec3.directionFromRotation(Vec2 pVec) static Vec3Vec3.fromRGB24(int pPacked) AABB.getBottomCenter()AABB.getCenter()HitResult.getLocation()AABB.getMaxPosition()AABB.getMinPosition()Lerps between this vector and the given vector.Vec3.multiply(double pFactorX, double pFactorY, double pFactorZ) Vec3.normalize()Vec3.offsetRandom(RandomSource pRandom, float pFactor) Vec3.reverse()Vec3.scale(double pFactor) Vec3.subtract(double pX, double pY, double pZ) static Vec3Vec3.upFromBottomCenterOf(Vec3i pToCopy, double pVerticalOffset) Copies the coordinates of an int vector and centers them horizontally and applies a vertical offset.Returns a new vector with the result of the specified vector minus this.Vec3.with(Direction.Axis pAxis, double pLength) Vec3.xRot(float pPitch) Vec3.yRot(float pYaw) Vec3.zRot(float pRoll) Methods in net.minecraft.world.phys that return types with arguments of type Vec3Methods in net.minecraft.world.phys with parameters of type Vec3Modifier and TypeMethodDescriptionstatic BlockHitResultbooleanVec3.closerThan(Vec3 pPos, double pHorizontalDistance, double pVerticalDistance) booleanReturns if the supplied Vec3D is completely inside the bounding boxReturns a new vector with the result of this vector x the specified vector.doubleVec3.distanceTo(Vec3 pVec) Euclidean distance between this and the specified vector, returned as double.doubleAABB.distanceToSqr(Vec3 pVec) doubleVec3.distanceToSqr(Vec3 pVec) The square of the Euclidean distance between this and the specified vector.doubleAABB.expandTowards(Vec3 pVector) private static DirectionAABB.getDirection(AABB pAabb, Vec3 pStart, double[] pMinDistance, Direction pFacing, double pDeltaX, double pDeltaY, double pDeltaZ) booleanAABB.intersects(Vec3 pMin, Vec3 pMax) Lerps between this vector and the given vector.static BlockHitResultCreates a new BlockRayTraceResult marked as a miss.static AABBstatic AABBAABB.unitCubeFromLowerCorner(Vec3 pVector) Returns a new vector with the result of the specified vector minus this.Constructors in net.minecraft.world.phys with parameters of type Vec3ModifierConstructorDescriptionprivateBlockHitResult(boolean pMiss, Vec3 pLocation, Direction pDirection, BlockPos pBlockPos, boolean pInside) BlockHitResult(Vec3 pLocation, Direction pDirection, BlockPos pBlockPos, boolean pInside) EntityHitResult(Entity pEntity, Vec3 pLocation) protected -
Uses of Vec3 in net.minecraft.world.phys.shapes
Methods in net.minecraft.world.phys.shapes that return types with arguments of type Vec3Methods in net.minecraft.world.phys.shapes with parameters of type Vec3 -
Uses of Vec3 in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client with parameters of type Vec3Modifier and TypeMethodDescriptionprivate static voidBlockEntityRenderBoundsDebugRenderer.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.customWaterHandlerMethods 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 doubleFarmlandWaterManager.getDistanceSq(ChunkPos pos, Vec3 vec3d) static @Nullable InteractionResultCommonHooks.onInteractEntityAt(Player player, Entity entity, Vec3 vec3d, InteractionHand hand) static booleanCommonHooks.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 TypeMethodDescriptionbooleanPiglinNeutralArmorEntityPredicate.matches(Entity entity, ServerLevel level, @Nullable Vec3 position) booleanSnowBootsEntityPredicate.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 BlockStateIBlockExtension.getStateAtViewpoint(BlockState state, BlockGetter level, BlockPos pos, Vec3 viewpoint) Used to determine the state 'viewed' by an entity (seeCamera.getBlockAtCamera()).default BlockStateIBlockStateExtension.getStateAtViewpoint(BlockGetter level, BlockPos pos, Vec3 viewpoint) Used to determine the state 'viewed' by an entity (seeCamera.getBlockAtCamera()).default booleanIFluidExtension.move(FluidState state, LivingEntity entity, Vec3 movementVector, double gravity) Performs how an entity moves when within the fluid.default booleanIFluidStateExtension.move(LivingEntity entity, Vec3 movementVector, double gravity) Performs how an entity moves when within the fluid.default booleanILivingEntityExtension.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 Vec3PlayLevelSoundEvent.AtPosition.positionprivate final Vec3VanillaGameEvent.positionMethods in net.neoforged.neoforge.event that return Vec3Modifier and TypeMethodDescriptionVanillaGameEvent.getEventPosition()static Vec3EventHooks.getExplosionKnockback(Level level, Explosion explosion, Entity entity, Vec3 initialVelocity) 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 Vec3EventHooks.getExplosionKnockback(Level level, Explosion explosion, Entity entity, Vec3 initialVelocity) 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 Vec3PlayerInteractEvent.EntityInteractSpecific.localPosMethods 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 TypeMethodDescriptionvoidExplosionKnockbackEvent.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, Explosion explosion, Entity entity, Vec3 knockbackVelocity) -
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 TypeMethodDescriptionbooleanFluidType.move(FluidState state, LivingEntity entity, Vec3 movementVector, double gravity) Performs how an entity moves when within the fluid.