▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Датапаки/3D UI Library
3D UI Library

3D UI Library

Add sliders, click to action and on/off buttons for map making.

153
7

v1.1.0

Release10 мес. назад

Список изменений

commands

GUI

A new element, a 3d Gui, it's dimensions, size and color can be defined

require a ressource pack

function buttons:gui/open
  • fields
    • dist : {Double} Distance beetween the player head and the summoned gui

    • dim : {Array of 2 int} dimensions of the gui

    • color : {RGB float array} color of the gui background

    • text_box

      • text: {Json text} label of the gui
      • size: {float} size scalar of the label
      • dx: {float} offset of the label
    • Tags : {string array} custom tags added

ex: /function buttons:gui/open {dist:1,dim:[9,1],color:[1,1,1],size:0.2,text_box:{text:{text:"One line",color:"black"},dx:-0.7},Tags:[]} opened gui

function buttons:gui/update

executed by a GUI, that update himself

executed by a player, that update one of his open Gui

  • fields
    • Items : {Array of Minecraft Item Json} Items in the gui
      • id : {minecraft item id}
      • count: {int} count of the item
      • Slot/slot: {byte/int} slot of the item
      • components: item components
      • command: {string} command executed when the owner of the gui click on this item by and at the gui
    • color: {RGB float array} color of the gui

ex: /function buttons:gui/update {Items:[{id:"diamond",slot:4,components:{"minecraft:item_name":"I am Rich!"}, command: "say I am the Gui" }],color:[0.5,0.8,1]} Modified Gui

function buttons:gui/close

executed by a GUI, that close himself

executed by a player, that close one of his open Gui

User Tag

When a player use click to action or gui, he have temporary the tag button.user


Bugs Fixed

If multiple UI elements are superposed, the interaction will be on the first element in crosshair (considere not the coord of each elements but the size and the plane)

Файлы

3d UI library.zip(58.97 KiB)
Основной
Скачать
[ressource_pack] 3d UI.zip(20.17 KiB)
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.1.0

Загрузчики

Версии игры

1.21.5

Загрузок

61

Дата публикации

10 мес. назад

Загрузил

ID версии

Главная