Class PlayerCraftEvent

java.lang.Object
com.hypixel.hytale.server.core.event.events.player.PlayerEvent<String>
com.hypixel.hytale.server.core.event.events.player.PlayerCraftEvent
All Implemented Interfaces:
IBaseEvent<String>, IEvent<String>

@Deprecated(forRemoval=true) public class PlayerCraftEvent extends PlayerEvent<String>
Deprecated, for removal: This API element is subject to removal in a future version.
Should be removed once hooks have been migrated to use UseBlockEvent.
An event that is triggered when a player crafts a recipe.
  • Constructor Details

    • PlayerCraftEvent

      public PlayerCraftEvent(@Nonnull Ref<EntityStore> ref, @Nonnull Player player, CraftingRecipe craftedRecipe, int quantity)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getCraftedRecipe

      public CraftingRecipe getCraftedRecipe()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getQuantity

      public int getQuantity()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • toString

      @Nonnull public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class PlayerEvent<String>