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 Object
implements ISimpleModelGeometry<NewModelLoaderTest.TestModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ResourceLocation modelLocation) getTextures(IModelConfiguration owner, Function<ResourceLocation, IUnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) private voidputVertex(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, waitMethods inherited from interface net.minecraftforge.client.model.geometry.IModelGeometry
getPart, getPartsMethods inherited from interface net.minecraftforge.client.model.geometry.ISimpleModelGeometry
bake
-
Constructor Details
-
TestModel
TestModel()
-
-
Method Details
-
addQuads
public void addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ResourceLocation modelLocation) - Specified by:
addQuadsin 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 Collection<RenderMaterial> getTextures(IModelConfiguration owner, Function<ResourceLocation, IUnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) - Specified by:
getTexturesin interfaceIModelGeometry<NewModelLoaderTest.TestModel>- Specified by:
getTexturesin interfaceISimpleModelGeometry<NewModelLoaderTest.TestModel>
-