diff --git a/graphics/light-plate.xcf b/graphics/light-plate.xcf new file mode 100644 index 0000000..b0d7f34 Binary files /dev/null and b/graphics/light-plate.xcf differ diff --git a/src/resources/assets/mmm/blockstates/deco/light/plate/lit.json b/src/resources/assets/mmm/blockstates/deco/light/plate/lit.json new file mode 100644 index 0000000..f9948ab --- /dev/null +++ b/src/resources/assets/mmm/blockstates/deco/light/plate/lit.json @@ -0,0 +1,22 @@ +{ + "forge_marker": 1 , + "defaults" : { + "model": "mmm:deco/light/plate" , + "textures": { + "plate": "mmm:blocks/deco/light/plate/lit" + } + } , + + "variants" : { + + "facing" : { + "north" : { "y": 0 } , + "east" : { "y": 90 } , + "south" : { "y": 180 } , + "west" : { "y": 270 } , + "up" : { "x": 270 } , + "down" : { "x" : 90 } + } + + } +} \ No newline at end of file diff --git a/src/resources/assets/mmm/blockstates/deco/light/plate/unlit.json b/src/resources/assets/mmm/blockstates/deco/light/plate/unlit.json new file mode 100644 index 0000000..f4a9186 --- /dev/null +++ b/src/resources/assets/mmm/blockstates/deco/light/plate/unlit.json @@ -0,0 +1,22 @@ +{ + "forge_marker": 1 , + "defaults" : { + "model": "mmm:deco/light/plate" , + "textures": { + "plate": "mmm:blocks/deco/light/plate/unlit" + } + } , + + "variants" : { + + "facing" : { + "north" : { "y": 0 } , + "east" : { "y": 90 } , + "south" : { "y": 180 } , + "west" : { "y": 270 } , + "up" : { "x": 270 } , + "down" : { "x" : 90 } + } + + } +} \ No newline at end of file diff --git a/src/resources/assets/mmm/lang/en_US.lang b/src/resources/assets/mmm/lang/en_US.lang index 29f6a51..59d4ec9 100644 --- a/src/resources/assets/mmm/lang/en_US.lang +++ b/src/resources/assets/mmm/lang/en_US.lang @@ -322,3 +322,6 @@ tile.mmm.deco.throne.hevea.red.name=Hevea Throne (Red) tile.mmm.deco.throne.hevea.silver.name=Hevea Throne (Silver) tile.mmm.deco.throne.hevea.white.name=Hevea Throne (White) tile.mmm.deco.throne.hevea.yellow.name=Hevea Throne (Yellow) + +tile.mmm.deco.light.plate.lit.name=Spot Light +tile.mmm.deco.light.button.unlit.name=Button With Indicator Light diff --git a/src/resources/assets/mmm/models/block/deco/light/plate.json b/src/resources/assets/mmm/models/block/deco/light/plate.json new file mode 100644 index 0000000..bdba9e8 --- /dev/null +++ b/src/resources/assets/mmm/models/block/deco/light/plate.json @@ -0,0 +1,44 @@ +{ + "textures" : { + "particle" : "#plate" , + "plate": "#plate" , + "side": "mmm:blocks/deco/light/plate/sides" + } , + + "elements" : [ + { + "from": [ 3, 1, 15 ], + "to": [ 13, 15, 16 ], + "faces": { + "down": { "texture": "#side" }, + "up": { "texture": "#side" }, + "north": { "texture": "#plate" }, + "south": { "texture": "#side" , "cullface" : "south" }, + "west": { "texture": "#side" }, + "east": { "texture": "#side" } + } + } , + { + "from": [ 1, 3, 15 ], + "to": [ 3, 13, 16 ], + "faces": { + "down": { "texture": "#side" }, + "up": { "texture": "#side" }, + "north": { "texture": "#plate" }, + "south": { "texture": "#side" , "cullface" : "south" }, + "east": { "texture": "#side" } + } + } , + { + "from": [ 13, 3, 15 ], + "to": [ 15, 13, 16 ], + "faces": { + "down": { "texture": "#side" }, + "up": { "texture": "#side" }, + "north": { "texture": "#plate" }, + "south": { "texture": "#side" , "cullface" : "south" }, + "east": { "texture": "#side" } + } + } + ] +} \ No newline at end of file diff --git a/src/resources/assets/mmm/models/item/deco/light/plate.json b/src/resources/assets/mmm/models/item/deco/light/plate.json new file mode 100644 index 0000000..e4c6ad2 --- /dev/null +++ b/src/resources/assets/mmm/models/item/deco/light/plate.json @@ -0,0 +1,29 @@ +{ + "parent": "mmm:block/deco/light/plate" , + "textures": { + "plate": "mmm:blocks/deco/light/plate/unlit" + } , + + "display": { + "thirdperson_righthand": { + "rotation": [ 10, 90, 10 ], + "translation": [ -4, 0, -4 ], + "scale": [ 0.7, 0.7, 0.7 ] + }, + "firstperson_righthand": { + "rotation": [ 10, 90, 10 ], + "translation": [ 0, 1.5, -1 ], + "scale": [ 0.8, 0.8, 0.8 ] + }, + "ground": { + "rotation": [ 0, 0, 0 ], + "translation": [ 0, 2, 0 ], + "scale": [ 0.8, 0.8, 0.8 ] + }, + "gui": { + "rotation": [ 0, 180, 0 ], + "translation": [ 0, 0, 0 ], + "scale": [ 0.8, 0.8, 0.8 ] + } + } +} \ No newline at end of file diff --git a/src/resources/assets/mmm/textures/blocks/deco/light/plate/lit.png b/src/resources/assets/mmm/textures/blocks/deco/light/plate/lit.png new file mode 100644 index 0000000..08d54ef Binary files /dev/null and b/src/resources/assets/mmm/textures/blocks/deco/light/plate/lit.png differ diff --git a/src/resources/assets/mmm/textures/blocks/deco/light/plate/sides.png b/src/resources/assets/mmm/textures/blocks/deco/light/plate/sides.png new file mode 100644 index 0000000..e9d071b Binary files /dev/null and b/src/resources/assets/mmm/textures/blocks/deco/light/plate/sides.png differ diff --git a/src/resources/assets/mmm/textures/blocks/deco/light/plate/unlit.png b/src/resources/assets/mmm/textures/blocks/deco/light/plate/unlit.png new file mode 100644 index 0000000..d1bb364 Binary files /dev/null and b/src/resources/assets/mmm/textures/blocks/deco/light/plate/unlit.png differ