Skip to content

Commit 30d55ae

Browse files
committed
Javadoc fixes
1 parent f2fc186 commit 30d55ae

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

rebar/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ dokka {
9696
packageListUrl("https://javadoc.io/doc/net.kyori/adventure-api/latest/element-list")
9797
}
9898
externalDocumentationLinks.register("InvUI") {
99-
url("https://invui.javadoc.xenondevs.xyz/")
100-
packageListUrl("https://invui.javadoc.xenondevs.xyz/element-list")
99+
url("https://repo.xenondevs.xyz/javadoc/releases/xyz/xenondevs/invui/invui/2.1.0/raw/")
100+
packageListUrl("https://repo.xenondevs.xyz/javadoc/releases/xyz/xenondevs/invui/invui/2.1.0/raw/element-list")
101101
}
102102
sourceLink {
103103
localDirectory.set(file("src/main/kotlin"))

rebar/src/main/kotlin/io/github/pylonmc/rebar/guide/button/ItemButton.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ class ItemButton @JvmOverloads constructor(
5050
constructor(vararg stacks: ItemStack) : this(stacks.toList())
5151

5252
/**
53-
* @param stacks The items to display. If multiple are provided, the button will automatically
54-
* cycle through all of them. You must supply at least one item
53+
* @param stack The item to display
54+
* @param preDisplayDecorator A function to apply to the button item after creating it
5555
*/
5656
constructor(stack: ItemStack, preDisplayDecorator: (ItemStack, Player) -> ItemStack) : this(listOf(stack), preDisplayDecorator)
5757

@@ -262,8 +262,8 @@ class ItemButton @JvmOverloads constructor(
262262
= ItemButton(stacks.toList())
263263

264264
/**
265-
* @param stacks The items to display. If multiple are provided, the button will automatically
266-
* cycle through all of them. You must supply at least one item
265+
* @param stack The item to display
266+
* @param preDisplayDecorator A function to apply to the button item after creating it
267267
*/
268268
@JvmStatic
269269
fun of(stack: ItemStack, preDisplayDecorator: (ItemStack, Player) -> ItemStack)

rebar/src/main/kotlin/io/github/pylonmc/rebar/util/gui/ProgressItem.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import kotlin.math.min
2727
*
2828
* Using any `set` methods on here will automatically update the item in any windows that contain it.
2929
*
30-
* @param builder The item stack builder to use for the item
30+
* @param item The item to be displayed
3131
* @param countDown If true, the progress bar will be inverted, meaning that 0.0 is full and 1.0 is empty.
3232
*/
3333
open class ProgressItem @JvmOverloads constructor(

0 commit comments

Comments
 (0)