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.CODECstatic final com.mojang.serialization.Codec<Transformation> Transformation.EXTENDED_CODECMethods in com.mojang.math that return TransformationModifier and TypeMethodDescriptionTransformation.compose(Transformation p_121097_) static TransformationTransformation.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 TypeMethodDescriptionvoidFaceBakery.applyModelRotation(org.joml.Vector3f p_254561_, Transformation p_253793_) private voidFaceBakery.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 BlockFaceUVFaceBakery.recomputeUVs(BlockFaceUV p_111582_, Direction p_111583_, Transformation p_111584_) 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 TransformationBlockModelRotation.transformationprivate final TransformationModelBakery.BakedCacheKey.transformationThe field for thetransformationrecord component.Methods in net.minecraft.client.resources.model that return TransformationModifier and TypeMethodDescriptionBlockModelRotation.getRotation()default TransformationModelState.getRotation()ModelBakery.BakedCacheKey.transformation()Returns the value of thetransformationrecord 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 aBakedCacheKeyrecord 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_LOCALstatic final Map<Direction, Transformation> BlockMath.VANILLA_UV_TRANSFORM_LOCAL_TO_GLOBALMethods in net.minecraft.core that return TransformationModifier and TypeMethodDescriptionstatic TransformationBlockMath.blockCenterToCorner(Transformation p_121843_) static TransformationBlockMath.blockCornerToCenter(Transformation p_175260_) static TransformationBlockMath.getUVLockTransform(Transformation p_121845_, Direction p_121846_) Methods in net.minecraft.core with parameters of type TransformationModifier and TypeMethodDescriptionstatic TransformationBlockMath.blockCenterToCorner(Transformation p_121843_) static TransformationBlockMath.blockCornerToCenter(Transformation p_175260_) static TransformationBlockMath.getUVLockTransform(Transformation p_121845_, Direction p_121846_) -
Uses of Transformation in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as TransformationModifier and TypeFieldDescriptionprivate final TransformationDisplay.TransformationInterpolator.currentThe field for thecurrentrecord component.private final TransformationDisplay.TransformationInterpolator.previousThe field for thepreviousrecord component.Fields in net.minecraft.world.entity with type parameters of type TransformationModifier and TypeFieldDescriptionprivate final Display.GenericInterpolator<Transformation> Display.RenderState.transformationThe field for thetransformationrecord component.Methods in net.minecraft.world.entity that return TransformationModifier and TypeMethodDescriptionprivate static TransformationDisplay.createTransformation(SynchedEntityData p_270278_) Display.TransformationInterpolator.current()Returns the value of thecurrentrecord component.Display.TransformationInterpolator.get(float p_278027_) Display.TransformationInterpolator.previous()Returns the value of thepreviousrecord component.Methods in net.minecraft.world.entity that return types with arguments of type TransformationModifier and TypeMethodDescriptionDisplay.RenderState.transformation()Returns the value of thetransformationrecord component.Methods in net.minecraft.world.entity with parameters of type TransformationModifier and TypeMethodDescriptionprivate voidDisplay.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 aTransformationInterpolatorrecord 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 aRenderStaterecord class. -
Uses of Transformation in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions with parameters of type TransformationModifier and TypeMethodDescriptiondefault voidIPoseStackExtension.pushTransformation(Transformation transformation) Pushes and applies thetransformationto this pose stack. -
Uses of Transformation in net.neoforged.neoforge.client.model
Fields in net.neoforged.neoforge.client.model declared as TransformationModifier and TypeFieldDescriptionprivate static final TransformationDynamicFluidContainerModel.COVER_TRANSFORMprivate static final TransformationDynamicFluidContainerModel.FLUID_TRANSFORMprivate final TransformationSimpleModelState.transformationMethods in net.neoforged.neoforge.client.model that return TransformationMethods in net.neoforged.neoforge.client.model with parameters of type TransformationModifier and TypeMethodDescriptionstatic IQuadTransformerQuadTransformers.applying(Transformation transform) Returns a newBakedQuadtransformer that applies the specifiedTransformation.Constructors in net.neoforged.neoforge.client.model with parameters of type TransformationModifierConstructorDescriptionSimpleModelState(Transformation transformation) SimpleModelState(Transformation transformation, boolean uvLocked) -
Uses of Transformation in net.neoforged.neoforge.client.model.generators
Methods in net.neoforged.neoforge.client.model.generators with parameters of type TransformationModifier and TypeMethodDescriptionModelBuilder.RootTransformsBuilder.transform(Transformation transformation) Sets the root transform. -
Uses of Transformation in net.neoforged.neoforge.client.model.geometry
Fields in net.neoforged.neoforge.client.model.geometry declared as TransformationModifier and TypeFieldDescriptionprivate @Nullable TransformationBlockGeometryBakingContext.rootTransformprivate TransformationStandaloneGeometryBakingContext.Builder.rootTransformprivate final TransformationStandaloneGeometryBakingContext.rootTransformMethods in net.neoforged.neoforge.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.neoforged.neoforge.client.model.geometry with parameters of type TransformationModifier and TypeMethodDescriptionstatic IQuadTransformerUnbakedGeometryHelper.applyRootTransform(ModelState modelState, Transformation rootTransform) Create anIQuadTransformerto apply aTransformationthat undoes theModelStatetransform (blockstate transform), applies the given root transform and then re-applies the blockstate transform.static ModelStateUnbakedGeometryHelper.composeRootTransformIntoModelState(ModelState modelState, Transformation rootTransform) Returns aModelStatethat combines the existing model state and the root transform.voidBlockGeometryBakingContext.setRootTransform(Transformation rootTransform) StandaloneGeometryBakingContext.Builder.withRootTransform(Transformation rootTransform) Constructors in net.neoforged.neoforge.client.model.geometry with parameters of type TransformationModifierConstructorDescriptionprivateStandaloneGeometryBakingContext(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.neoforged.neoforge.client.model.obj
Methods in net.neoforged.neoforge.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.neoforged.neoforge.client.model.pipeline
Fields in net.neoforged.neoforge.client.model.pipeline declared as TransformationModifier and TypeFieldDescriptionprivate final TransformationTransformingVertexPipeline.transformationConstructors 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 TransformationITransformationExtension.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 TransformationITransformationExtension.blockCenterToCorner()Converts and returns a new transformation based on this transformation from assuming a center-block system to an opposing-corner-block system.default TransformationITransformationExtension.blockCornerToCenter()Converts and returns a new transformation based on this transformation from assuming an opposing-corner-block system to a center-block system.private TransformationITransformationExtension.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 TransformationTransformationHelper.slerp(Transformation one, Transformation that, float progress) Methods in net.neoforged.neoforge.common.util with parameters of type TransformationModifier and TypeMethodDescriptionstatic TransformationTransformationHelper.slerp(Transformation one, Transformation that, float progress) -
Uses of Transformation in net.neoforged.neoforge.oldtest.client.model
Fields in net.neoforged.neoforge.oldtest.client.model declared as TransformationModifier and TypeFieldDescriptionprivate final TransformationMegaModelTest.TestData.transformThe field for thetransformrecord component.Methods in net.neoforged.neoforge.oldtest.client.model that return TransformationModifier and TypeMethodDescriptionMegaModelTest.TestData.transform()Returns the value of thetransformrecord component.Constructors in net.neoforged.neoforge.oldtest.client.model with parameters of type TransformationModifierConstructorDescriptionprivateTestData(Transformation transform) Creates an instance of aTestDatarecord class.