From d09b9c2f518d187e8820f563f5899c51ee696c82 Mon Sep 17 00:00:00 2001 From: Minecraft_hyr <107340726+Minecrafthyr@users.noreply.github.com> Date: Fri, 10 Nov 2023 01:17:48 +0800 Subject: [PATCH] Optimize dirt_path.json (#762) Optimized https://github.com/Fabulously-Optimized/fabulously-optimized/pull/761, from 9 faces to 6 faces. --- .../minecraft/models/block/dirt_path.json | 54 +++++++++---------- 1 file changed, 25 insertions(+), 29 deletions(-) diff --git a/Resource Packs/Fast Better Grass/assets/minecraft/models/block/dirt_path.json b/Resource Packs/Fast Better Grass/assets/minecraft/models/block/dirt_path.json index e0f4cdbf6..fbd361a11 100644 --- a/Resource Packs/Fast Better Grass/assets/minecraft/models/block/dirt_path.json +++ b/Resource Packs/Fast Better Grass/assets/minecraft/models/block/dirt_path.json @@ -1,32 +1,28 @@ { - "parent": "block/block", - "textures": { - "particle": "block/dirt", - "top": "block/dirt_path_top", - "bottom": "block/dirt" - }, - "elements": [ - { - "from": [0, 0, 0], - "to": [16, 15, 16], - "faces": { - "down": { "uv": [0, 0, 16, 16], "texture": "#bottom", "cullface": "down" }, - "up": { "uv": [0, 0, 16, 16], "texture": "#top" }, - "north": { "uv": [0, 0, 16, 15], "texture": "#top", "cullface": "north" }, - "south": { "uv": [0, 0, 16, 15], "texture": "#top", "cullface": "south" }, - "west": { "uv": [0, 0, 16, 15], "texture": "#top", "cullface": "west" }, - "east": { "uv": [0, 0, 16, 15], "texture": "#top", "cullface": "east" } - } + "parent": "block/block", + "textures": { + "particle": "block/dirt", + "top": "block/dirt_path_top", + "bottom": "block/dirt" }, - { - "from": [-0.008, -1, -0.008], - "to": [16.008, 0, 16.008], - "faces": { - "north": { "uv": [0, 15, 16, 16], "texture": "#top", "cullface": "north" }, - "east": { "uv": [0, 15, 16, 16], "texture": "#top", "cullface": "east" }, - "south": { "uv": [0, 15, 16, 16], "texture": "#top" , "cullface": "south"}, - "west": { "uv": [0, 15, 16, 16], "texture": "#top", "cullface": "west" } - } - } - ] + "elements": [ + { + "from": [-0.01, -1, -0.01], + "to": [16.01, 15, 16.01], + "faces": { + "up": { "uv": [0, 0, 16, 16], "texture": "#top" }, + "north": { "uv": [0, 0, 16, 16], "texture": "#top", "cullface": "north" }, + "south": { "uv": [0, 0, 16, 16], "texture": "#top", "cullface": "south" }, + "west": { "uv": [0, 0, 16, 16], "texture": "#top", "cullface": "west" }, + "east": { "uv": [0, 0, 16, 16], "texture": "#top", "cullface": "east" } + } + }, + { + "from": [0, 0, 0], + "to": [16, 15, 16], + "faces": { + "down": { "uv": [0, 0, 16, 16], "texture": "#bottom", "cullface": "down" } + } + } + ] }