Uses of Class
com.mojang.math.Transformation
Package
Description
Extension interfaces for
client
-only classes.-
Uses of Transformation in com.mojang.math
Modifier and TypeMethodDescriptionTransformation.compose
(Transformation p_121097_) static Transformation
Transformation.identity()
Transformation.inverse()
Transformation.slerp
(Transformation p_175938_, float p_175939_) Modifier and TypeMethodDescriptionTransformation.compose
(Transformation p_121097_) Transformation.slerp
(Transformation p_175938_, float p_175939_) -
Uses of Transformation in net.minecraft.client.renderer.block.model
Modifier and TypeMethodDescriptionvoid
FaceBakery.applyModelRotation
(Vector3f p_111590_, Transformation p_111591_) private void
FaceBakery.bakeVertex
(int[] p_111621_, int p_111622_, Direction p_111623_, BlockFaceUV p_111624_, float[] p_111625_, TextureAtlasSprite p_111626_, Transformation p_111627_, BlockElementRotation p_111628_, boolean p_111629_) private int[]
FaceBakery.makeVertices
(BlockFaceUV p_111574_, TextureAtlasSprite p_111575_, Direction p_111576_, float[] p_111577_, Transformation p_111578_, BlockElementRotation p_111579_, boolean p_111580_) static BlockFaceUV
FaceBakery.recomputeUVs
(BlockFaceUV p_111582_, Direction p_111583_, Transformation p_111584_, ResourceLocation p_111585_) ModifierConstructorDescriptionVariant
(ResourceLocation p_111879_, Transformation p_111880_, boolean p_111881_, int p_111882_) -
Uses of Transformation in net.minecraft.client.resources.model
Modifier and TypeFieldDescriptionprivate final Map<org.apache.commons.lang3.tuple.Triple<ResourceLocation,
Transformation, Boolean>, BakedModel> ModelBakery.bakedCache
Modifier and TypeMethodDescriptionBlockModelRotation.getRotation()
default Transformation
ModelState.getRotation()
-
Uses of Transformation in net.minecraft.core
Modifier and TypeFieldDescriptionstatic final Map<Direction,
Transformation> BlockMath.VANILLA_UV_TRANSFORM_GLOBAL_TO_LOCAL
static final Map<Direction,
Transformation> BlockMath.VANILLA_UV_TRANSFORM_LOCAL_TO_GLOBAL
Modifier and TypeMethodDescriptionstatic Transformation
BlockMath.blockCenterToCorner
(Transformation p_121843_) static Transformation
BlockMath.blockCornerToCenter
(Transformation p_175260_) static Transformation
BlockMath.getUVLockTransform
(Transformation p_121845_, Direction p_121846_, Supplier<String> p_121847_) Modifier and TypeMethodDescriptionstatic Transformation
BlockMath.blockCenterToCorner
(Transformation p_121843_) static Transformation
BlockMath.blockCornerToCenter
(Transformation p_175260_) static Transformation
BlockMath.getUVLockTransform
(Transformation p_121845_, Direction p_121846_, Supplier<String> p_121847_) -
Uses of Transformation in net.minecraftforge.client.extensions
Modifier and TypeMethodDescriptiondefault Transformation
IForgeTransformation.applyOrigin
(Vector3f origin) Returns a new transformation with a changed origin by applying the given parameter (which is relative to the current origin).default Transformation
IForgeTransformation.blockCenterToCorner()
Converts and returns a new transformation based on this transformation from assuming a center-block system to an opposing-corner-block system.default Transformation
IForgeTransformation.blockCornerToCenter()
Converts and returns a new transformation based on this transformation from assuming an opposing-corner-block system to a center-block system.private Transformation
IForgeTransformation.self()
Modifier and TypeMethodDescriptiondefault void
IForgePoseStack.pushTransformation
(Transformation transformation) Pushes and applies thetransformation
to this pose stack. -
Uses of Transformation in net.minecraftforge.client.model
Modifier and TypeFieldDescriptionprivate static final Transformation
DynamicFluidContainerModel.COVER_TRANSFORM
private static final Transformation
DynamicFluidContainerModel.FLUID_TRANSFORM
private final Transformation
SimpleModelState.transformation
Modifier and TypeMethodDescriptionstatic IQuadTransformer
IQuadTransformer.applying
(Transformation transform) Deprecated, for removal: This API element is subject to removal in a future version.static IQuadTransformer
QuadTransformers.applying
(Transformation transform) Returns a newBakedQuad
transformer that applies the specifiedTransformation
.ModifierConstructorDescriptionSimpleModelState
(Transformation transformation) SimpleModelState
(Transformation transformation, boolean uvLocked) -
Uses of Transformation in net.minecraftforge.client.model.generators
Modifier and TypeMethodDescriptionBlockModelBuilder.RootTransformBuilder.transform
(Transformation transformation) Sets the root transform. -
Uses of Transformation in net.minecraftforge.client.model.geometry
Modifier and TypeFieldDescriptionprivate @Nullable Transformation
BlockGeometryBakingContext.rootTransform
private Transformation
StandaloneGeometryBakingContext.Builder.rootTransform
private final Transformation
StandaloneGeometryBakingContext.rootTransform
Modifier and TypeMethodDescriptionBlockGeometryBakingContext.getRootTransform()
IGeometryBakingContext.getRootTransform()
Returns the root transformation to be applied to all variants of this model, regardless of item transforms..StandaloneGeometryBakingContext.getRootTransform()
Modifier and TypeMethodDescriptionstatic IQuadTransformer
UnbakedGeometryHelper.applyRootTransform
(ModelState modelState, Transformation rootTransform) Create anIQuadTransformer
to apply aTransformation
that undoes theModelState
transform (blockstate transform), applies the given root transform and then re-applies the blockstate transform.static ModelState
UnbakedGeometryHelper.composeRootTransformIntoModelState
(ModelState modelState, Transformation rootTransform) Returns aModelState
that combines the existing model state and the root transform.void
BlockGeometryBakingContext.setRootTransform
(Transformation rootTransform) StandaloneGeometryBakingContext.Builder.withRootTransform
(Transformation rootTransform) ModifierConstructorDescriptionprivate
StandaloneGeometryBakingContext
(ResourceLocation modelName, Predicate<String> materialCheck, Function<String, Material> materialLookup, boolean isGui3d, boolean useBlockLight, boolean useAmbientOcclusion, ItemTransforms transforms, Transformation rootTransform, @Nullable ResourceLocation renderTypeHint, BiPredicate<String, Boolean> visibilityTest) -
Uses of Transformation in net.minecraftforge.client.model.obj
Modifier and TypeMethodDescriptionObjModel.makeQuad
(int[][] indices, int tintIndex, Vector4f colorTint, Vector4f ambientColor, TextureAtlasSprite texture, Transformation transform) -
Uses of Transformation in net.minecraftforge.client.model.pipeline
Modifier and TypeFieldDescriptionprivate final Transformation
TransformingVertexPipeline.transformation
ModifierConstructorDescriptionTransformingVertexPipeline
(VertexConsumer parent, Transformation transformation) -
Uses of Transformation in net.minecraftforge.common.util
Modifier and TypeMethodDescriptionTransformationHelper.Deserializer.deserialize
(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) static Transformation
TransformationHelper.slerp
(Transformation one, Transformation that, float progress) Modifier and TypeMethodDescriptionstatic Transformation
TransformationHelper.slerp
(Transformation one, Transformation that, float progress) -
Uses of Transformation in net.minecraftforge.debug.client.model
Modifier and TypeFieldDescriptionprivate final Transformation
MegaModelTest.TestData.transform
The field for thetransform
record component.Modifier and TypeMethodDescriptionMegaModelTest.TestData.transform()
Returns the value of thetransform
record component.ModifierConstructorDescriptionprivate
TestData
(Transformation transform) Creates an instance of aTestData
record class.
QuadTransformers.applying(Transformation)