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.method_37296
(OrderedText orderedText, float float2, float float3, int int2, int int3, Matrix4f matrix4f, VertexConsumerProvider vertexConsumerProvider, int int4) ModifierConstructorDescriptionDrawer
(VertexConsumerProvider vertexConsumers, float x, float y, int color, boolean shadow, Matrix4f matrix, boolean seeThrough, int light) Drawer
(VertexConsumerProvider vertexConsumerProvider, float float2, float float3, int int2, boolean bool, Matrix4f matrix4f, TextRenderer.class_6415 class_6415, int int3) -
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 matrices, 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 bufferBuilder, 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 matrix4f, VertexConsumerProvider.Immediate immediate) default void
TooltipComponent.drawText
(TextRenderer textRenderer, int x, int y, Matrix4f matrix4f, VertexConsumerProvider.Immediate immediate) -
Uses of Matrix4f in net.minecraft.client.render
Modifier and TypeMethodDescriptionprivate void
WorldRenderer.captureFrustum
(Matrix4f modelMatrix, Matrix4f matrix4f, double x, double y, double z, Frustum frustum) static void
DiffuseLighting.disableForLevel
(Matrix4f modelMatrix) static void
DiffuseLighting.enableForLevel
(Matrix4f modelMatrix) private void
void
GameRenderer.loadProjectionMatrix
(Matrix4f matrix4f) void
WorldRenderer.render
(MatrixStack matrices, float tickDelta, long limitTime, boolean renderBlockOutline, Camera camera, GameRenderer gameRenderer, LightmapTextureManager lightmapTextureManager, Matrix4f matrix4f) void
WorldRenderer.renderClouds
(MatrixStack matrices, Matrix4f matrix4f, float float2, double double2, double double3, double double4) private void
WorldRenderer.renderLayer
(RenderLayer renderLayer, MatrixStack matrices, double double2, double double3, double double4, Matrix4f matrix4f) void
WorldRenderer.renderSky
(MatrixStack matrices, Matrix4f matrix4f, float float2, Runnable runnable) void
WorldRenderer.setupFrustum
(MatrixStack matrices, Vec3d pos, Matrix4f projectionMatrix) private void
default VertexConsumer
ModifierConstructorDescriptionOverlayVertexConsumer
(VertexConsumer vertexConsumer, Matrix4f matrix4f, Matrix3f matrix3f) -
Uses of Matrix4f in net.minecraft.client.render.block.entity
Modifier and TypeMethodDescriptionprivate static void
BeaconBlockEntityRenderer.renderBeamFace
(Matrix4f modelMatrix, 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 modelMatrix, 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 direction) private void
EndPortalBlockEntityRenderer.renderSides
(T entity, Matrix4f matrix4f, VertexConsumer vertexConsumer) -
Uses of Matrix4f in net.minecraft.client.render.entity
Modifier and TypeMethodDescriptionprivate static void
LightningEntityRenderer.drawBranch
(Matrix4f matrix, VertexConsumer buffer, float float2, float float3, int int2, float float4, float float5, float red, float green, float blue, float float6, float float7, boolean bool, boolean bool2, boolean bool3, boolean bool4) void
ProjectileEntityRenderer.method_23153
(Matrix4f matrix4f, Matrix3f matrix3f, VertexConsumer vertexConsumer, int int2, int int3, int int4, float float2, float float3, int int5, int int6, int int7, int int8) 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
ExperienceOrbEntityRenderer.method_23171
(VertexConsumer vertexConsumer, Matrix4f matrix4f, Matrix3f matrix3f, float float2, float float3, int int2, int int3, int int4, float float4, float float5, int int5) private static void
GuardianEntityRenderer.method_23173
(VertexConsumer vertexConsumer, Matrix4f matrix4f, Matrix3f matrix3f, float float2, float float3, float float4, int int2, int int3, int int4, float float5, float float6) private static void
MobEntityRenderer.method_23187
(VertexConsumer vertexConsumer, Matrix4f matrix4f, float float2, float float3, float float4, int int2, int int3, int int4, int int5, float float5, float float6, float float7, float float8, int int6, boolean bool) private void
PaintingEntityRenderer.method_23188
(Matrix4f matrix4f, Matrix3f matrix3f, VertexConsumer vertexConsumer, float float2, float float3, float float4, float float5, float float6, int int2, int int3, int int4, int int5) private static void
DragonFireballEntityRenderer.produceVertex
(VertexConsumer vertexConsumer, Matrix4f modelMatrix, Matrix3f normalMatrix, int light, float x, int y, int textureU, int textureV) private static void
FishingBobberEntityRenderer.vertex
(VertexConsumer buffer, Matrix4f matrix, Matrix3f normalMatrix, int light, float x, int y, int u, int v) -
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
-
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