Delphi Entity Menus 图标

Delphi Entity Menus

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.7.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/delphi
资源信息

Minecraft 版本: 1.21.7 1.21.8

平台: paper

标签: library management utility

资源介绍
logo-longways-1

This plugin is in development! There will be bugs and missing features. At the moment, the only supported layouts are the default Flow and Flexbox. Positioned others will come later.

Showcase

Features

  • Ability to create HTML-like menus with XML and CSS (With limited native SCSS integration)
  • Full support for CSS selectors (Including pseudo classes like :hover and :active)
  • Support for regular HTML rendering (With display: inline, display: block, etc)
  • Support for Flexbox rendering (With display: flex)
  • JavaScript integration for easy scripting.
  • Contuing development and new features being added all the time.
  • Extensive documentation (at dev.juliewoolie.com)
  • Fully documented Java API (at dev.juliewoolie.com/menus/javadoc/0.7.0)
  • Devtools to help you create menus and fix issues.
  • All Delphi commands can be used in the /execute command and by datapack functions!

Commands And Permissions

  • /delphi open <players> <identifier> - Opens a Delphi menu.
  • /delphi close all - Closes all menus.
  • /delphi close targeted - Closes the menu you're looking at.
  • /delphi close <instance name> - Closes the delphi menu with the instance-name.
  • /delphi reload - Reloads the plugin's config.
  • /delphi devtools - Opens devtools for the page you're looking at.

Permissions

  • delphi.commands - Permission required for using any Delphi commands such as open, close, and reload.
  • delphi.commands.players - Permission for commands that manage players.
  • delphi.commands.devtools - Permission for the devtools command.
  • delphi.commands.debug - Permission required for executing debug commands.

Examples

Basic "Hello, world!" page

Start by going to plugins/Delphi/modules on your File Explorer and creating a folder, for this example, we'll use hello-world. Go into that directory and create a file named index.xml.

Open that file with a text editor (Preferrably VS Code, Notepad++ or something similar). You can then copy+paste this:

<delphi> <!-- Root tag -->
  <body> <!-- The body which contains all our content -->
    <h1>Hello, world!</h1> <!-- Big text saying "Hello, world!" -->
  </body>
</delphi>

In-game, you can then open this menu with /delphi open @s hello-world

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Ring of Shadows

价格:0 墨喵币
下载量:0

查看详情
a weird bow

价格:0 墨喵币
下载量:0

查看详情
OptiPack

价格:0 墨喵币
下载量:0

查看详情
LoadEmUp

价格:0 墨喵币
下载量:0

查看详情