Yummy Steak

Sprinkle steak with stardust for a filling meal. Adds a Filling Steak with saturation effect, which can be enchanted to never run out of steak.

Редакция NLZONE · 1 мин чтения · 0 просмотров
Yummy Steak
Скачать Yummy Steak1.21.10 – 26.2 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

Sprinkle steak with stardust for a filling meal. Adds a Filling Steak with saturation effect, which can be enchanted to never run out of steak.

  • Тип: мод
  • Загрузчик: datapack, fabric, forge, neoforge, quilt
  • Версии Minecraft: 1.21.10 – 26.2
  • Скачиваний на Modrinth: 995

Подробно

Yummy Steak Sprinkle steak with stardust for a filling meal.

Content - Craft Filling Steak with 8 Steak and 1 Nether Star (center), which applies the saturation effect for an hour when eaten. - Adds level 30 enchantment Yummy to never run out of steak (can only be applied on the Filling Steak). - Don't consume any spoiled steak, it tastes disgusting.

Technical Concept Besides the gameplay functionality the goal was to provide these custom features without using the global tick function to check for changes in the player's inventory.

- saturation effect is applied via consumable data component (added in MC 1.21.2) - not consuming the item is handled via the useremainder data component (added in MC 1.21.2) - as useremainder would need a recursive definition to be infinitly reuseable, a dummy-item is used, which then is swapped out for the actual food item - instead of constantly checking whether a dummy item exists and is in need of replacement, the enchantment effect component minecraft:tick with the entity effect runfunction (added in MC 1.21) is used to change the dummy item (only executed for one tick, when the item is first held, so more resource efficient).

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также