mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-08-28 00:12:16 +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:
parent
dd7e8fcefc
commit
f8785a092f
@ -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
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"parent": "computercraft:block/turtle_base",
|
"parent": "computercraft:block/turtle_base",
|
||||||
"textures": {
|
"textures": {
|
||||||
"texture": "computercraft:block/turtle_colour",
|
"particle": "computercraft:block/turtle_colour_body_front",
|
||||||
"body_back": "computercraft:block/turtle_colour_body_back",
|
"body_back": "computercraft:block/turtle_colour_body_back",
|
||||||
"body_backpack": "computercraft:block/turtle_colour_body_backpack",
|
"body_backpack": "computercraft:block/turtle_colour_body_backpack",
|
||||||
"body_bottom": "computercraft:block/turtle_colour_body_bottom",
|
"body_bottom": "computercraft:block/turtle_colour_body_bottom",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user