Class EventHandler
java.lang.Object
com.mrbysco.durabilitynotifier.EventHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckDurability(@NotNull net.minecraft.world.item.ItemStack stack, @NotNull net.minecraft.world.entity.player.Player player) static voidcheckDurability(@NotNull net.minecraft.world.item.ItemStack stack, @NotNull net.minecraft.world.entity.player.Player player, double checkNumber) static voidplaySound(@NotNull net.minecraft.world.entity.player.Player player) static voidsendMessage(@NotNull net.minecraft.world.entity.player.Player player, @NotNull net.minecraft.world.item.ItemStack stack)
-
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)
-