Package noppes.npcs.api.handler.data
Interface ITag
-
public interface ITagRepresents a tag that can be applied to NPCs for categorization and filtering.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetColor()intgetId()booleangetIsHidden()StringgetName()StringgetUuid()voidsave()Saves this tag to disk.voidsetColor(int c)voidsetIsHidden(boolean hidden)voidsetName(String name)
-
-
-
Method Detail
-
getUuid
String getUuid()
- Returns:
- the unique UUID string for this tag.
-
getName
String getName()
- Returns:
- the tag display name.
-
setName
void setName(String name)
- Parameters:
name- the tag display name.
-
setColor
void setColor(int c)
- Parameters:
c- the tag color as a packed RGB integer.
-
getId
int getId()
- Returns:
- the unique tag ID.
-
getColor
int getColor()
- Returns:
- the tag color as a packed RGB integer.
-
getIsHidden
boolean getIsHidden()
- Returns:
- true if this tag is hidden from display.
-
setIsHidden
void setIsHidden(boolean hidden)
- Parameters:
hidden- true to hide this tag from display.
-
save
void save()
Saves this tag to disk.
-
-