Some textures, finish doors

This commit is contained in:
quat1024 2023-07-23 20:27:40 -04:00
parent cfb60a9df3
commit fd699c18db
13 changed files with 76 additions and 4 deletions

View File

@ -134,14 +134,11 @@ public class TemplatesClient implements ClientModInitializer {
//item model assignments (in lieu of models/item/___.json) //item model assignments (in lieu of models/item/___.json)
provider.assignItemModel(Templates.id("button_inventory_special") , Templates.BUTTON); 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("carpet_special") , Templates.CARPET);
provider.assignItemModel(Templates.id("cube_special") , Templates.CUBE); provider.assignItemModel(Templates.id("cube_special") , Templates.CUBE);
provider.assignItemModel(Templates.id("fence_inventory_special") , Templates.FENCE); provider.assignItemModel(Templates.id("fence_inventory_special") , Templates.FENCE);
provider.assignItemModel(Templates.id("fence_gate_special") , Templates.FENCE_GATE); provider.assignItemModel(Templates.id("fence_gate_special") , Templates.FENCE_GATE);
provider.assignItemModel(Templates.id("trapdoor_bottom_special") , Templates.IRON_TRAPDOOR); 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("fence_post_inventory_special") , Templates.POST);
provider.assignItemModel(Templates.id("pressure_plate_up_special") , Templates.PRESSURE_PLATE); provider.assignItemModel(Templates.id("pressure_plate_up_special") , Templates.PRESSURE_PLATE);
provider.assignItemModel(Templates.id("slab_bottom_special") , Templates.SLAB); provider.assignItemModel(Templates.id("slab_bottom_special") , Templates.SLAB);

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "templates:item/candle"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "templates:item/door"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "templates:item/lever"
}
}

View File

@ -1,5 +1,5 @@
{ {
"parent": "item/generated", "parent": "minecraft:item/generated",
"textures": { "textures": {
"layer0": "minecraft:block/scaffolding_top" "layer0": "minecraft:block/scaffolding_top"
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 566 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 857 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 535 B

View File

@ -5,6 +5,7 @@
"templates:candle", "templates:candle",
"templates:carpet", "templates:carpet",
"templates:cube", "templates:cube",
"templates:door",
"templates:fence", "templates:fence",
"templates:fence_gate", "templates:fence_gate",
"templates:lever", "templates:lever",

View File

@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"templates:door"
]
}

View File

@ -6,6 +6,7 @@
"templates:candle", "templates:candle",
"templates:carpet", "templates:carpet",
"templates:cube", "templates:cube",
"templates:door",
"templates:fence", "templates:fence",
"templates:fence_gate", "templates:fence_gate",
"templates:iron_trapdoor", "templates:iron_trapdoor",

View File

@ -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"
}
]
}
]
}

View 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"
}