Skip to content

Error when creating custom ore for Create zinc #29

@brisingraerowing

Description

@brisingraerowing

Error:

[14:22:23] [Worker-Main-7/ERROR] [do.mo.co.CompactOresResourcePack/]: Failed to generate compact ore texture for compactore__create__zinc_ore, using missing texture instead.
[14:22:23] [Worker-Main-7/ERROR] [do.mo.co.CompactOresResourcePack/]:    Caused by java.lang.RuntimeException: Unable to generate compact ore texture (baseBlock=null, oreBlock=create:zinc_ore, baseTexture=null, oreTexture=create:textures/block/zinc_ore.png)
[14:22:23] [Worker-Main-7/ERROR] [do.mo.co.CompactOresResourcePack/]:    Caused by java.lang.NullPointerException: Cannot invoke "net.minecraft.resources.ResourceLocation.m_135827_()" because "texture" is null
[14:22:34] [Worker-Main-2/ERROR] [do.mo.co.CompactOresResourcePack/]: Failed to generate compact ore texture for compactore__create__zinc_ore, using missing texture instead.
[14:22:34] [Worker-Main-2/ERROR] [do.mo.co.CompactOresResourcePack/]:    Caused by java.lang.RuntimeException: Unable to generate compact ore texture (baseBlock=null, oreBlock=create:zinc_ore, baseTexture=null, oreTexture=create:textures/block/zinc_ore.png)
[14:22:34] [Worker-Main-2/ERROR] [do.mo.co.CompactOresResourcePack/]:    Caused by java.lang.NullPointerException: Cannot invoke "net.minecraft.resources.ResourceLocation.m_135827_()" because "texture" is null

Config file: (named create.toml)

[":zinc_ore"]
oreTexture = ":block/zinc_ore"

[":deepslate_zinc_ore"]
oreTexture = ":block/deepslate_zinc_ore"
rockTexture = "block/deepslate"

An identical error occurs for the Deepslate variant, other than the item ID being different

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions