public class VariantList extends java.lang.Object implements IUnbakedModel
| Modifier and Type | Class and Description |
|---|---|
static class |
VariantList.Deserializer |
| Constructor and Description |
|---|
VariantList(java.util.List<Variant> variantListIn) |
| Modifier and Type | Method and Description |
|---|---|
IBakedModel |
bake(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> spriteGetter,
IModelState rotationIn,
boolean uvlock,
VertexFormat format) |
boolean |
equals(java.lang.Object p_equals_1_) |
java.util.Collection<ResourceLocation> |
getOverrideLocations() |
java.util.Collection<ResourceLocation> |
getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<java.lang.String> missingTextureErrors) |
java.util.List<Variant> |
getVariantList() |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbakegetClip, getDefaultState, gui3d, process, retexture, smoothLightingpublic VariantList(java.util.List<Variant> variantListIn)
public java.util.List<Variant> getVariantList()
public boolean equals(java.lang.Object p_equals_1_)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.util.Collection<ResourceLocation> getOverrideLocations()
getOverrideLocations in interface IUnbakedModelpublic java.util.Collection<ResourceLocation> getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter, java.util.Set<java.lang.String> missingTextureErrors)
getTextures in interface IUnbakedModel@Nullable public IBakedModel bake(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter, java.util.function.Function<ResourceLocation,TextureAtlasSprite> spriteGetter, IModelState rotationIn, boolean uvlock, VertexFormat format)
bake in interface IModel<IUnbakedModel>