Models for lamps
This commit is contained in:
parent
2794c813eb
commit
48198dbcb3
13 changed files with 244 additions and 183 deletions
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"variants": {
|
||||
"facing=north,active=false": { "model": "techreborn:block/machines/lighting/lamp_incandescent", "x": 90 },
|
||||
"facing=south,active=false": { "model": "techreborn:block/machines/lighting/lamp_incandescent", "x": 270 },
|
||||
"facing=west,active=false": { "model": "techreborn:block/machines/lighting/lamp_incandescent", "x": 90, "y": 270 },
|
||||
"facing=east,active=false": { "model": "techreborn:block/machines/lighting/lamp_incandescent", "x": 90, "y": 90 },
|
||||
"facing=down,active=false": { "model": "techreborn:block/machines/lighting/lamp_incandescent", "x": 180 },
|
||||
"facing=up,active=false": { "model": "techreborn:block/machines/lighting/lamp_incandescent" },
|
||||
"facing=north,active=true": { "model": "techreborn:block/machines/lighting/lamp_incandescent_on", "x": 90 },
|
||||
"facing=south,active=true": { "model": "techreborn:block/machines/lighting/lamp_incandescent_on", "x": 270 },
|
||||
"facing=west,active=true": { "model": "techreborn:block/machines/lighting/lamp_incandescent_on", "x": 90, "y": 270 },
|
||||
"facing=east,active=true": { "model": "techreborn:block/machines/lighting/lamp_incandescent_on", "x": 90, "y": 90 },
|
||||
"facing=down,active=true": { "model": "techreborn:block/machines/lighting/lamp_incandescent_on", "x": 180 },
|
||||
"facing=up,active=true": { "model": "techreborn:block/machines/lighting/lamp_incandescent_on"}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"variants": {
|
||||
"facing=north,active=false": { "model": "techreborn:block/machines/lighting/lamp_led", "x": 90 },
|
||||
"facing=south,active=false": { "model": "techreborn:block/machines/lighting/lamp_led", "x": 270 },
|
||||
"facing=west,active=false": { "model": "techreborn:block/machines/lighting/lamp_led", "x": 90, "y": 270 },
|
||||
"facing=east,active=false": { "model": "techreborn:block/machines/lighting/lamp_led", "x": 90, "y": 90 },
|
||||
"facing=down,active=false": { "model": "techreborn:block/machines/lighting/lamp_led", "x": 180 },
|
||||
"facing=up,active=false": { "model": "techreborn:block/machines/lighting/lamp_led" },
|
||||
"facing=north,active=true": { "model": "techreborn:block/machines/lighting/lamp_led_on", "x": 90 },
|
||||
"facing=south,active=true": { "model": "techreborn:block/machines/lighting/lamp_led_on", "x": 270 },
|
||||
"facing=west,active=true": { "model": "techreborn:block/machines/lighting/lamp_led_on", "x": 90, "y": 270 },
|
||||
"facing=east,active=true": { "model": "techreborn:block/machines/lighting/lamp_led_on", "x": 90, "y": 90 },
|
||||
"facing=down,active=true": { "model": "techreborn:block/machines/lighting/lamp_led_on", "x": 180 },
|
||||
"facing=up,active=true": { "model": "techreborn:block/machines/lighting/lamp_led_on"}
|
||||
}
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"transform": "forge:default-block",
|
||||
"model": "techreborn:lamp_incandescent",
|
||||
"textures": {
|
||||
"particle": "#lamp"
|
||||
}
|
||||
},
|
||||
"variants": {
|
||||
"inventory": {
|
||||
"model": "techreborn:lamp_incandescent",
|
||||
"textures": {
|
||||
"lamp": "techreborn:blocks/machines/lighting/lamp"
|
||||
}
|
||||
},
|
||||
"facing": {
|
||||
"down": { "x": 180 },
|
||||
"up": { "transform": "forge:default-block" },
|
||||
"north": { "x": 90 },
|
||||
"south": { "x": 270 },
|
||||
"west": { "x": 90, "y": 270 },
|
||||
"east": { "x": 90, "y": 90 }
|
||||
},
|
||||
"active": {
|
||||
"true": {
|
||||
"textures": {
|
||||
"lamp": "techreborn:blocks/machines/lighting/lamp_lit"
|
||||
}
|
||||
},
|
||||
"false": {
|
||||
"textures": {
|
||||
"lamp": "techreborn:blocks/machines/lighting/lamp"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"transform": "forge:default-block",
|
||||
"model": "techreborn:lamp_led",
|
||||
"textures": {
|
||||
"particle": "#lamp"
|
||||
}
|
||||
},
|
||||
"variants": {
|
||||
"inventory": {
|
||||
"model": "techreborn:lamp_led",
|
||||
"textures": {
|
||||
"lamp": "techreborn:blocks/machines/lighting/lamp"
|
||||
}
|
||||
},
|
||||
"facing": {
|
||||
"down": { "x": 180 },
|
||||
"up": { "transform": "forge:default-block" },
|
||||
"north": { "x": 90 },
|
||||
"south": { "x": 270 },
|
||||
"west": { "x": 90, "y": 270 },
|
||||
"east": { "x": 90, "y": 90 }
|
||||
},
|
||||
"active": {
|
||||
"true": {
|
||||
"textures": {
|
||||
"lamp": "techreborn:blocks/machines/lighting/lamp_lit"
|
||||
}
|
||||
},
|
||||
"false": {
|
||||
"textures": {
|
||||
"lamp": "techreborn:blocks/machines/lighting/lamp"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,51 +1,51 @@
|
|||
{
|
||||
"parent": "block/block",
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [ 75, 45, 0 ],
|
||||
"translation": [ 0, 2.5, 2],
|
||||
"scale": [ 0.375, 0.375, 0.375 ]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [ 0, 35, 0 ],
|
||||
"translation": [ 0, 4.3, 0 ],
|
||||
"scale": [ 0.60, 0.60, 0.60 ]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [ 0, 225, 0 ],
|
||||
"translation": [ 0, 4.2, 0 ],
|
||||
"scale": [ 0.40, 0.40, 0.40 ]
|
||||
}
|
||||
},
|
||||
"textures": {
|
||||
"0": "#lamp"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Lamp",
|
||||
"from": [ 5, 0, 5 ],
|
||||
"to": [ 11, 2, 11 ],
|
||||
"faces": {
|
||||
"down": { "texture": "#0", "uv": [0.0, 0.0, 1.0, 1.0] },
|
||||
"up": { "texture": "#0", "uv": [0.0, 0.0, 1.0, 1.0] },
|
||||
"north": { "texture": "#0", "uv": [0.0, 0.0, 1.0, 1.0] },
|
||||
"south": { "texture": "#0", "uv": [0.0, 0.0, 1.0, 1.0] },
|
||||
"west": { "texture": "#0", "uv": [0.0, 0.0, 1.0, 1.0] },
|
||||
"east": { "texture": "#0", "uv": [0.0, 0.0, 1.0, 1.0] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Lamp",
|
||||
"from": [ 4, 2, 4 ],
|
||||
"to": [ 12, 10, 12 ],
|
||||
"faces": {
|
||||
"down": { "texture": "#0", "uv": [1.0,1.0,15.0,15.0] },
|
||||
"up": { "texture": "#0", "uv": [1.0,1.0,15.0,15.0] },
|
||||
"north": { "texture": "#0", "uv": [1.0,1.0,15.0,15.0] },
|
||||
"south": { "texture": "#0", "uv": [1.0,1.0,15.0,15.0] },
|
||||
"west": { "texture": "#0", "uv": [1.0,1.0,15.0,15.0] },
|
||||
"east": { "texture": "#0", "uv": [1.0,1.0,15.0,15.0] }
|
||||
}
|
||||
}
|
||||
]
|
||||
{
|
||||
"parent": "block/block",
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [ 75, 45, 0 ],
|
||||
"translation": [ 0, 2.5, 2],
|
||||
"scale": [ 0.375, 0.375, 0.375 ]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [ 0, 35, 0 ],
|
||||
"translation": [ 0, 4.3, 0 ],
|
||||
"scale": [ 0.60, 0.60, 0.60 ]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [ 0, 225, 0 ],
|
||||
"translation": [ 0, 4.2, 0 ],
|
||||
"scale": [ 0.40, 0.40, 0.40 ]
|
||||
}
|
||||
},
|
||||
"textures": {
|
||||
"0": "techreborn:block/machines/lighting/lamp"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Lamp",
|
||||
"from": [ 5, 0, 5 ],
|
||||
"to": [ 11, 2, 11 ],
|
||||
"faces": {
|
||||
"down": { "texture": "#0", "uv": [0.0, 0.0, 1.0, 1.0] },
|
||||
"up": { "texture": "#0", "uv": [0.0, 0.0, 1.0, 1.0] },
|
||||
"north": { "texture": "#0", "uv": [0.0, 0.0, 1.0, 1.0] },
|
||||
"south": { "texture": "#0", "uv": [0.0, 0.0, 1.0, 1.0] },
|
||||
"west": { "texture": "#0", "uv": [0.0, 0.0, 1.0, 1.0] },
|
||||
"east": { "texture": "#0", "uv": [0.0, 0.0, 1.0, 1.0] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Lamp",
|
||||
"from": [ 4, 2, 4 ],
|
||||
"to": [ 12, 10, 12 ],
|
||||
"faces": {
|
||||
"down": { "texture": "#0", "uv": [1.0,1.0,15.0,15.0] },
|
||||
"up": { "texture": "#0", "uv": [1.0,1.0,15.0,15.0] },
|
||||
"north": { "texture": "#0", "uv": [1.0,1.0,15.0,15.0] },
|
||||
"south": { "texture": "#0", "uv": [1.0,1.0,15.0,15.0] },
|
||||
"west": { "texture": "#0", "uv": [1.0,1.0,15.0,15.0] },
|
||||
"east": { "texture": "#0", "uv": [1.0,1.0,15.0,15.0] }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,51 @@
|
|||
{
|
||||
"parent": "block/block",
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [ 75, 45, 0 ],
|
||||
"translation": [ 0, 2.5, 2],
|
||||
"scale": [ 0.375, 0.375, 0.375 ]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [ 0, 35, 0 ],
|
||||
"translation": [ 0, 4.3, 0 ],
|
||||
"scale": [ 0.60, 0.60, 0.60 ]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [ 0, 225, 0 ],
|
||||
"translation": [ 0, 4.2, 0 ],
|
||||
"scale": [ 0.40, 0.40, 0.40 ]
|
||||
}
|
||||
},
|
||||
"textures": {
|
||||
"0": "techreborn:block/machines/lighting/lamp_lit"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Lamp",
|
||||
"from": [ 5, 0, 5 ],
|
||||
"to": [ 11, 2, 11 ],
|
||||
"faces": {
|
||||
"down": { "texture": "#0", "uv": [0.0, 0.0, 1.0, 1.0] },
|
||||
"up": { "texture": "#0", "uv": [0.0, 0.0, 1.0, 1.0] },
|
||||
"north": { "texture": "#0", "uv": [0.0, 0.0, 1.0, 1.0] },
|
||||
"south": { "texture": "#0", "uv": [0.0, 0.0, 1.0, 1.0] },
|
||||
"west": { "texture": "#0", "uv": [0.0, 0.0, 1.0, 1.0] },
|
||||
"east": { "texture": "#0", "uv": [0.0, 0.0, 1.0, 1.0] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Lamp",
|
||||
"from": [ 4, 2, 4 ],
|
||||
"to": [ 12, 10, 12 ],
|
||||
"faces": {
|
||||
"down": { "texture": "#0", "uv": [1.0,1.0,15.0,15.0] },
|
||||
"up": { "texture": "#0", "uv": [1.0,1.0,15.0,15.0] },
|
||||
"north": { "texture": "#0", "uv": [1.0,1.0,15.0,15.0] },
|
||||
"south": { "texture": "#0", "uv": [1.0,1.0,15.0,15.0] },
|
||||
"west": { "texture": "#0", "uv": [1.0,1.0,15.0,15.0] },
|
||||
"east": { "texture": "#0", "uv": [1.0,1.0,15.0,15.0] }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,38 +1,38 @@
|
|||
{
|
||||
"parent": "block/block",
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [ 75, 45, 0 ],
|
||||
"translation": [ 0, 2.5, 2],
|
||||
"scale": [ 0.375, 0.375, 0.375 ]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [ 0, 35, 0 ],
|
||||
"translation": [ 0, 5.5, 0 ],
|
||||
"scale": [ 0.60, 0.60, 0.60 ]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [ 0, 225, 0 ],
|
||||
"translation": [ 0, 4.2, 0 ],
|
||||
"scale": [ 0.40, 0.40, 0.40 ]
|
||||
}
|
||||
},
|
||||
"textures": {
|
||||
"0": "#lamp"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Lamp",
|
||||
"from": [ 2, 0, 2 ],
|
||||
"to": [ 14, 1, 14 ],
|
||||
"faces": {
|
||||
"down": { "texture": "#0", "uv": [0.0, 0.0, 1.0, 1.0] },
|
||||
"up": { "texture": "#0", "uv": [1.0,1.0,15.0,15.0] },
|
||||
"north": { "texture": "#0", "uv": [1.0,2.0,15.0,0.0] },
|
||||
"south": { "texture": "#0", "uv": [1.0,2.0,15.0,0.0] },
|
||||
"west": { "texture": "#0", "uv": [1.0,2.0,15.0,0.0] },
|
||||
"east": { "texture": "#0", "uv": [1.0,2.0,15.0,0.0] }
|
||||
}
|
||||
}
|
||||
]
|
||||
{
|
||||
"parent": "block/block",
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [ 75, 45, 0 ],
|
||||
"translation": [ 0, 2.5, 2],
|
||||
"scale": [ 0.375, 0.375, 0.375 ]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [ 0, 35, 0 ],
|
||||
"translation": [ 0, 5.5, 0 ],
|
||||
"scale": [ 0.60, 0.60, 0.60 ]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [ 0, 225, 0 ],
|
||||
"translation": [ 0, 4.2, 0 ],
|
||||
"scale": [ 0.40, 0.40, 0.40 ]
|
||||
}
|
||||
},
|
||||
"textures": {
|
||||
"0": "techreborn:block/machines/lighting/lamp"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Lamp",
|
||||
"from": [ 2, 0, 2 ],
|
||||
"to": [ 14, 1, 14 ],
|
||||
"faces": {
|
||||
"down": { "texture": "#0", "uv": [0.0, 0.0, 1.0, 1.0] },
|
||||
"up": { "texture": "#0", "uv": [1.0,1.0,15.0,15.0] },
|
||||
"north": { "texture": "#0", "uv": [1.0,2.0,15.0,0.0] },
|
||||
"south": { "texture": "#0", "uv": [1.0,2.0,15.0,0.0] },
|
||||
"west": { "texture": "#0", "uv": [1.0,2.0,15.0,0.0] },
|
||||
"east": { "texture": "#0", "uv": [1.0,2.0,15.0,0.0] }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"parent": "block/block",
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [ 75, 45, 0 ],
|
||||
"translation": [ 0, 2.5, 2],
|
||||
"scale": [ 0.375, 0.375, 0.375 ]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [ 0, 35, 0 ],
|
||||
"translation": [ 0, 5.5, 0 ],
|
||||
"scale": [ 0.60, 0.60, 0.60 ]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [ 0, 225, 0 ],
|
||||
"translation": [ 0, 4.2, 0 ],
|
||||
"scale": [ 0.40, 0.40, 0.40 ]
|
||||
}
|
||||
},
|
||||
"textures": {
|
||||
"0": "techreborn:block/machines/lighting/lamp_lit"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Lamp",
|
||||
"from": [ 2, 0, 2 ],
|
||||
"to": [ 14, 1, 14 ],
|
||||
"faces": {
|
||||
"down": { "texture": "#0", "uv": [0.0, 0.0, 1.0, 1.0] },
|
||||
"up": { "texture": "#0", "uv": [1.0,1.0,15.0,15.0] },
|
||||
"north": { "texture": "#0", "uv": [1.0,2.0,15.0,0.0] },
|
||||
"south": { "texture": "#0", "uv": [1.0,2.0,15.0,0.0] },
|
||||
"west": { "texture": "#0", "uv": [1.0,2.0,15.0,0.0] },
|
||||
"east": { "texture": "#0", "uv": [1.0,2.0,15.0,0.0] }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"parent": "techreborn:block/machines/lighting/lamp_incandescent"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"parent": "techreborn:block/machines/lighting/lamp_led"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue