1
0
Fork 0
Commit Graph

18 Commits

Author SHA1 Message Date
Elias Åström fb6f5eae7a Rewrite mcl_autogroup
These changes are primarly made to make mcl_autogroup more efficient.
Previously enchanted tools required storing around 21 kB of metadata due
to the way the previous version of the mod was implemented.  This caused
a lot of lag and a huge amount of network traffic.  With the changes
enchanted tools won't require more than 1 kB of metadata.

The mod is also rewritten to use an API to register digging groups and
compute the groupcaps for tools.  This will make it easier for modders
to register custom digging groups.

The mod is now split up into two parts.  One part called "mcl_autogroup"
to implement the API for registering custom digging groups, and the
other part called "_mcl_autogroup" which contains most of the code which
has to be loaded after most mods.
2021-03-18 11:32:18 +01:00
Wuzzy fff3eb1ee7 Rename mcl_autogroup to _mcl_autogroup
This should fix some autogroup-related issues due to loading order.
2018-05-08 16:43:25 +02:00
Wuzzy 093e9b0b08 Declare observers not opaque 2018-01-28 19:25:05 +01:00
Wuzzy 886a717b30 Remove blabla in mcl_autogroup 2017-05-25 02:27:10 +02:00
Wuzzy c12f16b73b Add digging groups only to diggable nodes 2017-03-30 03:07:04 +02:00
Wuzzy d03b002d8d Consider falling nodes to be solid 2017-03-11 07:21:50 +01:00
Wuzzy d9a61e826a Add opaque group 2017-03-10 20:01:45 +01:00
Wuzzy c555d7c60f Fix nodes not breakable in creative 2017-02-28 00:14:31 +01:00
Wuzzy c80433aaf4 Fix dig times of wool and cobweb 2017-02-27 19:38:48 +01:00
Wuzzy 7dd5afe28f Fix handy digging times 2017-02-27 00:35:13 +01:00
Wuzzy a52f853853 Refactor and fix bad digging times framework 2017-02-27 00:29:56 +01:00
Wuzzy 307ec02744 Kinda fix shearsy/handy/swordy 2017-02-26 22:58:29 +01:00
Wuzzy b05c56bcd3 Add digging time support for shears/swords/hand 2017-02-26 20:50:02 +01:00
Wuzzy a4a6ec9b06 Write comment explaining mcl_autogroup magic 2017-02-26 19:38:40 +01:00
Wuzzy 151c1e62ba Tools to mcl_tools, way more efficient digging time definitions 2017-02-26 18:44:48 +01:00
Wuzzy 4ecef7b411 First steps to implement MC-like digging times
This involves MASSIVE hacks around the digging system in Minetest.
Implemented so far: Hardness, nodes in mcl_core, digging for nodes
diggable by pickaxe, shovel, axe.
Not implemented: Nodes diggable by hand alone (except insta-dig),
shears and sword.
2017-02-25 16:19:24 +01:00
Wuzzy b5dcd46193 Remove ignore node from solid node group
So mobs don't spawn on ignore...  xD
2017-02-24 02:51:50 +01:00
Wuzzy 3696ee3761 Organize mods into modpacks for better overview 2017-02-16 01:45:21 +01:00