updates to rendering and models, need more

This commit is contained in:
Mohammad-Ali Minaie
2018-09-04 22:07:45 -04:00
parent 7828c9b110
commit e7abf79946
15 changed files with 81 additions and 21 deletions

View File

@@ -7,7 +7,10 @@
## Current Feature ## Current Feature
- [x] Update nbt Crucible Models with open top - [x] Update nbt Crucible Models with open top
- [ ] Update Tongs Models - [x] Update all slotted tong models
- [ ] Need to update nbtCrucible models when hot and in bloomery
- [ ] Need to update hot tongs model
- [ ] CT Support
- [ ] Update Casting recipes to use new slotted tongs and nbtCrucible - [ ] Update Casting recipes to use new slotted tongs and nbtCrucible
- [ ] Config Usage - [ ] Config Usage
- [ ] Steel Plate Recipe #37 - [ ] Steel Plate Recipe #37

View File

@@ -6,7 +6,7 @@ org.gradle.jvmargs=-Xmx3G
mod_group=nmd.primal.forgecraft mod_group=nmd.primal.forgecraft
mod_name=ForgeCraft mod_name=ForgeCraft
mod_version=1.4.11 mod_version=1.5.0
forge_version=14.23.4.2744 forge_version=14.23.4.2744
mcp_mappings=snapshot_20171003 mcp_mappings=snapshot_20171003
mc_version=1.12.2 mc_version=1.12.2

View File

