FilteredTag

public class FilteredTag

Represents the name of an NBT tag that should be handled by a filter.

Author

Nullicorn

Constructors

Link copied to clipboard
public void FilteredTag(String name)

Functions

Link copied to clipboard
public boolean equals(Object o)
Link copied to clipboard
public String getName()
Link copied to clipboard
public Array<String> getTokens()
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public boolean isExtendedBy(FilteredTag other)

public boolean isExtendedBy(FilteredTag other, int depth)
Same as isExtendedBy, but extension is only check for tokens up to the provided depth + 1.
Link copied to clipboard
public static Array<String> tokenizeTagName(String name)
Splits a dot-notation tag name into its individual parts (or "tokens"), delimited by dots (.).
Link copied to clipboard
public String toString()

Properties

Link copied to clipboard
public final String name
Link copied to clipboard
public final Array<String> tokens