public class VariantList extends java.lang.Object implements IUnbakedModel
Modifier and Type | Class and Description |
---|---|
static class |
VariantList.Deserializer |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Variant> |
variantList |
Constructor and Description |
---|
VariantList(java.util.List<Variant> variantListIn) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
bakeModel(ModelBakery modelBakeryIn,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetterIn,
IModelTransform transformIn,
ResourceLocation locationIn) |
boolean |
equals(java.lang.Object p_equals_1_) |
java.util.Collection<ResourceLocation> |
getDependencies() |
java.util.Collection<Material> |
getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.List<Variant> |
getVariantList() |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getClip
private final java.util.List<Variant> variantList
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<Material> getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter, java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors)
getTextures
in interface IUnbakedModel
@Nullable public IBakedModel bakeModel(ModelBakery modelBakeryIn, java.util.function.Function<Material,TextureAtlasSprite> spriteGetterIn, IModelTransform transformIn, ResourceLocation locationIn)
bakeModel
in interface IUnbakedModel