Class MultiVariant
java.lang.Object
net.minecraft.client.renderer.block.model.MultiVariant
- All Implemented Interfaces:
UnbakedModel
,IForgeUnbakedModel
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbake(ModelBakery p_111850_, Function<Material,TextureAtlasSprite> p_111851_, ModelState p_111852_, ResourceLocation p_111853_)
boolean
getMaterials(Function<ResourceLocation,UnbakedModel> p_111855_, Set<com.mojang.datafixers.util.Pair<String,String>> p_111856_)
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 Details
-
variants
-
-
Constructor Details
-
MultiVariant
-
-
Method Details
-
getVariants
-
equals
-
hashCode
public int hashCode() -
getDependencies
- Specified by:
getDependencies
in interfaceUnbakedModel
-
getMaterials
public Collection<Material> getMaterials(Function<ResourceLocation,UnbakedModel> p_111855_, Set<com.mojang.datafixers.util.Pair<String,String>> p_111856_)- Specified by:
getMaterials
in interfaceUnbakedModel
-
bake
@Nullable public BakedModel bake(ModelBakery p_111850_, Function<Material,TextureAtlasSprite> p_111851_, ModelState p_111852_, ResourceLocation p_111853_)- Specified by:
bake
in interfaceUnbakedModel
-