-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2e38cc5
commit ad926be
Showing
155 changed files
with
5,461 additions
and
806 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 8 additions & 53 deletions
61
common/com/sirolf2009/necromancy/client/model/ModelIsaacSevered.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
common/com/sirolf2009/necromancy/client/model/ModelScytheSpecial.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package com.sirolf2009.necromancy.client.model; | ||
|
||
import net.minecraft.client.model.ModelBase; | ||
import net.minecraft.client.model.ModelRenderer; | ||
import net.minecraftforge.client.model.AdvancedModelLoader; | ||
import net.minecraftforge.client.model.IModelCustom; | ||
|
||
import com.sirolf2009.necromancy.lib.Reference; | ||
|
||
import cpw.mods.fml.client.FMLClientHandler; | ||
|
||
public class ModelScytheSpecial extends ModelBase { | ||
// fields | ||
ModelRenderer HandleMiddle; | ||
ModelRenderer HandleBottom; | ||
ModelRenderer HandleTop; | ||
ModelRenderer Joint; | ||
ModelRenderer Blade; | ||
ModelRenderer BladeBaseRight; | ||
ModelRenderer BladeBaseLeft; | ||
|
||
private IModelCustom modelTutBox; | ||
|
||
public ModelScytheSpecial() { | ||
modelTutBox = AdvancedModelLoader.loadModel("/mods/necromancy/models/scythe.obj"); | ||
} | ||
|
||
public void render() { | ||
FMLClientHandler.instance().getClient().renderEngine.bindTexture(Reference.LOC_RESOURCES_TEXTURES_MODELS + "/SwordMetal.jpg"); | ||
modelTutBox.renderPart("Blade_Blade_Material"); | ||
FMLClientHandler.instance().getClient().renderEngine.bindTexture("/mods/necromancy/models/cloth.jpg"); | ||
modelTutBox.renderPart("Joint2_Joint2_Material"); | ||
modelTutBox.renderPart("Joint1_Joint1_Material"); | ||
FMLClientHandler.instance().getClient().renderEngine.bindTexture(Reference.LOC_RESOURCES_TEXTURES_MODELS + "/GunTex.jpg"); | ||
modelTutBox.renderPart("Handle_Handle_Material"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.