Skip to content

Commit

Permalink
add more teleporter model
Browse files Browse the repository at this point in the history
  • Loading branch information
bill96012 committed Aug 1, 2018
1 parent 661513f commit fda86f8
Show file tree
Hide file tree
Showing 4 changed files with 131 additions and 1 deletion.
64 changes: 64 additions & 0 deletions assets/minecraft/models/block/teleporter_core_basic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"credit": "Made with Blockbench, a free, modern block model editor by JannisX11, model design by bill96012",
"parent": "block/block",
"textures": {
"0": "custom/missing",
"particle": "custom/missing"
},
"elements": [
{
"from": [-8, -8, -8],
"to": [24, 24, 24],
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "north", "tintindex": 0},
"east": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "east", "tintindex": 0},
"south": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "south", "tintindex": 0},
"west": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "west", "tintindex": 0},
"up": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "up", "tintindex": 0},
"down": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "down", "tintindex": 0}
}
}
],
"display": {
"head": {
"rotation": [-30, 0, 0],
"translation": [0, -18.5, -14],
"scale": [3, 3, 3]
},
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.19, 0.19, 0.19]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.19, 0.19, 0.19]
},
"firstperson_righthand": {
"scale": [0.2, 0.2, 0.2],
"rotation": [0, 45, 0],
"translation": [0, 0, 0]
},
"firstperson_lefthand": {
"scale": [0.2, 0.2, 0.2],
"rotation": [0, 45, 0],
"translation": [0, 0, 0]
},
"ground": {
"scale": [0.125, 0.125, 0.125],
"rotation": [0, 0, 0],
"translation": [0, 3, 0]
},
"fixed": {
"scale": [0.25, 0.25, 0.25],
"rotation": [0, 0, 0],
"translation": [0, 0, 0]
},
"gui": {
"scale": [0.31, 0.305, 0.31],
"rotation": [30, 45, 0],
"translation": [0, 0, 0]
}
}
}
64 changes: 64 additions & 0 deletions assets/minecraft/models/block/teleporter_frame.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"credit": "Made with Blockbench, a free, modern block model editor by JannisX11, model design by bill96012",
"parent": "block/block",
"textures": {
"0": "custom/missing",
"particle": "custom/missing"
},
"elements": [
{
"from": [-8, -8, -8],
"to": [24, 24, 24],
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "north", "tintindex": 0},
"east": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "east", "tintindex": 0},
"south": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "south", "tintindex": 0},
"west": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "west", "tintindex": 0},
"up": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "up", "tintindex": 0},
"down": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "down", "tintindex": 0}
}
}
],
"display": {
"head": {
"rotation": [-30, 0, 0],
"translation": [0, -18.5, -14],
"scale": [3, 3, 3]
},
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.19, 0.19, 0.19]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.19, 0.19, 0.19]
},
"firstperson_righthand": {
"scale": [0.2, 0.2, 0.2],
"rotation": [0, 45, 0],
"translation": [0, 0, 0]
},
"firstperson_lefthand": {
"scale": [0.2, 0.2, 0.2],
"rotation": [0, 45, 0],
"translation": [0, 0, 0]
},
"ground": {
"scale": [0.125, 0.125, 0.125],
"rotation": [0, 0, 0],
"translation": [0, 3, 0]
},
"fixed": {
"scale": [0.25, 0.25, 0.25],
"rotation": [0, 0, 0],
"translation": [0, 0, 0]
},
"gui": {
"scale": [0.31, 0.305, 0.31],
"rotation": [30, 45, 0],
"translation": [0, 0, 0]
}
}
}
4 changes: 3 additions & 1 deletion assets/minecraft/models/item/wooden_sword.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
},
"overrides": [
{ "predicate": {"damaged": 0, "damage": 0}, "model": "item/wooden_sword"},
{ "predicate": {"damaged": 0, "damage": 0.9491525423728814}, "model": "block/teleporter"},
{ "predicate": {"damaged": 0, "damage": 0.9152542372881356}, "model": "block/teleporter_frame"},
{ "predicate": {"damaged": 0, "damage": 0.9322033898305085}, "model": "block/teleporter_core_advance"},
{ "predicate": {"damaged": 0, "damage": 0.9491525423728814}, "model": "block/teleporter_core_basic"},
{ "predicate": {"damaged": 0, "damage": 0.9661016949152542}, "model": "block/elevator"},
{ "predicate": {"damaged": 0, "damage": 0.9830508474576271}, "model": "block/ht_crafting_table"},
{ "predicate": {"damaged": 1, "damage": 0}, "model": "item/wooden_sword"}
Expand Down

0 comments on commit fda86f8

Please sign in to comment.