#rename item 1.21
3 messages · Page 1 of 1 (latest)
3 messages · Page 1 of 1 (latest)
im actually asking about how to use components but i want to know specifically how to rename an item in 1.21 using components
try getting the itemStack, and then using
itemStack.set(DataComponentTypes.CUSTOM_NAME, Text.literal("name you want"));
huh ill try that