Util Kt
Functions
Link copied to clipboard
Same as kotlin.text.buildString, but with StringWriter.
Link copied to clipboard
Identifier deconstruction helper, which returns the namespace.
Link copied to clipboard
Identifier deconstruction helper, which returns the path.
Link copied to clipboard
Default delimiters of lists in OptiGUI and OptiFine resources.
Link copied to clipboard
Splits a string at the given delimiters and returns every substring, which is not empty.
Link copied to clipboard
Trim parentheses from the start and end of a string.
Link copied to clipboard
public final static FilterResult<TNew> withResult<TOld extends Any, TNew extends Any>(FilterResult<TOld> $self, TNew result)
If the current FilterResult is FilterResult.Match, change its result to the given one. Otherwise, return the original.