1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-08-23 05:58:14 +00:00

Fix particle texture for turtle colour model

This is never actually used in practice, but let's avoid any missing
texture reference warnings! Embarrassing that I hadn't noticed this
before!
This commit is contained in:
Jonathan Coates 2025-03-02 21:14:27 +00:00
parent dd7e8fcefc
commit f8785a092f
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06
2 changed files with 1 additions and 17 deletions

View File

@ -1,16 +0,0 @@
// SPDX-FileCopyrightText: 2022 The CC: Tweaked Developers
//
// SPDX-License-Identifier: MPL-2.0
package cc.tweaked.gradle
import groovy.util.Node
import groovy.util.NodeList
object XmlUtil {
fun findChild(node: Node, name: String): Node? = when (val child = node.get(name)) {
is Node -> child
is NodeList -> child.singleOrNull() as Node?
else -> null
}
}

View File

@ -1,7 +1,7 @@
{
"parent": "computercraft:block/turtle_base",
"textures": {
"texture": "computercraft:block/turtle_colour",
"particle": "computercraft:block/turtle_colour_body_front",
"body_back": "computercraft:block/turtle_colour_body_back",
"body_backpack": "computercraft:block/turtle_colour_body_backpack",
"body_bottom": "computercraft:block/turtle_colour_body_bottom",