Class NewModelLoaderTest.TestModel
- java.lang.Object
-
- net.minecraftforge.debug.client.model.NewModelLoaderTest.TestModel
-
- All Implemented Interfaces:
IModelGeometry<NewModelLoaderTest.TestModel>
,ISimpleModelGeometry<NewModelLoaderTest.TestModel>
- Enclosing class:
- NewModelLoaderTest
static class NewModelLoaderTest.TestModel extends java.lang.Object implements ISimpleModelGeometry<NewModelLoaderTest.TestModel>
-
-
Constructor Summary
Constructors Constructor Description TestModel()
-
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)
private void
putVertex(BakedQuadBuilder builder, int x, float y, float z, float u, float v, float red, float green, float blue)
-
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
-
-
-
-
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<NewModelLoaderTest.TestModel>
-
putVertex
private void putVertex(BakedQuadBuilder builder, int x, float y, float z, float u, float v, float red, float green, float blue)
-
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<NewModelLoaderTest.TestModel>
- Specified by:
getTextures
in interfaceISimpleModelGeometry<NewModelLoaderTest.TestModel>
-
-