GUItem

Item models for customizing container GUI.

Редакция NLZONE · 2 мин чтения · 0 просмотров
GUItem
Скачать GUItem1.21.10 – 24w40a · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

Item models for customizing container GUI.

  • Тип: текстуры
  • Загрузчик: minecraft
  • Версии Minecraft: 1.21.10 – 24w40a
  • Скачиваний на Modrinth: 1 516

Подробно

Does not replace existing textures or models of the vanilla game. For modded and/or data pack container GUI customization. Turns item stacks into modular GUI sprites through itemmodel and custommodeldata. An item model definition as an example or for direct use.

Based on the container GUI customization concept of covering inventory slots with item sprites.

A simple implementation of the customizable modular GUI sprite via the item model definition.

The item model is a composite of "layer" models stacked in order: Foreground: Graphics that must be shown, even if they cover item sprites. Icon: Graphics of symbols or expressions. Button: Informs that it can be interacted with to trigger something. Slot: Informs that it can interact with or preview an item stack. Pattern: Graphics of implicit information. Field: Graphics to declare the region or section. Background: The bottom layer that can be displayed.

Each layer has template models in various forms and can create child models by assigning textures.

Here is an example /give command to get a "check mark button" by using the provided item model definition: /give @s minecraft:recoverycompass[minecraft:itemmodel='guitem:guistack',minecraft:custommodeldata={"strings":["","","","","button","checkmark",""]}]

The GUI elements used in the sprites shown in this section are also provided in the pack.

Most pieces are designed to fit a whole slot size:

Some pieces have a greater cover area that extends to other slots, representing a complete element or being a foreground/background to the others:

Play with oversized items with caution! They may have their own rules for covering items:

Reminder 1. The item model definition, after Minecraft 1.21.6, added oversizedingui to control whether the model can exceed a slot (true) or be trimmed to slot size (false, default). 2. Try combining with the custom fonts as well. Although editing the container name requires reopening the UI, it's still a great option for static content, while modeled items help with dynamic content.

Item models are rendered slightly dim. It seems like this upstream issue is fixed along with the lightmap algorithm changes made in Minecraft 26.1 snapshot 1. Oversized models sometimes have a smaller UV area, resulting in the wrong scaling of the texture. Some oversized models are missing their top row of pixels (GUI scaled).

namespace: guitem atlases directory: guiitem

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

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

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

Редакция NLZONE

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

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

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

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