Events, Spawns, Source Servers, and many more!

User Tools

Site Tools


mobsistence:mob-api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
mobsistence:mob-api [2015/01/14 23:23]
sylian created
mobsistence:mob-api [2015/01/15 10:27]
sylian
Line 39: Line 39:
 === HasMetadata === === HasMetadata ===
 == Checks whether the mob has any metadata set == == Checks whether the mob has any metadata set ==
-Parameters: metadata name | nothing\\ 
 Returns: boolean Returns: boolean
-Notes: using this with a metadata name is not recommended 
 ---- ----
 === HasFlagMetadata === === HasFlagMetadata ===
-== Checks whether the mob has any flag metadata set ==+== Checks whether the mob has any flag metadata set, or has a specific item ==
 Parameters: metadata name | nothing\\ Parameters: metadata name | nothing\\
 Returns: boolean Returns: boolean
 ---- ----
 === HasNumericMetadata === === HasNumericMetadata ===
-== Checks whether the mob has any numeric metadata set ==+== Checks whether the mob has any numeric metadata set, or has a specific item ==
 Parameters: metadata name | nothing\\ Parameters: metadata name | nothing\\
 Returns: boolean Returns: boolean
 ---- ----
 === HasStringMetadata === === HasStringMetadata ===
-== Checks whether the mob has any string metadata set ==+== Checks whether the mob has any string metadata set, or has a specific item ==
 Parameters: metadata name | nothing\\ Parameters: metadata name | nothing\\
 Returns: boolean Returns: boolean
 ---- ----
 === HasStringListMetadata === === HasStringListMetadata ===
-== Checks whether the mob has any string list metadata set ==+== Checks whether the mob has any string list metadata set, or has a specific item ==
 Parameters: metadata name | nothing\\ Parameters: metadata name | nothing\\
 Returns: boolean Returns: boolean
Line 67: Line 65:
 ---- ----
 === RemoveFlagMetadata === === RemoveFlagMetadata ===
-== Clears the mob's flag metadata ==+== Clears the mob's flag metadata, or removes a specific item == 
 +Parameters: metadata name | nothing\\
 ---- ----
 === RemoveNumericMetadata === === RemoveNumericMetadata ===
-== Clears the mob's numeric metadata ==+== Clears the mob's numeric metadata, or removes a specific item == 
 +Parameters: metadata name | nothing\\
 ---- ----
 === RemoveStringMetadata === === RemoveStringMetadata ===
-== Clears the mob's string metadata ==+== Clears the mob's string metadata, or removes a specific item == 
 +Parameters: metadata name | nothing\\
 ---- ----
 === RemoveStringListMetadata === === RemoveStringListMetadata ===
-== Clears the mob's string list metadata ==+== Clears the mob's string list metadata, or removes a specific item == 
 +Parameters: metadata name | nothing\\
 ---- ----
 === StoreMetadata === === StoreMetadata ===
mobsistence/mob-api.txt · Last modified: 2015/01/15 10:27 by sylian