Uses of Class
net.minecraft.util.math.Vec3f
Packages that use Vec3f
Package
Description
-
Uses of Vec3f in com.mojang.blaze3d.platform
Methods in com.mojang.blaze3d.platform with parameters of type Vec3fModifier and TypeMethodDescriptionstatic void
GlStateManager.setupGui3DDiffuseLighting
(Vec3f vec3f, Vec3f vec3f2) static void
GlStateManager.setupGuiFlatDiffuseLighting
(Vec3f vec3f, Vec3f vec3f2) static void
GlStateManager.setupLevelDiffuseLighting
(Vec3f vec3f, Vec3f vec3f2, Matrix4f matrix4f) -
Uses of Vec3f in com.mojang.blaze3d.systems
Fields in com.mojang.blaze3d.systems declared as Vec3fMethods in com.mojang.blaze3d.systems with parameters of type Vec3fModifier and TypeMethodDescriptionstatic void
RenderSystem._setShaderLights
(Vec3f vec3f, Vec3f vec3f2) static void
RenderSystem.setShaderLights
(Vec3f vec3f, Vec3f vec3f2) static void
RenderSystem.setupGui3DDiffuseLighting
(Vec3f vec3f, Vec3f vec3f2) static void
RenderSystem.setupGuiFlatDiffuseLighting
(Vec3f vec3f, Vec3f vec3f2) static void
RenderSystem.setupLevelDiffuseLighting
(Vec3f vec3f, Vec3f vec3f2, Matrix4f matrix4f) -
Uses of Vec3f in net.minecraft.client.font
Fields in net.minecraft.client.font declared as Vec3f -
Uses of Vec3f in net.minecraft.client.gl
Methods in net.minecraft.client.gl with parameters of type Vec3f -
Uses of Vec3f in net.minecraft.client.model
Fields in net.minecraft.client.model declared as Vec3fModifier and TypeFieldDescriptionprivate final Vec3f
ModelCuboidData.dimensions
final Vec3f
ModelPart.Quad.direction
private final Vec3f
ModelCuboidData.offset
final Vec3f
ModelPart.Vertex.pos
Methods in net.minecraft.client.model with parameters of type Vec3fModifier and TypeMethodDescriptionvoid
void
void
Constructors in net.minecraft.client.model with parameters of type Vec3f -
Uses of Vec3f in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as Vec3fModifier and TypeFieldDescriptionprivate final Vec3f
DustColorTransitionParticle.endColor
private static final Vec3f
ShriekParticle.field_38334
private static final Vec3f
ShriekParticle.field_38335
private final Vec3f
DustColorTransitionParticle.startColor
Methods in net.minecraft.client.particle that return Vec3fMethods in net.minecraft.client.particle with parameters of type Vec3f -
Uses of Vec3f in net.minecraft.client.render
Fields in net.minecraft.client.render declared as Vec3fModifier and TypeFieldDescriptionprivate final Vec3f
Camera.diagonalPlane
private static final Vec3f
DiffuseLighting.field_24426
private static final Vec3f
DiffuseLighting.field_24427
private static final Vec3f
DiffuseLighting.field_24428
private static final Vec3f
DiffuseLighting.field_24429
private static final Vec3f
DiffuseLighting.field_29567
private static final Vec3f
DiffuseLighting.field_29568
private final Vec3f
Camera.horizontalPlane
BufferBuilder.sortingPrimitiveCenters
BufferBuilder.State.sortingPrimitiveCenters
private final Vec3f
Camera.verticalPlane
Methods in net.minecraft.client.render that return Vec3fModifier and TypeMethodDescriptionprivate Vec3f[]
BufferBuilder.buildPrimitiveCenters()
final Vec3f
Camera.getDiagonalPlane()
final Vec3f
Camera.getHorizontalPlane()
final Vec3f
Camera.getVerticalPlane()
Constructors in net.minecraft.client.render with parameters of type Vec3fModifierConstructorDescription(package private)
State
(VertexFormat.DrawMode drawMode, int vertexCount, @Nullable Vec3f[] currentParameters, float cameraX, float cameraY, float cameraZ) -
Uses of Vec3f in net.minecraft.client.render.debug
Methods in net.minecraft.client.render.debug that return Vec3fModifier and TypeMethodDescriptionprivate Vec3f
HeightmapDebugRenderer.getColorForHeightmapType
(Heightmap.Type type) -
Uses of Vec3f in net.minecraft.client.render.entity.animation
Fields in net.minecraft.client.render.entity.animation declared as Vec3fModifier and TypeFieldDescriptionprivate final Vec3f
Keyframe.target
The field for thetarget
record component.Methods in net.minecraft.client.render.entity.animation that return Vec3fModifier and TypeMethodDescriptionTransformation.Interpolation.apply
(Vec3f vec3f, float delta, Keyframe[] keyframes, int start, int end, float float2) static Vec3f
AnimationHelper.method_41822
(double double2, double double3, double double4) static Vec3f
AnimationHelper.method_41823
(float float2, float float3, float float4) static Vec3f
AnimationHelper.method_41829
(float float2, float float3, float float4) Keyframe.target()
Returns the value of thetarget
record component.Methods in net.minecraft.client.render.entity.animation with parameters of type Vec3fModifier and TypeMethodDescriptionstatic void
AnimationHelper.animate
(SinglePartEntityModel<?> model, Animation animation, long runningTime, float float2, Vec3f vec3f) Transformation.Interpolation.apply
(Vec3f vec3f, float delta, Keyframe[] keyframes, int start, int end, float float2) void
Constructors in net.minecraft.client.render.entity.animation with parameters of type Vec3fModifierConstructorDescriptionKeyframe
(float float2, Vec3f vec3f, Transformation.Interpolation interpolation) -
Uses of Vec3f in net.minecraft.client.render.entity.model
Fields in net.minecraft.client.render.entity.model declared as Vec3fMethods in net.minecraft.client.render.entity.model that return Vec3fMethods in net.minecraft.client.render.entity.model with parameters of type Vec3f -
Uses of Vec3f in net.minecraft.client.render.model
Methods in net.minecraft.client.render.model with parameters of type Vec3fModifier and TypeMethodDescriptionBakedQuadFactory.bake
(Vec3f from, Vec3f to, ModelElementFace face, Sprite texture, Direction side, ModelBakeSettings settings, @Nullable ModelRotation rotation, boolean shade, Identifier modelId) private float[]
BakedQuadFactory.getPositionMatrix
(Vec3f from, Vec3f to) private void
BakedQuadFactory.packVertexData
(int[] vertices, int cornerIndex, Vec3f position, Sprite sprite, ModelElementTexture modelElementTexture) private void
BakedQuadFactory.rotateVertex
(Vec3f vector, @Nullable ModelRotation rotation) void
BakedQuadFactory.transformVertex
(Vec3f vertex, AffineTransformation transformation) private void
BakedQuadFactory.transformVertex
(Vec3f vertex, Vec3f origin, Matrix4f transformationMatrix, Vec3f scale) -
Uses of Vec3f in net.minecraft.client.render.model.json
Fields in net.minecraft.client.render.model.json declared as Vec3fModifier and TypeFieldDescriptionprivate static final Vec3f
Transformation.Deserializer.DEFAULT_ROTATION
private static final Vec3f
Transformation.Deserializer.DEFAULT_SCALE
private static final Vec3f
Transformation.Deserializer.DEFAULT_TRANSLATION
final Vec3f
ModelElement.from
final Vec3f
ModelRotation.origin
final Vec3f
Transformation.rotation
final Vec3f
Transformation.scale
final Vec3f
ModelElement.to
final Vec3f
Transformation.translation
Methods in net.minecraft.client.render.model.json that return Vec3fModifier and TypeMethodDescriptionprivate Vec3f
ModelElement.Deserializer.deserializeFrom
(JsonObject object) private Vec3f
ModelElement.Deserializer.deserializeTo
(JsonObject object) private Vec3f
ModelElement.Deserializer.deserializeVec3f
(JsonObject object, String name) private Vec3f
Transformation.Deserializer.parseVector3f
(JsonObject json, String key, Vec3f fallback) Methods in net.minecraft.client.render.model.json with parameters of type Vec3fModifier and TypeMethodDescriptionprivate Vec3f
Transformation.Deserializer.parseVector3f
(JsonObject json, String key, Vec3f fallback) Constructors in net.minecraft.client.render.model.json with parameters of type Vec3fModifierConstructorDescriptionModelElement
(Vec3f from, Vec3f to, Map<Direction, ModelElementFace> faces, @Nullable ModelRotation rotation, boolean shade) ModelRotation
(Vec3f origin, Direction.Axis axis, float angle, boolean rescale) Transformation
(Vec3f rotation, Vec3f translation, Vec3f scale) -
Uses of Vec3f in net.minecraft.client.sound
Methods in net.minecraft.client.sound with parameters of type Vec3f -
Uses of Vec3f in net.minecraft.entity
Methods in net.minecraft.entity that return Vec3fModifier and TypeMethodDescriptiondefault Vec3f
CrossbowUser.getProjectileLaunchVelocity
(LivingEntity entity, Vec3d positionDelta, float multishotSpray) Methods in net.minecraft.entity that return types with arguments of type Vec3f -
Uses of Vec3f in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as Vec3f -
Uses of Vec3f in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive with type parameters of type Vec3fMethods in net.minecraft.entity.passive that return types with arguments of type Vec3f -
Uses of Vec3f in net.minecraft.particle
Fields in net.minecraft.particle declared as Vec3fModifier and TypeFieldDescriptionprotected final Vec3f
AbstractDustParticleEffect.color
static final Vec3f
DustParticleEffect.RED
static final Vec3f
DustColorTransitionParticleEffect.SCULK_BLUE
private final Vec3f
DustColorTransitionParticleEffect.toColor
Methods in net.minecraft.particle that return Vec3fModifier and TypeMethodDescriptionAbstractDustParticleEffect.getColor()
DustColorTransitionParticleEffect.getFromColor()
DustColorTransitionParticleEffect.getToColor()
static Vec3f
AbstractDustParticleEffect.readColor
(com.mojang.brigadier.StringReader reader) static Vec3f
AbstractDustParticleEffect.readColor
(PacketByteBuf buf) Constructors in net.minecraft.particle with parameters of type Vec3fModifierConstructorDescriptionAbstractDustParticleEffect
(Vec3f color, float scale) DustColorTransitionParticleEffect
(Vec3f fromColor, Vec3f toColor, float scale) DustParticleEffect
(Vec3f color, float scale) -
Uses of Vec3f in net.minecraft.util.math
Fields in net.minecraft.util.math declared as Vec3fModifier and TypeFieldDescriptionstatic Vec3f
Vec3f.NEGATIVE_X
static Vec3f
Vec3f.NEGATIVE_Y
static Vec3f
Vec3f.NEGATIVE_Z
static Vec3f
Vec3f.POSITIVE_X
static Vec3f
Vec3f.POSITIVE_Y
static Vec3f
Vec3f.POSITIVE_Z
AffineTransformation.scale
AffineTransformation.translation
static Vec3f
Vec3f.ZERO
Fields in net.minecraft.util.math with type parameters of type Vec3fMethods in net.minecraft.util.math that return Vec3fModifier and TypeMethodDescriptionVec3f.copy()
AffineTransformation.getScale()
AffineTransformation.getTranslation()
Direction.getUnitVector()
Quaternion.toEulerXyz()
Quaternion.toEulerXyzDegrees()
Quaternion.toEulerYxz()
Quaternion.toEulerYxzDegrees()
Methods in net.minecraft.util.math that return types with arguments of type Vec3fModifier and TypeMethodDescriptionMatrix3f.decomposeLinearTransformation()
AffineTransformation.getLinearTransformationAndTranslationFromAffine
(Matrix4f affineTransform) Methods in net.minecraft.util.math with parameters of type Vec3fModifier and TypeMethodDescriptionvoid
void
Matrix4f.addToLastColumn
(Vec3f vector) void
void
float
static Quaternion
Quaternion.fromEulerXyz
(Vec3f vector) static Quaternion
Quaternion.fromEulerXyzDegrees
(Vec3f vector) void
void
Vector4f.multiplyComponentwise
(Vec3f vector) void
private static Matrix4f
AffineTransformation.setup
(@Nullable Vec3f translation, @Nullable Quaternion rotation2, @Nullable Vec3f scale, @Nullable Quaternion rotation1) void
Constructors in net.minecraft.util.math with parameters of type Vec3fModifierConstructorDescriptionAffineTransformation
(@Nullable Vec3f translation, @Nullable Quaternion rotation2, @Nullable Vec3f scale, @Nullable Quaternion rotation1) Quaternion
(Vec3f axis, float rotationAngle, boolean degrees) Copies the given vector.