Modifier and Type | Field and Description |
---|---|
private TransformationMatrix |
Variant.rotation |
private TransformationMatrix |
ModelRotation.transformation |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<org.apache.commons.lang3.tuple.Triple<ResourceLocation,TransformationMatrix,java.lang.Boolean>,IBakedModel> |
ModelBakery.bakedCache |
static java.util.EnumMap<Direction,TransformationMatrix> |
UVTransformationUtil.vanillaUvTransformGlobalToLocal |
static java.util.EnumMap<Direction,TransformationMatrix> |
UVTransformationUtil.vanillaUvTransformLocalToGlobal |
Modifier and Type | Method and Description |
---|---|
static TransformationMatrix |
UVTransformationUtil.blockCenterToCorner(TransformationMatrix p_229379_0_) |
TransformationMatrix |
ModelRotation.getRotation() |
TransformationMatrix |
Variant.getRotation() |
default TransformationMatrix |
IModelTransform.getRotation() |
static TransformationMatrix |
UVTransformationUtil.getUVLockTransform(TransformationMatrix p_229380_0_,
Direction p_229380_1_,
java.util.function.Supplier<java.lang.String> p_229380_2_) |
Modifier and Type | Method and Description |
---|---|
void |
FaceBakery.applyModelRotation(Vector3f p_228822_1_,
TransformationMatrix p_228822_2_) |
private void |
FaceBakery.bakeVertex(int[] p_228827_1_,
int p_228827_2_,
Direction p_228827_3_,
BlockFaceUV p_228827_4_,
float[] p_228827_5_,
TextureAtlasSprite p_228827_6_,
TransformationMatrix p_228827_7_,
BlockPartRotation p_228827_8_,
boolean p_228827_9_) |
static TransformationMatrix |
UVTransformationUtil.blockCenterToCorner(TransformationMatrix p_229379_0_) |
static TransformationMatrix |
UVTransformationUtil.getUVLockTransform(TransformationMatrix p_229380_0_,
Direction p_229380_1_,
java.util.function.Supplier<java.lang.String> p_229380_2_) |
private int[] |
FaceBakery.makeVertices(BlockFaceUV p_228820_1_,
TextureAtlasSprite p_228820_2_,
Direction p_228820_3_,
float[] p_228820_4_,
TransformationMatrix p_228820_5_,
BlockPartRotation p_228820_6_,
boolean p_228820_7_) |
static BlockFaceUV |
FaceBakery.recomputeUVs(BlockFaceUV p_228821_0_,
Direction p_228821_1_,
TransformationMatrix p_228821_2_,
ResourceLocation p_228821_3_) |
Constructor and Description |
---|
Variant(ResourceLocation p_i226001_1_,
TransformationMatrix p_i226001_2_,
boolean p_i226001_3_,
int p_i226001_4_) |
Modifier and Type | Field and Description |
---|---|
private static TransformationMatrix |
TransformationMatrix.IDENTITY |
Modifier and Type | Method and Description |
---|---|
TransformationMatrix |
TransformationMatrix.compose(TransformationMatrix p_227985_1_) |
static TransformationMatrix |
TransformationMatrix.identity() |
TransformationMatrix |
TransformationMatrix.inverse() |
Modifier and Type | Method and Description |
---|---|
TransformationMatrix |
TransformationMatrix.compose(TransformationMatrix p_227985_1_) |
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 TransformationMatrix |
QuadTransformer.transform |
protected TransformationMatrix |
FluidModel.BakedFluid.transformation |
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> |
ItemMultiLayerBakedModel.cameraTransforms |
private com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> |
ItemMultiLayerBakedModel.Builder.cameraTransforms |
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 |
SimpleModelTransform.getPartTransformation(java.lang.Object part) |
TransformationMatrix |
ModelTransformComposition.getPartTransformation(java.lang.Object part) |
TransformationMatrix |
SimpleModelTransform.getRotation() |
TransformationMatrix |
ModelTransformComposition.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.convertTexture(TransformationMatrix transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
Direction facing,
int color,
int tint,
int luminosity) |
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.convertTextureHorizontal(TransformationMatrix transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
Direction facing,
int color,
int tint,
int luminosity) |
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 java.util.List<BakedQuad> |
ItemTextureQuadConverter.convertTextureVertical(TransformationMatrix transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
Direction facing,
int color,
int tint,
int luminosity) |
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 BakedQuad |
ItemTextureQuadConverter.genQuad(TransformationMatrix 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,
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<RenderMaterial> textures,
TransformationMatrix transform,
java.util.function.Function<RenderMaterial,TextureAtlasSprite> spriteGetter) |
static com.google.common.collect.ImmutableList<BakedQuad> |
ItemLayerModel.getQuadsForSprites(java.util.List<RenderMaterial> textures,
TransformationMatrix transform,
java.util.function.Function<RenderMaterial,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,
int luminosity) |
Modifier and Type | Method and Description |
---|---|
static ItemMultiLayerBakedModel.Builder |
ItemMultiLayerBakedModel.builder(IModelConfiguration owner,
TextureAtlasSprite particle,
ItemOverrideList overrides,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> cameraTransforms) |
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) |
Builder(IModelConfiguration owner,
TextureAtlasSprite particle,
ItemOverrideList overrides,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> cameraTransforms) |
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) |
ItemMultiLayerBakedModel(boolean smoothLighting,
boolean shadedInGui,
boolean sideLit,
TextureAtlasSprite particle,
ItemOverrideList overrides,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> cameraTransforms,
com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<IBakedModel,RenderType>> layerModels) |
MultiLayerBakedModel(boolean ambientOcclusion,
boolean isGui3d,
boolean isSideLit,
TextureAtlasSprite particle,
ItemOverrideList overrides,
boolean convertRenderTypes,
java.util.List<com.mojang.datafixers.util.Pair<RenderType,IBakedModel>> models,
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() |