Package net.risingworld.api.objects
Klasse Clothes.Garment
java.lang.Object
net.risingworld.api.objects.Clothes.Garment
- Umschließende Klasse:
Clothes
Represents a single piece of clothing.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
getColor()
Gets the optional color of this garment (as RGBA int).Gets the clothing definition related to this garment.short
getID()
Gets the clothing type id of this garment.long
Gets an optional info ID that is associated with this garment.toString()
-
Methodendetails
-
getID
public short getID()Gets the clothing type id of this garment.- Gibt zurück:
- the clothing id.
-
getDefinition
Gets the clothing definition related to this garment.- Gibt zurück:
- the clothing definition.
-
getColor
public int getColor()Gets the optional color of this garment (as RGBA int). By default 0- Gibt zurück:
- the optional color.
-
getInfoID
public long getInfoID()Gets an optional info ID that is associated with this garment. For instance, if the garment is linked to a storage (e.g a saddle bag), the global storage ID is stored in this field.- Gibt zurück:
- the optional info ID of the garment.
-
toString
-