Package de.marcely.bedwars.tools
package de.marcely.bedwars.tools
Various helper classes that can be used to make life a lot easier.
-
ClassDescriptionAn 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 playersRemotePlayer
.Either<L,R> The Either type represents a value of one of two possible types (a disjoint union).Either.Left<L,R> Either.Right<L,R> 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 stuffPair<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 objectClasses implementing this, add the possibility of attaching custom and persistent data to itExtends another class with some helper methods to simplify the parsing/writing of non-String types.ThrowingBiConsumer<T,U> 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 ofYamlConfiguration
don't support saving of comments or descriptions.