#How to change Blokc's name and texture?
24 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
How to change Blokc's name and texture?
ClientEvents.lang(e => {
e.renameItem('item id', 'new name')
})
for textures, you do the same thing texture packs do, but using kubejs/assets/ folder
does it work for blocks?
yes
it doesnt work for me
🗒️**Send the code!**🗒️
You may have an issue with a KubeJS script and you explain it to the best of your ability yet without the actual code in question we have very little to go off of in trying to assist you.
e.renameItem('thermal:machine_press', 'Trader')
})```
oh yeah I jsut notices, the language is missing
ClientEvents.lang("en_us", e => {
e.renameItem('item id', 'new name')
})
ah fug
and how to change item's texture?
i edited the macro for item renaming to have it now :d
A script to rename items:
ClientEvents.lang("en_us", e => {
e.renameItem('item id', 'new name')
})
Reloadable with F3 + T
read this for texture
so just name the png file with the same as item name?