@@ -18,7 +18,7 @@ public class ModInfo {
//public static final String MOD_PREFIX = MOD_ID + ":"; //public static final String MOD_PREFIX = MOD_ID + ":";
public static final String MOD_CHANNEL = MOD_ID; public static final String MOD_CHANNEL = MOD_ID;
public static final String MOD_VERSION = "1.4.11"; public static final String MOD_VERSION = "1.5.0";
public static final String MC_VERSIONS = "[1.12.0, 1.13.0)"; public static final String MC_VERSIONS = "[1.12.0, 1.13.0)";
public static final String DEPENDENCIES = "required-after:forge@[14.21.1.2400,);" + "required-after:primal@[0.6.69,);"; public static final String DEPENDENCIES = "required-after:forge@[14.21.1.2400,);" + "required-after:primal@[0.6.69,);";

View File

@@ -56,40 +56,39 @@ public class SlottedTongs extends Item implements IPickup, AnvilHandler{
if (stack.getItem() instanceof SlottedTongs) { if (stack.getItem() instanceof SlottedTongs) {
//System.out.println(slotStack.getTagCompound()); //System.out.println(slotStack.getTagCompound());
if (slotStack.getItem() instanceof ItemNBTCrucible){ if (slotStack.getItem() instanceof ItemNBTCrucible){
//System.out.println(item.getSlotList().get(0).getSubCompound("BlockEntityTag").getInteger("hot")); /***Render Empty Crucible***/
//Render Empty Crucible
if(item.getSlotList().get(0).getSubCompound("BlockEntityTag").getInteger("hot") == 0){ if(item.getSlotList().get(0).getSubCompound("BlockEntityTag").getInteger("hot") == 0){
return 0.0f; return 0.0f;
} }
//Render Level 1 /***Render Level 1***/
if(item.getSlotList().get(0).getSubCompound("BlockEntityTag").getInteger("hot") == 1){ if(item.getSlotList().get(0).getSubCompound("BlockEntityTag").getInteger("hot") == 1){
return 0.011f; return 0.011f;
} }
//Render Level 2 /***Render Level 2***/
if(item.getSlotList().get(0).getSubCompound("BlockEntityTag").getInteger("hot") == 2){ if(item.getSlotList().get(0).getSubCompound("BlockEntityTag").getInteger("hot") == 2){
return 0.012f; return 0.012f;
} }
//Render Level 3 /***Render Level 3***/
if(item.getSlotList().get(0).getSubCompound("BlockEntityTag").getInteger("hot") == 3){ if(item.getSlotList().get(0).getSubCompound("BlockEntityTag").getInteger("hot") == 3){
return 0.013f; return 0.013f;
} }
//Render Level 4 /***Render Level 4***/
if(item.getSlotList().get(0).getSubCompound("BlockEntityTag").getInteger("hot") == 4){ if(item.getSlotList().get(0).getSubCompound("BlockEntityTag").getInteger("hot") == 4){
return 0.014f; return 0.014f;
} }
//Render Level 5 /***Render Level 5***/
if(item.getSlotList().get(0).getSubCompound("BlockEntityTag").getInteger("hot") == 5){ if(item.getSlotList().get(0).getSubCompound("BlockEntityTag").getInteger("hot") == 5){
return 0.015f; return 0.015f;
} }
//Render Cooked /***Render Level Cooked***/
if(item.getSlotList().get(0).getSubCompound("BlockEntityTag").getInteger("hot") == 6){ if(item.getSlotList().get(0).getSubCompound("BlockEntityTag").getInteger("hot") == 6){
return 0.016f; return 0.016f;
} }
//Render Slagged /***Render Failed***/
if(item.getSlotList().get(0).getSubCompound("BlockEntityTag").getInteger("hot") == 7){ if(item.getSlotList().get(0).getSubCompound("BlockEntityTag").getInteger("hot") == 7){
return 0.017f; return 0.017f;
} }
//Render Hot /***Render Hot***/
if(item.getSlotList().get(0).getSubCompound("BlockEntityTag").getInteger("hot") == 15){ if(item.getSlotList().get(0).getSubCompound("BlockEntityTag").getInteger("hot") == 15){
return 0.025f; return 0.025f;
} }

View File

@@ -14,8 +14,8 @@
{"predicate": {"type": 0.015},"model": "forgecraft:item/slottedtongs/slottedtongs_015"}, {"predicate": {"type": 0.015},"model": "forgecraft:item/slottedtongs/slottedtongs_015"},
{"predicate": {"type": 0.016},"model": "forgecraft:item/slottedtongs/slottedtongs_016"}, {"predicate": {"type": 0.016},"model": "forgecraft:item/slottedtongs/slottedtongs_016"},
{"predicate": {"type": 0.017},"model": "forgecraft:item/slottedtongs/slottedtongs_017"}, {"predicate": {"type": 0.017},"model": "forgecraft:item/slottedtongs/slottedtongs_017"},
{"predicate": {"type": 0.025},"model": "forgecraft:item/slottedtongs/slottedtongs_025"},
{"predicate": {"type": 0.02},"model": "forgecraft:item/slottedtongs/slottedtongs_2"}, {"predicate": {"type": 0.02},"model": "forgecraft:item/slottedtongs/slottedtongs_2"},
{"predicate": {"type": 0.025},"model": "forgecraft:item/slottedtongs/slottedtongs_025"},
{"predicate": {"type": 0.03},"model": "forgecraft:item/slottedtongs/slottedtongs_3"}, {"predicate": {"type": 0.03},"model": "forgecraft:item/slottedtongs/slottedtongs_3"},
{"predicate": {"type": 0.04},"model": "forgecraft:item/slottedtongs/slottedtongs_4"}, {"predicate": {"type": 0.04},"model": "forgecraft:item/slottedtongs/slottedtongs_4"},
{"predicate": {"type": 0.05},"model": "forgecraft:item/slottedtongs/slottedtongs_5"}, {"predicate": {"type": 0.05},"model": "forgecraft:item/slottedtongs/slottedtongs_5"},

View File

@@ -0,0 +1,10 @@
{
"parent": "forgecraft:item/slottedtongs_crucible2",
"textures": {
"particle": "blocks/planks_oak",
"texture": "blocks/planks_oak",
"texture1": "forgecraft:blocks/stone_slab",
"texture2": "forgecraft:blocks/stone_slab",
"texture3": "forgecraft:blocks/dirty_sand"
}
}

View File

@@ -0,0 +1,10 @@
{
"parent": "forgecraft:item/slottedtongs_crucible3",
"textures": {
"particle": "blocks/planks_oak",
"texture": "blocks/planks_oak",
"texture1": "forgecraft:blocks/stone_slab",
"texture2": "forgecraft:blocks/stone_slab",
"texture3": "forgecraft:blocks/dirty_sand"
}
}

View File

@@ -0,0 +1,10 @@
{
"parent": "forgecraft:item/slottedtongs_crucible4",
"textures": {
"particle": "blocks/planks_oak",
"texture": "blocks/planks_oak",
"texture1": "forgecraft:blocks/stone_slab",
"texture2": "forgecraft:blocks/stone_slab",
"texture3": "forgecraft:blocks/dirty_sand"
}
}

View File

@@ -1,12 +1,10 @@
{ {
"parent": "forgecraft:item/stonetongs_hotbronze", "parent": "forgecraft:item/slottedtongs_crucible5",
"textures": { "textures": {
"particle": "blocks/planks_oak", "particle": "blocks/planks_oak",
"texture": "blocks/planks_oak", "texture": "blocks/planks_oak",
"texture1": "forgecraft:blocks/stone_slab", "texture1": "forgecraft:blocks/stone_slab",
"texture2": "forgecraft:blocks/stone_slab_hot", "texture2": "forgecraft:blocks/stone_slab",
"texture3": "forgecraft:items/hot_bronze" "texture3": "forgecraft:blocks/dirty_sand"
} }
} }

View File

@@ -0,0 +1,10 @@
{
"parent": "forgecraft:item/slottedtongs_crucible3",
"textures": {
"particle": "blocks/planks_oak",
"texture": "blocks/planks_oak",
"texture1": "forgecraft:blocks/stone_slab",
"texture2": "forgecraft:blocks/stone_slab",
"texture3": "forgecraft:blocks/dirty_sand_cooked"
}
}

View File

@@ -0,0 +1,10 @@
{
"parent": "forgecraft:item/slottedtongs_crucible3",
"textures": {
"particle": "blocks/planks_oak",
"texture": "blocks/planks_oak",
"texture1": "forgecraft:blocks/stone_slab",
"texture2": "forgecraft:blocks/stone_slab",
"texture3": "forgecraft:blocks/dirty_sand_burnt"
}
}

View File

@@ -0,0 +1,10 @@
{
"parent": "forgecraft:item/slottedtongs_crucible4",
"textures": {
"particle": "blocks/planks_oak",
"texture": "blocks/planks_oak",
"texture1": "blocks/stone_slab",
"texture2": "blocks/stone_slab_hot",
"texture3": "blocks/molten_crucible"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 691 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 713 B

View File

@@ -2,7 +2,7 @@
"modid": "forgecraft", "modid": "forgecraft",
"name": "Kitsu's Forgecraft", "name": "Kitsu's Forgecraft",
"description": "Forged with sweat and blood", "description": "Forged with sweat and blood",
"version": "1.4.11", "version": "1.5.0",
"mcversion": "1.12.2", "mcversion": "1.12.2",
"url": "", "url": "",
"updateUrl": "", "updateUrl": "",