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 pOther) static TransformationTransformation.identity()Transformation.inverse()Transformation.slerp(Transformation pTransformation, float pDelta) Methods in com.mojang.math with parameters of type TransformationModifier and TypeMethodDescriptionTransformation.compose(Transformation pOther) Transformation.slerp(Transformation pTransformation, float pDelta) -
Uses of Transformation in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model declared as TransformationModifier and TypeFieldDescriptionprivate final TransformationBlockModel.rootTransformThe field for therootTransformrecord component.Methods in net.minecraft.client.renderer.block.model that return TransformationModifier and TypeMethodDescriptionBlockModel.rootTransform()Returns the value of therootTransformrecord component.Methods in net.minecraft.client.renderer.block.model with parameters of type TransformationModifier and TypeMethodDescriptionprivate static voidFaceBakery.applyModelRotation(org.joml.Vector3f pPos, Transformation pTransform) private static voidFaceBakery.bakeVertex(int[] pVertexData, int pVertexIndex, FaceInfo pFaceInfo, BlockElementFace.UVs pUvs, Quadrant pRotation, org.joml.Matrix4fc pInverseFaceTransform, float[] pShape, TextureAtlasSprite pSprite, Transformation pTransformation, BlockElementRotation pPartRotation) private static int[]FaceBakery.makeVertices(BlockElementFace.UVs pUvs, Quadrant pRotation, org.joml.Matrix4fc pInverseFaceTransform, TextureAtlasSprite pSprite, Direction pFacing, float[] pShape, Transformation pTransformation, BlockElementRotation pPartRotation) 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 aBlockModelrecord 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 TransformationBlockModelRotation.transformationMethods in net.minecraft.client.resources.model that return TransformationModifier and TypeMethodDescriptionBlockModelRotation.transformation()BlockModelRotation.WithUvLock.transformation()default TransformationModelState.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_LOCALprivate static final Map<Direction, Transformation> BlockMath.VANILLA_UV_TRANSFORM_LOCAL_TO_GLOBALMethods in net.minecraft.core that return TransformationModifier and TypeMethodDescriptionstatic TransformationBlockMath.blockCenterToCorner(Transformation pTransformation) static TransformationBlockMath.blockCornerToCenter(Transformation pTransformation) static TransformationBlockMath.getFaceTransformation(Transformation pTransformation, Direction pDirection) Methods in net.minecraft.core with parameters of type TransformationModifier and TypeMethodDescriptionstatic TransformationBlockMath.blockCenterToCorner(Transformation pTransformation) static TransformationBlockMath.blockCornerToCenter(Transformation pTransformation) static TransformationBlockMath.getFaceTransformation(Transformation pTransformation, Direction pDirection) -
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 pSynchedEntityData) 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 pTransformation) 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 final @Nullable TransformationStandardModelParameters.rootTransformThe field for therootTransformrecord component.private final TransformationComposedModelState.transformationFields in net.neoforged.neoforge.client.model with type parameters of type TransformationModifier and TypeFieldDescriptionstatic final ContextKey<Transformation> NeoForgeModelProperties.TRANSFORMRoot transform.Methods in net.neoforged.neoforge.client.model that return TransformationModifier and TypeMethodDescriptionstatic @Nullable TransformationNeoForgeModelProperties.deserializeRootTransform(JsonObject jsonObject, JsonDeserializationContext context) @Nullable TransformationStandardModelParameters.rootTransform()Returns the value of therootTransformrecord component.ComposedModelState.transformation()Methods in net.neoforged.neoforge.client.model with parameters of type TransformationModifier and TypeMethodDescriptionstatic IQuadTransformerQuadTransformers.applying(Transformation transform) Returns a newBakedQuadtransformer that applies the specifiedTransformation.static ModelStateUnbakedElementsHelper.composeRootTransformIntoModelState(ModelState modelState, Transformation rootTransform) Returns aModelStatethat combines the existing model state and the root transform.static voidNeoForgeModelProperties.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 aStandardModelParametersrecord 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 TransformationDynamicFluidContainerModel.COVER_TRANSFORMprivate static final TransformationDynamicFluidContainerModel.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 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(JsonElement json, Type typeOfT, 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)