Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

v3.0.0: guccious gamerous

Compare
Choose a tag to compare
@grakkit grakkit released this 12 Nov 01:19
· 5 commits to master since this release
added .boundingBox (normalizer)
added .itemStack (normalizer)
added .location (normalizer)
added .vector (normalizer)
improved NBT parser/serializer
fixed strange entity parse behavior
new serialized item format, added amount value and used better NBT
added .data, unique stores for items, entities, and block positions
- stores player data seperately from other entity types
- can also handle OfflinePlayer objects as players
added .dist, compute distance between two positional objects
- if both objects are in-world, return infinity if not same world
- optional "flat" toggle for ignoring Y-axis in distance check
added .drop function, drop an item at a location
- can optionally add randomness with "natural" toggle
- natural toggle will emulate death drops and block mine drops
added .player, get player by name, partial match and case-insensitive
- if no online player found, searches from previously connected players
added .select, select entities with vanilla selectors
- defaults to console if no context specified