Uses of Class
com.mojang.math.Vector3f
Packages that use Vector3f
Package
Description
Extension interfaces for
client
-only classes.-
Uses of Vector3f in com.mojang.blaze3d.audio
Methods in com.mojang.blaze3d.audio with parameters of type Vector3fModifier and TypeMethodDescriptionvoid
Listener.setListenerOrientation
(Vector3f p_83742_, Vector3f p_83743_) -
Uses of Vector3f in com.mojang.blaze3d.platform
Fields in com.mojang.blaze3d.platform declared as Vector3fModifier and TypeFieldDescriptionprivate static final Vector3f
Lighting.DIFFUSE_LIGHT_0
private static final Vector3f
Lighting.DIFFUSE_LIGHT_1
private static final Vector3f
Lighting.INVENTORY_DIFFUSE_LIGHT_0
private static final Vector3f
Lighting.INVENTORY_DIFFUSE_LIGHT_1
private static final Vector3f
Lighting.NETHER_DIFFUSE_LIGHT_0
private static final Vector3f
Lighting.NETHER_DIFFUSE_LIGHT_1
Methods in com.mojang.blaze3d.platform with parameters of type Vector3fModifier and TypeMethodDescriptionstatic void
GlStateManager.setupGui3DDiffuseLighting
(Vector3f p_84361_, Vector3f p_84362_) static void
GlStateManager.setupGuiFlatDiffuseLighting
(Vector3f p_84288_, Vector3f p_84289_) static void
GlStateManager.setupLevelDiffuseLighting
(Vector3f p_84291_, Vector3f p_84292_, Matrix4f p_84293_) -
Uses of Vector3f in com.mojang.blaze3d.shaders
Methods in com.mojang.blaze3d.shaders with parameters of type Vector3f -
Uses of Vector3f in com.mojang.blaze3d.systems
Fields in com.mojang.blaze3d.systems declared as Vector3fModifier and TypeFieldDescriptionprivate static final Vector3f[]
RenderSystem.shaderLightDirections
Methods in com.mojang.blaze3d.systems with parameters of type Vector3fModifier and TypeMethodDescriptionstatic void
RenderSystem._setShaderLights
(Vector3f p_157174_, Vector3f p_157175_) static void
RenderSystem.setShaderLights
(Vector3f p_157451_, Vector3f p_157452_) static void
RenderSystem.setupGui3DDiffuseLighting
(Vector3f p_69909_, Vector3f p_69910_) static void
RenderSystem.setupGuiFlatDiffuseLighting
(Vector3f p_69912_, Vector3f p_69913_) static void
RenderSystem.setupLevelDiffuseLighting
(Vector3f p_69915_, Vector3f p_69916_, Matrix4f p_69917_) -
Uses of Vector3f in com.mojang.blaze3d.vertex
Fields in com.mojang.blaze3d.vertex declared as Vector3fModifier and TypeFieldDescriptionprivate Vector3f[]
BufferBuilder.sortingPoints
(package private) final Vector3f[]
BufferBuilder.SortState.sortingPoints
Methods in com.mojang.blaze3d.vertex that return Vector3fConstructors in com.mojang.blaze3d.vertex with parameters of type Vector3fModifierConstructorDescription(package private)
SortState
(VertexFormat.Mode p_166824_, int p_166825_, Vector3f[] p_166826_, float p_166827_, float p_166828_, float p_166829_) -
Uses of Vector3f in com.mojang.math
Fields in com.mojang.math declared as Vector3fModifier and TypeFieldDescriptionprivate Vector3f
Transformation.scale
private Vector3f
Transformation.translation
static Vector3f
Vector3f.XN
static Vector3f
Vector3f.XP
static Vector3f
Vector3f.YN
static Vector3f
Vector3f.YP
static Vector3f
Vector3f.ZERO
static Vector3f
Vector3f.ZN
static Vector3f
Vector3f.ZP
Fields in com.mojang.math with type parameters of type Vector3fModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Vector3f>
Vector3f.CODEC
Methods in com.mojang.math that return Vector3fModifier and TypeMethodDescriptionVector3f.copy()
Transformation.getScale()
Transformation.getTranslation()
Quaternion.toXYZ()
Quaternion.toXYZDegrees()
Quaternion.toYXZ()
Quaternion.toYXZDegrees()
Methods in com.mojang.math that return types with arguments of type Vector3fModifier and TypeMethodDescriptionorg.apache.commons.lang3.tuple.Triple<Quaternion,
Vector3f, Quaternion> Matrix3f.svdDecompose()
Methods in com.mojang.math with parameters of type Vector3fModifier and TypeMethodDescriptionvoid
void
private static Matrix4f
Transformation.compose
(Vector3f p_121099_, Quaternion p_121100_, Vector3f p_121101_, Quaternion p_121102_) void
float
static Quaternion
static Quaternion
Quaternion.fromXYZDegrees
(Vector3f p_175226_) void
void
void
void
void
Constructors in com.mojang.math with parameters of type Vector3fModifierConstructorDescriptionQuaternion
(Vector3f p_80137_, float p_80138_, boolean p_80139_) Transformation
(Vector3f p_121089_, Quaternion p_121090_, Vector3f p_121091_, Quaternion p_121092_) -
Uses of Vector3f in net.minecraft.client
Fields in net.minecraft.client declared as Vector3fModifier and TypeFieldDescriptionprivate final Vector3f
Camera.forwards
private final Vector3f
Camera.left
private final Vector3f
Camera.up
Methods in net.minecraft.client that return Vector3fModifier and TypeMethodDescriptionfinal Vector3f
Camera.getLeftVector()
final Vector3f
Camera.getLookVector()
final Vector3f
Camera.getUpVector()
-
Uses of Vector3f in net.minecraft.client.animation
Fields in net.minecraft.client.animation declared as Vector3fModifier and TypeFieldDescriptionprivate final Vector3f
Keyframe.target
The field for thetarget
record component.Methods in net.minecraft.client.animation that return Vector3fModifier and TypeMethodDescriptionAnimationChannel.Interpolation.apply
(Vector3f p_232223_, float p_232224_, Keyframe[] p_232225_, int p_232226_, int p_232227_, float p_232228_) static Vector3f
KeyframeAnimations.degreeVec
(float p_232332_, float p_232333_, float p_232334_) static Vector3f
KeyframeAnimations.posVec
(float p_232303_, float p_232304_, float p_232305_) static Vector3f
KeyframeAnimations.scaleVec
(double p_232299_, double p_232300_, double p_232301_) Keyframe.target()
Returns the value of thetarget
record component.Methods in net.minecraft.client.animation with parameters of type Vector3fModifier and TypeMethodDescriptionstatic void
KeyframeAnimations.animate
(HierarchicalModel<?> p_232320_, AnimationDefinition p_232321_, long p_232322_, float p_232323_, Vector3f p_232324_) AnimationChannel.Interpolation.apply
(Vector3f p_232223_, float p_232224_, Keyframe[] p_232225_, int p_232226_, int p_232227_, float p_232228_) void
Constructors in net.minecraft.client.animation with parameters of type Vector3fModifierConstructorDescriptionKeyframe
(float timestamp, Vector3f target, AnimationChannel.Interpolation interpolation) Creates an instance of aKeyframe
record class. -
Uses of Vector3f in net.minecraft.client.gui
Fields in net.minecraft.client.gui declared as Vector3f -
Uses of Vector3f in net.minecraft.client.model
Fields in net.minecraft.client.model declared as Vector3fModifier and TypeFieldDescriptionprivate static final Vector3f
HierarchicalModel.ANIMATION_VECTOR_CACHE
Methods in net.minecraft.client.model that return Vector3fModifier and TypeMethodDescriptionprivate Vector3f
AxolotlModel.getRotationVector
(ModelPart p_170402_) Methods in net.minecraft.client.model with parameters of type Vector3fModifier and TypeMethodDescriptionprivate void
AxolotlModel.setRotationFromVector
(ModelPart p_170409_, Vector3f p_170410_) -
Uses of Vector3f in net.minecraft.client.model.geom
Fields in net.minecraft.client.model.geom declared as Vector3fModifier and TypeFieldDescriptionfinal Vector3f
ModelPart.Polygon.normal
final Vector3f
ModelPart.Vertex.pos
Methods in net.minecraft.client.model.geom with parameters of type Vector3fModifier and TypeMethodDescriptionvoid
void
ModelPart.offsetRotation
(Vector3f p_233568_) void
ModelPart.offsetScale
(Vector3f p_233571_) Constructors in net.minecraft.client.model.geom with parameters of type Vector3f -
Uses of Vector3f in net.minecraft.client.model.geom.builders
Fields in net.minecraft.client.model.geom.builders declared as Vector3fModifier and TypeFieldDescriptionprivate final Vector3f
CubeDefinition.dimensions
private final Vector3f
CubeDefinition.origin
-
Uses of Vector3f in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as Vector3fModifier and TypeFieldDescriptionprivate final Vector3f
DustColorTransitionParticle.fromColor
private static final Vector3f
ShriekParticle.ROTATION_VECTOR
private final Vector3f
DustColorTransitionParticle.toColor
private static final Vector3f
ShriekParticle.TRANSFORM_VECTOR
Methods in net.minecraft.client.particle that return Vector3fModifier and TypeMethodDescriptionprivate Vector3f
DustColorTransitionParticle.randomizeColor
(Vector3f p_172067_, float p_172068_) Methods in net.minecraft.client.particle with parameters of type Vector3fModifier and TypeMethodDescriptionprivate void
ShriekParticle.makeCornerVertex
(VertexConsumer p_233994_, Vector3f p_233995_, float p_233996_, float p_233997_, int p_233998_) private Vector3f
DustColorTransitionParticle.randomizeColor
(Vector3f p_172067_, float p_172068_) -
Uses of Vector3f in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model declared as Vector3fModifier and TypeFieldDescriptionstatic final Vector3f
ItemTransform.Deserializer.DEFAULT_ROTATION
static final Vector3f
ItemTransform.Deserializer.DEFAULT_SCALE
static final Vector3f
ItemTransform.Deserializer.DEFAULT_TRANSLATION
final Vector3f
BlockElement.from
final Vector3f
BlockElementRotation.origin
final Vector3f
ItemTransform.rightRotation
final Vector3f
ItemTransform.rotation
final Vector3f
ItemTransform.scale
final Vector3f
BlockElement.to
final Vector3f
ItemTransform.translation
Methods in net.minecraft.client.renderer.block.model that return Vector3fModifier and TypeMethodDescriptionprivate Vector3f
BlockElement.Deserializer.getFrom
(com.google.gson.JsonObject p_111353_) private Vector3f
BlockElement.Deserializer.getTo
(com.google.gson.JsonObject p_111347_) private Vector3f
BlockElement.Deserializer.getVector3f
(com.google.gson.JsonObject p_111335_, String p_111336_) private Vector3f
ItemTransform.Deserializer.getVector3f
(com.google.gson.JsonObject p_111779_, String p_111780_, Vector3f p_111781_) Methods in net.minecraft.client.renderer.block.model with parameters of type Vector3fModifier and TypeMethodDescriptionprivate void
FaceBakery.applyElementRotation
(Vector3f p_111587_, BlockElementRotation p_111588_) void
FaceBakery.applyModelRotation
(Vector3f p_111590_, Transformation p_111591_) FaceBakery.bakeQuad
(Vector3f p_111601_, Vector3f p_111602_, BlockElementFace p_111603_, TextureAtlasSprite p_111604_, Direction p_111605_, ModelState p_111606_, BlockElementRotation p_111607_, boolean p_111608_, ResourceLocation p_111609_) private void
FaceBakery.fillVertex
(int[] p_111615_, int p_111616_, Vector3f p_111617_, TextureAtlasSprite p_111618_, BlockFaceUV p_111619_) private Vector3f
ItemTransform.Deserializer.getVector3f
(com.google.gson.JsonObject p_111779_, String p_111780_, Vector3f p_111781_) private void
FaceBakery.rotateVertexBy
(Vector3f p_111596_, Vector3f p_111597_, Matrix4f p_111598_, Vector3f p_111599_) private float[]
FaceBakery.setupShape
(Vector3f p_111593_, Vector3f p_111594_) Constructors in net.minecraft.client.renderer.block.model with parameters of type Vector3fModifierConstructorDescriptionBlockElement
(Vector3f p_111314_, Vector3f p_111315_, Map<Direction, BlockElementFace> p_111316_, BlockElementRotation p_111317_, boolean p_111318_) BlockElementRotation
(Vector3f p_111383_, Direction.Axis p_111384_, float p_111385_, boolean p_111386_) ItemTransform
(Vector3f p_111760_, Vector3f p_111761_, Vector3f p_111762_) ItemTransform
(Vector3f p_111760_, Vector3f p_111761_, Vector3f p_111762_, Vector3f rightRotation) -
Uses of Vector3f in net.minecraft.client.renderer.debug
Methods in net.minecraft.client.renderer.debug that return Vector3fModifier and TypeMethodDescriptionprivate Vector3f
HeightMapRenderer.getColor
(Heightmap.Types p_113574_) -
Uses of Vector3f in net.minecraft.core
Methods in net.minecraft.core that return Vector3f -
Uses of Vector3f in net.minecraft.core.particles
Fields in net.minecraft.core.particles declared as Vector3fModifier and TypeFieldDescriptionprotected final Vector3f
DustParticleOptionsBase.color
static final Vector3f
DustParticleOptions.REDSTONE_PARTICLE_COLOR
static final Vector3f
DustColorTransitionOptions.SCULK_PARTICLE_COLOR
private final Vector3f
DustColorTransitionOptions.toColor
Methods in net.minecraft.core.particles that return Vector3fModifier and TypeMethodDescriptionDustParticleOptionsBase.getColor()
DustColorTransitionOptions.getFromColor()
DustColorTransitionOptions.getToColor()
static Vector3f
DustParticleOptionsBase.readVector3f
(com.mojang.brigadier.StringReader p_175807_) static Vector3f
DustParticleOptionsBase.readVector3f
(FriendlyByteBuf p_175811_) Constructors in net.minecraft.core.particles with parameters of type Vector3fModifierConstructorDescriptionDustColorTransitionOptions
(Vector3f p_175758_, Vector3f p_175759_, float p_175760_) DustParticleOptions
(Vector3f p_175790_, float p_175791_) DustParticleOptionsBase
(Vector3f p_175803_, float p_175804_) -
Uses of Vector3f in net.minecraft.world.entity
Methods in net.minecraft.world.entity that return types with arguments of type Vector3f -
Uses of Vector3f in net.minecraft.world.entity.animal.axolotl
Fields in net.minecraft.world.entity.animal.axolotl with type parameters of type Vector3fMethods in net.minecraft.world.entity.animal.axolotl that return types with arguments of type Vector3f -
Uses of Vector3f in net.minecraft.world.entity.monster
Fields in net.minecraft.world.entity.monster declared as Vector3fMethods in net.minecraft.world.entity.monster that return Vector3fModifier and TypeMethodDescriptiondefault Vector3f
CrossbowAttackMob.getProjectileShotVector
(LivingEntity p_32333_, Vec3 p_32334_, float p_32335_) -
Uses of Vector3f in net.minecraft.world.phys
Constructors in net.minecraft.world.phys with parameters of type Vector3f -
Uses of Vector3f in net.minecraftforge.client
Methods in net.minecraftforge.client that return Vector3fModifier and TypeMethodDescriptionstatic Vector3f
ForgeHooksClient.getFogColor
(Camera camera, float partialTick, ClientLevel level, int renderDistance, float darkenWorldAmount, float fogRed, float fogGreen, float fogBlue) private static Vector3f
ForgeHooksClient.getVertexPos
(int[] data, int vertex) -
Uses of Vector3f in net.minecraftforge.client.extensions
Methods in net.minecraftforge.client.extensions with parameters of type Vector3fModifier and TypeMethodDescriptiondefault void
IForgeDimensionSpecialEffects.adjustLightmapColors
(ClientLevel level, float partialTicks, float skyDarken, float blockLightRedFlicker, float skyLight, int pixelX, int pixelY, Vector3f colors) Allows for manipulating the coloring of the lightmap texture.default void
IForgeVertexConsumer.applyBakedNormals
(Vector3f generated, ByteBuffer data, Matrix3f normalTransform) default Transformation
IForgeTransformation.applyOrigin
(Vector3f origin) Returns a new transformation with a changed origin by applying the given parameter (which is relative to the current origin).default void
IForgeTransformation.transformNormal
(Vector3f normal) Transforms the normal according to this transformation and normalizes it. -
Uses of Vector3f in net.minecraftforge.client.extensions.common
Methods in net.minecraftforge.client.extensions.common that return Vector3fModifier and TypeMethodDescriptiondefault @NotNull Vector3f
IClientFluidTypeExtensions.modifyFogColor
(Camera camera, float partialTick, ClientLevel level, int renderDistance, float darkenWorldAmount, Vector3f fluidFogColor) Modifies the color of the fog when the camera is within the fluid.Methods in net.minecraftforge.client.extensions.common with parameters of type Vector3fModifier and TypeMethodDescriptiondefault @NotNull Vector3f
IClientFluidTypeExtensions.modifyFogColor
(Camera camera, float partialTick, ClientLevel level, int renderDistance, float darkenWorldAmount, Vector3f fluidFogColor) Modifies the color of the fog when the camera is within the fluid. -
Uses of Vector3f in net.minecraftforge.client.model.generators
Fields in net.minecraftforge.client.model.generators declared as Vector3fModifier and TypeFieldDescriptionprivate Vector3f
ModelBuilder.ElementBuilder.from
private static final Vector3f
BlockModelBuilder.RootTransformBuilder.ONE
private Vector3f
ModelBuilder.ElementBuilder.RotationBuilder.origin
private @Nullable Vector3f
BlockModelBuilder.RootTransformBuilder.originVec
private Vector3f
ModelBuilder.TransformsBuilder.TransformVecBuilder.rightRotation
private Vector3f
ModelBuilder.TransformsBuilder.TransformVecBuilder.rotation
private Vector3f
BlockModelBuilder.RootTransformBuilder.scale
private Vector3f
ModelBuilder.TransformsBuilder.TransformVecBuilder.scale
private Vector3f
ModelBuilder.ElementBuilder.to
private Vector3f
BlockModelBuilder.RootTransformBuilder.translation
private Vector3f
ModelBuilder.TransformsBuilder.TransformVecBuilder.translation
private final Vector3f
BlockModelBuilder.RootTransformBuilder.TransformOrigin.vec
Methods in net.minecraftforge.client.model.generators that return Vector3fModifier and TypeMethodDescriptionBlockModelBuilder.RootTransformBuilder.TransformOrigin.getVector()
Methods in net.minecraftforge.client.model.generators with parameters of type Vector3fModifier and TypeMethodDescriptionSets the origin of the root transform.Sets the scale of the root transform.private com.google.gson.JsonArray
ModelBuilder.serializeVector3f
(Vector3f vec) BlockModelBuilder.RootTransformBuilder.translation
(Vector3f translation) Sets the translation of the root transform.private void
ModelBuilder.ElementBuilder.validatePosition
(Vector3f pos) private com.google.gson.JsonArray
Constructors in net.minecraftforge.client.model.generators with parameters of type Vector3f -
Uses of Vector3f in net.minecraftforge.client.model.obj
Fields in net.minecraftforge.client.model.obj with type parameters of type Vector3fMethods in net.minecraftforge.client.model.obj that return Vector3fModifier and TypeMethodDescriptionprivate static Vector3f
ObjModel.parseVector3
(String[] line) private static Vector3f
ObjModel.parseVector4To3
(String[] line) -
Uses of Vector3f in net.minecraftforge.client.model.pipeline
Fields in net.minecraftforge.client.model.pipeline declared as Vector3f -
Uses of Vector3f in net.minecraftforge.common.util
Methods in net.minecraftforge.common.util that return Vector3fModifier and TypeMethodDescriptionstatic Vector3f
private static Vector3f
TransformationHelper.Deserializer.parseOrigin
(com.google.gson.JsonObject obj) Methods in net.minecraftforge.common.util with parameters of type Vector3fModifier and TypeMethodDescriptionstatic Vector3f
static Quaternion
TransformationHelper.quatFromXYZ
(Vector3f xyz, boolean degrees)