-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: NavbarLayout broken for END and BOTTOM positions
- Loading branch information
Showing
6 changed files
with
70 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
kotlin.code.style=official | ||
group=com.mineinabyss | ||
version=0.12 | ||
idofrontVersion=0.24.10 | ||
idofrontVersion=0.25.1 |
61 changes: 0 additions & 61 deletions
61
guiy-example/src/main/kotlin/com/mineinabyss/guiy/example/GuiyCommands.kt
This file was deleted.
Oops, something went wrong.
46 changes: 44 additions & 2 deletions
46
guiy-example/src/main/kotlin/com/mineinabyss/guiy/example/GuiyExamplePlugin.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,51 @@ | ||
package com.mineinabyss.guiy.example | ||
|
||
import com.mineinabyss.guiy.example.gui.AnimatedTitle | ||
import com.mineinabyss.guiy.example.gui.ArrangementMenu | ||
import com.mineinabyss.guiy.example.gui.CreativeMenu | ||
import com.mineinabyss.guiy.example.gui.Cursor | ||
import com.mineinabyss.guiy.inventory.guiy | ||
import com.mineinabyss.idofront.commands.brigadier.commands | ||
import org.bukkit.plugin.java.JavaPlugin | ||
|
||
class GuiyExamplePlugin : JavaPlugin() { | ||
override fun onEnable() { | ||
GuiyCommands(this) | ||
override fun onEnable() = commands { | ||
"guiyexample" { | ||
"arrangement" { | ||
playerExecutes { | ||
guiy { | ||
ArrangementMenu(player) | ||
} | ||
} | ||
} | ||
"animated" { | ||
playerExecutes { | ||
guiy { | ||
AnimatedTitle(player) | ||
} | ||
} | ||
} | ||
"creative" { | ||
playerExecutes { | ||
guiy { | ||
CreativeMenu(player) | ||
} | ||
} | ||
} | ||
"cursor" { | ||
playerExecutes { | ||
guiy { | ||
Cursor(player) | ||
} | ||
} | ||
} | ||
"pagination" { | ||
playerExecutes { | ||
guiy { | ||
com.mineinabyss.guiy.example.gui.PaginatedMenu(player) | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters