
BetaMoon
A Lua Script Loader that allows for the easy addition of custom content or functionalities with an easy-to-use and well documented API.
168
0
Additions
- New Query API for blocks/items/recipes that enable searches for specific content or groups of content.
- New Chat API for formatted in‑game messages and server broadcast attempts.
- New Event API (world/player/gui/input/item/block/dimension hooks).
- Added example scripts for Query API.
- Added example script for Event API. (Currently barebones. Will be expanded and commented in the future)
Changes
- Script loading now detects duplicates and dependency failures with clearer reporting in the UI.
- Scripts are now capable of throwing Warnings:
- Warnings won't make the whole script unloadable. It just skips the part of the script that threw the warning.
- Be aware that any function/variable that throws a Warning may return a NIL value, which results in Errors if used afterwards.
- Improved Script UI to also show warnings for scripts.
- Recipe modifications via Scripts update the internal recipe cache so queries include script-added recipes.
- Main menu/script screens now integrate the new Warnings in Popups.
- Many internal changes.
Fixes
- Reduced hard failures in texture registration; warnings are surfaced instead of crashes where possible.
- Fixed some example scripts to represent current API usage.
Additions
- Added "Debug" button to Scripts manu that opens a menu for exporting debug outputs for blocks/items/recipes.
- Added "Open Scripts Folder" button to the Scripts Menu.
Changes
- Improved the GUI layout of the Scripts Menu.
- Adjusted position of "Scripts" button on main menu to match "Back" button on Scripts Menu.
- Improved handling and display of missing script dependencies
Additions
- Added slightly better logging to make error finding easier for users.
Additions
- Added solid system for exporting data to other scripts and importings data from other scripts
- Added examples on how to export/import using the dependency system.
View the Wiki For documentation on how to use it.
Additions
- Added optional
versionanddescriptionfields for scripts. - Added possibility to change block textures per-side using
setTextureMap(...)andsetSideTexture(...) - Added new GUI Pop-Up informing the User if scripts failed to load.
- Added GUI to view information of loaded Scripts.
Changes
- Script field
dependenciesis now optional. - Updated and improved most scripts.
- Added optional
Additions
- Added example for custom armor.
- Added example for custom armor material.
Changes
- Temporarily removed armorHandle:setArmorTexture(...) until texture file resolution issues are resolved.
- Reordered examples.
Bugfixes
- armorHandle:setVanillaRenderIndex(...) now resolves the correct render index.
Additions:
- Added WorldGenApi that combines any world generation customization into one Builder.
- Added BiomeGenApi to WorldGenApi that let's you create custom biomes.
- Added two examples scripts for custom biome generation.
- Added example script for custom recipe creation (shaped, shapeless and smelting)
Changes:
- Moved OreGenApi from BlockApi to WorldGenApi.
- block:addOreGen(...) is now flagged as deprecated and it's disadviced to use!
- Updated example 09_custom_ore_gen.lua to use new OreGenApi.
Bugfixes
- Fixed a bug where blockHandler/itemHandler/toolHandler/armorHandler return NIL when :register(...) is called.
- Fixed :setTexture(...) looking for custom textures in .minecraft/luamods instead of .minecraft/lua_scripts
- Fixed multiple bugs in example scripts.
Совместимость
Minecraft: Java Edition
Платформы
Поддерживаемые окружения
Клиент и сервер