teknomunk
94c1026ba3
Create mcl_util.metadata_timer, fix crashes, add checks to prevent hoppers from pulling from carts that are not in the square above it
2024-06-15 14:08:29 +02:00
teknomunk
fe3e783f6f
Tune respawn distance limit
2024-06-15 14:08:29 +02:00
teknomunk
d1b5e77ca1
Fix crashes
2024-06-15 14:08:29 +02:00
teknomunk
095ad465e5
Give furnace minecart minimum velocity when lit, add train separation code, update logging code, add sequence number to entity staticdata to allow respawn/despawn when carts move when the entity is unloaded
2024-06-15 14:08:29 +02:00
teknomunk
bacc8bdf64
Add utilities to convert between an ObjectRef, it's active object id and a 128bit uuid, move minecart data from entity staticdata to mod storage to eventually allow updating carts when out of range of players and also track what carts are alive, implement on-rail cart collisions
2024-06-15 14:08:29 +02:00
teknomunk
5bd06f5c03
Make legacy rail update apply to all old rail types, add basic detached railcart physics with a stub to use mcl_physics when it gets merged
2024-06-15 14:08:29 +02:00
teknomunk
4589206985
Fix mcl_util.table_merge where a standard value overwrites a table, fix base definition usage, implement behavior difference when there is a solid block after a straight piece of track (this will eventually allow minecarts to fly off the end of the track)
2024-06-15 14:08:29 +02:00
teknomunk
4b8cb85319
Reorganize
2024-06-15 14:08:29 +02:00
teknomunk
64b930ac3e
Fix call signature of mcl_util.hopper_pull_to_inventory, move cart-specific behaviors to _mcl_minecarts_on_step handlers, fix typo, change distance used in rail reattach code, move cart_id generation
2024-06-15 14:08:29 +02:00
teknomunk
af9409c69f
Hopper minecarts pull from containers above rail
2024-06-15 14:08:29 +02:00
the-real-herowl
9e9507efeb
Plant placement and drop fixes
2024-05-22 21:03:43 +02:00
the-real-herowl
d85e582e8c
Arabic-to-Roman converter redo
...
-rewrote the Arabic-to-Roman number converter
-moved it to mcl_util
2024-05-22 21:02:24 +02:00
the-real-herowl
48e6ffa935
Improved tool tooltips ( #4306 )
...
Co-authored-by: Araca <araca.prod@gmail.com>
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4306
2024-05-22 18:55:07 +00:00
teknomunk
98eed36938
Update matrix link, update git link in source code and one module README that has a link to git
2024-05-07 11:38:00 +00:00
the-real-herowl
4b83aaaa77
Renaming throughout docs and comments
2024-05-07 11:38:00 +00:00
teknomunk
034b0142c6
Make sure the inventory slot has at least the number of items requsted in it before selecting it
2024-04-27 08:41:09 +00:00
teknomunk
bdcd89e1bf
Modify mcl_util.select_stack to allow specifying the number of items that will be moved, modify hopper on_try_push functions to specify only 1 item will be moved at a time, general cleanup of touched code (reduce indent - 1 place, break filter functions out of function call parameter - 4 places)
2024-04-27 08:41:09 +00:00
JoseDouglas26
cc3f092185
Changes in rotation code and bamboo rotation
2024-01-08 05:55:36 +00:00
the-real-herowl
1bad5659cf
Fixed a cryptic error message
...
Migrated it to mcl_log and maded it clearer
2023-12-30 04:53:17 +01:00
the-real-herowl
a2a4da5aed
Added shepherd functionality
2023-12-24 05:48:41 +01:00
the-real-herowl
cd40861b3b
Merge pull request 'Add stonecutter functionality' ( #3999 ) from stonecutter_functionality into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3999
2023-11-27 23:37:57 +00:00
Kostinatyn Tsiupa
1da7bb0bdc
hopper reimplementation
...
Reimplemented hoppers and all (blast_furnace, furnace, smoker, composters, double chaets, shulker_boxes, droppers, bookshelvs and brewing_stands) connected nodes
2023-11-27 14:33:01 +02:00
AFCMS
a001f84786
Add utility functions to clean inventory lists
2023-11-25 23:52:04 +00:00
AFCMS
2128dd4c15
Add basic table ordered keys iterator
2023-11-25 23:52:04 +00:00
ancientmarinerdev
3564f6ebde
Fixed a crash in minetest vector code that isn't propogated to lua. Create util for ease of use.
2023-10-15 22:03:48 +01:00
the-real-herowl
729d8ec9e0
Another batch of wither adjustments
2023-10-11 00:54:31 +00:00
ancientmarinerdev
d920441a01
Reduce network activity for elytra flying rocket particles
2023-05-11 17:30:28 +00:00
ancientmarinerdev
7fe1be2c18
Add error handling to sunlight checking to prevent crashing and improve diagnosis.
2023-04-06 13:35:38 +00:00
ancientmarinerdev
f8e994ae78
Create new dtime timer utility.
2023-03-31 13:40:36 -05:00
FossFanatic
4659d1a0f1
Add function for colorwallmounted node rotation
...
This commit adds a new utility function which helps find the rotation of `colorwallmounted` nodes.
2023-02-27 20:25:36 +00:00
FossFanatic
8060b02cbd
Add extra check to guarantee no nil values
2023-02-19 07:49:09 +00:00
FossFanatic
9bb3d8311b
Append stuff to the new function
2023-02-18 08:24:12 +00:00
FossFanatic
406b27852b
Improve the new function somewhat
2023-02-16 07:54:00 +00:00
FossFanatic
8fd40eaf46
Replace get_registered_biome_from_pos with get_palette_indexes_from_pos
2023-02-14 18:08:59 +00:00
FossFanatic
fcaa2c4ce1
revert 55478f6953
...
revert Fix crash with mapgen v6
2023-02-14 14:22:03 +00:00
FossFanatic
55478f6953
Fix crash with mapgen v6
2023-02-14 14:01:14 +00:00
FossFanatic
7b7e213925
Fix mcl_util.get_registered_biome_from_pos(pos)
...
Adds something which was missing from the function.
2023-02-14 08:12:55 +00:00
FossFanatic
c88f0047c1
Merge branch 'master' into biome_colored_foliage
2023-02-12 08:44:29 +00:00
FossFanatic
b4e84dadb0
Add new function
...
Adds the `get_registered_biome_from_pos` function, which does what the name says.
2023-02-12 07:57:04 +00:00
emptyshore
bdc82b76b5
Respect immortal armor group, ensuring objects are not dealt damage
...
Context: some objects such as chest, frame or sign entities are set to
be immortal, because they are tied to a node and should not be removed
on their own.
However since immortality wasn't respected, it would lead to odd desync
issues between nodes and accompanying entities. An example is a chest
that becomes invisible when struck by lightning or anvil.
2023-02-08 15:59:36 +13:00
AFCMS
fb8262bf57
Make light blocks buildable_to
2023-01-15 15:32:42 +00:00
CyberMango
64a7f76d5b
Replaced positions check with an area check.
...
This one is using the minetest.is_area_protected so it should work
faster. It also doesnt require the user to manually add all the points
that should be checked so its nicer to use.
2023-01-12 21:22:36 +02:00
CyberMango
b0d9eed3e1
Removed specific functions and added usage examples.
...
The specific functions didnt end up adding much simplicity, but did add
some degree of confusion.
2023-01-12 20:04:44 +02:00
CyberMango
685a7ff256
Added a function for a single position and better naming.
...
Now the functions are named with "position" instead of "node" to better
reflect what they do and what args they expect.
Also added a function for cehcking just a single position since thats
the most common use case, so it saves a small performance overhead.
2023-01-12 20:04:44 +02:00
CyberMango
949a2b787e
Added protection violation checker functions.
...
1 completley generic and 3 more that use it for more specific cases -
placing a node, modifying a node and planting over a node.
2023-01-12 20:04:44 +02:00
ancientmarinerdev
e5c639c779
Logging improvements
2022-11-12 02:35:00 +01:00
ancientmarinerdev
ff0fea8978
Add default logger to make logging easier
2022-11-12 02:35:00 +01:00
Johannes Fritz
c66e184373
mcl_playerplus fixes
2022-11-11 17:53:13 +00:00
cora
41055d5abe
Check object on mob tranformation
2022-11-11 16:43:45 +01:00
cora
6b8236e8f3
Fix crash in villagegen
2022-11-01 04:52:17 +01:00