Uses of Class
com.mojang.math.Transformation
Package
Description
-
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 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 Map<Direction,Transformation>
BlockMath.VANILLA_UV_TRANSFORM_GLOBAL_TO_LOCAL
static 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)
Apply this transformation to a different origin.default Transformation
IForgeTransformation.blockCenterToCorner()
convert transformation from assuming center-block system to opposing-corner-block systemdefault Transformation
IForgeTransformation.blockCornerToCenter()
convert transformation from assuming opposing-corner-block system to center-block systemdefault Transformation
IForgeModelState.getPartTransformation(Object part)
private Transformation
IForgeTransformation.self()
-
Uses of Transformation in net.minecraftforge.client.model
Modifier and TypeFieldDescriptionprivate Transformation
SimpleModelState.base
private Transformation
QuadTransformer.transform
protected Transformation
FluidModel.BakedFluid.transformation
Modifier and TypeFieldDescriptionprivate com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation>
ItemMultiLayerBakedModel.Builder.cameraTransforms
private com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation>
ItemMultiLayerBakedModel.cameraTransforms
private com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation>
MultiLayerModel.MultiLayerBakedModel.cameraTransforms
private com.google.common.collect.ImmutableMap<?,Transformation>
SimpleModelState.map
protected com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation>
BakedItemModel.transforms
protected com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation>
FluidModel.BakedFluid.transforms
private com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation>
PerspectiveMapWrapper.transforms
Modifier and TypeMethodDescriptionCompositeModelState.getPartTransformation(Object part)
SimpleModelState.getPartTransformation(Object part)
CompositeModelState.getRotation()
SimpleModelState.getRotation()
Modifier and TypeMethodDescriptionstatic com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation>
PerspectiveMapWrapper.getTransforms(ItemTransforms transforms)
static com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation>
PerspectiveMapWrapper.getTransforms(ModelState state)
static com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation>
PerspectiveMapWrapper.getTransformsWithFallback(ModelState state, ItemTransforms transforms)
Modifier and TypeMethodDescriptionprivate static BakedQuad
ItemLayerModel.buildQuad(Transformation transform, Direction side, TextureAtlasSprite sprite, int tint, boolean fullbright, float x0, float y0, float z0, float u0, float v0, float x1, float y1, float z1, float u1, float v1, float x2, float y2, float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3)
private static BakedQuad
ItemLayerModel.buildSideQuad(Transformation transform, Direction side, int tint, TextureAtlasSprite sprite, int u, int v, int size, boolean fullbright)
ItemTextureQuadConverter.convertTexture(Transformation transform, TextureAtlasSprite template, TextureAtlasSprite sprite, float z, Direction facing, int color, int tint)
Takes a texture and converts it into BakedQuads.ItemTextureQuadConverter.convertTexture(Transformation transform, TextureAtlasSprite template, TextureAtlasSprite sprite, float z, Direction facing, int color, int tint, int luminosity)
ItemTextureQuadConverter.convertTextureHorizontal(Transformation transform, TextureAtlasSprite template, TextureAtlasSprite sprite, float z, Direction facing, int color, int tint)
Scans a texture and converts it into a list of horizontal strips stacked on top of each other.ItemTextureQuadConverter.convertTextureHorizontal(Transformation transform, TextureAtlasSprite template, TextureAtlasSprite sprite, float z, Direction facing, int color, int tint, int luminosity)
ItemTextureQuadConverter.convertTextureVertical(Transformation transform, TextureAtlasSprite template, TextureAtlasSprite sprite, float z, Direction facing, int color, int tint)
Scans a texture and converts it into a list of vertical strips stacked next to each other from left to right.ItemTextureQuadConverter.convertTextureVertical(Transformation transform, TextureAtlasSprite template, TextureAtlasSprite sprite, float z, Direction facing, int color, int tint, int luminosity)
static BakedQuad
ItemTextureQuadConverter.genQuad(Transformation transform, float x1, float y1, float x2, float y2, float z, TextureAtlasSprite sprite, Direction facing, int color, int tint)
Generates a Front/Back quad for an itemmodel.static BakedQuad
ItemTextureQuadConverter.genQuad(Transformation transform, float x1, float y1, float x2, float y2, float z, TextureAtlasSprite sprite, Direction facing, int color, int tint, int luminosity)
static com.google.common.collect.ImmutableList<BakedQuad>
ItemLayerModel.getQuadsForSprite(int tint, TextureAtlasSprite sprite, Transformation transform)
static com.google.common.collect.ImmutableList<BakedQuad>
ItemLayerModel.getQuadsForSprite(int tint, TextureAtlasSprite sprite, Transformation transform, boolean fullbright)
static com.google.common.collect.ImmutableList<BakedQuad>
ItemLayerModel.getQuadsForSprites(List<Material> textures, Transformation transform, Function<Material,TextureAtlasSprite> spriteGetter)
static com.google.common.collect.ImmutableList<BakedQuad>
ItemLayerModel.getQuadsForSprites(List<Material> textures, Transformation transform, Function<Material,TextureAtlasSprite> spriteGetter, Set<Integer> fullbrights)
private static BakedQuad
ItemTextureQuadConverter.putQuad(Transformation transform, Direction side, TextureAtlasSprite sprite, int color, int tint, float x1, float y1, float x2, float y2, float z, float u1, float v1, float u2, float v2, int luminosity)
Modifier and TypeMethodDescriptionItemMultiLayerBakedModel.builder(IModelConfiguration owner, TextureAtlasSprite particle, ItemOverrides overrides, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> cameraTransforms)
private static void
ModelLoaderRegistry.deserializeTRSR(com.google.gson.JsonDeserializationContext context, EnumMap<ItemTransforms.TransformType,Transformation> transforms, com.google.gson.JsonObject transform, String name, ItemTransforms.TransformType itemCameraTransform)
static BakedModel
PerspectiveMapWrapper.handlePerspective(BakedModel model, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> transforms, ItemTransforms.TransformType cameraTransformType, PoseStack mat)
private static boolean
BakedItemModel.hasGuiIdentity(com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> transforms)
ModifierConstructorDescriptionBakedFluid(Transformation transformation, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> transforms, ResourceLocation modelLocation, int color, TextureAtlasSprite still, TextureAtlasSprite flowing, Optional<TextureAtlasSprite> overlay, boolean gas, boolean statePresent, int[] cornerRound, int flowRound, boolean[] sideOverlays)
CachingBakedFluid(Transformation transformation, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> transforms, ResourceLocation modelLocation, int color, TextureAtlasSprite still, TextureAtlasSprite flowing, Optional<TextureAtlasSprite> overlay, boolean gas, Optional<IModelData> stateOption)
QuadTransformer(Transformation transform)
SimpleModelState(com.google.common.collect.ImmutableMap<?,Transformation> map, Transformation base)
SimpleModelState(Transformation base)
ModifierConstructorDescriptionBakedFluid(Transformation transformation, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> transforms, ResourceLocation modelLocation, int color, TextureAtlasSprite still, TextureAtlasSprite flowing, Optional<TextureAtlasSprite> overlay, boolean gas, boolean statePresent, int[] cornerRound, int flowRound, boolean[] sideOverlays)
BakedItemModel(com.google.common.collect.ImmutableList<BakedQuad> quads, TextureAtlasSprite particle, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> transforms, ItemOverrides overrides, boolean untransformed, boolean isSideLit)
private
Builder(IModelConfiguration owner, TextureAtlasSprite particle, ItemOverrides overrides, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> cameraTransforms)
CachingBakedFluid(Transformation transformation, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> transforms, ResourceLocation modelLocation, int color, TextureAtlasSprite still, TextureAtlasSprite flowing, Optional<TextureAtlasSprite> overlay, boolean gas, Optional<IModelData> stateOption)
ItemMultiLayerBakedModel(boolean smoothLighting, boolean shadedInGui, boolean sideLit, TextureAtlasSprite particle, ItemOverrides overrides, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> cameraTransforms, com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<BakedModel,RenderType>> layerModels)
MultiLayerBakedModel(boolean ambientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrides overrides, boolean convertRenderTypes, List<com.mojang.datafixers.util.Pair<RenderType,BakedModel>> models, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> cameraTransforms)
PerspectiveMapWrapper(BakedModel parent, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> transforms)
SimpleModelState(com.google.common.collect.ImmutableMap<?,Transformation> map)
SimpleModelState(com.google.common.collect.ImmutableMap<?,Transformation> map, Transformation base)
-
Uses of Transformation in net.minecraftforge.client.model.animation
Modifier and TypeMethodDescriptionModelBlockAnimation.MBClip.MBJointClip.apply(float time)
ModelBlockAnimation.MBJoint.getInvBindPose()
ModelBlockAnimation.getPartTransform(ModelState state, int i)
ModelBlockAnimation.getPartTransform(ModelState state, BlockElement part, int i)
-
Uses of Transformation in net.minecraftforge.client.model.b3d
Modifier and TypeFieldDescriptionprivate static com.google.common.cache.LoadingCache<org.apache.commons.lang3.tuple.Triple<B3DModel.Animation,B3DModel.Node<?>,Integer>,Transformation>
B3DLoader.B3DState.cache
Modifier and TypeMethodDescriptionB3DClip.NodeClip.apply(float time)
B3DLoader.NodeJoint.getInvBindPose()
static Transformation
B3DLoader.B3DState.getNodeMatrix(B3DModel.Animation animation, B3DModel.Node<?> node, int frame)
B3DLoader.B3DState.getNodeMatrix(B3DModel.Node<?> node)
B3DLoader.B3DState.getNodeMatrix(B3DModel.Node<?> node, int frame)
B3DLoader.B3DState.getPartTransformation(Object part)
B3DLoader.B3DState.getRotation()
-
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
-
Uses of Transformation in net.minecraftforge.common.model
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)
static Transformation
TransformationHelper.toTransformation(ItemTransform transform)
Deprecated.Modifier and TypeMethodDescriptionstatic Transformation
TransformationHelper.slerp(Transformation one, Transformation that, float progress)
-
Uses of Transformation in net.minecraftforge.common.model.animation
Modifier and TypeMethodDescriptionIJointClip.apply(float time)
JointClips.IdentityJointClip.apply(float time)
JointClips.NodeJointClip.apply(float time)
IJoint.getInvBindPose()