2012-12-20 08:32:09 +01:00
|
|
|
# =============================================
|
|
|
|
# Vanilla NBT prented as pseudo-json
|
|
|
|
# =============================================
|
|
|
|
|
|
|
|
{
|
|
|
|
id: short
|
|
|
|
Count: byte
|
|
|
|
Damage: short
|
|
|
|
tag:
|
|
|
|
{
|
|
|
|
display:
|
|
|
|
{
|
|
|
|
Name: str
|
|
|
|
Lore: [str]
|
|
|
|
color: int
|
|
|
|
}
|
|
|
|
ench:
|
|
|
|
[
|
|
|
|
{
|
|
|
|
id: int
|
|
|
|
lvl: int
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id: int
|
|
|
|
lvl: int
|
|
|
|
}
|
|
|
|
...
|
|
|
|
]
|
2013-01-15 07:49:14 +01:00
|
|
|
StoredEnchantments:
|
|
|
|
[
|
|
|
|
{
|
|
|
|
id: int
|
|
|
|
lvl: int
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id: int
|
|
|
|
lvl: int
|
|
|
|
}
|
|
|
|
...
|
|
|
|
]
|
2012-12-20 08:32:09 +01:00
|
|
|
title: str
|
|
|
|
author: str
|
|
|
|
pages: [str]
|
|
|
|
map_is_scaling: byte
|
|
|
|
SkullOwner: str
|
|
|
|
CustomPotionEffects:
|
|
|
|
[
|
|
|
|
{
|
2012-12-20 08:50:03 +01:00
|
|
|
Id: byte
|
2012-12-20 08:32:09 +01:00
|
|
|
Amplifier: byte
|
|
|
|
Duration: int
|
|
|
|
Amplifier: bool
|
|
|
|
}
|
|
|
|
...
|
|
|
|
]
|
2013-01-15 07:49:14 +01:00
|
|
|
Explosion:
|
|
|
|
{
|
|
|
|
Flicker: bool
|
|
|
|
Trail: bool
|
|
|
|
Colors: [int]
|
|
|
|
FadeColors: [int]
|
|
|
|
Type: byte
|
|
|
|
}
|
|
|
|
Fireworks:
|
|
|
|
{
|
|
|
|
Flight: byte
|
|
|
|
Explosions:
|
|
|
|
[
|
|
|
|
*Explosion*
|
|
|
|
...
|
|
|
|
]
|
|
|
|
}
|
2012-12-20 08:32:09 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# =============================================
|
|
|
|
# Bukkit YAML prented as pseudo-json
|
|
|
|
# =============================================
|
|
|
|
|
|
|
|
{
|
|
|
|
type: str
|
|
|
|
damage: short
|
|
|
|
amount: int
|
|
|
|
meta:
|
|
|
|
{
|
|
|
|
meta-type: BOOK, SKULL, LEATHER_ARMOR, MAP, POTION or UNSPECIFIC
|
|
|
|
display-name: str
|
|
|
|
lore: [str]
|
|
|
|
enchants:
|
|
|
|
{
|
|
|
|
id: lvl
|
|
|
|
...
|
|
|
|
}
|
2013-01-15 07:49:14 +01:00
|
|
|
stored-enchants:
|
|
|
|
{
|
|
|
|
id: lvl
|
|
|
|
...
|
|
|
|
}
|
2012-12-20 08:32:09 +01:00
|
|
|
repair-cost: int
|
|
|
|
title: str
|
|
|
|
author: str
|
|
|
|
pages: [str]
|
|
|
|
color:
|
|
|
|
{
|
|
|
|
RED: int
|
|
|
|
BLUE: int
|
|
|
|
GREEN: int
|
|
|
|
}
|
|
|
|
scaling: byte
|
|
|
|
skull-owner: str
|
|
|
|
custom-effects:
|
|
|
|
[
|
|
|
|
{
|
|
|
|
effect: int
|
|
|
|
duration: int
|
|
|
|
amplifier: int
|
|
|
|
ambient: bool
|
|
|
|
}
|
|
|
|
...
|
|
|
|
]
|
2013-01-15 07:49:14 +01:00
|
|
|
firework-effect:
|
|
|
|
{
|
|
|
|
flicker: bool
|
|
|
|
trail: bool
|
|
|
|
colors:
|
|
|
|
[
|
|
|
|
*color*
|
|
|
|
...
|
|
|
|
]
|
2013-01-15 07:58:51 +01:00
|
|
|
fade-colors:
|
2013-01-15 07:49:14 +01:00
|
|
|
[
|
|
|
|
*color*
|
|
|
|
...
|
|
|
|
]
|
|
|
|
type: "BALL", "BALL_LARGE", "STAR", "BURST" or "CREEPER"
|
|
|
|
}
|
|
|
|
firework-effects:
|
|
|
|
[
|
|
|
|
*firework-effect*
|
|
|
|
...
|
|
|
|
]
|
|
|
|
power: int
|
2012-12-20 08:32:09 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# =============================================
|
|
|
|
# MassiveCraft Json prented as pseudo-json
|
|
|
|
# =============================================
|
|
|
|
|
|
|
|
{
|
|
|
|
id: int
|
|
|
|
count: int
|
|
|
|
damage: short
|
|
|
|
name: str
|
|
|
|
lore: [str]
|
|
|
|
enchants:
|
|
|
|
{
|
|
|
|
id: lvl
|
|
|
|
id: lvl
|
|
|
|
...
|
|
|
|
}
|
2013-01-15 07:49:14 +01:00
|
|
|
stored-enchants:
|
|
|
|
{
|
|
|
|
id: lvl
|
|
|
|
id: lvl
|
|
|
|
...
|
|
|
|
}
|
2012-12-20 08:32:09 +01:00
|
|
|
repaircost: int
|
|
|
|
title: str
|
|
|
|
author: str
|
|
|
|
pages: [str]
|
|
|
|
color: int
|
|
|
|
scaling: bool
|
|
|
|
skull: str
|
|
|
|
effects:
|
|
|
|
[
|
|
|
|
{
|
|
|
|
id: int
|
|
|
|
duration: int
|
|
|
|
amplifier: int
|
|
|
|
ambient: bool
|
|
|
|
}
|
|
|
|
...
|
|
|
|
]
|
2013-01-15 07:49:14 +01:00
|
|
|
firework-effect:
|
|
|
|
{
|
|
|
|
flicker: bool
|
|
|
|
trail: bool
|
|
|
|
colors: [int ...]
|
|
|
|
fade-colors: [int ...]
|
|
|
|
type: str/enum
|
|
|
|
}
|
|
|
|
firework-effects:
|
|
|
|
[
|
|
|
|
*firework-effect*
|
|
|
|
...
|
|
|
|
]
|
|
|
|
firework-flight: int
|
2012-12-20 08:32:09 +01:00
|
|
|
}
|