Index
All Classes and Interfaces|All Packages|Serialized Form
A
- Actions<T> - Class in one.tranic.t.base.task
-
Represents a wrapper for executing tasks either synchronously or asynchronously.
- Actions(Supplier<T>) - Constructor for class one.tranic.t.base.task.Actions
-
Constructs a new
Actionsinstance with the specified task. - addTime(LocalDateTime, long) - Method in enum class one.tranic.t.base.parse.time.TimeUnit
-
Adds a specified amount of time to a given
LocalDateTimeobject. - argSize() - Method in interface one.tranic.t.base.command.source.Source
-
Retrieves the number of arguments associated with the source.
- asPlayer() - Method in interface one.tranic.t.base.command.source.Source
-
Attempts to retrieve the source as a
Player. - async() - Method in class one.tranic.t.base.task.Actions
-
Executes the encapsulated task asynchronously using a shared executor.
B
- BedrockPlayer - Class in one.tranic.t.base.player
- BedrockPlayer() - Constructor for class one.tranic.t.base.player.BedrockPlayer
- BungeeCord - Enum constant in enum class one.tranic.t.util.Platform
-
Represents the BungeeCord platform.
C
- Collections - Class in one.tranic.t.util
-
The Collections class provides utility methods for creating optimized data structures such as maps, sets, and lists.
- Collections() - Constructor for class one.tranic.t.util.Collections
- CommandException - Exception Class in one.tranic.t.base.exception
-
A custom exception that represents errors occurring during the execution or processing of commands in the application.
- CommandException() - Constructor for exception class one.tranic.t.base.exception.CommandException
- CommandException(Exception) - Constructor for exception class one.tranic.t.base.exception.CommandException
- CommandException(String) - Constructor for exception class one.tranic.t.base.exception.CommandException
- console() - Static method in class one.tranic.t.base.TBase
D
E
- entryForEach(Map<K, V>, Consumer<? super Map.Entry<K, V>>) - Static method in class one.tranic.t.util.Collections
-
Iterates over each entry in the provided map and applies the given consumer action to each entry.
- equals(Object) - Method in record class one.tranic.t.base.command.Operator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class one.tranic.t.base.player.Location
-
Indicates whether some other object is "equal to" this one.
- executor - Static variable in class one.tranic.t.base.TBase
F
- Folia - Enum constant in enum class one.tranic.t.util.Platform
-
Represents the Folia platform.
- ForeverNonException - Exception Class in one.tranic.t.base.exception
-
A custom exception that serves as a warning that a "forever" check should have been performed earlier in the workflow.
- ForeverNonException() - Constructor for exception class one.tranic.t.base.exception.ForeverNonException
- fromSuffix(String) - Static method in enum class one.tranic.t.base.parse.time.TimeUnit
-
Determines the
TimeUnitassociated with the specified string suffix.
G
- generateRandomId(int) - Static method in class one.tranic.t.util.Rand
-
Generates a random alphanumeric string of the specified length.
- get() - Static method in enum class one.tranic.t.util.Platform
-
Detects and returns the current platform.
- getArgs() - Method in interface one.tranic.t.base.command.source.Source
-
Retrieves the arguments associated with the source.
- getClientBrand() - Method in interface one.tranic.t.base.player.Player
-
Retrieves the client brand name associated with the player.
- getConnectHost() - Method in interface one.tranic.t.base.player.Player
-
Retrieves the host address to which the player is connected.
- getLocale() - Method in interface one.tranic.t.base.player.Player
-
Retrieves the locale associated with the player.
- getLocation() - Method in interface one.tranic.t.base.player.Player
-
Retrieves the location associated with the player.
- getOperator() - Method in interface one.tranic.t.base.command.source.Source
-
Retrieves the operator associated with this source implementation.
- getPing() - Method in interface one.tranic.t.base.player.Player
-
Retrieves the latency or ping value for the player in milliseconds.
- getPing(UUID) - Static method in class one.tranic.t.base.player.BedrockPlayer
-
Retrieves the ping of a player identified by their UUID.
- getPlatform(UUID) - Static method in class one.tranic.t.base.player.BedrockPlayer
-
Gets the platform of the player associated with the given UUID.
- getSource() - Method in interface one.tranic.t.base.command.source.Source
-
Retrieves the source entity that this implementation represents.
- getSourcePlayer() - Method in interface one.tranic.t.base.player.Player
-
Retrieves the underlying source object associated with this player.
- getSuffix() - Method in enum class one.tranic.t.base.parse.time.TimeUnit
-
Retrieves the string suffix associated with the current time unit.
- getUniqueId() - Method in interface one.tranic.t.base.player.Player
-
Retrieves the unique identifier (UUID) of the player.
- getUsername() - Method in interface one.tranic.t.base.player.Player
-
Retrieves the username of the player.
- getXUID() - Method in interface one.tranic.t.base.player.Player
-
Retrieves the Xbox Unique Identifier (XUID) for the player if the player is a Bedrock player.
- getXUID(UUID) - Static method in class one.tranic.t.base.player.BedrockPlayer
-
Retrieves the XUID (Xbox Unique Identifier) of a player identified by their UUID.
H
- hashCode() - Method in record class one.tranic.t.base.command.Operator
-
Returns a hash code value for this object.
- hashCode() - Method in record class one.tranic.t.base.player.Location
-
Returns a hash code value for this object.
- hasPermission(String) - Method in interface one.tranic.t.base.command.source.Source
-
Checks if the entity associated with this source has the specified permission.
- HOUR - Enum constant in enum class one.tranic.t.base.parse.time.TimeUnit
I
- isBedrockPlayer() - Method in interface one.tranic.t.base.command.source.Source
-
Determines if the entity associated with this source is a Bedrock player.
- isBedrockPlayer() - Method in interface one.tranic.t.base.player.Player
-
Determines whether the player associated with this instance is a Bedrock player.
- isBedrockPlayer(UUID) - Static method in class one.tranic.t.base.player.BedrockPlayer
-
Determines whether the player associated with the given UUID is a Bedrock player.
- isBukkit() - Static method in enum class one.tranic.t.util.Platform
-
Determines whether the current platform is a Bukkit-based platform.
- isNatRange(InetAddress) - Static method in class one.tranic.t.base.parse.network.NetworkParser
-
Helper method to detect extended NAT internal ranges.
- isOnline() - Method in interface one.tranic.t.base.player.Player
-
Checks whether the player is currently online.
- isPlayer() - Method in interface one.tranic.t.base.command.source.Source
-
Determines if the entity represented by this source is a player.
- isPrivateIp(String) - Static method in class one.tranic.t.base.parse.network.NetworkParser
-
Checks if a given IP address in String format is a private IP address.
- isPrivateIp(InetAddress) - Static method in class one.tranic.t.base.parse.network.NetworkParser
-
Checks if an InetAddress is a private IP address.
- isTimeInPast(LocalDateTime) - Static method in class one.tranic.t.base.parse.time.TimeParser
-
Checks if the given LocalDateTime is earlier than the current time.
K
- kick() - Method in interface one.tranic.t.base.player.Player
-
Removes the player from the server or disconnects the player for an unspecified reason.
- kick(String) - Method in interface one.tranic.t.base.player.Player
-
Kicks the player from the game or server with a specified reason.
- kick(Component) - Method in interface one.tranic.t.base.player.Player
-
Disconnects the player from the server with the specified reason.
L
- locale() - Method in interface one.tranic.t.base.command.source.Source
-
Retrieves the locale associated with this source, identifying the language and regional preferences set for the source.
- Location - Record Class in one.tranic.t.base.player
-
Represents a location in a specific world with precise x, y, and z coordinates.
- Location(String, double, double, double, float, float) - Constructor for record class one.tranic.t.base.player.Location
-
Creates an instance of a
Locationrecord class.
M
- MINUTE - Enum constant in enum class one.tranic.t.base.parse.time.TimeUnit
- MONTH - Enum constant in enum class one.tranic.t.base.parse.time.TimeUnit
N
- name() - Method in record class one.tranic.t.base.command.Operator
-
Returns the value of the
namerecord component. - NetworkParser - Class in one.tranic.t.base.parse.network
- NetworkParser() - Constructor for class one.tranic.t.base.parse.network.NetworkParser
- newArrayList() - Static method in class one.tranic.t.util.Collections
-
Creates a new empty list instance.
- newArrayList(int) - Static method in class one.tranic.t.util.Collections
-
Creates a new
Listinstance with the specified initial size. - newArrayList(Collection<? extends T>) - Static method in class one.tranic.t.util.Collections
-
Creates a new list containing the elements from the specified collection.
- newArrayList(T...) - Static method in class one.tranic.t.util.Collections
-
Creates a new array-backed
Listcontaining the provided elements. - newBooleanHashMap() - Static method in class one.tranic.t.util.Collections
-
Creates and returns a new Map instance where the values are of type Boolean.
- newBooleanHashMap(int) - Static method in class one.tranic.t.util.Collections
-
Creates a new
Mapinstance with keys of typeKand boolean values. - newDoubleHashMap() - Static method in class one.tranic.t.util.Collections
-
Creates a new map with generic keys and double values.
- newDoubleHashMap(int) - Static method in class one.tranic.t.util.Collections
-
Creates a new hash map with keys of type
Kand values of typeDouble. - newFloatHashMap() - Static method in class one.tranic.t.util.Collections
-
Creates a new map with keys of type
Kand values of typeFloat. - newFloatHashMap(int) - Static method in class one.tranic.t.util.Collections
-
Creates a new map with keys of generic type
Kandfloatvalues. - newHashMap() - Static method in class one.tranic.t.util.Collections
-
Creates and returns a new hash map with default settings.
- newHashMap(int) - Static method in class one.tranic.t.util.Collections
-
Creates a new hash map with the specified initial capacity.
- newHashMap(Map<K, V>) - Static method in class one.tranic.t.util.Collections
-
Creates a new HashMap instance and populates it with the entries from the provided map.
- newHashSet() - Static method in class one.tranic.t.util.Collections
-
Creates a new empty HashSet instance.
- newHashSet(int) - Static method in class one.tranic.t.util.Collections
-
Creates a new hash set with the specified initial capacity.
- newIntHashMap() - Static method in class one.tranic.t.util.Collections
-
Creates a new hash map that maps keys of type
Kto integer values. - newIntHashMap(int) - Static method in class one.tranic.t.util.Collections
-
Creates a new hash map where keys are of type K and values are of type Integer.
- newLongHashMap() - Static method in class one.tranic.t.util.Collections
-
Creates and returns a new map instance where the keys are of generic type K, and the values are of type Long.
- newLongHashMap(int) - Static method in class one.tranic.t.util.Collections
-
Creates a new hash map with keys of type
Kand values of typeLong. - newTreeSet(Collection<? extends T>) - Static method in class one.tranic.t.util.Collections
-
Creates a new TreeSet with the elements provided in the specified collection.
- newTreeSetRB(Collection<? extends T>) - Static method in class one.tranic.t.util.Collections
-
Creates a new TreeSet instance with the elements provided in the specified collection.
- newUnmodifiableHashSet() - Static method in class one.tranic.t.util.Collections
-
Creates a new unmodifiable empty set.
- newUnmodifiableHashSet(Set<T>) - Static method in class one.tranic.t.util.Collections
-
Creates a new unmodifiable hash set containing the elements of the provided set.
- newUnmodifiableHashSet(T...) - Static method in class one.tranic.t.util.Collections
-
Creates a new unmodifiable
Setthat contains the specified elements. - newUnmodifiableList() - Static method in class one.tranic.t.util.Collections
-
Creates a new unmodifiable list.
- newUnmodifiableList(List<T>) - Static method in class one.tranic.t.util.Collections
-
Creates a new unmodifiable list from the provided list.
- newUnmodifiableList(T...) - Static method in class one.tranic.t.util.Collections
-
Creates a new unmodifiable list containing the specified elements.
O
- of(String) - Static method in enum class one.tranic.t.util.Platform
-
Returns the
Platformcorresponding to the provided platform name. - one.tranic.t.base - package one.tranic.t.base
- one.tranic.t.base.command - package one.tranic.t.base.command
- one.tranic.t.base.command.source - package one.tranic.t.base.command.source
- one.tranic.t.base.exception - package one.tranic.t.base.exception
- one.tranic.t.base.parse.network - package one.tranic.t.base.parse.network
- one.tranic.t.base.parse.time - package one.tranic.t.base.parse.time
- one.tranic.t.base.player - package one.tranic.t.base.player
- one.tranic.t.base.task - package one.tranic.t.base.task
- one.tranic.t.util - package one.tranic.t.util
- Operator - Record Class in one.tranic.t.base.command
- Operator(String, UUID) - Constructor for record class one.tranic.t.base.command.Operator
-
Creates an instance of a
Operatorrecord class.
P
- Paper - Enum constant in enum class one.tranic.t.util.Platform
-
Represents the Paper platform.
- parse(String) - Static method in class one.tranic.t.base.parse.time.TimeParser
-
Parses a time argument string and returns the formatted future time or a special value such as "forever".
- ParseException - Exception Class in one.tranic.t.base.exception
-
A custom exception that indicates a parsing error in the application.
- ParseException() - Constructor for exception class one.tranic.t.base.exception.ParseException
-
Constructs a new
ParseExceptionwith no detail message. - ParseException(Exception) - Constructor for exception class one.tranic.t.base.exception.ParseException
- ParseException(String) - Constructor for exception class one.tranic.t.base.exception.ParseException
-
Constructs a new ParseException with the specified detail message.
- parseStringTime(String) - Static method in class one.tranic.t.base.parse.time.TimeParser
-
Parses a string representation of a time into a
LocalDateTimeobject. - pitch() - Method in record class one.tranic.t.base.player.Location
-
Returns the value of the
pitchrecord component. - Platform - Enum Class in one.tranic.t.util
-
Enum representing various Minecraft server platforms.
- Player<C> - Interface in one.tranic.t.base.player
R
- Rand - Class in one.tranic.t.util
- Rand() - Constructor for class one.tranic.t.util.Rand
- removeIf(Map<K, V>, Predicate<? super Map.Entry<K, V>>) - Static method in class one.tranic.t.util.Collections
-
Removes all entries from the specified map that satisfy the provided predicate.
- resource(String) - Static method in class one.tranic.t.base.parse.network.NetworkParser
-
Retrieves an InputStream for a specified resource file by its filename.
- runAsync(Runnable) - Static method in class one.tranic.t.base.TBase
-
Executes the given
Runnableasynchronously using a pre-configured executor. - runAsync(Supplier<T>) - Static method in class one.tranic.t.base.TBase
-
Executes the given supplier asynchronously using a pre-configured executor.
S
- SECOND - Enum constant in enum class one.tranic.t.base.parse.time.TimeUnit
- sendForm(UUID, Form) - Static method in class one.tranic.t.base.player.BedrockPlayer
-
Sends a form to a player identified by their UUID.
- sendForm(Form) - Method in interface one.tranic.t.base.player.Player
-
Sends a form to the player associated with the current instance.
- sendFormAsync(Form) - Method in interface one.tranic.t.base.player.Player
- sendMessage(String) - Method in interface one.tranic.t.base.command.source.Source
-
Sends a message to the source.
- sendMessage(String) - Method in interface one.tranic.t.base.player.Player
-
Sends a text message to the player.
- sendMessage(Component) - Method in interface one.tranic.t.base.command.source.Source
-
Sends a message to the source.
- sendMessage(Component) - Method in interface one.tranic.t.base.player.Player
-
Sends a message to the player represented by this instance.
- ShreddedPaper - Enum constant in enum class one.tranic.t.util.Platform
-
Represents the ShreddedPaper platform.
- Source<C,
R> - Interface in one.tranic.t.base.command.source -
Represents a source implementation that abstracts interactions with various platforms.
- Spigot - Enum constant in enum class one.tranic.t.util.Platform
-
Represents the Spigot platform.
- sync() - Method in class one.tranic.t.base.task.Actions
-
Executes the encapsulated task synchronously and returns its result.
T
- TBase - Class in one.tranic.t.base
- TBase() - Constructor for class one.tranic.t.base.TBase
- TimeParser - Class in one.tranic.t.base.parse.time
-
The TimeParser class provides functionality for parsing time-related string inputs and performing operations such as calculating future times, validating time formats, and checking time conditions.
- TimeParser() - Constructor for class one.tranic.t.base.parse.time.TimeParser
- TimeUnit - Enum Class in one.tranic.t.base.parse.time
-
The TimeUnit enum represents various units of time, each of which can be used to perform time-based calculations on a
LocalDateTimeobject. - toRawString() - Method in enum class one.tranic.t.util.Platform
- toString() - Method in record class one.tranic.t.base.command.Operator
-
Returns a string representation of this record class.
- toString() - Method in record class one.tranic.t.base.player.Location
-
Returns a string representation of this record class.
- toString() - Method in enum class one.tranic.t.util.Platform
-
Returns the lowercase string representation of the platform.
U
- UnsupportedTypeException - Exception Class in one.tranic.t.base.exception
-
A custom exception that indicates an operation involving an unsupported or invalid type.
- UnsupportedTypeException() - Constructor for exception class one.tranic.t.base.exception.UnsupportedTypeException
-
Constructs a new
UnsupportedTypeExceptionwith no detail message. - UnsupportedTypeException(Exception) - Constructor for exception class one.tranic.t.base.exception.UnsupportedTypeException
-
Constructs a new
UnsupportedTypeExceptionwith the specified exception as the cause. - UnsupportedTypeException(Object) - Constructor for exception class one.tranic.t.base.exception.UnsupportedTypeException
-
Constructs a new
UnsupportedTypeExceptionwith a detail message that includes the class name of the unsupported object's type. - UnsupportedTypeException(String) - Constructor for exception class one.tranic.t.base.exception.UnsupportedTypeException
-
Constructs a new UnsupportedTypeException with the specified detail message.
- uuid() - Method in record class one.tranic.t.base.command.Operator
-
Returns the value of the
uuidrecord component.
V
- valueOf(String) - Static method in enum class one.tranic.t.base.parse.time.TimeUnit
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class one.tranic.t.util.Platform
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class one.tranic.t.base.parse.time.TimeUnit
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class one.tranic.t.util.Platform
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Velocity - Enum constant in enum class one.tranic.t.util.Platform
-
Represents the Velocity platform.
W
- world() - Method in record class one.tranic.t.base.player.Location
-
Returns the value of the
worldrecord component.
X
- x() - Method in record class one.tranic.t.base.player.Location
-
Returns the value of the
xrecord component.
Y
- y() - Method in record class one.tranic.t.base.player.Location
-
Returns the value of the
yrecord component. - yaw() - Method in record class one.tranic.t.base.player.Location
-
Returns the value of the
yawrecord component. - YEAR - Enum constant in enum class one.tranic.t.base.parse.time.TimeUnit
Z
- z() - Method in record class one.tranic.t.base.player.Location
-
Returns the value of the
zrecord component.
All Classes and Interfaces|All Packages|Serialized Form