#rename item 1.21

3 messages · Page 1 of 1 (latest)

sand cosmos
#

im actually asking about how to use components but i want to know specifically how to rename an item in 1.21 using components

alpine schooner
#

try getting the itemStack, and then using
itemStack.set(DataComponentTypes.CUSTOM_NAME, Text.literal("name you want"));

sand cosmos
#

huh ill try that