Commit Graph

7024 Commits

Author SHA1 Message Date
Lizzy Fleckenstein 3ad5b30ea5 Add cramming and fireworks damage types for future use 2021-04-18 17:38:19 +02:00
Lizzy Fleckenstein 1cf53caa7a Update armor stand entity in on_activate callback, remove debug print 2021-04-18 16:20:32 +02:00
Lizzy Fleckenstein d1198e8d74 Register elytra texture 2021-04-18 16:19:12 +02:00
Lizzy Fleckenstein 4f0bb444fe Integrate armor stand 2021-04-18 16:03:23 +02:00
Lizzy Fleckenstein f0d7715080 Merge branch 'master' into damage 2021-04-18 14:51:45 +02:00
Lizzy Fleckenstein 5d9c3cd85b Fix #1572 2021-04-18 14:41:44 +02:00
Doloment 956dab78ce Added LBM 2021-04-18 09:50:02 +00:00
Elias Åström fc9928c0b6 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-04-18 11:42:38 +02:00
Elias Åström 573b1dc44b Do not include unnecessary tool_capabilities
This commit makes enchanted tools which have no use for
tool_capabilities to not include it in their metadata.  It does this by
not including tool_capabilities in the metadata of an enchanted tool if
at least one of two cases is true:

(1) The tool is not enchanted with unbreaking or efficiency
(2) The tool does not have tool_capabilities defined in its definition

The first case covers situations like having a pickaxe only being
enchanted with silk_touch.  The second case covers situations like a
piece of armor being enchanted with unbreaking.
2021-04-18 11:40:43 +02:00
Elias Åström dd69dcfd9f Fix efficiency and unbreaking not working together
This commit fixes an issue were tools enchanted with both efficiency and
unbreaking would loose the effect of one of the enchantments in some
conditions.
2021-04-18 11:40:13 +02:00
Lizzy Fleckenstein 76271199c6 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-04-18 08:39:04 +02:00
kay27 bb902caa57 Merge remote-tracking branch 'origin/master' into mineclone5 2021-04-18 04:29:59 +04:00
kay27 11b66e83a2 [mcl_portals] Better NP search, no more teleports on the roof, fix MineClone2/MineClone2#1560 2021-04-18 04:29:30 +04:00
AFCMS 4aa6421faf performance optimisation 2021-04-18 00:27:51 +02:00
jordan4ibanez 719bb2a3c9 Add in prototype jump-only mobs api 2021-04-17 18:21:33 -04:00
AFCMS f967aa3d51 remove unuseful code 2021-04-18 00:10:11 +02:00
jordan4ibanez db87b8e0a3 fix chicken rotation 2021-04-17 17:09:57 -04:00
jordan4ibanez e2987245fd Balance out collision forces for mobs 2021-04-17 17:00:34 -04:00
jordan4ibanez 3cf263d292 Add in dynamic pitch in flying/swimming mobs 2021-04-17 16:23:38 -04:00
Lizzy Fleckenstein a7e102426a Add time_of_day to get_light crash fix 2021-04-17 21:01:09 +02:00
Lizzy Fleckenstein bcd058feb1 Fix get_light crash 2021-04-17 21:00:32 +02:00
Lizzy Fleckenstein baebe3c2d2 Fix namtags being invisible 2021-04-17 20:57:12 +02:00
Lizzy Fleckenstein 48a2e4212a Fix namtags being invisible 2021-04-17 20:55:08 +02:00
Lizzy Fleckenstein 811efcf9f3 Merge branch 'master' into mineclone5 2021-04-17 20:32:30 +02:00
Lizzy Fleckenstein 205572cc69 Fix elytra code style 2021-04-17 19:34:23 +02:00
jordan4ibanez 5ade34115c Remove random state initialization in set_up.lua 2021-04-17 13:17:29 -04:00
jordan4ibanez d9729fc865 Fix parrot's rotation 2021-04-17 13:13:45 -04:00
jordan4ibanez 58d9670e77 Remove collisionbox addition for y position for fly mobs 2021-04-17 13:11:39 -04:00
jordan4ibanez a20f272e08 re-adjust logic gate for mobs floating in water and lava 2021-04-17 13:05:53 -04:00
jordan4ibanez 0794bc5437 Make flying mobs float in water and lava 2021-04-17 13:04:55 -04:00
kay27 ff07ee5d93 Merge remote-tracking branch 'origin/master' into mineclone5 2021-04-17 21:02:07 +04:00
Lizzy Fleckenstein f8b54db392 Fix controls.register_on_press being called for every player in a globalstep 2021-04-17 18:55:56 +02:00
jordan4ibanez 8783912938 Add in mobs api swimming animation 2021-04-17 12:48:57 -04:00
jordan4ibanez f2e909ab8d Add in fly logic gate 2021-04-17 12:41:14 -04:00
Lizzy Fleckenstein bbd115fde0 Update armor stand 2021-04-17 18:39:38 +02:00
Lizzy Fleckenstein 7c7af7d664 Merge branch 'master' into damage 2021-04-17 18:39:00 +02:00
jordan4ibanez 07841c8963 Swap name of quick_rotate_45 to quick_rotate 2021-04-17 12:38:48 -04:00
jordan4ibanez 240d6ea211 Add note about quick_rotate_45 actually rotating 11.25 degrees 2021-04-17 12:37:04 -04:00
jordan4ibanez e8148f81ab Make underwater mobs try to continuously swim around with quick_rotate_45 2021-04-17 12:36:19 -04:00
jordan4ibanez 061602d9d4 Overhaul separation of swimming and flying for ease of use with writing mobs api 2021-04-17 12:28:07 -04:00
Lizzy Fleckenstein f79e12c8ae Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-04-17 18:16:19 +02:00
Lizzy Fleckenstein 5c928575f8 Fix #1572, server crash during login 2021-04-17 18:15:45 +02:00
jordan4ibanez 5365dec19a Adjust "flying" vector checks for mobs 2021-04-17 12:01:27 -04:00
Lizzy Fleckenstein 8e37b51cac Equip mob heads with rightclick 2021-04-17 14:07:47 +02:00
Lizzy Fleckenstein 6724a8d0ed Fix crash in damage handler 2021-04-17 13:59:46 +02:00
NO11 06699c2cc4 Fix that an ax wears out if you right-click another block 2021-04-17 11:55:50 +00:00
Lizzy Fleckenstein 6bbea11fb8 Fix crash with mcl_heads 2021-04-17 13:53:41 +02:00
Lizzy Fleckenstein c7c47c1ca7 Increase mob_view_range_factor performance 2021-04-17 13:49:40 +02:00
Lizzy Fleckenstein d952423dda Improve wielditem performance and fix wielditems sometimes showing duplicate 2021-04-17 13:24:30 +02:00
Lizzy Fleckenstein 4d515e95c6 Remove wieldview 2021-04-17 12:58:40 +02:00