Uses of Class
com.mojang.math.Matrix4f
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
Extension interfaces for
client
-only classes.-
Uses of Matrix4f in com.mojang.blaze3d.platform
Modifier and TypeMethodDescriptionstatic void
Lighting.setupLevel
(Matrix4f p_84929_) static void
GlStateManager.setupLevelDiffuseLighting
(Vector3f p_84291_, Vector3f p_84292_, Matrix4f p_84293_) static void
Lighting.setupNetherLevel
(Matrix4f p_84926_) -
Uses of Matrix4f in com.mojang.blaze3d.shaders
-
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 p_157426_) static void
RenderSystem.setTextureMatrix
(Matrix4f p_157460_) static void
RenderSystem.setupLevelDiffuseLighting
(Vector3f p_69915_, Vector3f p_69916_, Matrix4f p_69917_) -
Uses of Matrix4f in com.mojang.blaze3d.vertex
Modifier and TypeFieldDescriptionprivate final Matrix4f
SheetedDecalTextureGenerator.cameraInversePose
(package private) final Matrix4f
PoseStack.Pose.pose
Modifier and TypeMethodDescriptionprivate void
VertexBuffer._drawWithShader
(Matrix4f p_166877_, Matrix4f p_166878_, ShaderInstance p_166879_) void
VertexBuffer.drawWithShader
(Matrix4f p_166868_, Matrix4f p_166869_, ShaderInstance p_166870_) void
PoseStack.mulPoseMatrix
(Matrix4f p_166855_) default VertexConsumer
ModifierConstructorDescription(package private)
SheetedDecalTextureGenerator
(VertexConsumer p_85880_, Matrix4f p_85881_, Matrix3f p_85882_) -
Uses of Matrix4f in com.mojang.math
Modifier and TypeMethodDescriptionprivate static Matrix4f
Transformation.compose
(Vector3f p_121099_, Quaternion p_121100_, Vector3f p_121101_, Quaternion p_121102_) Matrix4f.copy()
static Matrix4f
Matrix4f.createScaleMatrix
(float p_27633_, float p_27634_, float p_27635_) static Matrix4f
Matrix4f.createTranslateMatrix
(float p_27654_, float p_27655_, float p_27656_) Transformation.getMatrix()
static Matrix4f
Matrix4f.orthographic
(float p_27637_, float p_27638_, float p_27639_, float p_27640_) static Matrix4f
Matrix4f.orthographic
(float p_162204_, float p_162205_, float p_162206_, float p_162207_, float p_162208_, float p_162209_) static Matrix4f
Matrix4f.perspective
(double p_27626_, float p_27627_, float p_27628_, float p_27629_) Modifier and TypeMethodDescriptionvoid
void
void
void
Matrix4f.multiplyBackward
(Matrix4f other) void
void
-
Uses of Matrix4f in net.minecraft.client.gui
Modifier and TypeMethodDescriptionint
Font.drawInBatch
(String p_92812_, float p_92813_, float p_92814_, int p_92815_, boolean p_92816_, Matrix4f p_92817_, MultiBufferSource p_92818_, boolean p_92819_, int p_92820_, int p_92821_) int
Font.drawInBatch
(String p_92823_, float p_92824_, float p_92825_, int p_92826_, boolean p_92827_, Matrix4f p_92828_, MultiBufferSource p_92829_, boolean p_92830_, int p_92831_, int p_92832_, boolean p_92833_) int
Font.drawInBatch
(Component p_92842_, float p_92843_, float p_92844_, int p_92845_, boolean p_92846_, Matrix4f p_92847_, MultiBufferSource p_92848_, boolean p_92849_, int p_92850_, int p_92851_) int
Font.drawInBatch
(FormattedCharSequence p_92734_, float p_92735_, float p_92736_, int p_92737_, boolean p_92738_, Matrix4f p_92739_, MultiBufferSource p_92740_, boolean p_92741_, int p_92742_, int p_92743_) void
Font.drawInBatch8xOutline
(FormattedCharSequence p_168646_, float p_168647_, float p_168648_, int p_168649_, int p_168650_, Matrix4f p_168651_, MultiBufferSource p_168652_, int p_168653_) private int
Font.drawInternal
(String p_92909_, float p_92910_, float p_92911_, int p_92912_, boolean p_92913_, Matrix4f p_92914_, MultiBufferSource p_92915_, boolean p_92916_, int p_92917_, int p_92918_, boolean p_92919_) private int
Font.drawInternal
(String p_92804_, float p_92805_, float p_92806_, int p_92807_, Matrix4f p_92808_, boolean p_92809_, boolean p_92810_) private int
Font.drawInternal
(FormattedCharSequence p_92867_, float p_92868_, float p_92869_, int p_92870_, boolean p_92871_, Matrix4f p_92872_, MultiBufferSource p_92873_, boolean p_92874_, int p_92875_, int p_92876_) private int
Font.drawInternal
(FormattedCharSequence p_92727_, float p_92728_, float p_92729_, int p_92730_, Matrix4f p_92731_, boolean p_92732_) protected static void
GuiComponent.fillGradient
(Matrix4f p_93124_, BufferBuilder p_93125_, int p_93126_, int p_93127_, int p_93128_, int p_93129_, int p_93130_, int p_93131_, int p_93132_) private static void
GuiComponent.innerBlit
(Matrix4f p_93113_, int p_93114_, int p_93115_, int p_93116_, int p_93117_, int p_93118_, float p_93119_, float p_93120_, float p_93121_, float p_93122_) private static void
GuiComponent.innerFill
(Matrix4f p_93106_, int p_93107_, int p_93108_, int p_93109_, int p_93110_, int p_93111_) (package private) void
Font.renderChar
(BakedGlyph p_92788_, boolean p_92789_, boolean p_92790_, float p_92791_, float p_92792_, float p_92793_, Matrix4f p_92794_, VertexConsumer p_92795_, float p_92796_, float p_92797_, float p_92798_, float p_92799_, int p_92800_) private float
Font.renderText
(String p_92898_, float p_92899_, float p_92900_, int p_92901_, boolean p_92902_, Matrix4f p_92903_, MultiBufferSource p_92904_, boolean p_92905_, int p_92906_, int p_92907_) private float
Font.renderText
(FormattedCharSequence p_92927_, float p_92928_, float p_92929_, int p_92930_, boolean p_92931_, Matrix4f p_92932_, MultiBufferSource p_92933_, boolean p_92934_, int p_92935_, int p_92936_) ModifierConstructorDescriptionStringRenderOutput
(MultiBufferSource p_92953_, float p_92954_, float p_92955_, int p_92956_, boolean p_92957_, Matrix4f p_92958_, boolean p_92959_, int p_92960_) StringRenderOutput
(MultiBufferSource p_181365_, float p_181366_, float p_181367_, int p_181368_, boolean p_181369_, Matrix4f p_181370_, Font.DisplayMode p_181371_, int p_181372_) -
Uses of Matrix4f in net.minecraft.client.gui.font.glyphs
Modifier and TypeMethodDescriptionvoid
BakedGlyph.render
(boolean p_95227_, float p_95228_, float p_95229_, Matrix4f p_95230_, VertexConsumer p_95231_, float p_95232_, float p_95233_, float p_95234_, float p_95235_, int p_95236_) void
EmptyGlyph.render
(boolean p_95278_, float p_95279_, float p_95280_, Matrix4f p_95281_, VertexConsumer p_95282_, float p_95283_, float p_95284_, float p_95285_, float p_95286_, int p_95287_) void
BakedGlyph.renderEffect
(BakedGlyph.Effect p_95221_, Matrix4f p_95222_, VertexConsumer p_95223_, int p_95224_) -
Uses of Matrix4f in net.minecraft.client.gui.screens.inventory.tooltip
Modifier and TypeMethodDescriptionvoid
ClientTextTooltip.renderText
(Font p_169943_, int p_169944_, int p_169945_, Matrix4f p_169946_, MultiBufferSource.BufferSource p_169947_) default void
ClientTooltipComponent.renderText
(Font p_169953_, int p_169954_, int p_169955_, Matrix4f p_169956_, MultiBufferSource.BufferSource p_169957_) -
Uses of Matrix4f in net.minecraft.client.renderer
Modifier and TypeFieldDescriptionprivate Matrix4f
PostChain.shaderOrthoMatrix
private Matrix4f
PostPass.shaderOrthoMatrix
Modifier and TypeMethodDescriptionprivate void
LevelRenderer.captureFrustum
(Matrix4f p_109526_, Matrix4f p_109527_, double p_109528_, double p_109529_, double p_109530_, Frustum p_109531_) void
LevelRenderer.prepareCullFrustum
(PoseStack p_172962_, Vec3 p_172963_, Matrix4f p_172964_) private void
LevelRenderer.renderChunkLayer
(RenderType p_172994_, PoseStack p_172995_, double p_172996_, double p_172997_, double p_172998_, Matrix4f p_172999_) void
LevelRenderer.renderClouds
(PoseStack p_172955_, Matrix4f p_172956_, float p_172957_, double p_172958_, double p_172959_, double p_172960_) void
LevelRenderer.renderLevel
(PoseStack p_109600_, float p_109601_, long p_109602_, boolean p_109603_, Camera p_109604_, GameRenderer p_109605_, LightTexture p_109606_, Matrix4f p_109607_) void
LevelRenderer.renderSky
(PoseStack p_202424_, Matrix4f p_202425_, float p_202426_, Camera p_202427_, boolean p_202428_, Runnable p_202429_) void
GameRenderer.resetProjectionMatrix
(Matrix4f p_109112_) void
PostPass.setOrthoMatrix
(Matrix4f p_110068_) -
Uses of Matrix4f in net.minecraft.client.renderer.block.model
Modifier and TypeMethodDescriptionprivate void
FaceBakery.rotateVertexBy
(Vector3f p_111596_, Vector3f p_111597_, Matrix4f p_111598_, Vector3f p_111599_) -
Uses of Matrix4f in net.minecraft.client.renderer.blockentity
Modifier and TypeMethodDescriptionprivate static void
BeaconRenderer.addVertex
(Matrix4f p_112107_, Matrix3f p_112108_, VertexConsumer p_112109_, float p_112110_, float p_112111_, float p_112112_, float p_112113_, int p_112114_, float p_112115_, float p_112116_, float p_112117_, float p_112118_) private void
TheEndPortalRenderer.renderCube
(T p_173691_, Matrix4f p_173692_, VertexConsumer p_173693_) private void
TheEndPortalRenderer.renderFace
(T p_173695_, Matrix4f p_173696_, VertexConsumer p_173697_, float p_173698_, float p_173699_, float p_173700_, float p_173701_, float p_173702_, float p_173703_, float p_173704_, float p_173705_, Direction p_173706_) private static void
BeaconRenderer.renderQuad
(Matrix4f p_112120_, Matrix3f p_112121_, VertexConsumer p_112122_, float p_112123_, float p_112124_, float p_112125_, float p_112126_, int p_112127_, int p_112128_, float p_112129_, float p_112130_, float p_112131_, float p_112132_, float p_112133_, float p_112134_, float p_112135_, float p_112136_) -
Uses of Matrix4f in net.minecraft.client.renderer.culling
Modifier and TypeMethodDescriptionprivate void
Frustum.calculateFrustum
(Matrix4f p_113027_, Matrix4f p_113028_) private void
-
Uses of Matrix4f in net.minecraft.client.renderer.entity
Modifier and TypeMethodDescriptionprivate static void
MobRenderer.addVertexPair
(VertexConsumer p_174308_, Matrix4f p_174309_, float p_174310_, float p_174311_, float p_174312_, int p_174313_, int p_174314_, int p_174315_, int p_174316_, float p_174317_, float p_174318_, float p_174319_, float p_174320_, int p_174321_, boolean p_174322_) private static void
LightningBoltRenderer.quad
(Matrix4f p_115273_, VertexConsumer p_115274_, float p_115275_, float p_115276_, int p_115277_, float p_115278_, float p_115279_, float p_115280_, float p_115281_, float p_115282_, float p_115283_, float p_115284_, boolean p_115285_, boolean p_115286_, boolean p_115287_, boolean p_115288_) void
ArrowRenderer.vertex
(Matrix4f p_113826_, Matrix3f p_113827_, VertexConsumer p_113828_, int p_113829_, int p_113830_, int p_113831_, float p_113832_, float p_113833_, int p_113834_, int p_113835_, int p_113836_, int p_113837_) private static void
DragonFireballRenderer.vertex
(VertexConsumer p_114090_, Matrix4f p_114091_, Matrix3f p_114092_, int p_114093_, float p_114094_, int p_114095_, int p_114096_, int p_114097_) private static void
ExperienceOrbRenderer.vertex
(VertexConsumer p_114609_, Matrix4f p_114610_, Matrix3f p_114611_, float p_114612_, float p_114613_, int p_114614_, int p_114615_, int p_114616_, float p_114617_, float p_114618_, int p_114619_) private static void
FishingHookRenderer.vertex
(VertexConsumer p_114712_, Matrix4f p_114713_, Matrix3f p_114714_, int p_114715_, float p_114716_, int p_114717_, int p_114718_, int p_114719_) private static void
GuardianRenderer.vertex
(VertexConsumer p_114842_, Matrix4f p_114843_, Matrix3f p_114844_, float p_114845_, float p_114846_, float p_114847_, int p_114848_, int p_114849_, int p_114850_, float p_114851_, float p_114852_) private void
PaintingRenderer.vertex
(Matrix4f p_115537_, Matrix3f p_115538_, VertexConsumer p_115539_, float p_115540_, float p_115541_, float p_115542_, float p_115543_, float p_115544_, int p_115545_, int p_115546_, int p_115547_, int p_115548_) private static void
EnderDragonRenderer.vertex01
(VertexConsumer p_114220_, Matrix4f p_114221_, int p_114222_) private static void
EnderDragonRenderer.vertex2
(VertexConsumer p_114215_, Matrix4f p_114216_, float p_114217_, float p_114218_) private static void
EnderDragonRenderer.vertex3
(VertexConsumer p_114224_, Matrix4f p_114225_, float p_114226_, float p_114227_) private static void
EnderDragonRenderer.vertex4
(VertexConsumer p_114229_, Matrix4f p_114230_, float p_114231_, float p_114232_) -
Uses of Matrix4f in net.minecraft.client.renderer.entity.layers
Modifier and TypeMethodDescriptionprivate static void
BeeStingerLayer.vertex
(VertexConsumer p_116593_, Matrix4f p_116594_, Matrix3f p_116595_, float p_116596_, int p_116597_, float p_116598_, float p_116599_, int p_116600_) -
Uses of Matrix4f in net.minecraft.core
-
Uses of Matrix4f in net.minecraftforge.client
Modifier and TypeMethodDescriptionstatic void
ForgeHooksClient.dispatchRenderLast
(LevelRenderer context, PoseStack poseStack, float partialTick, Matrix4f projectionMatrix, long finishTimeNano) Deprecated, for removal: This API element is subject to removal in a future version.static void
ForgeHooksClient.dispatchRenderStage
(RenderType renderType, LevelRenderer levelRenderer, PoseStack poseStack, Matrix4f projectionMatrix, int renderTick, Camera camera, Frustum frustum) static void
ForgeHooksClient.dispatchRenderStage
(RenderLevelStageEvent.Stage stage, LevelRenderer levelRenderer, PoseStack poseStack, Matrix4f projectionMatrix, int renderTick, Camera camera, Frustum frustum) -
Uses of Matrix4f in net.minecraftforge.client.event
Modifier and TypeFieldDescriptionprivate final Matrix4f
RenderLevelLastEvent.projectionMatrix
Deprecated, for removal: This API element is subject to removal in a future version.private final Matrix4f
RenderLevelStageEvent.projectionMatrix
Modifier and TypeMethodDescriptionRenderLevelLastEvent.getProjectionMatrix()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the projection matrix.RenderLevelStageEvent.getProjectionMatrix()
Returns the projection matrix.ModifierConstructorDescriptionRenderLevelLastEvent
(LevelRenderer levelRenderer, PoseStack poseStack, float partialTick, Matrix4f projectionMatrix, long startNanos) Deprecated, for removal: This API element is subject to removal in a future version.RenderLevelStageEvent
(RenderLevelStageEvent.Stage stage, LevelRenderer levelRenderer, PoseStack poseStack, Matrix4f projectionMatrix, int renderTick, float partialTick, Camera camera, Frustum frustum) -
Uses of Matrix4f in net.minecraftforge.client.extensions
Modifier and TypeMethodDescriptiondefault boolean
IForgeDimensionSpecialEffects.renderClouds
(ClientLevel level, int ticks, float partialTick, PoseStack poseStack, double camX, double camY, double camZ, Matrix4f projectionMatrix) Renders the clouds of this dimension.default boolean
IForgeDimensionSpecialEffects.renderSky
(ClientLevel level, int ticks, float partialTick, PoseStack poseStack, Camera camera, Matrix4f projectionMatrix, boolean isFoggy, Runnable setupFog) Renders the sky of this dimension. -
Uses of Matrix4f in net.minecraftforge.client.gui
Modifier and TypeMethodDescriptionstatic void
ScreenUtils.drawGradientRect
(Matrix4f mat, int zLevel, int left, int top, int right, int bottom, int startColor, int endColor) -
Uses of Matrix4f in net.minecraftforge.client.model.renderable
Modifier and TypeMethodDescription@Nullable Matrix4f
CompositeRenderable.Transforms.getTransform
(String part) Modifier and TypeMethodDescriptionBuilds a MultipartTransforms object with the given mapping.ModifierConstructorDescriptionprivate
Transforms
(com.google.common.collect.ImmutableMap<String, Matrix4f> parts) -
Uses of Matrix4f in net.minecraftforge.common.util
Modifier and TypeMethodDescriptionstatic Matrix4f
TransformationHelper.Deserializer.parseMatrix
(com.google.gson.JsonElement e)