Skip to content

Commit

Permalink
add teleporter model
Browse files Browse the repository at this point in the history
  • Loading branch information
bill96012 committed Aug 1, 2018
1 parent 0655545 commit 661513f
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
64 changes: 64 additions & 0 deletions assets/minecraft/models/block/teleporter.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]
}
}
}
1 change: 1 addition & 0 deletions assets/minecraft/models/item/wooden_sword.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
},
"overrides": [
{ "predicate": {"damaged": 0, "damage": 0}, "model": "item/wooden_sword"},
{ "predicate": {"damaged": 0, "damage": 0.9491525423728814}, "model": "block/teleporter"},
{ "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 661513f

Please sign in to comment.