@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
Package org.spongepowered.api.util
-
Interface Summary Interface Description AABB An axis aligned bounding box.AABB.Factory BlockReaderAwareMatcher<T> Builder<T,B extends Builder<T,B>> A common interface for all builder pattern types.CopyableBuilder<T,B extends CopyableBuilder<T,B>> Cycleable<T extends Cycleable<T>> Represents a type ofEnum
or pseudo enum, that can be "cycled" for the "next" value.Identifiable An identifiable object has a UUID that can be retrieved.MinecraftDayTime Represents an in-game time of day.MinecraftDayTime.Factory CreatesMinecraftDayTime
objects.Nameable An object that can be described by aname
.RandomProvider Range<T extends Number> Represents a range.Range.Factory Generates specific implementations of theRange
interface.ResettableBuilder<T,B extends ResettableBuilder<T,B>> ResourceKeyedBuilder<T extends ResourceKeyed,B extends ResourceKeyedBuilder<T,B>> Ticks Represents a game "tick".Ticks.Factory ProducesTicks
objects.Transform Transform.Factory Updater<C> An updater that will take atype
and update it across different versions. -
Class Summary Class Description Angle Represents an angle in the range of 0 (inclusive) to 360 (exclusive) degrees.Coerce Utility class for coercing unknown values to specific target types.CollectionUtils Color Color.Builder DiscreteTransform2 Represents a transform.DiscreteTransform3 Represents a transform.Functional Utility methods to help with function work.InformativeMain A class containing a main method which throws an Exception to cleanly indicate to the user than running the jar file was a bad idea.OptBool Utility for working withOptional<Boolean>
s.RespawnLocation Represents a position for a player to respawn in in a particular world.RespawnLocation.Builder A helper class to buildRespawnLocation
s.StartsWithPredicate Predicate that determines if the input string starts with the provided test string, case-insensitively.Tuple<K,V> A tuple of objects. -
Enum Summary Enum Description Axis Represents a three dimensional cartesian axis.AxisDirection Represents the directional axis is either positive, zero, or negative.Direction Represent the 16 main and secondary cardinal directions plus up and down.Direction.Division The compass division supported by this direction implementation.RelativePositions Represents the possible ways entity positions can be modified.Tristate Represents a simple tristate. -
Exception Summary Exception Description ComponentMessageException A subclass of Exception that contains a rich message that is an instance ofComponent
rather than a String.PEBKACException An exception for when a problem exists between keyboard and chair.PositionOutOfBoundsException An exception thrown when a position is outside of its expected bounds.