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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addQuads
(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) getTextures
(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, 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
-
Constructor Details
-
TestModel
TestModel()
-
-
Method Details
-
addQuads
public void addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState 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 Collection<Material> getTextures(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) - Specified by:
getTextures
in interfaceIModelGeometry<NewModelLoaderTest.TestModel>
- Specified by:
getTextures
in interfaceISimpleModelGeometry<NewModelLoaderTest.TestModel>
-