- 1.20 + 1.20.1 support
loadandtickfields in_project.lua
- New
inventory.clearmethod - Reworked
entity.set_posand addedentity.get_rotandentity.set_rot - Fixed an issue where
printandprint_dbwould not use the__tostringmetamethod if it exists
- Fixed a bug where the mod would just not work
/luacommand now returns any integer that the lua script returns- New
std:storagemodule which allows permanent storage- Use
storage.save()andstorage.load()to store data. Check the documentation for more information
- Use
- Added support for
print() - New
print_db()function which prints to the console instead of chat - Modified
entity.add_effectslightly - Added new global variable
filename - Added project system
- Bug fixes
- Fixed some issues with importing modules
- Updated to 1.19.4
- Did some clean up
- Moved command wrapper functions to their own module:
std:commandsrunis still in the global namespace, this may change
- Not much, but there has not been a release in a while
- Separated a couple of standard lua libraries. They are no longer instantiated every time
/luais ran, improving performancestd:mathstd:stringstd:bit32std:utf8
- Api features
Entity.new- Alternative to
summon, it returns the entity spawned.Entityis a global variable representing the entity type as seen in entity.d.ts
- Alternative to
- New standard library:
class.lua. If you prefer a different OOP library, you can add one to the datapack - Top level return with
run() - Api features
entity.add_effectentity.clear_effects
- Bug fixes
- Certain api calls displayed output in the chat. This is no longer the case
- Api features
- Nbt types for tstl
NbtElementNbtCompoundNbtList
- Inventory api
entity.inventoryget_blockentityInventoryItemStackBlockEntity
- Nbt types for tstl
- Quick fix to include icon in mod for compatibility with mod menus
- Also fixed a couple of config settings
Felt like doing a bunch, so a lot of updates today
- Beta release
- Script arguments
- Api features
args
- Bug fixes
- Fixed errors not displaying in chat
- Many minor things
- Command autocomplete
- Player nbt editing
0.4.0 will be the first beta
- NBT!
- Api features
entity.get_nbtentity.merge_nbt
- Api features
entity.get_armorentity.get_ageentity.set_ageget_blockset_block


