#How to change Blokc's name and texture?

24 messages · Page 1 of 1 (latest)

keen pumice
#

.

feral mantleBOT
#

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

keen pumice
#

How to change Blokc's name and texture?

plucky cypress
#
ClientEvents.lang(e => {
  e.renameItem('item id', 'new name')
})

for textures, you do the same thing texture packs do, but using kubejs/assets/ folder

inland mantle
#

yes

serene tundraBOT
#

🗒️**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.

keen pumice
#
    e.renameItem('thermal:machine_press', 'Trader')
  })```
inland mantle
#

oh yeah I jsut notices, the language is missing

#
ClientEvents.lang("en_us", e => {
  e.renameItem('item id', 'new name')
})
plucky cypress
#

ah fug

keen pumice
#

and how to change item's texture?

plucky cypress
#

i edited the macro for item renaming to have it now :d

serene tundraBOT
#

A script to rename items:

ClientEvents.lang("en_us", e => {
e.renameItem('item id', 'new name')
})

Reloadable with F3 + T

keen pumice
plucky cypress
#

item ID, not name

#

name is irrelevant

keen pumice
#

sorry but i dont understand

plucky cypress
#

correct

#

you can look on the official mc wiki for more info
you just put your texture in the same folder structure as the mod

#

by using the asset folder