Class EventHandler

java.lang.Object
com.mrbysco.durabilitynotifier.EventHandler

public class EventHandler extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    checkDurability(@NotNull net.minecraft.world.item.ItemStack stack, @NotNull net.minecraft.world.entity.player.Player player)
     
    static void
    checkDurability(@NotNull net.minecraft.world.item.ItemStack stack, @NotNull net.minecraft.world.entity.player.Player player, double checkNumber)
     
    static void
    playSound(@NotNull net.minecraft.world.entity.player.Player player)
     
    static void
    sendMessage(@NotNull net.minecraft.world.entity.player.Player player, @NotNull net.minecraft.world.item.ItemStack stack)
     

    Methods inherited from class Object

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

    • EventHandler

      public EventHandler()
  • Method Details

    • checkDurability

      public static void checkDurability(@NotNull @NotNull net.minecraft.world.item.ItemStack stack, @NotNull @NotNull net.minecraft.world.entity.player.Player player)
    • checkDurability

      public static void checkDurability(@NotNull @NotNull net.minecraft.world.item.ItemStack stack, @NotNull @NotNull net.minecraft.world.entity.player.Player player, double checkNumber)
    • sendMessage

      public static void sendMessage(@NotNull @NotNull net.minecraft.world.entity.player.Player player, @NotNull @NotNull net.minecraft.world.item.ItemStack stack)
    • playSound

      public static void playSound(@NotNull @NotNull net.minecraft.world.entity.player.Player player)