Asset improvements

This commit is contained in:
oitsjustjose 2022-10-19 19:56:13 -05:00
commit 205bc353bf
7 changed files with 238 additions and 26 deletions

View file

@ -1,55 +1,108 @@
{
"variants": {
"face=ceiling,facing=east": {
"model": "charged_explosives:block/charged_explosive",
"face=ceiling,facing=east,activated=false": {
"model": "charged_explosives:block/charged_explosive_off",
"x": 180,
"y": 270
},
"face=ceiling,facing=north": {
"model": "charged_explosives:block/charged_explosive",
"face=ceiling,facing=north,activated=false": {
"model": "charged_explosives:block/charged_explosive_off",
"x": 180,
"y": 180
},
"face=ceiling,facing=south": {
"model": "charged_explosives:block/charged_explosive",
"face=ceiling,facing=south,activated=false": {
"model": "charged_explosives:block/charged_explosive_off",
"x": 180
},
"face=ceiling,facing=west": {
"model": "charged_explosives:block/charged_explosive",
"face=ceiling,facing=west,activated=false": {
"model": "charged_explosives:block/charged_explosive_off",
"x": 180,
"y": 90
},
"face=floor,facing=east": {
"model": "charged_explosives:block/charged_explosive",
"face=floor,facing=east,activated=false": {
"model": "charged_explosives:block/charged_explosive_off",
"y": 90
},
"face=floor,facing=north": {
"model": "charged_explosives:block/charged_explosive"
"face=floor,facing=north,activated=false": {
"model": "charged_explosives:block/charged_explosive_off"
},
"face=floor,facing=south": {
"model": "charged_explosives:block/charged_explosive",
"face=floor,facing=south,activated=false": {
"model": "charged_explosives:block/charged_explosive_off",
"y": 180
},
"face=floor,facing=west": {
"model": "charged_explosives:block/charged_explosive",
"face=floor,facing=west,activated=false": {
"model": "charged_explosives:block/charged_explosive_off",
"y": 270
},
"face=wall,facing=east": {
"model": "charged_explosives:block/charged_explosive",
"face=wall,facing=east,activated=false": {
"model": "charged_explosives:block/charged_explosive_off",
"x": 90,
"y": 90
},
"face=wall,facing=north": {
"model": "charged_explosives:block/charged_explosive",
"face=wall,facing=north,activated=false": {
"model": "charged_explosives:block/charged_explosive_off",
"x": 90
},
"face=wall,facing=south": {
"model": "charged_explosives:block/charged_explosive",
"face=wall,facing=south,activated=false": {
"model": "charged_explosives:block/charged_explosive_off",
"x": 90,
"y": 180
},
"face=wall,facing=west": {
"model": "charged_explosives:block/charged_explosive",
"face=wall,facing=west,activated=false": {
"model": "charged_explosives:block/charged_explosive_off",
"x": 90,
"y": 270
},
"face=ceiling,facing=east,activated=true": {
"model": "charged_explosives:block/charged_explosive_on",
"x": 180,
"y": 270
},
"face=ceiling,facing=north,activated=true": {
"model": "charged_explosives:block/charged_explosive_on",
"x": 180,
"y": 180
},
"face=ceiling,facing=south,activated=true": {
"model": "charged_explosives:block/charged_explosive_on",
"x": 180
},
"face=ceiling,facing=west,activated=true": {
"model": "charged_explosives:block/charged_explosive_on",
"x": 180,
"y": 90
},
"face=floor,facing=east,activated=true": {
"model": "charged_explosives:block/charged_explosive_on",
"y": 90
},
"face=floor,facing=north,activated=true": {
"model": "charged_explosives:block/charged_explosive_on"
},
"face=floor,facing=south,activated=true": {
"model": "charged_explosives:block/charged_explosive_on",
"y": 180
},
"face=floor,facing=west,activated=true": {
"model": "charged_explosives:block/charged_explosive_on",
"y": 270
},
"face=wall,facing=east,activated=true": {
"model": "charged_explosives:block/charged_explosive_on",
"x": 90,
"y": 90
},
"face=wall,facing=north,activated=true": {
"model": "charged_explosives:block/charged_explosive_on",
"x": 90
},
"face=wall,facing=south,activated=true": {
"model": "charged_explosives:block/charged_explosive_on",
"x": 90,
"y": 180
},
"face=wall,facing=west,activated=true": {
"model": "charged_explosives:block/charged_explosive_on",
"x": 90,
"y": 270
}

View file

@ -0,0 +1,81 @@
{
"credit": "Made with Blockbench",
"texture_size": [4, 4],
"textures": {
"0": "charged_explosives:block/charged_explosive_main",
"2": "charged_explosives:block/shaped_charge_light_off",
"particle": "charged_explosives:block/charged_explosive_main"
},
"elements": [
{
"name": "charged_explosive_main",
"from": [2, 0, 4],
"to": [14, 3, 12],
"faces": {
"north": {"uv": [0, 10, 6, 13], "texture": "#0"},
"east": {"uv": [6, 10, 10, 13], "texture": "#0"},
"south": {"uv": [0, 13, 6, 16], "texture": "#0"},
"west": {"uv": [6, 13, 10, 16], "texture": "#0"},
"up": {"uv": [0, 2, 6, 10], "texture": "#0"},
"down": {"uv": [6, 2, 12, 10], "texture": "#0"}
}
},
{
"name": "shaped_charge_light",
"from": [10, 3, 7],
"to": [12, 4, 9],
"faces": {
"north": {"uv": [8, 0, 16, 4], "texture": "#2"},
"east": {"uv": [8, 8, 16, 12], "texture": "#2"},
"south": {"uv": [8, 8, 16, 4], "texture": "#2"},
"west": {"uv": [8, 12, 16, 16], "texture": "#2"},
"up": {"uv": [0, 0, 8, 8], "texture": "#2"},
"down": {"uv": [0, 8, 8, 16], "texture": "#2"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [65, 0, 0],
"translation": [0, 3, 4.75],
"scale": [0.75, 0.75, 0.75]
},
"thirdperson_lefthand": {
"rotation": [65, 0, 0],
"translation": [0, 3, 4.75],
"scale": [0.75, 0.75, 0.75]
},
"firstperson_righthand": {
"rotation": [65, 0, 0],
"translation": [0, 3.25, 0]
},
"firstperson_lefthand": {
"rotation": [65, 0, 0],
"translation": [0, 3.25, 0]
},
"ground": {
"translation": [0, 3, 0],
"scale": [0.75, 0.75, 0.75]
},
"gui": {
"rotation": [30, 45, 0],
"translation": [0, 5.25, 0]
},
"head": {
"rotation": [-90, -180, 0],
"translation": [0, 7.25, -14.5]
},
"fixed": {
"rotation": [-90, -180, 0],
"translation": [0, 0, -8]
}
},
"groups": [
{
"name": "shaped charge",
"origin": [0, 0, 0],
"color": 0,
"children": [0, 1]
}
]
}

View file

@ -3,7 +3,7 @@
"texture_size": [4, 4],
"textures": {
"0": "charged_explosives:block/charged_explosive_main",
"2": "charged_explosives:block/shaped_charge_light",
"2": "charged_explosives:block/shaped_charge_light_on",
"particle": "charged_explosives:block/charged_explosive_main"
},
"elements": [

View file

@ -1,3 +1,81 @@
{
"parent": "charged_explosives:block/charged_explosive"
"credit": "Made with Blockbench",
"texture_size": [4, 4],
"textures": {
"0": "charged_explosives:block/charged_explosive_main",
"2": "charged_explosives:block/shaped_charge_light_off",
"particle": "charged_explosives:block/charged_explosive_main"
},
"elements": [
{
"name": "charged_explosive_main",
"from": [2, 0, 4],
"to": [14, 3, 12],
"faces": {
"north": {"uv": [0, 10, 6, 13], "texture": "#0"},
"east": {"uv": [6, 10, 10, 13], "texture": "#0"},
"south": {"uv": [0, 13, 6, 16], "texture": "#0"},
"west": {"uv": [6, 13, 10, 16], "texture": "#0"},
"up": {"uv": [0, 2, 6, 10], "texture": "#0"},
"down": {"uv": [6, 2, 12, 10], "texture": "#0"}
}
},
{
"name": "shaped_charge_light",
"from": [10, 3, 7],
"to": [12, 4, 9],
"faces": {
"north": {"uv": [8, 0, 16, 4], "texture": "#2"},
"east": {"uv": [8, 8, 16, 12], "texture": "#2"},
"south": {"uv": [8, 8, 16, 4], "texture": "#2"},
"west": {"uv": [8, 12, 16, 16], "texture": "#2"},
"up": {"uv": [0, 0, 8, 8], "texture": "#2"},
"down": {"uv": [0, 8, 8, 16], "texture": "#2"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [65, 0, 0],
"translation": [0, 3, 4.75],
"scale": [0.75, 0.75, 0.75]
},
"thirdperson_lefthand": {
"rotation": [65, 0, 0],
"translation": [0, 3, 4.75],
"scale": [0.75, 0.75, 0.75]
},
"firstperson_righthand": {
"rotation": [65, 0, 0],
"translation": [0, 3.25, 0]
},
"firstperson_lefthand": {
"rotation": [65, 0, 0],
"translation": [0, 3.25, 0]
},
"ground": {
"translation": [0, 3, 0],
"scale": [0.75, 0.75, 0.75]
},
"gui": {
"rotation": [30, 45, 0],
"translation": [0, 5.25, 0]
},
"head": {
"rotation": [-90, -180, 0],
"translation": [0, 7.25, -14.5]
},
"fixed": {
"rotation": [-90, -180, 0],
"translation": [0, 0, -8]
}
},
"groups": [
{
"name": "shaped charge",
"origin": [0, 0, 0],
"color": 0,
"children": [0, 1]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB