Package com.hbm_m.powerarmor.render
Class BismuthArmorModelLoader
java.lang.Object
com.hbm_m.client.loader.AbstractObjPartModelLoader<BismuthArmorBakedModel>
com.hbm_m.powerarmor.render.BismuthArmorModelLoader
- All Implemented Interfaces:
net.minecraftforge.client.model.geometry.IGeometryLoader<AbstractObjPartModelLoader.ObjPartGeometry<BismuthArmorBakedModel>>
Model loader for Bismuth armor OBJ parts.
Names MUST match "o " in
bismuth.obj.-
Nested Class Summary
Nested classes/interfaces inherited from class com.hbm_m.client.loader.AbstractObjPartModelLoader
AbstractObjPartModelLoader.ObjPartGeometry<T extends net.minecraft.client.resources.model.BakedModel>, AbstractObjPartModelLoader.SinglePartBakingContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BismuthArmorBakedModelcreateBakedModel(HashMap<String, net.minecraft.client.resources.model.BakedModel> bakedParts, net.minecraft.client.renderer.block.model.ItemTransforms transforms, net.minecraft.resources.ResourceLocation modelLocation) protected booleanflipV()By default OBJ loader flips V to match vanilla/block atlas convention.getPartNames(com.google.gson.JsonObject jsonObject) Methods inherited from class com.hbm_m.client.loader.AbstractObjPartModelLoader
mapAtlasForTexture, read
-
Constructor Details
-
BismuthArmorModelLoader
public BismuthArmorModelLoader()
-
-
Method Details
-
getPartNames
- Specified by:
getPartNamesin classAbstractObjPartModelLoader<BismuthArmorBakedModel>
-
createBakedModel
protected BismuthArmorBakedModel createBakedModel(HashMap<String, net.minecraft.client.resources.model.BakedModel> bakedParts, net.minecraft.client.renderer.block.model.ItemTransforms transforms, net.minecraft.resources.ResourceLocation modelLocation) - Specified by:
createBakedModelin classAbstractObjPartModelLoader<BismuthArmorBakedModel>
-
flipV
protected boolean flipV()Description copied from class:AbstractObjPartModelLoaderBy default OBJ loader flips V to match vanilla/block atlas convention. Specific models can override if their UVs were authored unflipped.- Overrides:
flipVin classAbstractObjPartModelLoader<BismuthArmorBakedModel>
-