Type Definitions - Gorlem/ScriptIt GitHub Wiki
| Key | Type | Description |
|---|---|---|
id |
string |
Interal id |
name |
string |
Display name |
category |
string |
Category |
| Key | Type | Description |
|---|---|---|
amount |
int |
Amount of items |
max_amount |
int |
Highest amount of items per stack |
cooldown |
int |
Time remaining |
damage |
int |
Current damage value of item |
max_damage |
int |
Total amount of possible uses before the tool breaks |
repair_cost |
int |
Cost of repairing the tool |
max_usetime |
int |
Duration it takes to eat the food |
rarity |
string |
Rarity of item |
enchantments |
list<Enchantment> |
See Enchantment |
is_enchantable |
bool |
Whether the tool can be enchanted |
is_food |
bool |
Whether the item is eatable |
is_stackable |
bool |
Whether the stack can contain multiple items |
id |
string |
Id of the item |
| Key | Type | Description |
|---|---|---|
name |
string |
Full name with level as roman numeral |
level |
int |
Level as a number |
min_level |
int |
Lowest possible level |
max_level |
int |
Highest possible level |
is_cursed |
bool |
Whether the enchantment is cursed |
is_treasure |
bool |
Whether the enchantment is treasure |
| Key | Type | Description |
|---|---|---|
item |
Item |
See Item |
properties |
map<string,string> |
Mapping of properties to their value |
| Key | Type | Description |
|---|---|---|
name |
string |
Name of entity |
uuid |
string |
Unique identifier |
| Key | Type | Description |
|---|---|---|
x |
double |
x position |
y |
double |
y position |
z |
double |
z position |
| Key | Type | Description |
|---|---|---|
id |
string |
Id of objective |
name |
string |
Name of objective |
critierion |
string |
Source of the scores |
render_type |
string |
Render type, either HEARTS or INTEGER
|
scores |
list<Score> |
See Score |
| Key | Type | Description |
|---|---|---|
player |
string |
Player name |
score |
int |
Score value |
| Key | Type | Description |
|---|---|---|
id |
string |
Id of team |
name |
string |
Name of team |
prefix |
string |
Prefix |
suffix |
string |
Suffix |
color |
string |
Color associated with team |
players |
list<string> |
Names of players in team |
| Key | Type | Description |
|---|---|---|
uuid |
string |
Unique identifier |
name |
string |
Name of player |
formatted |
string |
Display name |
team |
string |
Id of team |
gamemode |
string |
Gamemode |
| Key | Type | Description |
|---|---|---|
type |
string |
Either BLOCK or ENTITY
|
position |
Position |
See Position |
block |
Block |
See Block |
entity |
Entity |
See Entitiy |