Modifier and Type | Method and Description |
---|---|
java.util.Optional<TRSRTransformation> |
ModelRotation.apply(java.util.Optional<? extends IModelPart> part) |
java.util.Optional<TRSRTransformation> |
ItemTransformVec3f.apply(java.util.Optional<? extends IModelPart> part)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<TRSRTransformation> |
ForgeHooksClient.applyTransform(ItemTransformVec3f transform,
java.util.Optional<? extends IModelPart> part) |
static java.util.Optional<TRSRTransformation> |
ForgeHooksClient.applyTransform(javax.vecmath.Matrix4f matrix,
java.util.Optional<? extends IModelPart> part) |
static java.util.Optional<TRSRTransformation> |
ForgeHooksClient.applyTransform(ModelRotation rotation,
java.util.Optional<? extends IModelPart> part) |
Modifier and Type | Field and Description |
---|---|
private static TRSRTransformation |
ForgeBlockStateV1.Transforms.flipX |
private static TRSRTransformation |
FancyMissingModel.smallTransformation |
private TRSRTransformation |
SimpleModelFontRenderer.transform |
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> |
MultiLayerModel.MultiLayerBakedModel.cameraTransforms |
private java.util.Optional<TRSRTransformation> |
SimpleModelState.def |
private com.google.common.collect.ImmutableMap<? extends IModelPart,TRSRTransformation> |
SimpleModelState.map |
protected java.util.Optional<TRSRTransformation> |
ModelFluid.BakedFluid.transformation |
private com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> |
PerspectiveMapWrapper.transforms |
protected com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> |
ModelFluid.BakedFluid.transforms |
private com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,org.apache.commons.lang3.tuple.Pair<MultiModel.Baked,TRSRTransformation>> |
MultiModel.Baked.transforms |
protected com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> |
BakedItemModel.transforms |
Modifier and Type | Method and Description |
---|---|
static TRSRTransformation |
ForgeBlockStateV1.Transforms.convert(float tx,
float ty,
float tz,
float ax,
float ay,
float az,
float s) |
static TRSRTransformation |
ForgeBlockStateV1.Transforms.convert(float tx,
float ty,
float tz,
float ax,
float ay,
float az,
float sx,
float sy,
float sz) |
TRSRTransformation |
ForgeBlockStateV1.TRSRDeserializer.deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
static TRSRTransformation |
ForgeBlockStateV1.Transforms.leftify(TRSRTransformation transform) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<TRSRTransformation> |
ModelStateComposition.apply(java.util.Optional<? extends IModelPart> part) |
java.util.Optional<TRSRTransformation> |
MultiModelState.apply(java.util.Optional<? extends IModelPart> part) |
java.util.Optional<TRSRTransformation> |
MultiModelState.PartState.apply(java.util.Optional<? extends IModelPart> part) |
java.util.Optional<TRSRTransformation> |
SimpleModelState.apply(java.util.Optional<? extends IModelPart> part) |
java.util.Optional<TRSRTransformation> |
MapModelState.apply(java.util.Optional<? extends IModelPart> part) |
static com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> |
PerspectiveMapWrapper.getTransforms(IModelState state) |
static com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> |
PerspectiveMapWrapper.getTransforms(ItemCameraTransforms transforms) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<UnpackedBakedQuad> |
ItemTextureQuadConverter.convertTexture(VertexFormat format,
TRSRTransformation transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
EnumFacing facing,
int color)
|
static java.util.List<UnpackedBakedQuad> |
ItemTextureQuadConverter.convertTexture(VertexFormat format,
TRSRTransformation transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
EnumFacing facing,
int color,
int tint)
Takes a texture and converts it into BakedQuads.
|
static java.util.List<UnpackedBakedQuad> |
ItemTextureQuadConverter.convertTextureHorizontal(VertexFormat format,
TRSRTransformation transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
EnumFacing facing,
int color)
|
static java.util.List<UnpackedBakedQuad> |
ItemTextureQuadConverter.convertTextureHorizontal(VertexFormat format,
TRSRTransformation transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
EnumFacing 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<UnpackedBakedQuad> |
ItemTextureQuadConverter.convertTextureVertical(VertexFormat format,
TRSRTransformation transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
EnumFacing facing,
int color)
|
static java.util.List<UnpackedBakedQuad> |
ItemTextureQuadConverter.convertTextureVertical(VertexFormat format,
TRSRTransformation transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
EnumFacing 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 UnpackedBakedQuad |
ItemTextureQuadConverter.genQuad(VertexFormat format,
TRSRTransformation transform,
float x1,
float y1,
float x2,
float y2,
float z,
TextureAtlasSprite sprite,
EnumFacing facing,
int color)
|
static UnpackedBakedQuad |
ItemTextureQuadConverter.genQuad(VertexFormat format,
TRSRTransformation transform,
float x1,
float y1,
float x2,
float y2,
float z,
TextureAtlasSprite sprite,
EnumFacing facing,
int color,
int tint)
Generates a Front/Back quad for an itemmodel.
|
static TRSRTransformation |
ForgeBlockStateV1.Transforms.leftify(TRSRTransformation transform) |
private static UnpackedBakedQuad |
ItemTextureQuadConverter.putQuad(VertexFormat format,
TRSRTransformation transform,
EnumFacing 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 IBakedModel |
ModelLoader.VanillaModelWrapper.bakeNormal(ModelBlock model,
IModelState perState,
IModelState modelState,
java.util.List<TRSRTransformation> newTransforms,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter,
boolean uvLocked) |
private static BakedQuad |
ItemLayerModel.buildQuad(VertexFormat format,
java.util.Optional<TRSRTransformation> transform,
EnumFacing side,
TextureAtlasSprite sprite,
int tint,
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(VertexFormat format,
java.util.Optional<TRSRTransformation> transform,
EnumFacing side,
int tint,
TextureAtlasSprite sprite,
int u,
int v,
int size) |
static com.google.common.collect.ImmutableList<BakedQuad> |
ItemLayerModel.getQuadsForSprite(int tint,
TextureAtlasSprite sprite,
VertexFormat format,
java.util.Optional<TRSRTransformation> transform) |
static org.apache.commons.lang3.tuple.Pair<? extends IBakedModel,javax.vecmath.Matrix4f> |
PerspectiveMapWrapper.handlePerspective(IBakedModel model,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms,
ItemCameraTransforms.TransformType cameraTransformType) |
private static boolean |
BakedItemModel.hasGuiIdentity(com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms) |
Constructor and Description |
---|
MapModelState(java.util.Map<MapModelState.Wrapper,IModelState> map,
TRSRTransformation def) |
Constructor and Description |
---|
BakedDynBucket(ModelDynBucket parent,
com.google.common.collect.ImmutableList<BakedQuad> quads,
TextureAtlasSprite particle,
VertexFormat format,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms,
java.util.Map<java.lang.String,IBakedModel> cache,
boolean untransformed) |
BakedFluid(java.util.Optional<TRSRTransformation> transformation,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms,
VertexFormat format,
int color,
TextureAtlasSprite still,
TextureAtlasSprite flowing,
java.util.Optional<TextureAtlasSprite> overlay,
boolean gas,
boolean statePresent,
int[] cornerRound,
int flowRound,
boolean[] sideOverlays) |
BakedFluid(java.util.Optional<TRSRTransformation> transformation,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms,
VertexFormat format,
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,TRSRTransformation> transforms,
ItemOverrideList overrides)
|
BakedItemModel(com.google.common.collect.ImmutableList<BakedQuad> quads,
TextureAtlasSprite particle,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms,
ItemOverrideList overrides,
boolean untransformed) |
CachingBakedFluid(java.util.Optional<TRSRTransformation> transformation,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms,
VertexFormat format,
int color,
TextureAtlasSprite still,
TextureAtlasSprite flowing,
java.util.Optional<TextureAtlasSprite> overlay,
boolean gas,
java.util.Optional<IExtendedBlockState> stateOption) |
CachingBakedFluid(java.util.Optional<TRSRTransformation> transformation,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms,
VertexFormat format,
int color,
TextureAtlasSprite still,
TextureAtlasSprite flowing,
java.util.Optional<TextureAtlasSprite> overlay,
boolean gas,
java.util.Optional<IExtendedBlockState> stateOption) |
MultiLayerBakedModel(com.google.common.collect.ImmutableMap<java.util.Optional<BlockRenderLayer>,IBakedModel> models,
IBakedModel missing,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> cameraTransforms) |
PerspectiveMapWrapper(IBakedModel parent,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms) |
SimpleModelState(com.google.common.collect.ImmutableMap<? extends IModelPart,TRSRTransformation> map) |
SimpleModelState(com.google.common.collect.ImmutableMap<? extends IModelPart,TRSRTransformation> map,
java.util.Optional<TRSRTransformation> def) |
SimpleModelState(com.google.common.collect.ImmutableMap<? extends IModelPart,TRSRTransformation> map,
java.util.Optional<TRSRTransformation> def) |
Modifier and Type | Method and Description |
---|---|
TRSRTransformation |
ModelBlockAnimation.MBClip.MBJointClip.apply(float time) |
TRSRTransformation |
ModelBlockAnimation.MBJoint.getInvBindPose() |
TRSRTransformation |
ModelBlockAnimation.getPartTransform(IModelState state,
BlockPart part,
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>,TRSRTransformation> |
B3DLoader.B3DState.cache |
Modifier and Type | Method and Description |
---|---|
TRSRTransformation |
B3DClip.NodeClip.apply(float time) |
TRSRTransformation |
B3DLoader.NodeJoint.getInvBindPose() |
static TRSRTransformation |
B3DLoader.B3DState.getNodeMatrix(B3DModel.Animation animation,
B3DModel.Node<?> node,
int frame) |
TRSRTransformation |
B3DLoader.B3DState.getNodeMatrix(B3DModel.Node<?> node) |
TRSRTransformation |
B3DLoader.B3DState.getNodeMatrix(B3DModel.Node<?> node,
int frame) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<TRSRTransformation> |
B3DLoader.B3DState.apply(java.util.Optional<? extends IModelPart> part) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<TRSRTransformation> |
OBJModel.OBJState.apply(java.util.Optional<? extends IModelPart> part)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
OBJModel.Face |
OBJModel.Face.bake(TRSRTransformation transform) |
Modifier and Type | Method and Description |
---|---|
java.util.LinkedHashSet<OBJModel.Face> |
OBJModel.Group.applyTransform(java.util.Optional<TRSRTransformation> transform)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private TRSRTransformation |
TRSRTransformer.transform |
Constructor and Description |
---|
TRSRTransformer(IVertexConsumer parent,
TRSRTransformation transform) |
Modifier and Type | Field and Description |
---|---|
private static TRSRTransformation |
TRSRTransformation.identity |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<ModelRotation,TRSRTransformation> |
TRSRTransformation.Cache.rotations |
private static java.util.EnumMap<EnumFacing,TRSRTransformation> |
TRSRTransformation.vanillaUvTransformGlobalToLocal |
private static java.util.EnumMap<EnumFacing,TRSRTransformation> |
TRSRTransformation.vanillaUvTransformLocalToGlobal |
Modifier and Type | Method and Description |
---|---|
static TRSRTransformation |
TRSRTransformation.blockCenterToCorner(TRSRTransformation transform)
convert transformation from assuming center-block system to corner-block system
|
static TRSRTransformation |
TRSRTransformation.blockCornerToCenter(TRSRTransformation transform)
convert transformation from assuming corner-block system to center-block system
|
TRSRTransformation |
TRSRTransformation.compose(TRSRTransformation b) |
static TRSRTransformation |
TRSRTransformation.from(EnumFacing facing) |
static TRSRTransformation |
TRSRTransformation.from(ItemTransformVec3f transform)
Deprecated.
|
static TRSRTransformation |
TRSRTransformation.from(ModelRotation rotation) |
(package private) static TRSRTransformation |
TRSRTransformation.Cache.get(ModelRotation rotation) |
TRSRTransformation |
TRSRTransformation.getUVLockTransform(EnumFacing originalSide) |
static TRSRTransformation |
TRSRTransformation.getVanillaUvTransformGlobalToLocal(EnumFacing side) |
static TRSRTransformation |
TRSRTransformation.getVanillaUvTransformLocalToGlobal(EnumFacing side) |
static TRSRTransformation |
TRSRTransformation.identity() |
TRSRTransformation |
TRSRTransformation.inverse() |
TRSRTransformation |
TRSRTransformation.slerp(TRSRTransformation that,
float progress) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<TRSRTransformation> |
TRSRTransformation.apply(java.util.Optional<? extends IModelPart> part) |
java.util.Optional<TRSRTransformation> |
IModelState.apply(java.util.Optional<? extends IModelPart> part) |
Modifier and Type | Method and Description |
---|---|
static TRSRTransformation |
TRSRTransformation.blockCenterToCorner(TRSRTransformation transform)
convert transformation from assuming center-block system to corner-block system
|
static TRSRTransformation |
TRSRTransformation.blockCornerToCenter(TRSRTransformation transform)
convert transformation from assuming corner-block system to center-block system
|
TRSRTransformation |
TRSRTransformation.compose(TRSRTransformation b) |
TRSRTransformation |
TRSRTransformation.slerp(TRSRTransformation that,
float progress) |
Modifier and Type | Method and Description |
---|---|
TRSRTransformation |
JointClips.IdentityJointClip.apply(float time) |
TRSRTransformation |
JointClips.NodeJointClip.apply(float time) |
TRSRTransformation |
IJointClip.apply(float time) |
TRSRTransformation |
IJoint.getInvBindPose() |