Commit Graph

195 Commits

Author SHA1 Message Date
02381f5ffd core_namespace: 5.18 update 2026-11-07 19:25:10 +03:00
f43b79c82c core_namespace: 5.18 update 2026-11-07 19:08:57 +03:00
03b97bc546 core_namespace: 5.18 update 2026-11-07 19:01:51 +03:00
c89e3402a2 vector: fix round() annotation 2026-09-20 21:45:36 +03:00
24d5e06910 Add PcgRandom class 2026-09-08 22:31:03 +03:00
0ed55757ce vector: remove eq operator annotations 2026-09-05 21:45:57 +03:00
510ce9f7fa minor fix 2026-08-14 22:15:51 +03:00
1fe7f3d29a NodeDefinition: minor fix 2026-08-14 21:16:11 +03:00
ac5b6ca488 Splitting NodeDefinition into settings and callbacks, updating annotations to 5.16 2026-06-20 22:20:35 +03:00
4f8fe78b0a Splitting ItemDefinition into settings and callbacks, updating annotations to 5.16 2026-06-18 21:51:27 +03:00
5e8b69c136 Update README.md 2026-06-17 20:58:22 +03:00
Van
3aa8f7dc92 Обновить README.md 2026-06-16 22:06:55 +03:00
908db8e3b0 Add issue template 2026-06-16 21:21:02 +03:00
0489e18385 Update MetaDataRef & readme, rename readme and license 2026-06-16 21:08:22 +03:00
24531f8af6 EmmyLua -> LuaLS 2026-06-16 17:50:09 +03:00
5272c8e5a8 rename HudDefinition -> HUDDefinition 2026-06-16 13:44:40 +03:00
e3eaa126b3 remove changelog.md 2026-06-16 13:40:46 +03:00
2ea8f09092 VoxelManip: add VoxelManip() overload 2026-06-16 13:32:02 +03:00
79e7ea64b4 ValueNoise: pos may be float 2026-06-16 13:31:07 +03:00
142ff444ee ObjectRef: fix annotation get_wield_index() 2026-06-16 13:30:13 +03:00
d0eab6726d Remove unnecessary files 2026-06-15 22:58:11 +03:00
44e8f05df8 Update readme & licence 2026-06-15 22:54:50 +03:00
b924170d10 Player: update annotations 2026-06-08 21:14:34 +03:00
e0862e8170 LBMDefinition: update annotations 2026-06-07 22:08:40 +03:00
08af76c702 ABMDefinition: update annotations 2026-06-07 22:03:58 +03:00
186f56a8b3 vector: minor change IntegerVector annotation 2026-05-23 21:21:22 +03:00
60c9fbd5de ItemStack.get_count: change type annotation number -> integer 2026-05-20 18:01:19 +03:00
453718fa83 core_namespace: core.get_item_group: adding function annotations 2026-05-09 23:00:58 +03:00
c4e69bae77 ItemStack & ItemStackMetaRef: minor clarification of annotations 2026-04-27 19:39:07 +03:00
8b995b5176 core_namespace: fix player type in core.register_allow_player_inventory_action & core.register_on_player_inventory_action 2026-04-19 21:36:29 +03:00
19803a076d core_namespace: add return value to callback for core.register_allow_player_inventory_action & core.register_on_player_inventory_action 2026-04-17 17:10:06 +03:00
22ade2858c core_namespace: clarification of annotations for core.register_allow_player_inventory_action & core.register_on_player_inventory_action 2026-04-17 16:54:37 +03:00
c300a530d1 core_namespace: add missing callback param to functions 2026-04-17 16:15:44 +03:00
2b09747297 ItemStack: adding an annotation to the ItemStack(x) call via overload 2026-03-30 20:43:17 +03:00
52df233a28 ChatCommandDefinition: fix func annotation: returned string may be nil 2026-03-08 20:04:44 +03:00
a8dfcb767b Update annotations ObjectRef: Fixing annotations, adding missing methods, fixing return type (position -> vector) #8 2026-02-16 21:26:51 +03:00
6c9b96dc00 Fix annotation for core.node_dig: add return boolean 2026-02-14 19:26:25 +03:00
f2e3431251 Add core.objects_by_guid annotation, change annotation for core.object_refs 2026-02-13 21:31:22 +03:00
f19c76545d Add ObjectRef:get_guid() method annotations 2026-02-13 21:27:40 +03:00
6df00d8c79 Fix annotations for core.item_drop 2026-02-13 21:25:18 +03:00
Van
5d3804168b Position edits (#7)
* Moving annotations for vector classes and positions: `core_namespace.lua` -> `classes/vector.lua`. Rethinking position annotations

* Replacing float positions with integer positions where required (voxel manipulator, node coordinates, etc.). Adding missing annotations to the position parameters of core methods

* Fix position annotations in noises classes

* remove alias `MapPosition2d`

* Review fixes
2026-02-13 12:09:24 +03:00
e5a12d31ba Make ObjectProperties fields optional 2026-02-08 20:36:51 +03:00
Alexander Chibrikin
113a782c39 More strict verification via emmylua_check (add --warnings-as-errors). 2026-02-08 14:03:34 +03:00
Alexander Chibrikin
6bf8ad9444 Add forgotten @meta for classes/ItemStack.lua. 2026-02-08 14:00:04 +03:00
Alexander Chibrikin
2f77d40ba2 VoxelArea: fix return types for iterators. 2026-02-08 13:52:14 +03:00
Alexander Chibrikin
1d0043bfe7 Actualize math, string, table helpers. 2026-02-02 04:59:11 +03:00
Alexander Chibrikin
e21367325c Add IntegerVector and its alias PositionVector. 2026-01-27 01:27:02 +03:00
Alexander Chibrikin
966a08b597 Add @meta for all files. Mark couple params as optional. 2026-01-26 16:46:40 +03:00
Alexander Chibrikin
a8a2da4059 Extract core_namespace/registration/gameplay.lua; actualize & fix annotations for it. 2026-01-22 15:13:25 +03:00
Alexander Chibrikin
3eb0f97115 Extract logging.lua & registration/environment.lua into ./core_namespace/. Relates to #1 2026-01-21 18:58:12 +03:00