#item texture based on stack size

9 messages · Page 1 of 1 (latest)

paper crypt
#

^ would that be possible to do with kubejs

nova remnantBOT
#

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

dusky helm
#

I think this is a datapack feature that already exists?

paper crypt
#

i've only seen it done with optfine before

patent tangle
#

i know thermal does (did?) it but with a custom thing they made

#

idk if its still the case now

thin tokenBOT
#

[➤](#1131190895375556649 message)

StartupEvents.postInit(event => {
    if (!Platform.isClientEnvironment) return;
    const $ItemProperties = Java.loadClass('net.minecraft.client.renderer.item.ItemProperties')


    $ItemProperties.register(Item.of(item), new ResourceLocation('count'), (stack, world, living, seed) => {
        return stack.getCount() / stack.getMaxStackSize()
    })
})
rose cave
#

No promises it works on 1.20 though

paper crypt
#

wow this works perfectly with what i had set up before thanks