Class GameplayHooks.CraftRequest

java.lang.Object
dev.itsharshxd.zentrix.api.scenario.hook.GameplayHooks.CraftRequest
Enclosing class:
GameplayHooks

public static final class GameplayHooks.CraftRequest extends Object
A crafting result about to be shown to a player of the match.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CraftRequest(@NotNull org.bukkit.entity.Player player, @Nullable org.bukkit.inventory.ItemStack result)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull org.bukkit.entity.Player
     
    @NotNull Optional<org.bukkit.inventory.ItemStack>
    The result Zentrix would produce, if any.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CraftRequest

      public CraftRequest(@NotNull @NotNull org.bukkit.entity.Player player, @Nullable @Nullable org.bukkit.inventory.ItemStack result)
  • Method Details

    • player

      @NotNull public @NotNull org.bukkit.entity.Player player()
    • result

      @NotNull public @NotNull Optional<org.bukkit.inventory.ItemStack> result()
      The result Zentrix would produce, if any.