#Mass Item Creation

1 messages · Page 1 of 1 (latest)

chrome solstice
#

So I'm doing mass Item creation in this way

    //Clumps & Clusters
    function createOreLines(type, color) {
        endless.create(`endless_sky:${type}_cluster`).tag(`c:clusters/${type}`).tag(`c:clusters`).texture(`endless_sky:template_cluster`).color(color)
        endless.create(`endless_sky:${type}_clump`).tag(`c:clumps/${type}`).tag(`c:clumps`).texture(`endless_sky:template_clump`).color(color)
    }

    createOreLines('coal', 0x252525)
    createOreLines('iron', 0xD5AA87)
    createOreLines('gold', 0xF5E556)
    createOreLines('copper', 0xCA7B59)
    createOreLines('tin', 0xCDCDE0)
    createOreLines('diamond', 0x5BFCFF)
    createOreLines('emerald', 0x4BD254)
    createOreLines('redstone', 0xCB1E0F)
    createOreLines('lapis', 0x3A6EE4)
    createOreLines('aluminum', 0xD6E5EC)
    createOreLines('lead', 0x788ABE)
    createOreLines('nickel', 0xD9D5BE)
    createOreLines('platinum', 0xACAACD)
    createOreLines('silver', 0xE7ECF4)
    createOreLines('uranium', 0x97E282)
    createOreLines('zinc', 0xCEDDE4)
    createOreLines('black_quartz', 0x35404E)
    createOreLines('quartz', 0xEBE7E3)
})```

but for some reason it gives missing texture why? I assigned a template texture and gave them color.
There is no error in startup.log
hollow mothBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

plush plume
#

where is your template texture file located?

#

it should be at assets/endless_sky/textures/item/template_cluster.png

chrome solstice
#

so it shouldn't be an issue

#

or am i not seeing things correctly

plush plume
#

it does seem to be right

chrome solstice
#

mhm

plush plume
#

just in case check your latest.log, there should be something about failing to find a texture file

chrome solstice
#

[24Aug2025 17:34:20.019] [Worker-ResourceReload-11/WARN] [net.minecraft.client.resources.model.ModelManager/]: Missing textures in model endless_sky:aluminum_clump#inventory:
minecraft:textures/atlas/blocks.png:endless_sky:template_clump

plush plume
#

oh are you registering these as blocks?
in that case it's looking for them at assets/endless_sky/textures/block/template_cluster.png

chrome solstice
#

I'm not

#

thats the issue

#
StartupEvents.registry("item", (endless) => {
    









   //Curios
    endless.create('endless_sky:curio')
    endless.create('endless_sky:aether_key').maxStackSize(1).glow(true).tag('curios:charm').tooltip('Allows you to travel to The Aether with this equipped at Y level 320+')


    //Clumps & Clusters
    function createOreLines(type, color) {
        endless.create(`endless_sky:${type}_cluster`).tag(`c:clusters/${type}`).tag(`c:clusters`).texture(`endless_sky:template_cluster`).color(color)
        endless.create(`endless_sky:${type}_clump`).tag(`c:clumps/${type}`).tag(`c:clumps`).texture(`endless_sky:template_clump`).color(color)
    }

    createOreLines('coal', 0x252525)
    createOreLines('iron', 0xD5AA87)
    createOreLines('gold', 0xF5E556)
    createOreLines('copper', 0xCA7B59)
    createOreLines('tin', 0xCDCDE0)
    createOreLines('diamond', 0x5BFCFF)
    createOreLines('emerald', 0x4BD254)
    createOreLines('redstone', 0xCB1E0F)
    createOreLines('lapis', 0x3A6EE4)
    createOreLines('aluminum', 0xD6E5EC)
    createOreLines('lead', 0x788ABE)
    createOreLines('nickel', 0xD9D5BE)
    createOreLines('platinum', 0xACAACD)
    createOreLines('silver', 0xE7ECF4)
    createOreLines('uranium', 0x97E282)
    createOreLines('zinc', 0xCEDDE4)
    createOreLines('black_quartz', 0x35404E)
    createOreLines('quartz', 0xEBE7E3)
})```
#

is inside the item

plush plume
#

try moving the texture files to just assets/endless_sky/textures or changing the .texture() to endless_sky:item/template_cluster, i think it might just not be adding the item to the path for some reason

chrome solstice
#

Ill try

chrome solstice
#

It works now