1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-21 04:05:48 +00:00
Slimefun4/src/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/UnregisterReason.java

23 lines
483 B
Java
Raw Normal View History

2016-04-14 16:24:03 +00:00
package me.mrCookieSlime.Slimefun.Objects.SlimefunItem;
2017-08-14 15:43:26 +00:00
/**
* Defines how a block handled by Slimefun is being unregistered.
* <p>
* It is notably used by {@link me.mrCookieSlime.Slimefun.Objects.SlimefunBlockHandler#onBreak(org.bukkit.entity.Player, org.bukkit.block.Block, SlimefunItem, UnregisterReason)}.
*
* @since 4.0
*/
2016-04-14 16:24:03 +00:00
public enum UnregisterReason {
2017-08-14 15:43:26 +00:00
/**
* An explosion destroys the block.
*/
2016-04-14 16:24:03 +00:00
EXPLODE,
2017-08-14 15:43:26 +00:00
/**
* A player breaks the block.
*/
PLAYER_BREAK
2016-04-14 16:24:03 +00:00
}