Package net.minecraftforge.client.model
Class ModelLoaderRegistry.VanillaProxy
- java.lang.Object
-
- net.minecraftforge.client.model.ModelLoaderRegistry.VanillaProxy
-
- All Implemented Interfaces:
IModelGeometry<ModelLoaderRegistry.VanillaProxy>
,ISimpleModelGeometry<ModelLoaderRegistry.VanillaProxy>
- Enclosing class:
- ModelLoaderRegistry
public static class ModelLoaderRegistry.VanillaProxy extends java.lang.Object implements ISimpleModelGeometry<ModelLoaderRegistry.VanillaProxy>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ModelLoaderRegistry.VanillaProxy.Loader
-
Constructor Summary
Constructors Constructor Description VanillaProxy(java.util.List<BlockPart> list)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, java.util.function.Function<RenderMaterial,TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ResourceLocation modelLocation)
java.util.Collection<RenderMaterial>
getTextures(IModelConfiguration owner, java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter, java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraftforge.client.model.geometry.IModelGeometry
getPart, getParts
-
Methods inherited from interface net.minecraftforge.client.model.geometry.ISimpleModelGeometry
bake
-
-
-
-
Field Detail
-
elements
private final java.util.List<BlockPart> elements
-
-
Constructor Detail
-
VanillaProxy
public VanillaProxy(java.util.List<BlockPart> list)
-
-
Method Detail
-
addQuads
public void addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, java.util.function.Function<RenderMaterial,TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ResourceLocation modelLocation)
- Specified by:
addQuads
in interfaceISimpleModelGeometry<ModelLoaderRegistry.VanillaProxy>
-
getTextures
public java.util.Collection<RenderMaterial> getTextures(IModelConfiguration owner, java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter, java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors)
- Specified by:
getTextures
in interfaceIModelGeometry<ModelLoaderRegistry.VanillaProxy>
- Specified by:
getTextures
in interfaceISimpleModelGeometry<ModelLoaderRegistry.VanillaProxy>
-
-