Commit graph

6492 commits

Author SHA1 Message Date
NO11
fed43586f2 fix typo 2021-09-19 11:28:07 +00:00
NO11
18a83fa5d7 Fix typo 2021-09-19 11:18:09 +00:00
NO11
0e15accada Enable fly in creative mode 2021-09-19 11:15:19 +00:00
Elias Fleckenstein
27e4bd6d09 Fix burning entity packet spam
- Use upright_sprite for 3rd person flame display, which is both closer to minecraft and allows for client side texture animation
- Take care of flame HUD in the MineClone2Client
2021-09-18 22:28:20 +02:00
Nils Dagsson Moskopp
256de2bc36 Log warning for non-serializable item entity fix 2021-09-15 18:10:40 +02:00
sfan5
693a5317ef Fix non-serializable item entity unload crash
Some items, like shulkers or books, can have so much metadata that the
corresponding item entity can not be serialized by the Minetest engine.

Without this patch, dropping such an item and then moving away crashes
Minetest, as it can not serialize the entity with serializeString16()
when unloading a map block.

The patch resets the overlong metadata of non-serializable item entities.
This avoids a crash and makes it possible to retrieve a “sanitized” item
without metadata when the mapblock containing the item entity is reloaded.

Originally sfan5 guessed the maximum possible item entity serialization size
that would not lead to a crash as 65530 bytes, but anon5 calculated it to be
actually 65487 bytes. This has been experimentally verified by erlehmann.
2021-09-15 18:10:32 +02:00
Nils Dagsson Moskopp
95c4d6472b Send FOV packets only when necessary
Before this change, about 10 to 30 FOV packets were sent from the server
to each connected client each second. This patch only sends FOV packets
when the FOV actually needs to be changed, i.e. when the player starts
or stops sprinting.
2021-09-15 18:08:58 +02:00
Wuzzy
1c192f4fbb Do not send useless HUDCHANGE packets
Several mods set or unset the visibility of a HUD bar way too often (e.g.
in a globalstep handler), causing the server to send a lot of superfluous
HUDCHANGE packets to each client. Returning from hb.hide_hudbar() early
if HUD bar visibility would not change prevents sending these packets.
2021-09-15 17:47:35 +02:00
NO11
1a5339e907 Only use the shears once in dispenser if there are more mobs in front of the dispenser 2021-09-08 14:22:53 +00:00
NO11
aa930dc2b8 Merge pull request 'Fix strange behaviour when filling end portal with bedrock inside (#1749)' (#1853) from NO11/MineClone2:end_portal into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1853
2021-09-07 18:04:05 +00:00
NO11
79463738f6 Merge pull request 'Make it possible to use shears in the dispenser for mobs (Fix #1233)' (#1854) from NO11/MineClone2:dispenser into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1854
2021-09-07 18:03:19 +00:00
NO11
79d8593d34 Merge pull request 'Destroy objects near cactus faster (make it possible to throw items at a cactus)' (#1856) from NO11/MineClone2:cactus into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1856
2021-09-07 18:00:53 +00:00
NO11
dc8436fdf9 Destroy objects near cactus faster (make it possible to throw items at a cactus) 2021-09-06 14:34:25 +00:00
NO11
f41cea71fd Make it possible to use shears in the dispenser for mobs (Fix #1233) 2021-09-06 13:30:08 +00:00
NO11
5fedd914fb Fix strange behaviour when filling end portal with bedrock inside (#1749) 2021-09-04 19:14:08 +00:00
Elias Fleckenstein
a8d09338a9 Merge pull request 'Added spawn egg for killer rabbit' (#1704) from talamh/MineClone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1704
2021-09-04 10:21:18 +00:00
NO11
872e3e74d3 Merge pull request 'Make cactus mechanisms more MC like (Fix #1741)' (#1851) from NO11/MineClone2:cactus into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1851
2021-09-03 16:20:14 +00:00
NO11
bf62eb33fa Change label of cactus abm 2021-09-03 14:06:21 +00:00
NO11
0da7b3fbda Make cactus mechanisms more MC like (Fix #1741) 2021-09-02 20:38:01 +00:00
NO11
ca086109bf support tables for _repair_material 2021-08-31 21:04:57 +00:00
NO11
f0af15fcd8 Make anvil selection/collision box more MC like 2021-08-26 10:14:57 +00:00
AFCMS
af8e88f44c fix error in mcl_title documentation 2021-08-24 08:25:42 +02:00
AFCMS
2d1a43396f Merge pull request 'Title HUD API' (#1778) from title-API into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1778
2021-08-20 12:31:54 +00:00
AFCMS
df4b8e64cc finish mcl_title API + doc 2021-08-19 19:21:33 +02:00
AFCMS
40898d3e9d WIP bold and italic support 2021-08-16 14:19:50 +02:00
AFCMS
58a292a4f3 fix inconsistency 2021-08-16 13:48:08 +02:00
AFCMS
fe62189019 Update French translation (part 1) 2021-08-13 11:35:18 +02:00
NO11
cb55c36863 Correct the texture of anvils
Because of the new node_nox, the textures have to be a little bit bigger.
2021-08-11 15:44:43 +00:00
NO11
f8dcf05670 Add MC like nodebox for anvils 2021-08-11 15:41:45 +00:00
NO11
664c238137 Add german translation for the bow/fishing rod desc 2021-08-06 10:52:55 +00:00
Elias Fleckenstein
efab5a1cf5 Merge pull request 'Fix warning in mcl_end' (#1834) from Emojigit/MineClone2:fork-20210710-fixwarn into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1834
2021-08-06 10:45:33 +00:00
Emily
5bb57a81ad Add durability tooltip to translation template 2021-08-06 11:55:27 +02:00
Emily
df0c1f1dd1 Make bows and fishing rods show their durability in description (Fixes issue #1773) 2021-08-06 11:14:17 +02:00
NO11
5c563d6ffd Make eating particles much more MC like! 2021-08-02 12:24:34 +00:00
NO11
4aabd7d9e7 Make size/position of potion HUD more MC like 2021-08-01 12:10:00 +00:00
Elias Fleckenstein
88f253bf66 Merge pull request 'raycast based buckets' (#1811) from buckets into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1811
2021-07-26 16:59:15 +00:00
NO11
4846076c8f mcl_item_id simplify code 2021-07-24 19:07:44 +00:00
NO11
5c5c405ccf Add missing check 2021-07-24 15:19:10 +00:00
NO11
65d33b935a Add API-md for mcl_item_id 2021-07-24 14:45:55 +00:00
NO11
c05e57efb1 Fix some crashes with set_mod_namespace and bugs 2021-07-24 14:09:47 +00:00
NO11
e44e9eaf62 Fix typo 2021-07-23 21:35:10 +00:00
NO11
09a68443cd Better fix for #1842 (make other mods not using "mineclone" name space for item ids) 2021-07-23 16:12:43 +00:00
NO11
75b425ffd7 Fix #1842 make other mods not using "mineclone" name space for item ids 2021-07-23 12:23:30 +00:00
NO11
a44d9643ae Fix several problems in mcl_item_id 2021-07-22 19:23:48 +00:00
AFCMS
a47630035d Merge branch 'master' of ssh://git.minetest.land:29418/MineClone2/MineClone2 2021-07-22 13:44:14 +02:00
AFCMS
667ef5cad5 cache doc modpath 2021-07-22 00:46:43 +02:00
AFCMS
fef23d0b6f fix missing depend to mcl_credits of mcl_portals 2021-07-22 00:39:05 +02:00
NO11
a0d52010bf Fix that aliases attemp to register mineclone:book_enchanted again and again 2021-07-21 22:16:37 +00:00
AFCMS
44063bca93 Merge branch 'master' into buckets 2021-07-21 18:21:27 +02:00
AFCMS
e58bb6d859 Merge branch 'master' into title-API 2021-07-21 18:21:16 +02:00