+ Added peripherals models & textures
|
|
@ -21,6 +21,8 @@ This is the unfinished port of the WebDisplays mod for Minecraft 1.12.2. The tex
|
|||
* French translations
|
||||
* Embedded videos sound/distance
|
||||
* minePad management: check GuiContainer.draggedStack for minePad
|
||||
* Enhance crafts
|
||||
* Enhance models
|
||||
|
||||
### Config elements
|
||||
* Site blacklist
|
||||
|
|
|
|||
|
|
@ -253,8 +253,8 @@ public class ClientProxy extends SharedProxy implements IResourceManagerReloadLi
|
|||
registerItemModel(wd.blockScreen.getItem(), 0, "inventory");
|
||||
ModelLoader.setCustomModelResourceLocation(wd.blockPeripheral.getItem(), 0, new ModelResourceLocation("webdisplays:kb_inv", "normal"));
|
||||
registerItemModel(wd.blockPeripheral.getItem(), 1, "facing=0,type=remotectrl");
|
||||
registerItemModel(wd.blockPeripheral.getItem(), 2, "facing=0,type=ccinterface"); //TODO: This doesn't work...
|
||||
registerItemModel(wd.blockPeripheral.getItem(), 3, "facing=0,type=cointerface");
|
||||
registerItemModel(wd.blockPeripheral.getItem(), 2, "facing=2,type=ccinterface");
|
||||
registerItemModel(wd.blockPeripheral.getItem(), 3, "facing=2,type=cointerface");
|
||||
registerItemModel(wd.itemScreenCfg, 0, "normal");
|
||||
registerItemModel(wd.itemOwnerThief, 0, "normal");
|
||||
registerItemModel(wd.itemLinker, 0, "normal");
|
||||
|
|
|
|||
|
|
@ -1,23 +1,23 @@
|
|||
{
|
||||
"variants": {
|
||||
"facing=0,type=keyboard": { "model": "webdisplays:kb_left" },
|
||||
"facing=1,type=keyboard": { "model": "webdisplays:kb_left", "y": 90.0 },
|
||||
"facing=2,type=keyboard": { "model": "webdisplays:kb_left", "y": 180.0 },
|
||||
"facing=3,type=keyboard": { "model": "webdisplays:kb_left", "y": 270.0 },
|
||||
"variants": {
|
||||
"facing=0,type=keyboard": { "model": "webdisplays:kb_left" },
|
||||
"facing=1,type=keyboard": { "model": "webdisplays:kb_left", "y": 90.0 },
|
||||
"facing=2,type=keyboard": { "model": "webdisplays:kb_left", "y": 180.0 },
|
||||
"facing=3,type=keyboard": { "model": "webdisplays:kb_left", "y": 270.0 },
|
||||
|
||||
"facing=0,type=remotectrl": { "model": "webdisplays:peripheral" },
|
||||
"facing=1,type=remotectrl": { "model": "webdisplays:peripheral" },
|
||||
"facing=2,type=remotectrl": { "model": "webdisplays:peripheral" },
|
||||
"facing=3,type=remotectrl": { "model": "webdisplays:peripheral" },
|
||||
"facing=0,type=remotectrl": { "model": "webdisplays:rctrl" },
|
||||
"facing=1,type=remotectrl": { "model": "webdisplays:rctrl" },
|
||||
"facing=2,type=remotectrl": { "model": "webdisplays:rctrl" },
|
||||
"facing=3,type=remotectrl": { "model": "webdisplays:rctrl" },
|
||||
|
||||
"facing=0,type=ccinterface": { "model": "webdisplays:peripheral" },
|
||||
"facing=1,type=ccinterface": { "model": "webdisplays:peripheral" },
|
||||
"facing=2,type=ccinterface": { "model": "webdisplays:peripheral" },
|
||||
"facing=3,type=ccinterface": { "model": "webdisplays:peripheral" },
|
||||
"facing=0,type=ccinterface": { "model": "webdisplays:ccinterface", "y": 180.0 },
|
||||
"facing=1,type=ccinterface": { "model": "webdisplays:ccinterface", "y": 270.0 },
|
||||
"facing=2,type=ccinterface": { "model": "webdisplays:ccinterface" },
|
||||
"facing=3,type=ccinterface": { "model": "webdisplays:ccinterface", "y": 90.0 },
|
||||
|
||||
"facing=0,type=cointerface": { "model": "webdisplays:peripheral" },
|
||||
"facing=1,type=cointerface": { "model": "webdisplays:peripheral" },
|
||||
"facing=2,type=cointerface": { "model": "webdisplays:peripheral" },
|
||||
"facing=3,type=cointerface": { "model": "webdisplays:peripheral" }
|
||||
}
|
||||
"facing=0,type=cointerface": { "model": "webdisplays:ocinterface", "y": 180.0 },
|
||||
"facing=1,type=cointerface": { "model": "webdisplays:ocinterface", "y": 270.0 },
|
||||
"facing=2,type=cointerface": { "model": "webdisplays:ocinterface" },
|
||||
"facing=3,type=cointerface": { "model": "webdisplays:ocinterface", "y": 90.0 }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"parent": "block/orientable",
|
||||
"textures": {
|
||||
"top": "webdisplays:blocks/cci_topbot",
|
||||
"front": "webdisplays:blocks/cci_front",
|
||||
"side": "webdisplays:blocks/cci_side"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"parent": "block/orientable",
|
||||
"textures": {
|
||||
"top": "webdisplays:blocks/oci_topbot",
|
||||
"front": "webdisplays:blocks/oci_front",
|
||||
"side": "webdisplays:blocks/oci_side"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"CCC",
|
||||
"CSC",
|
||||
"CCC"
|
||||
],
|
||||
"key": {
|
||||
"C": {
|
||||
"item": "minecraft:dye",
|
||||
"data": 6
|
||||
},
|
||||
"S": {
|
||||
"item": "webdisplays:screen"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "webdisplays:peripheral",
|
||||
"data": 2
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"GGG",
|
||||
"GSG",
|
||||
"GGG"
|
||||
],
|
||||
"key": {
|
||||
"G": {
|
||||
"item": "minecraft:dye",
|
||||
"data": 8
|
||||
},
|
||||
"S": {
|
||||
"item": "webdisplays:screen"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "webdisplays:peripheral",
|
||||
"data": 3
|
||||
}
|
||||
}
|
||||
19
src/main/resources/assets/webdisplays/recipes/rctrl.json
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
" E ",
|
||||
"BBB"
|
||||
],
|
||||
"key": {
|
||||
"E": {
|
||||
"item": "minecraft:ender_pearl"
|
||||
},
|
||||
"B": {
|
||||
"item": "minecraft:wooden_button"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "webdisplays:peripheral",
|
||||
"data": 1
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 472 B |
|
After Width: | Height: | Size: 378 B |
|
After Width: | Height: | Size: 617 B |
|
Before Width: | Height: | Size: 511 B |
|
After Width: | Height: | Size: 765 B |
|
After Width: | Height: | Size: 676 B |
|
After Width: | Height: | Size: 645 B |