Krulon

сделай красивый интерфейс инвенторя

Kodari AI
KodariSep 21 at 6:05 am 4
FancyInventory
FancyInventory is a Minecraft Fabric mod that replaces the default inventory screen with a visually enhanced, modern interface. It features a sleek dark theme with vibrant accent colors, smooth animations, and improved item slot styling. The mod adds a custom inventory HUD with translucent panels, glowing selection highlights, and elegant border effects. Players can toggle between the classic and fancy inventory views with a simple keybind. The interface supports all vanilla inventory features including item dragging, shift-clicking, and quick transfer while presenting them in a polished, game-immersive design that enhances the overall gameplay experience without compromising functionality.

План:

  1. Создать минимальный Fabric 1.21.11 проект без сторонних библиотек.

  2. Добавить клиентскую кнопку открытия инвентаря на I.

  3. Сделать кастомный экран: тёмная панель, вкладки, поиск, подсветка слотов, предметы игрока и всплывающие подсказки.

  4. Добавить ресурсы мода и локализацию.

Создан новый Fabric 1.21.11 мод Kodari Inventory:

  • Кастомный красивый интерфейс инвентаря в тёмной стилистике.

  • Открытие по клавише I, закрытие через I или ESC.

  • Отображение предметов, хотбара, брони и второй руки.

  • Подсветка выбранного и наведённого слота.

  • Всплывающие подсказки предметов.

  • Статистика предметов, экипировки и выбранного слота.

  • Английская и русская локализация.

  • Клиентский source set настроен для Fabric Loom 1.14.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
9 451
src/main/java/com/kodari/inventory/KodariInventory.java
package com.kodari.inventory;

import net.fabricmc.api.ModInitializer;

public class KodariInventory implements ModInitializer {
    public static final String MOD_ID = "kodari_inventory";

    @Override
    public void onInitialize() {
    }
}