discarded ItemBlock path and opted for abstract item class with custom code in init

This commit is contained in:
Mohammad-Ali Minaie
2017-02-20 00:44:46 -05:00
parent 331d509df0
commit dc8590ae86
13 changed files with 369 additions and 42 deletions

View File

@@ -0,0 +1,8 @@
{
"forge_marker":1,
"textures": {
"particle": "forgecraft:blocks/iron_ingot_hot",
"texture": "forgecraft:blocks/iron_ingot_hot"
},
"parent": "forgecraft:item/ironball"
}

View File

@@ -0,0 +1,10 @@
{
"forge_marker":1,
"textures": {
"particle": "blocks/planks_oak",
"texture": "blocks/planks_oak",
"texture1": "forgecraft:blocks/stone_slab",
"texture2": "forgecraft:blocks/iron_ingot_hot"
},
"parent": "forgecraft:item/stonetongs_ingot_default"
}

View File

@@ -0,0 +1,124 @@
{
"__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio",
"textures": {
"particle": "blocks/planks_oak",
"texture": "blocks/planks_oak",
"texture1": "forgecraft:blocks/stone_slab",
"texture2": "forgecraft:blocks/iron_ingot_hot"
},
"elements": [
{
"__comment": "Cube1",
"from": [ 6, 0, 0 ],
"to": [ 7, 1, 3 ],
"faces": {
"down": { "uv": [ 4, 12, 5, 15 ], "texture": "#texture1" },
"up": { "uv": [ 4, 1, 5, 4 ], "texture": "#texture1" },
"north": { "uv": [ 11, 13, 12, 14 ], "texture": "#texture1" },
"south": { "uv": [ 4, 13, 5, 14 ], "texture": "#texture1" },
"west": { "uv": [ 1, 14, 4, 15 ], "texture": "#texture1" },
"east": { "uv": [ 12, 14, 15, 15 ], "texture": "#texture1" }
}
},
{
"__comment": "Cube2",
"from": [ 9, 0, 0 ],
"to": [ 10, 1, 3 ],
"faces": {
"down": { "uv": [ 4, 12, 5, 15 ], "texture": "#texture1" },
"up": { "uv": [ 4, 1, 5, 4 ], "texture": "#texture1" },
"north": { "uv": [ 11, 13, 12, 14 ], "texture": "#texture1" },
"south": { "uv": [ 4, 13, 5, 14 ], "texture": "#texture1" },
"west": { "uv": [ 1, 14, 4, 15 ], "texture": "#texture1" },
"east": { "uv": [ 12, 14, 15, 15 ], "texture": "#texture1" }
}
},
{
"__comment": "Cube3",
"from": [ 6, 0, 3 ],
"to": [ 7, 1, 8 ],
"rotation": { "origin": [ 6, 0, 3 ], "axis": "y", "angle": 45 },
"faces": {
"down": { "uv": [ 4, 2, 5, 9 ], "texture": "#texture" },
"up": { "uv": [ 4, 3, 5, 10 ], "texture": "#texture" },
"north": { "uv": [ 11, 15, 12, 16 ], "texture": "#texture" },
"south": { "uv": [ 4, 15, 5, 16 ], "texture": "#texture" },
"west": { "uv": [ 3, 15, 10, 16 ], "texture": "#texture" },
"east": { "uv": [ 7, 15, 14, 16 ], "texture": "#texture" }
}
},
{
"__comment": "Cube5",
"from": [ 6, 0, 5.5 ],
"to": [ 7, 1, 16 ],
"faces": {
"down": { "uv": [ 6, 0.5, 7, 11 ], "texture": "#texture" },
"up": { "uv": [ 6, 4.5, 7, 15 ], "texture": "#texture" },
"north": { "uv": [ 9, 15, 10, 16 ], "texture": "#texture" },
"south": { "uv": [ 7, 15, 8, 16 ], "texture": "#texture" },
"west": { "uv": [ 5.5, 15, 16, 16 ], "texture": "#texture" },
"east": { "uv": [ 0.5, 15, 11, 16 ], "texture": "#texture" }
}
},
{
"__comment": "Cube6",
"from": [ 9, 0, 5.5 ],
"to": [ 10, 1, 16 ],
"faces": {
"down": { "uv": [ 6, 0.5, 7, 11 ], "texture": "#texture" },
"up": { "uv": [ 6, 4.5, 7, 15 ], "texture": "#texture" },
"north": { "uv": [ 9, 15, 10, 16 ], "texture": "#texture" },
"south": { "uv": [ 7, 15, 8, 16 ], "texture": "#texture" },
"west": { "uv": [ 5.5, 15, 16, 16 ], "texture": "#texture" },
"east": { "uv": [ 0.5, 15, 11, 16 ], "texture": "#texture" }
}
},
{
"__comment": "Cube7",
"from": [ 7, -0.5, 0 ],
"to": [ 9, 1.5, 2 ],
"faces": {
"down": { "uv": [ 7, 12, 9, 14 ], "texture": "#texture2" },
"up": { "uv": [ 7, 0, 9, 2 ], "texture": "#texture2" },
"north": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture2" },
"south": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture2" },
"west": { "uv": [ 0, 14, 2, 16 ], "texture": "#texture2" },
"east": { "uv": [ 14, 14, 16, 16 ], "texture": "#texture2" }
}
},
{
"__comment": "Cube3",
"from": [ 9, 0, 3 ],
"to": [ 10, 1, 8 ],
"rotation": { "origin": [ 10, 1, 3 ], "axis": "y", "angle": -45 },
"faces": {
"down": { "uv": [ 4, 3, 5, 10 ], "texture": "#texture", "rotation": 180 },
"up": { "uv": [ 4, 2, 5, 9 ], "texture": "#texture", "rotation": 180 },
"north": { "uv": [ 12, 16, 11, 15 ], "texture": "#texture" },
"south": { "uv": [ 5, 16, 4, 15 ], "texture": "#texture" },
"west": { "uv": [ 7, 15, 14, 16 ], "texture": "#texture", "rotation": 180 },
"east": { "uv": [ 3, 15, 10, 16 ], "texture": "#texture", "rotation": 180 }
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [60, 0, 0],
"translation": [ 0, 8.9, 3.7 ]
},
"firstperson_righthand": {
"translation": [ 0, 5.5, -7 ]
},
"gui": {
"rotation": [ 90, 0, 0 ],
"scale": [ 0.95, 0.95, 0.95 ]
},
"ground": {
"translation": [ 0, 4, 0 ]
},
"fixed": {
"rotation": [ 90, 0, 0 ],
"translation": [ 0, 0, 8 ]
}
}
}