Class VirtualCrateOpenEvent


  • public class VirtualCrateOpenEvent
    extends CrateOpenEvent
    Event called after a virtual crate is opened.
    • Constructor Detail

      • VirtualCrateOpenEvent

        public VirtualCrateOpenEvent​(org.bukkit.entity.Player who,
                                     Crate crate,
                                     org.bukkit.block.Block block,
                                     int opened,
                                     List<Reward> rewards)
    • Method Detail

      • getOpened

        public int getOpened()
        Gets the amount of virtual crates opened.
        Returns:
        the amount of virtual crates opened