Skip to content

Commit b1a5fc8

Browse files
committed
Fix javadocs
1 parent 0e0a9f6 commit b1a5fc8

2 files changed

Lines changed: 11 additions & 15 deletions

File tree

src/main/java/io/github/pylonmc/pylon/recipes/HammerRecipe.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,22 @@
1212
import io.github.pylonmc.rebar.registry.RebarRegistry;
1313
import io.github.pylonmc.rebar.util.MiningLevel;
1414
import io.github.pylonmc.rebar.util.gui.GuiItems;
15+
import java.util.ArrayList;
16+
import java.util.List;
1517
import net.kyori.adventure.text.Component;
1618
import org.bukkit.NamespacedKey;
1719
import org.bukkit.inventory.ItemStack;
1820
import org.jetbrains.annotations.NotNull;
1921
import org.jspecify.annotations.NonNull;
2022
import xyz.xenondevs.invui.gui.Gui;
2123

22-
import java.util.ArrayList;
23-
import java.util.List;
24-
2524
import static io.github.pylonmc.pylon.util.PylonUtils.pylonKey;
2625

2726
/**
2827
* @param input the input item (setting the itemstack to have an amount that's not 1 will have no effect)
2928
* @param result the output item (respects amount)
3029
* @param level the minimum hammer mining level
31-
* @param chance the chance to succeed per attempt
30+
* @param uses the number of uses of the hammer this recipe takes
3231
*/
3332
public record HammerRecipe(
3433
@NotNull NamespacedKey key,

src/main/java/io/github/pylonmc/pylon/recipes/KilnRecipe.java

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@
99
import io.github.pylonmc.rebar.guide.button.ItemButton;
1010
import io.github.pylonmc.rebar.i18n.RebarArgument;
1111
import io.github.pylonmc.rebar.item.builder.ItemStackBuilder;
12-
import io.github.pylonmc.rebar.recipe.ConfigurableRecipeType;
13-
import io.github.pylonmc.rebar.recipe.FluidOrItem;
14-
import io.github.pylonmc.rebar.recipe.RebarRecipe;
15-
import io.github.pylonmc.rebar.recipe.RecipeInput;
16-
import io.github.pylonmc.rebar.recipe.RecipeType;
12+
import io.github.pylonmc.rebar.recipe.*;
1713
import io.github.pylonmc.rebar.util.gui.GuiItems;
1814
import io.github.pylonmc.rebar.util.gui.unit.UnitFormat;
15+
import java.util.ArrayList;
16+
import java.util.List;
1917
import net.kyori.adventure.text.Component;
2018
import org.bukkit.Material;
2119
import org.bukkit.NamespacedKey;
@@ -24,16 +22,15 @@
2422
import org.jetbrains.annotations.NotNull;
2523
import xyz.xenondevs.invui.gui.Gui;
2624

27-
import java.util.ArrayList;
28-
import java.util.List;
29-
3025
import static io.github.pylonmc.pylon.util.PylonUtils.pylonKey;
3126

3227

3328
/**
34-
* @param input1 the first input item (respects amount)
35-
* @param input2 the second input item (respects amount)
36-
* @param result the output item (respects amount)
29+
* @param input1 the first input item
30+
* @param input2 the second input item
31+
* @param outputItem the output item (null if no item output)
32+
* @param outputFluid the output fluid (null if no fluid output)
33+
* @param outputFluidAmount the amount of the output fluid (null if no fluid output)
3734
* @param timeTicks the recipe time in ticks
3835
*/
3936
public record KilnRecipe(

0 commit comments

Comments
 (0)