saving for the night

This commit is contained in:
Mohammad-Ali Minaie
2017-01-22 22:18:17 -05:00
parent b55b3cb1e1
commit 06920b621b
6 changed files with 53 additions and 9 deletions

View File

@@ -28,7 +28,8 @@ public class ModInfo {
public enum ForgecraftItems {
TEST("test", "ItemTest"),
BELLOWSHANDLE("bellowshandle", "bellowshandle");
BELLOWSHANDLE("bellowshandle", "bellowshandle"),
SOFTCRUCIBLE("softcrucible", "softcrucible");
private String unlocalizedName;
private String registryName;

View File

@@ -5,6 +5,7 @@ import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.fml.common.registry.GameRegistry;
import nmd.primal.forgecraft.items.ItemBellowsHandle;
import nmd.primal.forgecraft.items.ItemSoftCrucible;
/**
* Created by kitsu on 11/26/2016.
@@ -13,19 +14,23 @@ public class ModItems {
public static Item pistonbellows;
public static Item test;
public static Item softcrucible;
public static void init() {
pistonbellows = new ItemBellowsHandle();
softcrucible = new ItemSoftCrucible();
//test = new ItemTest();
}
public static void register() {
GameRegistry.register(pistonbellows);
GameRegistry.register(softcrucible);
//GameRegistry.register(test);
}
public static void registerRenders() {
registerRender(pistonbellows);
registerRender(softcrucible);
//registerRender(test);
}

View File

@@ -0,0 +1,15 @@
package nmd.primal.forgecraft.items;
import nmd.primal.forgecraft.ModInfo;
/**
* Created by mminaie on 1/22/17.
*/
public class ItemSoftCrucible extends BaseItem {
public ItemSoftCrucible() {
setUnlocalizedName(ModInfo.ForgecraftItems.SOFTCRUCIBLE.getUnlocalizedName());
setRegistryName(ModInfo.ForgecraftItems.SOFTCRUCIBLE.getRegistryName());
}
}

View File

@@ -1,8 +1,8 @@
{
"__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio",
"textures": {
"particle": "blocks/e_particle",
"texture": "blocks/clay"
"particle": "forgecraft:items/clay",
"texture": "forgecraft:items/clay"
},
"elements": [
{
@@ -122,5 +122,23 @@
"east": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" }
}
}
]
],
"display": {
"thirdperson_righthand": {
"translation": [ 0.1, 1.1, -2.35 ]
},
"firstperson_righthand": {
"translation": [ 0, 4, 0 ]
},
"gui": {
"translation": [ 0, 4, 0 ]
},
"ground": {
"translation": [ 0, 4, 0 ]
},
"fixed": {
"rotation": [ 45, 45, 0 ],
"translation": [ 0, 4, 0 ]
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 692 B