Expand description
Vintage Story block entity functionality.
Structs§
- Block
Entities - Vintage Story block entity data.
- Item
Stack - An
ItemStack.
Enums§
- Item
Class - An
ItemStack’s item class. - Value
- A tree attribute value.
Functions§
- encode_
array - Encodes an array of
Tas a length-prefixed array of little endianTs. The length prefix is a 32-bit little endian signed integer. - encode_
entities - Encodes an
EntityMapby callingValue::encodeon each value. - encode_
seven_ bit_ int - Encodes a “seven bit integer” as read by
C#’s
BinaryReader. - parse_
array - Parses an array of values of type
T. - parse_
encoded_ entities - Parse ASCII85-encoded Vintage Story block entity data.
- parse_
entities - Parse Vintage Story block entity data.
- parse_
item_ stack - Parses an
ItemStack. - parse_
seven_ bit_ int - Parses a “seven bit integer” as read by
C#’s
BinaryReader. - parse_
string - Parses a string with a “seven bit int” length prefix.
Type Aliases§
- Block
Entity Map - Mapping of block entity IDs to their associated
EntityMaps.