项目
在 GitHub 查看
MinusKube/SmartInvs
关于
面向 Minecraft Bukkit 插件的高级物品栏 API。
商业与金融可以做什么
- Inventories of any type (workbench, chest, furnace, ...)
- Customizable size when possible (chest, ...)
- Allows to prevent the player from closing its inventory
- Custom listeners for the event related to the inventory
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
SmartInvs
Advanced Inventory API for your Minecraft Bukkit plugins.
Tested Minecraft versions: 1.7, 1.8, 1.9, 1.10, 1.11, 1.12, 1.13, 1.14
You can use this as a Plugin, or use it as a library (see the docs)
Features
- Inventories of any type (workbench, chest, furnace, ...)
- Customizable size when possible (chest, ...)
- Custom titles
- Allows to prevent the player from closing its inventory
- Custom listeners for the event related to the inventory
- Iterator for inventory slots
- Page system
- Util methods to fill an inventory's row/column/borders/...
- Actions when player clicks on an item
- Update methods to edit the content of the inventory every tick
Docs
Click here to read the docs on Gitbook
Usage
To use the SmartInvs API, either:
- Put it in the
pluginsfolder of your server, add it to your dependencies in your plugin.yml (e.g.depend: [SmartInvs]) and add it to the dependencies in your IDE. - Put it inside your plugin jar, initialize an
InventoryManagerin your plugin (don't forget to call theinit()method), and add a.manager(invManager)to your SmartInventory Builders.
You can download the latest version on the Releases page on Github.
You can also use a build system:
Gradle
repositories {
mavenCentral()
}
dependencies {
compile 'fr.minuskube.inv:smart-invs:1.2.7'
}
Maven
<dependency>
<groupId>fr.minuskube.inv</groupId>
<artifactId>smart-invs</artifactId>
<version>1.2.7</version>
</dependency>
TODO
- Add some Javadocs
Issues
If you have a problem with the API, or you want to request a feature, make an issue here.
探索相关项目
加载中…