Class VariantList
- java.lang.Object
-
- net.minecraft.client.renderer.model.VariantList
-
- All Implemented Interfaces:
IUnbakedModel
,IForgeUnbakedModel
public class VariantList extends java.lang.Object implements IUnbakedModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VariantList.Deserializer
-
Constructor Summary
Constructors Constructor Description VariantList(java.util.List<Variant> p_i46568_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IBakedModel
bake(ModelBakery p_225613_1_, java.util.function.Function<RenderMaterial,TextureAtlasSprite> p_225613_2_, IModelTransform p_225613_3_, ResourceLocation p_225613_4_)
boolean
equals(java.lang.Object p_equals_1_)
java.util.Collection<ResourceLocation>
getDependencies()
java.util.Collection<RenderMaterial>
getMaterials(java.util.function.Function<ResourceLocation,IUnbakedModel> p_225614_1_, java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> p_225614_2_)
java.util.List<Variant>
getVariants()
int
hashCode()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraftforge.client.extensions.IForgeUnbakedModel
getClip
-
-
-
-
Field Detail
-
variants
private final java.util.List<Variant> variants
-
-
Constructor Detail
-
VariantList
public VariantList(java.util.List<Variant> p_i46568_1_)
-
-
Method Detail
-
getVariants
public java.util.List<Variant> getVariants()
-
equals
public boolean equals(java.lang.Object p_equals_1_)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getDependencies
public java.util.Collection<ResourceLocation> getDependencies()
- Specified by:
getDependencies
in interfaceIUnbakedModel
-
getMaterials
public java.util.Collection<RenderMaterial> getMaterials(java.util.function.Function<ResourceLocation,IUnbakedModel> p_225614_1_, java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> p_225614_2_)
- Specified by:
getMaterials
in interfaceIUnbakedModel
-
bake
@Nullable public IBakedModel bake(ModelBakery p_225613_1_, java.util.function.Function<RenderMaterial,TextureAtlasSprite> p_225613_2_, IModelTransform p_225613_3_, ResourceLocation p_225613_4_)
- Specified by:
bake
in interfaceIUnbakedModel
-
-