Город МОСКОВСКИЙ
00:02:43

MCreator Tutorial : Procedure Based Item Descriptions (1.16.5) (1.20)

Аватар
Мобильная разработка и приложения
Просмотры:
44
Дата загрузки:
05.12.2023 04:53
Длительность:
00:02:43
Категория:
Лайфстайл

Описание

This video will show you how to make custom Lore based on Procedures inside of MCreator. This video is only for items that you created, not existing vanilla Items. (this would require mixins)

https://pastebin.com/7GUqVxQ6

1.20 code

super.appendHoverText(itemstack, world, list, flag);
String line1 = (String) ((itemstack).getOrCreateTag().getString("line1"));
list.add(Component.literal(line1));

Рекомендуемые видео