introduce 'base:durability' property

This commit is contained in:
MihailRis 2024-11-26 09:43:27 +03:00
parent 0ba0584c5d
commit c97f26b06e
25 changed files with 56 additions and 32 deletions

View File

@ -1,4 +1,4 @@
{
"texture": "bazalt",
"breakable": false
}
}

View File

@ -2,5 +2,6 @@
"texture": "blue_lamp",
"emission": [0, 0, 15],
"shadeless": true,
"material": "base:glass"
"material": "base:glass",
"base:durability": 0.3
}

View File

@ -1,3 +1,4 @@
{
"texture": "brick"
}
"texture": "brick",
"base:durability": 10.5
}

View File

@ -1,3 +1,4 @@
{
"texture": "coal_ore"
"texture": "coal_ore",
"base:durability": 16.0
}

View File

@ -1,5 +1,6 @@
{
"texture": "dirt",
"material": "base:ground",
"surface-replacement": "base:grass_block"
"surface-replacement": "base:grass_block",
"base:durability": 1.0
}

View File

@ -7,5 +7,6 @@
"replaceable": true,
"grounded": true,
"model": "X",
"hitbox": [0.15, 0.0, 0.15, 0.7, 0.7, 0.7]
"hitbox": [0.15, 0.0, 0.15, 0.7, 0.7, 0.7],
"base:durability": 0.0
}

View File

@ -4,5 +4,6 @@
"draw-group": 2,
"light-passing": true,
"sky-light-passing": true,
"translucent": true
"translucent": true,
"base:durability": 0.36
}

View File

@ -8,5 +8,6 @@
"replaceable": true,
"grounded": true,
"model": "X",
"hitbox": [0.15, 0.0, 0.15, 0.7, 0.7, 0.7]
"hitbox": [0.15, 0.0, 0.15, 0.7, 0.7, 0.7],
"base:durability": 0.0
}

View File

@ -7,5 +7,6 @@
"grass_top",
"grass_side",
"grass_side"
]
}
],
"base:durability": 1.3
}

View File

@ -2,5 +2,6 @@
"texture": "green_lamp",
"emission": [0, 15, 0],
"shadeless": true,
"material": "base:glass"
"material": "base:glass",
"base:durability": 0.3
}

View File

@ -3,5 +3,6 @@
"material": "base:glass",
"draw-group": 4,
"light-passing": true,
"translucent": true
"translucent": true,
"base:durability": 0.3
}

View File

@ -1,5 +1,6 @@
{
"texture": "lamp",
"emission": [15, 14, 13],
"shadeless": true
"shadeless": true,
"base:durability": 0.3
}

View File

@ -1,4 +1,5 @@
{
"texture": "leaves",
"material": "base:grass"
}
"material": "base:grass",
"base:durability": 0.7
}

View File

@ -8,5 +8,6 @@
"light-passing": true,
"sky-light-passing": true,
"shadeless": true,
"material": "base:glass"
"material": "base:glass",
"base:durability": 0.2
}

View File

@ -1,4 +1,5 @@
{
"texture": "metal",
"material": "base:metal"
"material": "base:metal",
"base:durability": 10.0
}

View File

@ -12,5 +12,6 @@
"hitbox": [0.0, 0.0, 0.0, 1.0, 1.0, 0.2],
"light-passing": true,
"sky-light-passing": true,
"rotation": "pane"
"rotation": "pane",
"base:durability": 2.5
}

View File

@ -11,5 +11,6 @@
"hitbox": [0.25, 0.0, 0.25, 0.5, 1.0, 0.5],
"light-passing": true,
"rotation": "pipe",
"material": "base:metal"
"material": "base:metal",
"base:durability": 4.7
}

View File

@ -1,4 +1,5 @@
{
"texture": "planks",
"material": "base:wood"
}
"material": "base:wood",
"base:durability": 5.0
}

View File

@ -2,5 +2,6 @@
"texture": "red_lamp",
"emission": [15, 0, 0],
"shadeless": true,
"material": "base:glass"
"material": "base:glass",
"base:durability": 0.3
}

View File

@ -1,4 +1,5 @@
{
"texture": "rust",
"material": "base:metal"
"material": "base:metal",
"base:durability": 6.6
}

View File

@ -1,4 +1,5 @@
{
"texture": "sand",
"material": "base:sand"
}
"material": "base:sand",
"base:durability": 0.7
}

View File

@ -1,3 +1,4 @@
{
"texture": "stone"
}
"texture": "stone",
"base:durability": 12.0
}

View File

@ -31,5 +31,6 @@
"particles:smoke_0",
"particles:smoke_1"
]
}
},
"base:durability": 0.1
}

View File

@ -8,5 +8,6 @@
"wood",
"wood"
],
"rotation": "pipe"
}
"rotation": "pipe",
"base:durability": 6.0
}

View File

@ -14,5 +14,6 @@
"rotation": "pane",
"model": "aabb",
"hitbox": [0.0, 0.0, 0.8, 1.0, 2.0, 0.2],
"ambient-occlusion": false
"ambient-occlusion": false,
"base:durability": 5.9
}