程序包 net.minecraftforge.client.model
@ParametersAreNonnullByDefault
package net.minecraftforge.client.model
-
类说明BakedModelWrapper<T extends BakedModel>Wrapper for
BakedModel
which delegates all operations to its parent.A model composed of several named children.A model data container which stores data for child components.A dynamic fluid container model, capable of re-texturing itself at runtime to match the contained fluid.A model composed of vanilla block elements.A completely empty model with no quads or texture dependencies.Holds extra data that may be injected into a face.Convenience interface with default implementation ofIForgeBakedModel.getQuads(BlockState, Direction, RandomSource, ModelData, RenderType)
.IModelBuilder<T extends IModelBuilder<T>>Base interface for any object that collects culled and unculled faces and bakes them into a model.Transformer forbaked quads
.Forge reimplementation of vanilla'sItemModelGenerator
, i.e. builtin/generated models with some tweaks: - Represented asIUnbakedGeometry
so it can be baked as usual instead of being special-cased - Not limited to an arbitrary number of layers (5) - Support for per-layer render typesA collection ofIQuadTransformer
implementations.A model composed of multiple sub-models which are picked based on theItemDisplayContext
being used.Simple implementation ofModelState
.