Uses of Class
net.minecraft.util.math.Matrix4f
Package
Description
-
Uses of Matrix4f in com.mojang.blaze3d.platform
Modifier and TypeMethodDescriptionstatic void
GlStateManager.setupLevelDiffuseLighting
(Vec3f vec3f, Vec3f vec3f2, Matrix4f matrix4f) -
Uses of Matrix4f in com.mojang.blaze3d.systems
Modifier and TypeFieldDescriptionprivate static Matrix4f
RenderSystem.modelViewMatrix
private static Matrix4f
RenderSystem.projectionMatrix
private static Matrix4f
RenderSystem.savedProjectionMatrix
private static Matrix4f
RenderSystem.textureMatrix
Modifier and TypeMethodDescriptionstatic Matrix4f
RenderSystem.getModelViewMatrix()
static Matrix4f
RenderSystem.getProjectionMatrix()
static Matrix4f
RenderSystem.getTextureMatrix()
Modifier and TypeMethodDescriptionstatic void
RenderSystem.setProjectionMatrix
(Matrix4f matrix4f) static void
RenderSystem.setTextureMatrix
(Matrix4f matrix4f) static void
RenderSystem.setupLevelDiffuseLighting
(Vec3f vec3f, Vec3f vec3f2, Matrix4f matrix4f) -
Uses of Matrix4f in net.minecraft.client.font
Modifier and TypeMethodDescriptionvoid
EmptyGlyphRenderer.draw
(boolean italic, float x, float y, Matrix4f matrix, VertexConsumer vertexConsumer, float red, float green, float blue, float alpha, int light) void
GlyphRenderer.draw
(boolean italic, float x, float y, Matrix4f matrix, VertexConsumer vertexConsumer, float red, float green, float blue, float alpha, int light) int
TextRenderer.draw
(String text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumers, boolean seeThrough, int backgroundColor, int light) int
TextRenderer.draw
(String text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumers, boolean seeThrough, int backgroundColor, int light, boolean rightToLeft) private int
TextRenderer.draw
(String text, float x, float y, int color, Matrix4f matrix, boolean shadow, boolean mirror) int
TextRenderer.draw
(OrderedText text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumers, boolean seeThrough, int backgroundColor, int light) private int
TextRenderer.draw
(OrderedText text, float x, float y, int color, Matrix4f matrix, boolean shadow) int
TextRenderer.draw
(Text text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumers, boolean seeThrough, int backgroundColor, int light) (package private) void
TextRenderer.drawGlyph
(GlyphRenderer glyphRenderer, boolean bold, boolean italic, float weight, float x, float y, Matrix4f matrix, VertexConsumer vertexConsumer, float red, float green, float blue, float alpha, int light) private int
TextRenderer.drawInternal
(String text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumers, boolean seeThrough, int backgroundColor, int light, boolean mirror) private int
TextRenderer.drawInternal
(OrderedText text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumerProvider, boolean seeThrough, int backgroundColor, int light) private float
TextRenderer.drawLayer
(String text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumerProvider, boolean seeThrough, int underlineColor, int light) private float
TextRenderer.drawLayer
(OrderedText text, float x, float y, int color, boolean shadow, Matrix4f matrix, VertexConsumerProvider vertexConsumerProvider, boolean seeThrough, int underlineColor, int light) void
GlyphRenderer.drawRectangle
(GlyphRenderer.Rectangle rectangle, Matrix4f matrix, VertexConsumer vertexConsumer, int light) void
TextRenderer.drawWithOutline
(OrderedText text, float x, float y, int color, int outlineColor, Matrix4f matrix, VertexConsumerProvider vertexConsumers, int light) ModifierConstructorDescriptionDrawer
(VertexConsumerProvider vertexConsumers, float x, float y, int color, boolean shadow, Matrix4f matrix, boolean seeThrough, int light) Drawer
(VertexConsumerProvider vertexConsumers, float x, float y, int color, boolean shadow, Matrix4f matrix, TextRenderer.TextLayerType layerType, int light) -
Uses of Matrix4f in net.minecraft.client.gl
Modifier and TypeFieldDescriptionprivate Matrix4f
PostProcessShader.projectionMatrix
private Matrix4f
ShaderEffect.projectionMatrix
Modifier and TypeMethodDescriptionvoid
VertexBuffer.innerSetShader
(Matrix4f viewMatrix, Matrix4f projectionMatrix, Shader shader) final void
void
void
PostProcessShader.setProjectionMatrix
(Matrix4f projectionMatrix) void
-
Uses of Matrix4f in net.minecraft.client.gui
Modifier and TypeMethodDescriptionprivate static void
DrawableHelper.drawTexturedQuad
(Matrix4f matrix, int x0, int x1, int y0, int y1, int z, float u0, float u1, float v0, float v1) private static void
protected static void
DrawableHelper.fillGradient
(Matrix4f matrix, BufferBuilder builder, int startX, int startY, int endX, int endY, int z, int colorStart, int colorEnd) -
Uses of Matrix4f in net.minecraft.client.gui.tooltip
Modifier and TypeMethodDescriptionvoid
OrderedTextTooltipComponent.drawText
(TextRenderer textRenderer, int x, int y, Matrix4f matrix, VertexConsumerProvider.Immediate vertexConsumers) default void
TooltipComponent.drawText
(TextRenderer textRenderer, int x, int y, Matrix4f matrix, VertexConsumerProvider.Immediate vertexConsumers) -
Uses of Matrix4f in net.minecraft.client.render
Modifier and TypeMethodDescriptionprivate void
WorldRenderer.captureFrustum
(Matrix4f positionMatrix, Matrix4f matrix4f, double x, double y, double z, Frustum frustum) static void
DiffuseLighting.disableForLevel
(Matrix4f positionMatrix) static void
DiffuseLighting.enableForLevel
(Matrix4f positionMatrix) private void
void
GameRenderer.loadProjectionMatrix
(Matrix4f projectionMatrix) void
WorldRenderer.render
(MatrixStack matrices, float tickDelta, long limitTime, boolean renderBlockOutline, Camera camera, GameRenderer gameRenderer, LightmapTextureManager lightmapTextureManager, Matrix4f positionMatrix) void
WorldRenderer.renderClouds
(MatrixStack matrices, Matrix4f projectionMatrix, float tickDelta, double double2, double double3, double double4) private void
WorldRenderer.renderLayer
(RenderLayer renderLayer, MatrixStack matrices, double double2, double double3, double double4, Matrix4f positionMatrix) void
WorldRenderer.renderSky
(MatrixStack matrices, Matrix4f projectionMatrix, float tickDelta, Camera camera, boolean bool, Runnable runnable) void
WorldRenderer.setupFrustum
(MatrixStack matrices, Vec3d pos, Matrix4f projectionMatrix) private void
default VertexConsumer
ModifierConstructorDescriptionOverlayVertexConsumer
(VertexConsumer vertexConsumer, Matrix4f textureMatrix, Matrix3f normalMatrix) -
Uses of Matrix4f in net.minecraft.client.render.block.entity
Modifier and TypeMethodDescriptionprivate static void
BeaconBlockEntityRenderer.renderBeamFace
(Matrix4f positionMatrix, Matrix3f normalMatrix, VertexConsumer vertices, float red, float green, float blue, float alpha, int yOffset, int height, float x1, float z1, float x2, float z2, float u1, float u2, float v1, float v2) private static void
BeaconBlockEntityRenderer.renderBeamVertex
(Matrix4f positionMatrix, Matrix3f normalMatrix, VertexConsumer vertices, float red, float green, float blue, float alpha, int y, float x, float z, float u, float v) private void
EndPortalBlockEntityRenderer.renderSide
(T entity, Matrix4f model, VertexConsumer vertices, float x1, float x2, float y1, float y2, float z1, float z2, float z3, float z4, Direction side) private void
EndPortalBlockEntityRenderer.renderSides
(T entity, Matrix4f matrix, VertexConsumer vertexConsumer) -
Uses of Matrix4f in net.minecraft.client.render.entity
Modifier and TypeMethodDescriptionprivate static void
LightningEntityRenderer.drawBranch
(Matrix4f matrix, VertexConsumer buffer, float x1, float z1, int y, float x2, float z2, float red, float green, float blue, float offset2, float offset1, boolean shiftEast1, boolean shiftSouth1, boolean shiftEast2, boolean shiftSouth2) private static void
EnderDragonEntityRenderer.method_23156
(VertexConsumer vertices, Matrix4f matrix, float y, float x) private static void
EnderDragonEntityRenderer.method_23157
(VertexConsumer vertices, Matrix4f matrix, int alpha) private static void
EnderDragonEntityRenderer.method_23158
(VertexConsumer vertices, Matrix4f matrix, float y, float x) private static void
EnderDragonEntityRenderer.method_23159
(VertexConsumer vertices, Matrix4f matrix, float y, float z) private static void
DragonFireballEntityRenderer.produceVertex
(VertexConsumer vertexConsumer, Matrix4f positionMatrix, Matrix3f normalMatrix, int light, float x, int y, int textureU, int textureV) private static void
MobEntityRenderer.renderLeashPiece
(VertexConsumer vertexConsumer, Matrix4f positionMatrix, float float2, float float3, float float4, int leashedEntityBlockLight, int holdingEntityBlockLight, int leashedEntitySkyLight, int holdingEntitySkyLight, float float5, float float6, float float7, float float8, int pieceIndex, boolean isLeashKnot) private static void
ExperienceOrbEntityRenderer.vertex
(VertexConsumer vertexConsumer, Matrix4f positionMatrix, Matrix3f normalMatrix, float x, float y, int red, int green, int blue, float u, float v, int light) private static void
FishingBobberEntityRenderer.vertex
(VertexConsumer buffer, Matrix4f matrix, Matrix3f normalMatrix, int light, float x, int y, int u, int v) private static void
GuardianEntityRenderer.vertex
(VertexConsumer vertexConsumer, Matrix4f positionMatrix, Matrix3f normalMatrix, float x, float y, float z, int red, int green, int blue, float u, float v) private void
PaintingEntityRenderer.vertex
(Matrix4f positionMatrix, Matrix3f normalMatrix, VertexConsumer vertexConsumer, float x, float y, float u, float v, float z, int normalX, int normalY, int normalZ, int light) void
ProjectileEntityRenderer.vertex
(Matrix4f positionMatrix, Matrix3f normalMatrix, VertexConsumer vertexConsumer, int x, int y, int z, float u, float v, int normalX, int normalZ, int normalY, int light) -
Uses of Matrix4f in net.minecraft.client.render.entity.feature
Modifier and TypeMethodDescriptionprivate static void
StuckStingersFeatureRenderer.produceVertex
(VertexConsumer vertexConsumer, Matrix4f vertexTransform, Matrix3f normalTransform, float x, int y, float u, float v, int light) -
Uses of Matrix4f in net.minecraft.client.render.model
Modifier and TypeMethodDescriptionprivate void
BakedQuadFactory.transformVertex
(Vec3f vertex, Vec3f origin, Matrix4f transformationMatrix, Vec3f scale) -
Uses of Matrix4f in net.minecraft.client.util.math
Modifier and TypeFieldDescription(package private) final Matrix4f
MatrixStack.Entry.positionMatrix
Modifier and TypeMethodDescriptionMatrixStack.Entry.getPositionMatrix()
Returns the matrix used to transform positions.Modifier and TypeMethodDescriptionvoid
MatrixStack.multiplyPositionMatrix
(Matrix4f matrix) Multiplies the top position matrix with the given matrix. -
Uses of Matrix4f in net.minecraft.util.math
Modifier and TypeMethodDescriptionMatrix4f.copy()
AffineTransformation.getMatrix()
static Matrix4f
Matrix4f.projectionMatrix
(float width, float height, float nearPlane, float farPlane) static Matrix4f
Matrix4f.projectionMatrix
(float left, float right, float bottom, float top, float nearPlane, float farPlane) static Matrix4f
Matrix4f.scale
(float x, float y, float z) private static Matrix4f
AffineTransformation.setup
(@Nullable Vec3f translation, @Nullable Quaternion rotation2, @Nullable Vec3f scale, @Nullable Quaternion rotation1) static Matrix4f
Matrix4f.translate
(float x, float y, float z) static Matrix4f
Matrix4f.viewboxMatrix
(double fov, float aspectRatio, float cameraDepth, float viewDistance) Modifier and TypeMethodDescriptionvoid
AffineTransformation.getLinearTransformationAndTranslationFromAffine
(Matrix4f affineTransform) void
void
void
static Direction
void