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(ModelBakery p_217641_1_,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> p_217641_2_,
ISprite p_217641_3_,
VertexFormat format) |
boolean |
equals(java.lang.Object p_equals_1_) |
java.util.Collection<ResourceLocation> |
getDependencies() |
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, wait
bake
getDefaultState, gui3d, process, retexture, smoothLighting
getClip
public 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.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Collection<ResourceLocation> getDependencies()
getDependencies
in interface IUnbakedModel
public 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(ModelBakery p_217641_1_, java.util.function.Function<ResourceLocation,TextureAtlasSprite> p_217641_2_, ISprite p_217641_3_, VertexFormat format)
bake
in interface IForgeUnbakedModel
p_217641_2_
- Where textures will be looked up when bakingp_217641_3_
- Transforms to apply while baking. Usually will be an instance of IModelState
.