Uses of Class
net.minecraft.util.math.Vec3f
Package
Description
-
Uses of Vec3f in com.mojang.blaze3d.platform
Modifier 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
Modifier 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
-
Uses of Vec3f in net.minecraft.client.gl
-
Uses of Vec3f in net.minecraft.client.model
Modifier and TypeFieldDescriptionprivate final Vec3f
ModelCuboidData.dimensions
final Vec3f
ModelPart.Quad.direction
private final Vec3f
ModelCuboidData.offset
final Vec3f
ModelPart.Vertex.pos
Modifier and TypeMethodDescriptionvoid
void
void
-
Uses of Vec3f in net.minecraft.client.particle
Modifier 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
Modifier and TypeMethodDescriptionprivate Vec3f
private void
ShriekParticle.method_42584
(VertexConsumer vertexConsumer, Vec3f vec3f, float float2, float float3, int int2) -
Uses of Vec3f in net.minecraft.client.render
Modifier 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
Modifier and TypeMethodDescriptionprivate Vec3f[]
BufferBuilder.buildPrimitiveCenters()
final Vec3f
Camera.getDiagonalPlane()
final Vec3f
Camera.getHorizontalPlane()
final Vec3f
Camera.getVerticalPlane()
ModifierConstructorDescription(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
Modifier and TypeMethodDescriptionprivate Vec3f
HeightmapDebugRenderer.getColorForHeightmapType
(Heightmap.Type type) -
Uses of Vec3f in net.minecraft.client.render.entity.animation
Modifier and TypeFieldDescriptionprivate final Vec3f
Keyframe.target
The field for thetarget
record component.Modifier 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.Modifier 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
ModifierConstructorDescriptionKeyframe
(float float2, Vec3f vec3f, Transformation.Interpolation interpolation) -
Uses of Vec3f in net.minecraft.client.render.entity.model
-
Uses of Vec3f in net.minecraft.client.render.model
Modifier 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
Modifier 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
Modifier 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) Modifier and TypeMethodDescriptionprivate Vec3f
Transformation.Deserializer.parseVector3f
(JsonObject json, String key, Vec3f fallback) ModifierConstructorDescriptionModelElement
(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
-
Uses of Vec3f in net.minecraft.entity
Modifier and TypeMethodDescriptiondefault Vec3f
CrossbowUser.getProjectileLaunchVelocity
(LivingEntity entity, Vec3d positionDelta, float multishotSpray) -
Uses of Vec3f in net.minecraft.entity.mob
-
Uses of Vec3f in net.minecraft.entity.passive
-
Uses of Vec3f in net.minecraft.particle
Modifier and TypeFieldDescriptionprotected final Vec3f
AbstractDustParticleEffect.color
static final Vec3f
DustParticleEffect.RED
static final Vec3f
DustColorTransitionParticleEffect.SCULK_BLUE
private final Vec3f
DustColorTransitionParticleEffect.toColor
Modifier and TypeMethodDescriptionAbstractDustParticleEffect.getColor()
DustColorTransitionParticleEffect.getFromColor()
DustColorTransitionParticleEffect.getToColor()
static Vec3f
AbstractDustParticleEffect.readColor
(com.mojang.brigadier.StringReader reader) static Vec3f
AbstractDustParticleEffect.readColor
(PacketByteBuf buf) ModifierConstructorDescriptionAbstractDustParticleEffect
(Vec3f color, float scale) DustColorTransitionParticleEffect
(Vec3f fromColor, Vec3f toColor, float scale) DustParticleEffect
(Vec3f color, float scale) -
Uses of Vec3f in net.minecraft.util.math
Modifier 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
Modifier and TypeMethodDescriptionVec3f.copy()
AffineTransformation.getScale()
AffineTransformation.getTranslation()
Direction.getUnitVector()
Quaternion.toEulerXyz()
Quaternion.toEulerXyzDegrees()
Quaternion.toEulerYxz()
Quaternion.toEulerYxzDegrees()
Modifier and TypeMethodDescriptionMatrix3f.decomposeLinearTransformation()
AffineTransformation.getLinearTransformationAndTranslationFromAffine
(Matrix4f affineTransform) Modifier 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
ModifierConstructorDescriptionAffineTransformation
(@Nullable Vec3f translation, @Nullable Quaternion rotation2, @Nullable Vec3f scale, @Nullable Quaternion rotation1) Quaternion
(Vec3f axis, float rotationAngle, boolean degrees) Copies the given vector.