Package de.marcely.bedwars.tools


package de.marcely.bedwars.tools
Various helper classes that can be used to make life a lot easier.
  • Class
    Description
    An iterator that also must be closed at some point.
     
    This class is an alternative to Bukkit's CommandSender that extends to functionalities, such as forcing all permissions and allows the use of remote players RemotePlayer.
    Either<L,R>
    The Either type represents a value of one of two possible types (a disjoint union).
     
     
    Simplifies execution of multiple async or time-dependant tasks.
     
    Represents a lazy reference that will only be initialized when it's being accessed.
    This class contains some helpers which may help you in solving NMS stuff
    Pair<K,V>
    A convenience class to represent name-value pairs.
    This class allows you to obtain, store and restore a blocks data.
    Represents a String-Map object for attaching custom and persistent data to its holding object
    Classes implementing this, add the possibility of attaching custom and persistent data to it
    Extends another class with some helper methods to simplify the parsing/writing of non-String types.
    Based on Java's BiConsumer with the difference that this class may permit the throwing of an Exception.
    Based on Java's Consumer with the difference that this class may permit the throwing of an Exception.
    Based on Java's Runnable with the difference that this class may permit the throwing of an Exception.
    Based on Java's Supplier with the difference that this class may permit the throwing of an Exception.
     
    Easy solution for using VarParticles that are being supported on any version.
    Easy solution for playing vanilla and custom sounds while retaining async support.
    Bukkit's implementation of YamlConfiguration don't support saving of comments or descriptions.