Modifier and Type | Class and Description |
---|---|
class |
ModelRotation |
class |
Variant |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
ModelBakery.bake(ResourceLocation locationIn,
IModelTransform transformIn)
Deprecated.
|
private static BakedQuad |
BlockModel.bakeFace(BlockPart partIn,
BlockPartFace partFaceIn,
TextureAtlasSprite spriteIn,
Direction directionIn,
IModelTransform transformIn,
ResourceLocation locationIn) |
IBakedModel |
BlockModel.bakeModel(ModelBakery modelBakeryIn,
BlockModel modelIn,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetterIn,
IModelTransform transformIn,
ResourceLocation locationIn,
boolean p_228813_6_) |
IBakedModel |
VariantList.bakeModel(ModelBakery modelBakeryIn,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetterIn,
IModelTransform transformIn,
ResourceLocation locationIn) |
IBakedModel |
BlockModel.bakeModel(ModelBakery modelBakeryIn,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetterIn,
IModelTransform transformIn,
ResourceLocation locationIn)
Deprecated.
|
IBakedModel |
IUnbakedModel.bakeModel(ModelBakery modelBakeryIn,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetterIn,
IModelTransform transformIn,
ResourceLocation locationIn) |
BakedQuad |
FaceBakery.bakeQuad(Vector3f posFrom,
Vector3f posTo,
BlockPartFace face,
TextureAtlasSprite sprite,
Direction facing,
IModelTransform transformIn,
BlockPartRotation partRotation,
boolean shade,
ResourceLocation modelLocationIn) |
IBakedModel |
BlockModel.bakeVanilla(ModelBakery modelBakeryIn,
BlockModel modelIn,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetterIn,
IModelTransform transformIn,
ResourceLocation locationIn,
boolean p_228813_6_)
Deprecated.
|
IBakedModel |
ModelBakery.getBakedModel(ResourceLocation locationIn,
IModelTransform transformIn,
java.util.function.Function<Material,TextureAtlasSprite> textureGetter) |
static BakedQuad |
BlockModel.makeBakedQuad(BlockPart partIn,
BlockPartFace partFaceIn,
TextureAtlasSprite spriteIn,
Direction directionIn,
IModelTransform transformIn,
ResourceLocation locationIn) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
Multipart.bakeModel(ModelBakery modelBakeryIn,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetterIn,
IModelTransform transformIn,
ResourceLocation locationIn) |
Modifier and Type | Class and Description |
---|---|
class |
ModelTransformComposition
An
IModelTransform that combines the transforms from two child IModelTransform . |
class |
SimpleModelTransform
Simple implementation of IModelState via a map and a default value.
|
Modifier and Type | Field and Description |
---|---|
private IModelTransform |
BlockModelConfiguration.customModelState |
private IModelTransform |
ModelTransformComposition.first |
private IModelTransform |
CompositeModel.Submodel.modelTransform |
private IModelTransform |
DynamicBucketModel.BakedModel.originalTransform |
private IModelTransform |
ModelTransformComposition.second |
private IModelTransform |
CompositeModel.transforms |
Modifier and Type | Method and Description |
---|---|
static IModelTransform |
ModelLoaderRegistry.deserializeModelTransforms(com.google.gson.JsonDeserializationContext deserializationContext,
com.google.gson.JsonObject modelData) |
IModelTransform |
IModelConfiguration.getCombinedTransform() |
IModelTransform |
BlockModelConfiguration.getCombinedTransform() |
IModelTransform |
BlockModelConfiguration.getCustomModelState() |
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<IModelTransform> |
ModelLoaderRegistry.deserializeTransform(com.google.gson.JsonDeserializationContext context,
com.google.gson.JsonElement transformData) |
Modifier and Type | Method and Description |
---|---|
void |
ModelLoaderRegistry.VanillaProxy.addQuads(IModelConfiguration owner,
IModelBuilder<?> modelBuilder,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
void |
CompositeModel.Submodel.addQuads(IModelConfiguration owner,
IModelBuilder<?> modelBuilder,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
IBakedModel |
MultiLayerModel.bake(IModelConfiguration owner,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ItemOverrideList overrides,
ResourceLocation modelLocation) |
IBakedModel |
CompositeModel.Geometry.bake(IModelConfiguration owner,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ItemOverrideList overrides,
ResourceLocation modelLocation) |
IBakedModel |
FluidModel.bake(IModelConfiguration owner,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ItemOverrideList overrides,
ResourceLocation modelLocation) |
IBakedModel |
DynamicBucketModel.bake(IModelConfiguration owner,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ItemOverrideList overrides,
ResourceLocation modelLocation) |
IBakedModel |
ItemLayerModel.bake(IModelConfiguration owner,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ItemOverrideList overrides,
ResourceLocation modelLocation) |
IBakedModel |
BlockModelConfiguration.bake(ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> bakedTextureGetter,
IModelTransform modelTransform,
ItemOverrideList overrides,
ResourceLocation modelLocation) |
static IBakedModel |
ModelLoaderRegistry.bakeHelper(BlockModel blockModel,
ModelBakery modelBakery,
BlockModel otherModel,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation,
boolean guiLight3d) |
IBakedModel |
FancyMissingModel.bakeModel(ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
IBakedModel |
CompositeModel.Submodel.bakeModel(ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
private static com.google.common.collect.ImmutableMap<RenderType,IBakedModel> |
MultiLayerModel.buildModels(com.google.common.collect.ImmutableMap<RenderType,IUnbakedModel> models,
IModelTransform modelTransform,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
ResourceLocation modelLocation) |
static com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> |
PerspectiveMapWrapper.getTransforms(IModelTransform state) |
static com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> |
PerspectiveMapWrapper.getTransformsWithFallback(IModelTransform state,
ItemCameraTransforms transforms) |
static IBakedModel |
PerspectiveMapWrapper.handlePerspective(IBakedModel model,
IModelTransform state,
ItemCameraTransforms.TransformType cameraTransformType,
MatrixStack mat) |
void |
BlockModelConfiguration.setCustomModelState(IModelTransform modelState) |
Constructor and Description |
---|
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) |
CompositeModel(boolean isGui3d,
boolean isAmbientOcclusion,
TextureAtlasSprite particle,
com.google.common.collect.ImmutableMap<java.lang.String,IBakedModel> bakedParts,
IModelTransform combinedTransform,
ItemOverrideList overrides) |
ModelTransformComposition(IModelTransform first,
IModelTransform second) |
ModelTransformComposition(IModelTransform first,
IModelTransform second,
boolean uvLock) |
PerspectiveMapWrapper(IBakedModel parent,
IModelTransform state) |
Submodel(java.lang.String name,
BlockModel model,
IModelTransform modelTransform) |
Modifier and Type | Field and Description |
---|---|
private IModelTransform |
AnimationItemOverrideList.state |
Modifier and Type | Method and Description |
---|---|
TransformationMatrix |
ModelBlockAnimation.getPartTransform(IModelTransform state,
BlockPart part,
int i) |
TransformationMatrix |
ModelBlockAnimation.getPartTransform(IModelTransform state,
int i) |
Constructor and Description |
---|
AnimationItemOverrideList(ModelBakery bakery,
IUnbakedModel model,
ResourceLocation modelLoc,
IModelTransform state,
java.util.function.Function<Material,TextureAtlasSprite> bakedTextureGetter,
ItemOverrideList overrides) |
AnimationItemOverrideList(ModelBakery bakery,
IUnbakedModel model,
ResourceLocation modelLoc,
IModelTransform state,
java.util.function.Function<Material,TextureAtlasSprite> bakedTextureGetter,
java.util.List<ItemOverride> overrides) |
Modifier and Type | Class and Description |
---|---|
static class |
B3DLoader.B3DState |
Modifier and Type | Field and Description |
---|---|
private IModelTransform |
B3DLoader.B3DState.parent |
private IModelTransform |
B3DLoader.BakedWrapper.state |
Modifier and Type | Method and Description |
---|---|
IModelTransform |
B3DLoader.ModelWrapper.getDefaultState() |
IModelTransform |
B3DLoader.B3DState.getParent() |
private IModelTransform |
B3DLoader.B3DState.getParent(IModelTransform parent) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
B3DLoader.ModelWrapper.bakeModel(ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
private void |
B3DLoader.BakedWrapper.generateQuads(com.google.common.collect.ImmutableList.Builder<BakedQuad> builder,
B3DModel.Node<?> node,
IModelTransform state,
com.google.common.collect.ImmutableList<java.lang.String> path) |
private IModelTransform |
B3DLoader.B3DState.getParent(IModelTransform parent) |
Constructor and Description |
---|
B3DState(B3DModel.Animation animation,
int frame,
IModelTransform parent) |
B3DState(B3DModel.Animation animation,
int frame,
int nextFrame,
float progress,
IModelTransform parent) |
BakedWrapper(B3DModel.Node<?> node,
IModelTransform state,
boolean smooth,
boolean gui3d,
boolean isSideLit,
com.google.common.collect.ImmutableSet<java.lang.String> meshes,
com.google.common.collect.ImmutableMap<java.lang.String,TextureAtlasSprite> textures) |
BakedWrapper(B3DModel.Node<?> node,
IModelTransform state,
boolean smooth,
boolean gui3d,
boolean isSideLit,
com.google.common.collect.ImmutableSet<java.lang.String> meshes,
com.google.common.collect.ImmutableMap<java.lang.String,TextureAtlasSprite> textures,
com.google.common.cache.LoadingCache<java.lang.Integer,B3DLoader.B3DState> cache) |
Modifier and Type | Method and Description |
---|---|
default void |
IMultipartModelGeometry.addQuads(IModelConfiguration owner,
IModelBuilder<?> modelBuilder,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
void |
ISimpleModelGeometry.addQuads(IModelConfiguration owner,
IModelBuilder<?> modelBuilder,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
void |
IModelGeometryPart.addQuads(IModelConfiguration owner,
IModelBuilder<?> modelBuilder,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
IBakedModel |
IModelGeometry.bake(IModelConfiguration owner,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ItemOverrideList overrides,
ResourceLocation modelLocation) |
default IBakedModel |
ISimpleModelGeometry.bake(IModelConfiguration owner,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ItemOverrideList overrides,
ResourceLocation modelLocation) |
Modifier and Type | Method and Description |
---|---|
void |
OBJModel.ModelObject.addQuads(IModelConfiguration owner,
IModelBuilder<?> modelBuilder,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
void |
OBJModel.ModelGroup.addQuads(IModelConfiguration owner,
IModelBuilder<?> modelBuilder,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
Modifier and Type | Field and Description |
---|---|
private static com.google.common.cache.LoadingCache<org.apache.commons.lang3.tuple.Triple<? extends IClip,java.lang.Float,java.lang.Float>,org.apache.commons.lang3.tuple.Pair<IModelTransform,java.lang.Iterable<Event>>> |
AnimationStateMachine.clipCache |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.lang3.tuple.Pair<IModelTransform,java.lang.Iterable<Event>> |
AnimationStateMachine.apply(float time) |
org.apache.commons.lang3.tuple.Pair<IModelTransform,java.lang.Iterable<Event>> |
IAnimationStateMachine.apply(float time)
Sample the state and events at the current time.
|
static org.apache.commons.lang3.tuple.Pair<IModelTransform,java.lang.Iterable<Event>> |
Clips.apply(IClip clip,
float lastPollTime,
float time)
IModelState wrapper for a Clip, sampled at specified time.
|
Modifier and Type | Field and Description |
---|---|
static ModelProperty<IModelTransform> |
Properties.AnimationProperty
Property holding the IModelState used for animating the model in the TESR.
|
Modifier and Type | Method and Description |
---|---|
void |
NewModelLoaderTest.TestModel.addQuads(IModelConfiguration owner,
IModelBuilder<?> modelBuilder,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |