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 TransformationModifier and TypeFieldDescriptionprivate final Transformation
BlockModel.rootTransform
The field for therootTransform
record component.Methods in net.minecraft.client.renderer.block.model that return TransformationModifier and TypeMethodDescriptionBlockModel.rootTransform()
Returns the value of therootTransform
record component.Methods in net.minecraft.client.renderer.block.model with parameters of type TransformationModifier and TypeMethodDescriptionprivate static void
FaceBakery.applyModelRotation
(org.joml.Vector3f p_254561_, Transformation p_253793_) private static void
FaceBakery.bakeVertex
(int[] p_111621_, int p_111622_, FaceInfo p_405531_, BlockElementFace.UVs p_405537_, Quadrant p_404831_, org.joml.Matrix4fc p_405449_, float[] p_111625_, TextureAtlasSprite p_111626_, Transformation p_111627_, BlockElementRotation p_111628_) private static int[]
FaceBakery.makeVertices
(BlockElementFace.UVs p_405062_, Quadrant p_405779_, org.joml.Matrix4fc p_404746_, TextureAtlasSprite p_111575_, Direction p_111576_, float[] p_111577_, Transformation p_111578_, BlockElementRotation p_111579_) Constructors in net.minecraft.client.renderer.block.model with parameters of type TransformationModifierConstructorDescriptionBlockModel
(UnbakedGeometry geometry, UnbakedModel.GuiLight guiLight, Boolean ambientOcclusion, ItemTransforms transforms, TextureSlots.Data textureSlots, ResourceLocation parent, Transformation rootTransform, RenderTypeGroup renderTypeGroup, Map<String, Boolean> partVisibility) Creates an instance of aBlockModel
record class. -
Uses of Transformation in net.minecraft.client.resources.model
Fields in net.minecraft.client.resources.model declared as TransformationModifier and TypeFieldDescription(package private) final Transformation
BlockModelRotation.transformation
Methods in net.minecraft.client.resources.model that return TransformationModifier and TypeMethodDescriptionBlockModelRotation.transformation()
BlockModelRotation.WithUvLock.transformation()
default Transformation
ModelState.transformation()
-
Uses of Transformation in net.minecraft.core
Fields in net.minecraft.core with type parameters of type TransformationModifier and TypeFieldDescriptionprivate static final Map
<Direction, Transformation> BlockMath.VANILLA_UV_TRANSFORM_GLOBAL_TO_LOCAL
private 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.getFaceTransformation
(Transformation p_404802_, Direction p_405816_) 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.getFaceTransformation
(Transformation p_404802_, Direction p_405816_) -
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.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions with parameters of type TransformationModifier and TypeMethodDescriptiondefault void
IPoseStackExtension.pushTransformation
(Transformation transformation) Pushes and applies thetransformation
to this pose stack. -
Uses of Transformation in net.neoforged.neoforge.client.model
Fields in net.neoforged.neoforge.client.model declared as TransformationModifier and TypeFieldDescriptionprivate final @Nullable Transformation
StandardModelParameters.rootTransform
The field for therootTransform
record component.private final Transformation
ComposedModelState.transformation
Fields in net.neoforged.neoforge.client.model with type parameters of type TransformationModifier and TypeFieldDescriptionstatic final ContextKey
<Transformation> NeoForgeModelProperties.TRANSFORM
Root transform.Methods in net.neoforged.neoforge.client.model that return TransformationModifier and TypeMethodDescriptionstatic @Nullable Transformation
NeoForgeModelProperties.deserializeRootTransform
(com.google.gson.JsonObject jsonObject, com.google.gson.JsonDeserializationContext context) @Nullable Transformation
StandardModelParameters.rootTransform()
Returns the value of therootTransform
record component.ComposedModelState.transformation()
Methods in net.neoforged.neoforge.client.model with parameters of type TransformationModifier and TypeMethodDescriptionstatic IQuadTransformer
QuadTransformers.applying
(Transformation transform) Returns a newBakedQuad
transformer that applies the specifiedTransformation
.static ModelState
UnbakedElementsHelper.composeRootTransformIntoModelState
(ModelState modelState, Transformation rootTransform) Returns aModelState
that combines the existing model state and the root transform.static void
NeoForgeModelProperties.fillRootTransformProperty
(ContextMap.Builder propertiesBuilder, @Nullable Transformation rootTransform) Puts the given root transform into the given builder if present, overwriting any value specified in a parent modelConstructors in net.neoforged.neoforge.client.model with parameters of type TransformationModifierConstructorDescriptionComposedModelState
(ModelState parent, Transformation transformation) StandardModelParameters
(@Nullable ResourceLocation parent, TextureSlots.Data textures, @Nullable ItemTransforms itemTransforms, @Nullable Boolean ambientOcclusion, UnbakedModel.GuiLight guiLight, @Nullable Transformation rootTransform, RenderTypeGroup renderTypeGroup, Map<String, Boolean> partVisibility) Creates an instance of aStandardModelParameters
record class. -
Uses of Transformation in net.neoforged.neoforge.client.model.generators.template
Methods in net.neoforged.neoforge.client.model.generators.template with parameters of type TransformationModifier and TypeMethodDescriptionRootTransformsBuilder.transform
(Transformation transformation) Sets the root transform. -
Uses of Transformation in net.neoforged.neoforge.client.model.item
Fields in net.neoforged.neoforge.client.model.item declared as TransformationModifier and TypeFieldDescriptionprivate static final Transformation
DynamicFluidContainerModel.COVER_TRANSFORM
private static final Transformation
DynamicFluidContainerModel.FLUID_TRANSFORM
-
Uses of Transformation in net.neoforged.neoforge.client.model.obj
Methods in net.neoforged.neoforge.client.model.obj with parameters of type TransformationModifier and TypeMethodDescriptionObjGeometry.makeQuad
(int[][] indices, int tintIndex, org.joml.Vector4f colorTint, org.joml.Vector4f ambientColor, TextureAtlasSprite texture, Transformation transform) -
Uses of Transformation in net.neoforged.neoforge.client.model.pipeline
Fields in net.neoforged.neoforge.client.model.pipeline declared as TransformationModifier and TypeFieldDescriptionprivate final Transformation
TransformingVertexPipeline.transformation
Constructors in net.neoforged.neoforge.client.model.pipeline with parameters of type TransformationModifierConstructorDescriptionTransformingVertexPipeline
(VertexConsumer parent, Transformation transformation) -
Uses of Transformation in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return TransformationModifier and TypeMethodDescriptiondefault Transformation
ITransformationExtension.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
ITransformationExtension.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
ITransformationExtension.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
ITransformationExtension.self()
-
Uses of Transformation in net.neoforged.neoforge.common.util
Methods in net.neoforged.neoforge.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.neoforged.neoforge.common.util with parameters of type TransformationModifier and TypeMethodDescriptionstatic Transformation
TransformationHelper.slerp
(Transformation one, Transformation that, float progress)