Modifier and Type | Field and Description |
---|---|
private static TransformationMatrix |
TransformationMatrix.IDENTITY |
Modifier and Type | Method and Description |
---|---|
TransformationMatrix |
TransformationMatrix.composeVanilla(TransformationMatrix matrixIn) |
static TransformationMatrix |
TransformationMatrix.identity() |
TransformationMatrix |
TransformationMatrix.inverseVanilla() |
Modifier and Type | Method and Description |
---|---|
TransformationMatrix |
TransformationMatrix.composeVanilla(TransformationMatrix matrixIn) |
Modifier and Type | Field and Description |
---|---|
private TransformationMatrix |
Variant.rotation |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<org.apache.commons.lang3.tuple.Triple<ResourceLocation,TransformationMatrix,java.lang.Boolean>,IBakedModel> |
ModelBakery.bakedModels |
static java.util.EnumMap<Direction,TransformationMatrix> |
UVTransformationUtil.TRANSFORM_GLOBAL_TO_LOCAL |
static java.util.EnumMap<Direction,TransformationMatrix> |
UVTransformationUtil.TRANSFORM_LOCAL_TO_GLOBAL |
Modifier and Type | Method and Description |
---|---|
static TransformationMatrix |
UVTransformationUtil.blockCenterToCorner(TransformationMatrix matrixIn) |
TransformationMatrix |
ModelRotation.getRotation() |
default TransformationMatrix |
IModelTransform.getRotation() |
TransformationMatrix |
Variant.getRotation() |
static TransformationMatrix |
UVTransformationUtil.getUVLockTransform(TransformationMatrix matrixIn,
Direction directionIn,
java.util.function.Supplier<java.lang.String> warningIn) |
Modifier and Type | Method and Description |
---|---|
static TransformationMatrix |
UVTransformationUtil.blockCenterToCorner(TransformationMatrix matrixIn) |
private void |
FaceBakery.fillVertexData(int[] vertexData,
int vertexIndex,
Direction facing,
BlockFaceUV blockFaceUVIn,
float[] posDiv16,
TextureAtlasSprite sprite,
TransformationMatrix rotationIn,
BlockPartRotation partRotation,
boolean shade) |
static TransformationMatrix |
UVTransformationUtil.getUVLockTransform(TransformationMatrix matrixIn,
Direction directionIn,
java.util.function.Supplier<java.lang.String> warningIn) |
private int[] |
FaceBakery.makeQuadVertexData(BlockFaceUV uvs,
TextureAtlasSprite sprite,
Direction orientation,
float[] posDiv16,
TransformationMatrix rotationIn,
BlockPartRotation partRotation,
boolean shade) |
void |
FaceBakery.rotateVertex(Vector3f posIn,
TransformationMatrix transformIn) |
static BlockFaceUV |
FaceBakery.updateFaceUV(BlockFaceUV blockFaceUVIn,
Direction facing,
TransformationMatrix modelRotationIn,
ResourceLocation modelLocationIn) |
Constructor and Description |
---|
Variant(ResourceLocation modelLocationIn,
TransformationMatrix rotationIn,
boolean uvLockIn,
int weightIn) |
Modifier and Type | Method and Description |
---|---|
default TransformationMatrix |
IForgeTransformationMatrix.applyOrigin(Vector3f origin)
Apply this transformation to a different origin.
|
default TransformationMatrix |
IForgeTransformationMatrix.blockCenterToCorner()
convert transformation from assuming center-block system to opposing-corner-block system
|
default TransformationMatrix |
IForgeTransformationMatrix.blockCornerToCenter()
convert transformation from assuming opposing-corner-block system to center-block system
|
default TransformationMatrix |
IForgeTransformationMatrix.compose(TransformationMatrix other) |
default TransformationMatrix |
IForgeModelTransform.getPartTransformation(java.lang.Object part) |
default TransformationMatrix |
IForgeTransformationMatrix.getTransformaion() |
default TransformationMatrix |
IForgeTransformationMatrix.inverse() |
Modifier and Type | Method and Description |
---|---|
default TransformationMatrix |
IForgeTransformationMatrix.compose(TransformationMatrix other) |
Modifier and Type | Field and Description |
---|---|
private TransformationMatrix |
SimpleModelTransform.base |
private static TransformationMatrix |
FancyMissingModel.smallTransformation |
private TransformationMatrix |
SimpleModelFontRenderer.transform |
private TransformationMatrix |
QuadTransformer.transform |
protected TransformationMatrix |
FluidModel.BakedFluid.transformation |
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> |
MultiLayerModel.MultiLayerBakedModel.cameraTransforms |
private com.google.common.collect.ImmutableMap<?,TransformationMatrix> |
SimpleModelTransform.map |
private com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> |
PerspectiveMapWrapper.transforms |
protected com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> |
BakedItemModel.transforms |
protected com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> |
FluidModel.BakedFluid.transforms |
Modifier and Type | Method and Description |
---|---|
TransformationMatrix |
ModelTransformComposition.getPartTransformation(java.lang.Object part) |
TransformationMatrix |
SimpleModelTransform.getPartTransformation(java.lang.Object part) |
TransformationMatrix |
ModelTransformComposition.getRotation() |
TransformationMatrix |
SimpleModelTransform.getRotation() |
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> |
PerspectiveMapWrapper.getTransforms(IModelTransform state) |
static com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> |
PerspectiveMapWrapper.getTransforms(ItemCameraTransforms transforms) |
static com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> |
PerspectiveMapWrapper.getTransformsWithFallback(IModelTransform state,
ItemCameraTransforms transforms) |
Modifier and Type | Method and Description |
---|---|
private static BakedQuad |
ItemLayerModel.buildQuad(TransformationMatrix 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(TransformationMatrix transform,
Direction side,
int tint,
TextureAtlasSprite sprite,
int u,
int v,
int size,
boolean fullbright) |
static java.util.List<BakedQuad> |
ItemTextureQuadConverter.convertTexture(TransformationMatrix transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
Direction facing,
int color,
int tint)
Takes a texture and converts it into BakedQuads.
|
static java.util.List<BakedQuad> |
ItemTextureQuadConverter.convertTextureHorizontal(TransformationMatrix 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.
|
static java.util.List<BakedQuad> |
ItemTextureQuadConverter.convertTextureVertical(TransformationMatrix 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.
|
static BakedQuad |
ItemTextureQuadConverter.genQuad(TransformationMatrix 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 com.google.common.collect.ImmutableList<BakedQuad> |
ItemLayerModel.getQuadsForSprite(int tint,
TextureAtlasSprite sprite,
TransformationMatrix transform) |
static com.google.common.collect.ImmutableList<BakedQuad> |
ItemLayerModel.getQuadsForSprite(int tint,
TextureAtlasSprite sprite,
TransformationMatrix transform,
boolean fullbright) |
static com.google.common.collect.ImmutableList<BakedQuad> |
ItemLayerModel.getQuadsForSprites(java.util.List<Material> textures,
TransformationMatrix transform,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter) |
static com.google.common.collect.ImmutableList<BakedQuad> |
ItemLayerModel.getQuadsForSprites(java.util.List<Material> textures,
TransformationMatrix transform,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
java.util.Set<java.lang.Integer> fullbrights) |
private static BakedQuad |
ItemTextureQuadConverter.putQuad(TransformationMatrix 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) |
Modifier and Type | Method and Description |
---|---|
private static void |
ModelLoaderRegistry.deserializeTRSR(com.google.gson.JsonDeserializationContext context,
java.util.EnumMap<ItemCameraTransforms.TransformType,TransformationMatrix> transforms,
com.google.gson.JsonObject transform,
java.lang.String name,
ItemCameraTransforms.TransformType itemCameraTransform) |
static IBakedModel |
PerspectiveMapWrapper.handlePerspective(IBakedModel model,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> transforms,
ItemCameraTransforms.TransformType cameraTransformType,
MatrixStack mat) |
private static boolean |
BakedItemModel.hasGuiIdentity(com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> transforms) |
Constructor and Description |
---|
BakedFluid(TransformationMatrix transformation,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> transforms,
ResourceLocation modelLocation,
int color,
TextureAtlasSprite still,
TextureAtlasSprite flowing,
java.util.Optional<TextureAtlasSprite> overlay,
boolean gas,
boolean statePresent,
int[] cornerRound,
int flowRound,
boolean[] sideOverlays) |
CachingBakedFluid(TransformationMatrix transformation,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> transforms,
ResourceLocation modelLocation,
int color,
TextureAtlasSprite still,
TextureAtlasSprite flowing,
java.util.Optional<TextureAtlasSprite> overlay,
boolean gas,
java.util.Optional<IModelData> stateOption) |
QuadTransformer(TransformationMatrix transform) |
SimpleModelTransform(com.google.common.collect.ImmutableMap<?,TransformationMatrix> map,
TransformationMatrix base) |
SimpleModelTransform(TransformationMatrix base) |
Constructor and Description |
---|
BakedFluid(TransformationMatrix transformation,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> transforms,
ResourceLocation modelLocation,
int color,
TextureAtlasSprite still,
TextureAtlasSprite flowing,
java.util.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<ItemCameraTransforms.TransformType,TransformationMatrix> transforms,
ItemOverrideList overrides,
boolean untransformed,
boolean isSideLit) |
BakedModel(ModelBakery bakery,
IModelConfiguration owner,
DynamicBucketModel parent,
com.google.common.collect.ImmutableList<BakedQuad> quads,
TextureAtlasSprite particle,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> transforms,
java.util.Map<java.lang.String,IBakedModel> cache,
boolean untransformed,
IModelTransform originalTransform,
boolean isSideLit) |
CachingBakedFluid(TransformationMatrix transformation,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> transforms,
ResourceLocation modelLocation,
int color,
TextureAtlasSprite still,
TextureAtlasSprite flowing,
java.util.Optional<TextureAtlasSprite> overlay,
boolean gas,
java.util.Optional<IModelData> stateOption) |
MultiLayerBakedModel(boolean ambientOcclusion,
boolean isGui3d,
boolean isSideLit,
TextureAtlasSprite particle,
ItemOverrideList overrides,
com.google.common.collect.ImmutableMap<RenderType,IBakedModel> models,
IBakedModel missing,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> cameraTransforms) |
PerspectiveMapWrapper(IBakedModel parent,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> transforms) |
SimpleModelTransform(com.google.common.collect.ImmutableMap<?,TransformationMatrix> map) |
SimpleModelTransform(com.google.common.collect.ImmutableMap<?,TransformationMatrix> map,
TransformationMatrix base) |
Modifier and Type | Method and Description |
---|---|
TransformationMatrix |
ModelBlockAnimation.MBClip.MBJointClip.apply(float time) |
TransformationMatrix |
ModelBlockAnimation.MBJoint.getInvBindPose() |
TransformationMatrix |
ModelBlockAnimation.getPartTransform(IModelTransform state,
BlockPart part,
int i) |
TransformationMatrix |
ModelBlockAnimation.getPartTransform(IModelTransform state,
int i) |
Modifier and Type | Field and Description |
---|---|
private static com.google.common.cache.LoadingCache<org.apache.commons.lang3.tuple.Triple<B3DModel.Animation,B3DModel.Node<?>,java.lang.Integer>,TransformationMatrix> |
B3DLoader.B3DState.cache |
Modifier and Type | Method and Description |
---|---|
TransformationMatrix |
B3DClip.NodeClip.apply(float time) |
TransformationMatrix |
B3DLoader.NodeJoint.getInvBindPose() |
static TransformationMatrix |
B3DLoader.B3DState.getNodeMatrix(B3DModel.Animation animation,
B3DModel.Node<?> node,
int frame) |
TransformationMatrix |
B3DLoader.B3DState.getNodeMatrix(B3DModel.Node<?> node) |
TransformationMatrix |
B3DLoader.B3DState.getNodeMatrix(B3DModel.Node<?> node,
int frame) |
TransformationMatrix |
B3DLoader.B3DState.getPartTransformation(java.lang.Object part) |
TransformationMatrix |
B3DLoader.B3DState.getRotation() |
Modifier and Type | Method and Description |
---|---|
private org.apache.commons.lang3.tuple.Pair<BakedQuad,Direction> |
OBJModel.makeQuad(int[][] indices,
int tintIndex,
Vector4f colorTint,
Vector4f ambientColor,
TextureAtlasSprite texture,
TransformationMatrix transform) |
Modifier and Type | Field and Description |
---|---|
private TransformationMatrix |
TRSRTransformer.transform |
Constructor and Description |
---|
TRSRTransformer(IVertexConsumer parent,
TransformationMatrix transform) |
Modifier and Type | Method and Description |
---|---|
TransformationMatrix |
TransformationHelper.Deserializer.deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
static TransformationMatrix |
TransformationHelper.slerp(TransformationMatrix one,
TransformationMatrix that,
float progress) |
static TransformationMatrix |
TransformationHelper.toTransformation(ItemTransformVec3f transform)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TransformationMatrix |
TransformationHelper.slerp(TransformationMatrix one,
TransformationMatrix that,
float progress) |
Modifier and Type | Method and Description |
---|---|
TransformationMatrix |
JointClips.IdentityJointClip.apply(float time) |
TransformationMatrix |
JointClips.NodeJointClip.apply(float time) |
TransformationMatrix |
IJointClip.apply(float time) |
TransformationMatrix |
IJoint.getInvBindPose() |