diff --git a/behavior_pack/blocks/graves_1.json b/behavior_pack/blocks/graves_1.json new file mode 100644 index 0000000..a423d28 --- /dev/null +++ b/behavior_pack/blocks/graves_1.json @@ -0,0 +1,106 @@ +{ + "minecraft:block": { + "description": { + "properties": { + "bridge:block_rotation": [ + 2, + 3, + 4, + 5 + ] + }, + "identifier": "imoo:grave_1" + }, + "permutations": [ + { + "condition": "query.block_property('bridge:block_rotation') == 2", + "components": { + "minecraft:rotation": [ + 0, + 180, + 0 + ] + } + }, + { + "condition": "query.block_property('bridge:block_rotation') == 3", + "components": { + "minecraft:rotation": [ + 0, + 0, + 0 + ] + } + }, + { + "condition": "query.block_property('bridge:block_rotation') == 4", + "components": { + "minecraft:rotation": [ + 0, + 270, + 0 + ] + } + }, + { + "condition": "query.block_property('bridge:block_rotation') == 5", + "components": { + "minecraft:rotation": [ + 0, + 90, + 0 + ] + } + } + ], + "components": { + "minecraft:on_player_placing": { + "event": "bridge:update_rotation" + }, + "minecraft:geometry": "geometry.imoo_grave_1", + "minecraft:material_instances": { + "*": { + "texture": "imoo_grave_1", + "render_method": "alpha_test" + } + }, + "minecraft:entity_collision": { + "origin": [ + -6, + 0, + 5 + ], + "size": [ + 12, + 13, + 2 + ] + }, + "minecraft:pick_collision": { + "origin": [ + -6, + 0, + 5 + ], + "size": [ + 12, + 13, + 2 + ] + }, + "minecraft:creative_category": { + "group": "itemGroup.name.Construction", + "category": "Construction" + }, + "minecraft:block_light_absorption": 0.9 + }, + "events": { + "bridge:update_rotation": { + "set_block_property": { + "bridge:block_rotation": "query.cardinal_facing_2d" + } + } + } + }, + "format_version": "1.17.0" +} \ No newline at end of file diff --git a/behavior_pack/blocks/graves_2.json b/behavior_pack/blocks/graves_2.json new file mode 100644 index 0000000..9c059fc --- /dev/null +++ b/behavior_pack/blocks/graves_2.json @@ -0,0 +1,106 @@ +{ + "minecraft:block": { + "description": { + "properties": { + "bridge:block_rotation": [ + 2, + 3, + 4, + 5 + ] + }, + "identifier": "imoo:grave_2" + }, + "permutations": [ + { + "condition": "query.block_property('bridge:block_rotation') == 2", + "components": { + "minecraft:rotation": [ + 0, + 180, + 0 + ] + } + }, + { + "condition": "query.block_property('bridge:block_rotation') == 3", + "components": { + "minecraft:rotation": [ + 0, + 0, + 0 + ] + } + }, + { + "condition": "query.block_property('bridge:block_rotation') == 4", + "components": { + "minecraft:rotation": [ + 0, + 270, + 0 + ] + } + }, + { + "condition": "query.block_property('bridge:block_rotation') == 5", + "components": { + "minecraft:rotation": [ + 0, + 90, + 0 + ] + } + } + ], + "components": { + "minecraft:on_player_placing": { + "event": "bridge:update_rotation" + }, + "minecraft:geometry": "geometry.imoo_grave_2", + "minecraft:material_instances": { + "*": { + "texture": "imoo_grave_2", + "render_method": "alpha_test" + } + }, + "minecraft:entity_collision": { + "origin": [ + -6, + 0, + 5 + ], + "size": [ + 12, + 13, + 2 + ] + }, + "minecraft:pick_collision": { + "origin": [ + -6, + 0, + 5 + ], + "size": [ + 12, + 13, + 2 + ] + }, + "minecraft:creative_category": { + "group": "itemGroup.name.Construction", + "category": "Construction" + }, + "minecraft:block_light_absorption": 0.9 + }, + "events": { + "bridge:update_rotation": { + "set_block_property": { + "bridge:block_rotation": "query.cardinal_facing_2d" + } + } + } + }, + "format_version": "1.17.0" +} \ No newline at end of file diff --git a/behavior_pack/blocks/graves_3.json b/behavior_pack/blocks/graves_3.json new file mode 100644 index 0000000..d29a2f7 --- /dev/null +++ b/behavior_pack/blocks/graves_3.json @@ -0,0 +1,106 @@ +{ + "minecraft:block": { + "description": { + "properties": { + "bridge:block_rotation": [ + 2, + 3, + 4, + 5 + ] + }, + "identifier": "imoo:grave_3" + }, + "permutations": [ + { + "condition": "query.block_property('bridge:block_rotation') == 2", + "components": { + "minecraft:rotation": [ + 0, + 180, + 0 + ] + } + }, + { + "condition": "query.block_property('bridge:block_rotation') == 3", + "components": { + "minecraft:rotation": [ + 0, + 0, + 0 + ] + } + }, + { + "condition": "query.block_property('bridge:block_rotation') == 4", + "components": { + "minecraft:rotation": [ + 0, + 270, + 0 + ] + } + }, + { + "condition": "query.block_property('bridge:block_rotation') == 5", + "components": { + "minecraft:rotation": [ + 0, + 90, + 0 + ] + } + } + ], + "components": { + "minecraft:on_player_placing": { + "event": "bridge:update_rotation" + }, + "minecraft:geometry": "geometry.imoo_grave_3", + "minecraft:material_instances": { + "*": { + "texture": "imoo_grave_3", + "render_method": "alpha_test" + } + }, + "minecraft:entity_collision": { + "origin": [ + -2, + 0, + -1 + ], + "size": [ + 8, + 2, + 1 + ] + }, + "minecraft:pick_collision": { + "origin": [ + -2, + 0, + -1 + ], + "size": [ + 8, + 2, + 1 + ] + }, + "minecraft:creative_category": { + "group": "itemGroup.name.Construction", + "category": "Construction" + }, + "minecraft:block_light_absorption": 0.9 + }, + "events": { + "bridge:update_rotation": { + "set_block_property": { + "bridge:block_rotation": "query.cardinal_facing_2d" + } + } + } + }, + "format_version": "1.17.0" +} \ No newline at end of file diff --git a/behavior_pack/manifest.json b/behavior_pack/manifest.json index 23645eb..063c521 100644 --- a/behavior_pack/manifest.json +++ b/behavior_pack/manifest.json @@ -7,7 +7,7 @@ "version": [ 0, 4, - 26 + 36 ], "min_engine_version": [ 1, @@ -23,7 +23,7 @@ "version": [ 0, 4, - 26 + 36 ] } ], @@ -33,7 +33,7 @@ "version": [ 0, 4, - 26 + 36 ] } ] diff --git a/resource_pack/manifest.json b/resource_pack/manifest.json index 2940f3a..73d58c5 100644 --- a/resource_pack/manifest.json +++ b/resource_pack/manifest.json @@ -7,7 +7,7 @@ "version": [ 0, 4, - 26 + 36 ], "min_engine_version": [ 1, @@ -23,7 +23,7 @@ "version": [ 0, 4, - 26 + 36 ] } ], @@ -33,7 +33,7 @@ "version": [ 0, 4, - 26 + 36 ] } ] diff --git a/resource_pack/models/blocks/grave_1.json b/resource_pack/models/blocks/grave_1.json new file mode 100644 index 0000000..cb25cc1 --- /dev/null +++ b/resource_pack/models/blocks/grave_1.json @@ -0,0 +1,59 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.imoo_grave_1", + "texture_width": 32, + "texture_height": 32, + "visible_bounds_width": 2, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [0, 0.75, 0] + }, + "bones": [ + { + "name": "bone", + "pivot": [0, 0, 0], + "cubes": [ + { + "origin": [-6, 0, 4], + "size": [12, 12, 3], + "uv": { + "north": {"uv": [0, 0], "uv_size": [12, 9]}, + "east": {"uv": [11, 18], "uv_size": [2, 9]}, + "south": {"uv": [0, 9], "uv_size": [12, 9]}, + "west": {"uv": [13, 18], "uv_size": [2, 9]}, + "up": {"uv": [12, 0], "uv_size": [12, 2]}, + "down": {"uv": [12, 4], "uv_size": [12, -2]} + } + }, + { + "origin": [-4.75, 12, 4], + "size": [9.5, 1, 3], + "uv": { + "north": {"uv": [12, 4], "uv_size": [12, 2]}, + "east": {"uv": [9, 20], "uv_size": [2, 2]}, + "south": {"uv": [12, 6], "uv_size": [12, 2]}, + "west": {"uv": [0, 22], "uv_size": [2, 2]}, + "up": {"uv": [12, 8], "uv_size": [12, 2]}, + "down": {"uv": [12, 12], "uv_size": [12, -2]} + } + }, + { + "origin": [-3.5, 12.5, 4], + "size": [7, 1.75, 3], + "uv": { + "north": {"uv": [15, 20], "uv_size": [9, 1]}, + "east": {"uv": [6, 22], "uv_size": [2, 1]}, + "south": {"uv": [15, 21], "uv_size": [9, 1]}, + "west": {"uv": [8, 22], "uv_size": [2, 1]}, + "up": {"uv": [15, 18], "uv_size": [9, 2]}, + "down": {"uv": [0, 22], "uv_size": [9, -2]} + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/models/blocks/grave_2.json b/resource_pack/models/blocks/grave_2.json new file mode 100644 index 0000000..969b952 --- /dev/null +++ b/resource_pack/models/blocks/grave_2.json @@ -0,0 +1,83 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.imoo_grave_2", + "texture_width": 32, + "texture_height": 32, + "visible_bounds_width": 2, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [0, 0.75, 0] + }, + "bones": [ + { + "name": "bone", + "pivot": [0, 0, 0], + "cubes": [ + { + "origin": [-5, 0, 1], + "size": [10, 1, 6], + "uv": { + "north": {"uv": [12, 8], "uv_size": [10, 1]}, + "east": {"uv": [16, 6], "uv_size": [6, 1]}, + "south": {"uv": [12, 9], "uv_size": [10, 1]}, + "west": {"uv": [16, 7], "uv_size": [6, 1]}, + "up": {"uv": [0, 0], "uv_size": [10, 6]}, + "down": {"uv": [0, 12], "uv_size": [10, -6]} + } + }, + { + "origin": [-3, 1, 2], + "size": [6, 1, 4], + "uv": { + "north": {"uv": [16, 10], "uv_size": [6, 1]}, + "east": {"uv": [6, 16], "uv_size": [4, 1]}, + "south": {"uv": [16, 11], "uv_size": [6, 1]}, + "west": {"uv": [12, 16], "uv_size": [4, 1]}, + "up": {"uv": [10, 0], "uv_size": [6, 4]}, + "down": {"uv": [10, 8], "uv_size": [6, -4]} + } + }, + { + "origin": [-1, 2, 3], + "size": [2, 12, 2], + "uv": { + "north": {"uv": [10, 8], "uv_size": [2, 12]}, + "east": {"uv": [0, 12], "uv_size": [2, 12]}, + "south": {"uv": [2, 12], "uv_size": [2, 12]}, + "west": {"uv": [4, 12], "uv_size": [2, 12]}, + "up": {"uv": [16, 12], "uv_size": [2, 2]}, + "down": {"uv": [16, 16], "uv_size": [2, -2]} + } + }, + { + "origin": [1, 8, 3], + "size": [4, 2, 2], + "uv": { + "north": {"uv": [6, 12], "uv_size": [4, 2]}, + "east": {"uv": [16, 16], "uv_size": [2, 2]}, + "south": {"uv": [12, 10], "uv_size": [4, 2]}, + "west": {"uv": [6, 17], "uv_size": [2, 2]}, + "up": {"uv": [12, 12], "uv_size": [4, 2]}, + "down": {"uv": [6, 16], "uv_size": [4, -2]} + } + }, + { + "origin": [-5, 8, 3], + "size": [4, 2, 2], + "uv": { + "north": {"uv": [12, 14], "uv_size": [4, 2]}, + "east": {"uv": [8, 17], "uv_size": [2, 2]}, + "south": {"uv": [16, 0], "uv_size": [4, 2]}, + "west": {"uv": [12, 17], "uv_size": [2, 2]}, + "up": {"uv": [16, 2], "uv_size": [4, 2]}, + "down": {"uv": [16, 6], "uv_size": [4, -2]} + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/models/blocks/grave_3.json b/resource_pack/models/blocks/grave_3.json new file mode 100644 index 0000000..20da8b5 --- /dev/null +++ b/resource_pack/models/blocks/grave_3.json @@ -0,0 +1,47 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.imoo_grave_3", + "texture_width": 64, + "texture_height": 64, + "visible_bounds_width": 2, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [0, 0.75, 0] + }, + "bones": [ + { + "name": "bone", + "pivot": [0, 0, 0], + "cubes": [ + { + "origin": [-6, 0, -7], + "size": [12, 1, 14], + "uv": { + "north": {"uv": [20, 16], "uv_size": [12, 1]}, + "east": {"uv": [20, 14], "uv_size": [14, 1]}, + "south": {"uv": [20, 17], "uv_size": [12, 1]}, + "west": {"uv": [20, 15], "uv_size": [14, 1]}, + "up": {"uv": [0, 0], "uv_size": [12, 14]}, + "down": {"uv": [12, 14], "uv_size": [12, -14]} + } + }, + { + "origin": [-5, 1, -6], + "size": [10, 1, 12], + "uv": { + "north": {"uv": [20, 20], "uv_size": [10, 1]}, + "east": {"uv": [20, 18], "uv_size": [12, 1]}, + "south": {"uv": [20, 21], "uv_size": [10, 1]}, + "west": {"uv": [20, 19], "uv_size": [12, 1]}, + "up": {"uv": [0, 14], "uv_size": [10, 12]}, + "down": {"uv": [10, 26], "uv_size": [10, -12]} + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/texts/en_US.lang b/resource_pack/texts/en_US.lang index c2d82f5..e0c5a4e 100644 --- a/resource_pack/texts/en_US.lang +++ b/resource_pack/texts/en_US.lang @@ -1,3 +1,6 @@ pack.description=Textures for the addon with various changes tile.imoo:chair.name=Chair -action.hint.exit.imoo:seat_helper=Jump to get up \ No newline at end of file +action.hint.exit.imoo:seat_helper=Jump to get up +tile.imoo:grave_1.name=Grave stone +tile.imoo:grave_2.name=Grave cross +tile.imoo:grave_3.name=Gravestone \ No newline at end of file diff --git a/resource_pack/texts/ru_RU.lang b/resource_pack/texts/ru_RU.lang index 912b0a4..63d6b66 100644 --- a/resource_pack/texts/ru_RU.lang +++ b/resource_pack/texts/ru_RU.lang @@ -1,3 +1,6 @@ pack.description=Текстуры для аддона с разными измениями tile.imoo:chair.name=Стул -action.hint.exit.imoo:seat_helper=Прыжок для того чтоб встать \ No newline at end of file +action.hint.exit.imoo:seat_helper=Прыжок для того чтоб встать +tile.imoo:grave_1.name=Могильный камень +tile.imoo:grave_2.name=Могильный крест +tile.imoo:grave_3.name=Могильная плита \ No newline at end of file diff --git a/resource_pack/textures/items/block/imoo_grave_1.png b/resource_pack/textures/items/block/imoo_grave_1.png new file mode 100644 index 0000000..59fc8f8 Binary files /dev/null and b/resource_pack/textures/items/block/imoo_grave_1.png differ diff --git a/resource_pack/textures/items/block/imoo_grave_2.png b/resource_pack/textures/items/block/imoo_grave_2.png new file mode 100644 index 0000000..39b2265 Binary files /dev/null and b/resource_pack/textures/items/block/imoo_grave_2.png differ diff --git a/resource_pack/textures/items/block/imoo_grave_3.png b/resource_pack/textures/items/block/imoo_grave_3.png new file mode 100644 index 0000000..3f4523e Binary files /dev/null and b/resource_pack/textures/items/block/imoo_grave_3.png differ diff --git a/resource_pack/textures/terrain_texture.json b/resource_pack/textures/terrain_texture.json index d07d596..3090c52 100644 --- a/resource_pack/textures/terrain_texture.json +++ b/resource_pack/textures/terrain_texture.json @@ -8,6 +8,21 @@ "textures": [ "textures/items/block/imoo_chair" ] + }, + "imoo_grave_1": { + "textures": [ + "textures/items/block/imoo_grave_1" + ] + }, + "imoo_grave_2": { + "textures": [ + "textures/items/block/imoo_grave_2" + ] + }, + "imoo_grave_3": { + "textures": [ + "textures/items/block/imoo_grave_3" + ] } } }