Class ModelLoaderRegistry.VanillaProxy
java.lang.Object
io.github.vampirestudios.vampirelib.client.model.ModelLoaderRegistry.VanillaProxy
- All Implemented Interfaces:
IModelGeometry<ModelLoaderRegistry.VanillaProxy>,ISimpleModelGeometry<ModelLoaderRegistry.VanillaProxy>
- Enclosing class:
- ModelLoaderRegistry
public static class ModelLoaderRegistry.VanillaProxy
extends Object
implements ISimpleModelGeometry<ModelLoaderRegistry.VanillaProxy>
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionVanillaProxy(List<net.minecraft.client.renderer.block.model.BlockElement> list) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, net.minecraft.client.resources.model.ModelBakery bakery, Function<net.minecraft.client.resources.model.Material, net.minecraft.client.renderer.texture.TextureAtlasSprite> spriteGetter, net.minecraft.client.resources.model.ModelState modelTransform, net.minecraft.resources.ResourceLocation modelLocation) Collection<net.minecraft.client.resources.model.Material>getTextures(IModelConfiguration owner, Function<net.minecraft.resources.ResourceLocation, net.minecraft.client.resources.model.UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.vampirestudios.vampirelib.client.model.IModelGeometry
getPart, getPartsMethods inherited from interface io.github.vampirestudios.vampirelib.client.model.ISimpleModelGeometry
bake
-
Constructor Details
-
VanillaProxy
-
-
Method Details
-
addQuads
public void addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, net.minecraft.client.resources.model.ModelBakery bakery, Function<net.minecraft.client.resources.model.Material, net.minecraft.client.renderer.texture.TextureAtlasSprite> spriteGetter, net.minecraft.client.resources.model.ModelState modelTransform, net.minecraft.resources.ResourceLocation modelLocation) - Specified by:
addQuadsin interfaceISimpleModelGeometry<ModelLoaderRegistry.VanillaProxy>
-
getTextures
public Collection<net.minecraft.client.resources.model.Material> getTextures(IModelConfiguration owner, Function<net.minecraft.resources.ResourceLocation, net.minecraft.client.resources.model.UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) - Specified by:
getTexturesin interfaceIModelGeometry<ModelLoaderRegistry.VanillaProxy>- Specified by:
getTexturesin interfaceISimpleModelGeometry<ModelLoaderRegistry.VanillaProxy>
-