Some textures, finish doors
This commit is contained in:
parent
cfb60a9df3
commit
fd699c18db
@ -134,14 +134,11 @@ public class TemplatesClient implements ClientModInitializer {
|
||||
|
||||
//item model assignments (in lieu of models/item/___.json)
|
||||
provider.assignItemModel(Templates.id("button_inventory_special") , Templates.BUTTON);
|
||||
provider.assignItemModel(Templates.id("one_candle_special") , Templates.CANDLE); //TODO vanilla uses its own item model
|
||||
provider.assignItemModel(Templates.id("carpet_special") , Templates.CARPET);
|
||||
provider.assignItemModel(Templates.id("cube_special") , Templates.CUBE);
|
||||
provider.assignItemModel(Templates.id("fence_inventory_special") , Templates.FENCE);
|
||||
provider.assignItemModel(Templates.id("fence_gate_special") , Templates.FENCE_GATE);
|
||||
provider.assignItemModel(Templates.id("trapdoor_bottom_special") , Templates.IRON_TRAPDOOR);
|
||||
provider.assignItemModel(Templates.id("lever_special") , Templates.LEVER); //TODO vanilla uses its own item model
|
||||
//provider.assignItemModel(Templates.id("glass_pane_side_special"), Templates.PANE); //Done with a regular json model actually
|
||||
provider.assignItemModel(Templates.id("fence_post_inventory_special") , Templates.POST);
|
||||
provider.assignItemModel(Templates.id("pressure_plate_up_special") , Templates.PRESSURE_PLATE);
|
||||
provider.assignItemModel(Templates.id("slab_bottom_special") , Templates.SLAB);
|
||||
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "templates:item/candle"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "templates:item/door"
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "templates:item/lever"
|
||||
}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:block/scaffolding_top"
|
||||
}
|
||||
|
BIN
src/main/resources/assets/templates/textures/item/candle.png
Normal file
BIN
src/main/resources/assets/templates/textures/item/candle.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 566 B |
BIN
src/main/resources/assets/templates/textures/item/door.png
Normal file
BIN
src/main/resources/assets/templates/textures/item/door.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 857 B |
BIN
src/main/resources/assets/templates/textures/item/lever.png
Normal file
BIN
src/main/resources/assets/templates/textures/item/lever.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 535 B |
@ -5,6 +5,7 @@
|
||||
"templates:candle",
|
||||
"templates:carpet",
|
||||
"templates:cube",
|
||||
"templates:door",
|
||||
"templates:fence",
|
||||
"templates:fence_gate",
|
||||
"templates:lever",
|
||||
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"templates:door"
|
||||
]
|
||||
}
|
@ -6,6 +6,7 @@
|
||||
"templates:candle",
|
||||
"templates:carpet",
|
||||
"templates:cube",
|
||||
"templates:door",
|
||||
"templates:fence",
|
||||
"templates:fence_gate",
|
||||
"templates:iron_trapdoor",
|
||||
|
@ -0,0 +1,28 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "templates:door",
|
||||
"conditions": [
|
||||
{
|
||||
"block": "templates:door",
|
||||
"condition": "minecraft:block_state_property",
|
||||
"properties": {
|
||||
"half": "lower"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
21
src/main/resources/data/templates/recipes/door.json
Normal file
21
src/main/resources/data/templates/recipes/door.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"II ",
|
||||
"II~",
|
||||
"II "
|
||||
],
|
||||
"key": {
|
||||
"I": {
|
||||
"item": "minecraft:bamboo"
|
||||
},
|
||||
"~": {
|
||||
"item": "minecraft:string"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "templates:door",
|
||||
"count": 2
|
||||
},
|
||||
"group": "templates"
|
||||
}
|
Loading…
Reference in New Issue
Block a user