Uses of Class
com.mojang.math.Vector3f
Package
Description
Extension interfaces for
client
-only classes.-
Uses of Vector3f in com.mojang.blaze3d.audio
Modifier and TypeMethodDescriptionvoid
Listener.setListenerOrientation
(Vector3f p_83742_, Vector3f p_83743_) -
Uses of Vector3f in com.mojang.blaze3d.platform
Modifier 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
Modifier 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
-
Uses of Vector3f in com.mojang.blaze3d.systems
Modifier and TypeFieldDescriptionprivate static final Vector3f[]
RenderSystem.shaderLightDirections
Modifier 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
Modifier and TypeFieldDescriptionprivate Vector3f[]
BufferBuilder.sortingPoints
(package private) final Vector3f[]
BufferBuilder.SortState.sortingPoints
ModifierConstructorDescription(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
Modifier 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
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Vector3f>
Vector3f.CODEC
Modifier and TypeMethodDescriptionVector3f.copy()
Transformation.getScale()
Transformation.getTranslation()
Quaternion.toXYZ()
Quaternion.toXYZDegrees()
Quaternion.toYXZ()
Quaternion.toYXZDegrees()
Modifier and TypeMethodDescriptionorg.apache.commons.lang3.tuple.Triple<Quaternion,
Vector3f, Quaternion> Matrix3f.svdDecompose()
Modifier 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
ModifierConstructorDescriptionQuaternion
(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
Modifier and TypeFieldDescriptionprivate final Vector3f
Camera.forwards
private final Vector3f
Camera.left
private final Vector3f
Camera.up
Modifier and TypeMethodDescriptionfinal Vector3f
Camera.getLeftVector()
final Vector3f
Camera.getLookVector()
final Vector3f
Camera.getUpVector()
-
Uses of Vector3f in net.minecraft.client.animation
Modifier and TypeFieldDescriptionprivate final Vector3f
Keyframe.target
The field for thetarget
record component.Modifier 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.Modifier 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
ModifierConstructorDescriptionKeyframe
(float timestamp, Vector3f target, AnimationChannel.Interpolation interpolation) Creates an instance of aKeyframe
record class. -
Uses of Vector3f in net.minecraft.client.gui
-
Uses of Vector3f in net.minecraft.client.model
Modifier and TypeFieldDescriptionprivate static final Vector3f
HierarchicalModel.ANIMATION_VECTOR_CACHE
Modifier and TypeMethodDescriptionprivate Vector3f
AxolotlModel.getRotationVector
(ModelPart p_170402_) Modifier and TypeMethodDescriptionprivate void
AxolotlModel.setRotationFromVector
(ModelPart p_170409_, Vector3f p_170410_) -
Uses of Vector3f in net.minecraft.client.model.geom
Modifier and TypeFieldDescriptionfinal Vector3f
ModelPart.Polygon.normal
final Vector3f
ModelPart.Vertex.pos
Modifier and TypeMethodDescriptionvoid
void
ModelPart.offsetRotation
(Vector3f p_233568_) void
ModelPart.offsetScale
(Vector3f p_233571_) -
Uses of Vector3f in net.minecraft.client.model.geom.builders
Modifier and TypeFieldDescriptionprivate final Vector3f
CubeDefinition.dimensions
private final Vector3f
CubeDefinition.origin
-
Uses of Vector3f in net.minecraft.client.particle
Modifier 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
Modifier and TypeMethodDescriptionprivate Vector3f
DustColorTransitionParticle.randomizeColor
(Vector3f p_172067_, float p_172068_) Modifier 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
Modifier 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
Modifier 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_) Modifier 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_) ModifierConstructorDescriptionBlockElement
(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
Modifier and TypeMethodDescriptionprivate Vector3f
HeightMapRenderer.getColor
(Heightmap.Types p_113574_) -
Uses of Vector3f in net.minecraft.core
-
Uses of Vector3f in net.minecraft.core.particles
Modifier 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
Modifier and TypeMethodDescriptionDustParticleOptionsBase.getColor()
DustColorTransitionOptions.getFromColor()
DustColorTransitionOptions.getToColor()
static Vector3f
DustParticleOptionsBase.readVector3f
(com.mojang.brigadier.StringReader p_175807_) static Vector3f
DustParticleOptionsBase.readVector3f
(FriendlyByteBuf p_175811_) ModifierConstructorDescriptionDustColorTransitionOptions
(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
-
Uses of Vector3f in net.minecraft.world.entity.animal.axolotl
-
Uses of Vector3f in net.minecraft.world.entity.monster
Modifier and TypeMethodDescriptiondefault Vector3f
CrossbowAttackMob.getProjectileShotVector
(LivingEntity p_32333_, Vec3 p_32334_, float p_32335_) -
Uses of Vector3f in net.minecraft.world.phys
-
Uses of Vector3f in net.minecraftforge.client
Modifier 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
Modifier 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
Modifier 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.Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionBlockModelBuilder.RootTransformBuilder.TransformOrigin.getVector()
Modifier 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
-
Uses of Vector3f in net.minecraftforge.client.model.obj
Modifier and TypeMethodDescriptionprivate static Vector3f
ObjModel.parseVector3
(String[] line) private static Vector3f
ObjModel.parseVector4To3
(String[] line) -
Uses of Vector3f in net.minecraftforge.client.model.pipeline
-
Uses of Vector3f in net.minecraftforge.common.util
Modifier and TypeMethodDescriptionstatic Vector3f
private static Vector3f
TransformationHelper.Deserializer.parseOrigin
(com.google.gson.JsonObject obj) Modifier and TypeMethodDescriptionstatic Vector3f
static Quaternion
TransformationHelper.quatFromXYZ
(Vector3f xyz, boolean degrees)