Removed "Inventory" from the GUI API names

This commit is contained in:
bluefireoly
2020-10-24 23:25:32 +02:00
parent 3c029eb292
commit 7ba75f3250
25 changed files with 262 additions and 262 deletions

View File

@@ -218,7 +218,7 @@ firstAsync {
Inventories are great for viewing GUI information. However, they are not designed for developing GUIs. The KSpigot Inventory GUI API provides an easy way to build inventory GUIs the way you would expect such an API to be. In addition, it offers full type safety for slots.
```kotlin
val gui = kSpigotGUI(InventoryGUIType.FIVE_BY_NINE) {
val gui = kSpigotGUI(GUIType.FIVE_BY_NINE) {
title = "Example Inventory"
@@ -231,8 +231,8 @@ val gui = kSpigotGUI(InventoryGUIType.FIVE_BY_NINE) {
page(1) {
// define fancy transitions
transitionFrom = InventoryGUIPageChangeEffect.SLIDE_HORIZONTALLY
transitionTo = InventoryGUIPageChangeEffect.SLIDE_HORIZONTALLY
transitionFrom = PageChangeEffect.SLIDE_HORIZONTALLY
transitionTo = PageChangeEffect.SLIDE_HORIZONTALLY
// get special slot compounds easily with constants like Slots.Border
placeholder(Slots.Border, ItemStack(Material.GLASS_PANE))