Uses of Class
com.mojang.math.Transformation
Packages that use Transformation
Package
Description
Extension interfaces for
client
-only classes.-
Uses of Transformation in com.mojang.math
Fields in com.mojang.math declared as TransformationFields in com.mojang.math with type parameters of type TransformationModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Transformation>
Transformation.CODEC
static final com.mojang.serialization.Codec<Transformation>
Transformation.EXTENDED_CODEC
Methods in com.mojang.math that return TransformationModifier and TypeMethodDescriptionTransformation.compose
(Transformation p_121097_) static Transformation
Transformation.identity()
Transformation.inverse()
Transformation.slerp
(Transformation p_175938_, float p_175939_) Methods in com.mojang.math with parameters of type TransformationModifier and TypeMethodDescriptionTransformation.compose
(Transformation p_121097_) Transformation.slerp
(Transformation p_175938_, float p_175939_) -
Uses of Transformation in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model declared as TransformationMethods in net.minecraft.client.renderer.block.model that return TransformationMethods in net.minecraft.client.renderer.block.model with parameters of type TransformationModifier and TypeMethodDescriptionvoid
FaceBakery.applyModelRotation
(org.joml.Vector3f p_254561_, Transformation p_253793_) 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_) Constructors in net.minecraft.client.renderer.block.model with parameters of type TransformationModifierConstructorDescriptionVariant
(ResourceLocation p_111879_, Transformation p_111880_, boolean p_111881_, int p_111882_) -
Uses of Transformation in net.minecraft.client.resources.model
Fields in net.minecraft.client.resources.model declared as TransformationModifier and TypeFieldDescriptionprivate final Transformation
BlockModelRotation.transformation
private final Transformation
ModelBakery.BakedCacheKey.transformation
The field for thetransformation
record component.Methods in net.minecraft.client.resources.model that return TransformationModifier and TypeMethodDescriptionBlockModelRotation.getRotation()
default Transformation
ModelState.getRotation()
ModelBakery.BakedCacheKey.transformation()
Returns the value of thetransformation
record component.Constructors in net.minecraft.client.resources.model with parameters of type TransformationModifierConstructorDescription(package private)
BakedCacheKey
(ResourceLocation id, Transformation transformation, boolean isUvLocked) Creates an instance of aBakedCacheKey
record class. -
Uses of Transformation in net.minecraft.core
Fields in net.minecraft.core with type parameters of type TransformationModifier 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
Methods in net.minecraft.core that return TransformationModifier 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_) Methods in net.minecraft.core with parameters of type TransformationModifier 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.minecraft.world.entity
Fields in net.minecraft.world.entity declared as TransformationModifier and TypeFieldDescriptionprivate final Transformation
Display.TransformationInterpolator.current
The field for thecurrent
record component.private final Transformation
Display.TransformationInterpolator.previous
The field for theprevious
record component.Fields in net.minecraft.world.entity with type parameters of type TransformationModifier and TypeFieldDescriptionprivate final Display.GenericInterpolator<Transformation>
Display.RenderState.transformation
The field for thetransformation
record component.Methods in net.minecraft.world.entity that return TransformationModifier and TypeMethodDescriptionprivate static Transformation
Display.createTransformation
(SynchedEntityData p_270278_) Display.TransformationInterpolator.current()
Returns the value of thecurrent
record component.Display.TransformationInterpolator.get
(float p_278027_) Display.TransformationInterpolator.previous()
Returns the value of theprevious
record component.Methods in net.minecraft.world.entity that return types with arguments of type TransformationModifier and TypeMethodDescriptionDisplay.RenderState.transformation()
Returns the value of thetransformation
record component.Methods in net.minecraft.world.entity with parameters of type TransformationModifier and TypeMethodDescriptionprivate void
Display.setTransformation
(Transformation p_270186_) Constructors in net.minecraft.world.entity with parameters of type TransformationModifierConstructorDescription(package private)
TransformationInterpolator
(Transformation previous, Transformation current) Creates an instance of aTransformationInterpolator
record class.Constructor parameters in net.minecraft.world.entity with type arguments of type TransformationModifierConstructorDescriptionRenderState
(Display.GenericInterpolator<Transformation> transformation, Display.BillboardConstraints billboardConstraints, int brightnessOverride, Display.FloatInterpolator shadowRadius, Display.FloatInterpolator shadowStrength, int glowColorOverride) Creates an instance of aRenderState
record class. -
Uses of Transformation in net.minecraftforge.client.extensions
Methods in net.minecraftforge.client.extensions with parameters of type TransformationModifier and TypeMethodDescriptiondefault void
IForgePoseStack.pushTransformation
(Transformation transformation) Pushes and applies thetransformation
to this pose stack. -
Uses of Transformation in net.minecraftforge.client.model
Fields in net.minecraftforge.client.model declared as TransformationModifier and TypeFieldDescriptionprivate static final Transformation
DynamicFluidContainerModel.COVER_TRANSFORM
private static final Transformation
DynamicFluidContainerModel.FLUID_TRANSFORM
private final Transformation
SimpleModelState.transformation
Methods in net.minecraftforge.client.model that return TransformationMethods in net.minecraftforge.client.model with parameters of type TransformationModifier and TypeMethodDescriptionstatic IQuadTransformer
QuadTransformers.applying
(Transformation transform) Returns a newBakedQuad
transformer that applies the specifiedTransformation
.Constructors in net.minecraftforge.client.model with parameters of type TransformationModifierConstructorDescriptionSimpleModelState
(Transformation transformation) SimpleModelState
(Transformation transformation, boolean uvLocked) -
Uses of Transformation in net.minecraftforge.client.model.generators
Methods in net.minecraftforge.client.model.generators with parameters of type TransformationModifier and TypeMethodDescriptionModelBuilder.RootTransformsBuilder.transform
(Transformation transformation) Sets the root transform. -
Uses of Transformation in net.minecraftforge.client.model.geometry
Fields in net.minecraftforge.client.model.geometry declared as TransformationModifier and TypeFieldDescriptionprivate @Nullable Transformation
BlockGeometryBakingContext.rootTransform
private Transformation
StandaloneGeometryBakingContext.Builder.rootTransform
private final Transformation
StandaloneGeometryBakingContext.rootTransform
Methods in net.minecraftforge.client.model.geometry that return TransformationModifier and TypeMethodDescriptionBlockGeometryBakingContext.getRootTransform()
IGeometryBakingContext.getRootTransform()
Returns the root transformation to be applied to all variants of this model, regardless of item transforms..StandaloneGeometryBakingContext.getRootTransform()
Methods in net.minecraftforge.client.model.geometry with parameters of type TransformationModifier 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) Constructors in net.minecraftforge.client.model.geometry with parameters of type TransformationModifierConstructorDescriptionprivate
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
Methods in net.minecraftforge.client.model.obj with parameters of type TransformationModifier and TypeMethodDescriptionObjModel.makeQuad
(int[][] indices, int tintIndex, org.joml.Vector4f colorTint, org.joml.Vector4f ambientColor, TextureAtlasSprite texture, Transformation transform) -
Uses of Transformation in net.minecraftforge.client.model.pipeline
Fields in net.minecraftforge.client.model.pipeline declared as TransformationModifier and TypeFieldDescriptionprivate final Transformation
TransformingVertexPipeline.transformation
Constructors in net.minecraftforge.client.model.pipeline with parameters of type TransformationModifierConstructorDescriptionTransformingVertexPipeline
(VertexConsumer parent, Transformation transformation) -
Uses of Transformation in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions that return TransformationModifier and TypeMethodDescriptiondefault Transformation
IForgeTransformation.applyOrigin
(org.joml.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()
-
Uses of Transformation in net.minecraftforge.common.util
Methods in net.minecraftforge.common.util that return TransformationModifier 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) Methods in net.minecraftforge.common.util with parameters of type TransformationModifier and TypeMethodDescriptionstatic Transformation
TransformationHelper.slerp
(Transformation one, Transformation that, float progress) -
Uses of Transformation in net.minecraftforge.debug.client.model
Fields in net.minecraftforge.debug.client.model declared as TransformationModifier and TypeFieldDescriptionprivate final Transformation
MegaModelTest.TestData.transform
The field for thetransform
record component.Methods in net.minecraftforge.debug.client.model that return TransformationModifier and TypeMethodDescriptionMegaModelTest.TestData.transform()
Returns the value of thetransform
record component.Constructors in net.minecraftforge.debug.client.model with parameters of type TransformationModifierConstructorDescriptionprivate
TestData
(Transformation transform) Creates an instance of aTestData
record class.