Commit Graph

915 Commits

Author SHA1 Message Date
AFCMS
c7389dc0a4 add basic API to mcl_item_entity 2021-03-28 08:13:24 +02:00
AFCMS
8c002671c0 make helmet protect from falling anvils 2021-03-26 18:24:08 +01:00
AFCMS
9c8ec7d4ec Merge branch 'master' into anvil-entity-damage 2021-03-26 17:40:55 +01:00
Elias Fleckenstein
6f8d0d4de0 Fix #1375 2021-03-26 17:51:13 +01:00
AFCMS
041300cde4 remove unuseful code 2021-03-26 17:39:25 +01:00
AFCMS
88fc515cff make mobs take damage of falling anvils 2021-03-26 17:38:25 +01:00
Elias Fleckenstein
97991d138c Revert "Do a secre thing even more secret then the secret thing of secret"
This reverts commit 630e7e8acb.
2021-03-25 17:34:03 +01:00
Code-Sploit
630e7e8acb Do a secre thing even more secret then the secret thing of secret 2021-03-25 16:20:02 +00:00
Elias Fleckenstein
d555fce8bc Bruh. kay27 has 20 times more commits than you.
This reverts commit 322578df6a.
2021-03-25 17:29:15 +01:00
Code-Sploit
322578df6a Something even more secret! 2021-03-25 16:03:54 +00:00
epCode
dbc6dd8cb3 Add villager sounds 2021-03-25 08:52:32 -07:00
Elias Fleckenstein
46c6328432 Something secret :P 2021-03-25 09:24:38 +01:00
Elias Fleckenstein
a47eda44e9 Slimes can burn 2021-03-24 08:54:23 +01:00
Elias Fleckenstein
fe937665f9 Fix #1336 2021-03-24 08:27:31 +01:00
epCode
01df02667b Make setting for swim on lava 2021-03-21 17:53:57 -07:00
kay27
03feb36558 Improve Nether Portals (#1315) (as a squash)
Remove Nether portal caches, https://git.minetest.land/MineClone2/MineClone2/issues/1210

Store all exits from Nether portals in quick-access table

Implement proper Nether portal search, using the table, https://git.minetest.land/MineClone2/MineClone2/issues/1055

Store Nether portal exits table in mod storage

Remove exits from table on Nether portal destruction

Align destination area to [map chunks 5x5x5](https://git.minetest.land/MineClone2/MineClone2/wiki/World-structure%3A-positions%2C-boundaries%2C-blocks%2C-chunks%2C-dimensions%2C-barriers-and-the-void) to avoid lots of ```emerge_area()``` calls

Support Nether roof, https://git.minetest.land/MineClone2/MineClone2/issues/1267

Implement better suitable place search, https://git.minetest.land/MineClone2/MineClone2/issues/1126

Implement object queue not to trigger the same search again

Avoid lava lakes, https://git.minetest.land/MineClone2/MineClone2/issues/1126

Add ```/spawnstruct nether_portal``` chat command
Co-Authored-By: kay27 <kay27@noreply.git.minetest.land>
Co-Committed-By: kay27 <kay27@noreply.git.minetest.land>
2021-03-21 23:14:33 +00:00
Elias Åström
1873080046 Remove unnecessary code in mcl_item_entity 2021-03-20 14:21:50 +01:00
Elias Fleckenstein
67cedf1308 Fix villager visual_size (Closes #1338) 2021-03-19 14:32:02 +01:00
Elias Fleckenstein
ecd27a4cdb Initialize burning HUD with proper texture 2021-03-19 11:41:29 +01:00
Elias Fleckenstein
55df2a57f4 Fix #1336 2021-03-19 11:40:46 +01:00
Elias Fleckenstein
4ff987ccc5 Remove burning sound for objects 2021-03-19 11:39:04 +01:00
epCode
d02fc0c83d Re-Enable Skeleton horse spawn egg 2021-03-18 23:12:21 +00:00
ZeDique la Ruleta
b71566aad6 Updated horse texture 2021-03-18 19:08:27 -04:00
ZeDique la Ruleta
2571c6124b Added copyright-safe skeleton horse texture
- Added proper skeleton horse texture edited from the default Pixel Perfection horse, similar to MC but not the same
2021-03-18 18:51:19 -04:00
Elias Åström
8d473a42ca Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-03-18 14:04:02 +01:00
Elias Åström
bfe51316ee Merge branch 'mcl_autogroups' 2021-03-18 13:43:58 +01:00
Elias Fleckenstein
0e206e9974 Fix #1324 2021-03-18 12:38:54 +01:00
Elias Fleckenstein
413fbc9c60 Make boats burn (Fix #1318) 2021-03-18 12:31:25 +01:00
Elias Åström
cff0130506 Rename _mcl_autogroup_groupcaps to _mcl_diggroups 2021-03-18 11:35:40 +01:00
Elias Åström
e77473e800 Make changes to the mcl_autogroup API
Group levels are now specified as a list of names when registering a
digging group.  Digging groups which do not have specified levels will
support tools having two levels, 0 and 1 where 0 means the tool can dig
but not harvest the node and 1 means it can also harvest the node.  If
more levels are required one has to specifiy them when registering the
digging group.
2021-03-18 11:35:40 +01:00
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
epCode
61ef6ebc03 Remove skeleton horse from immediate game 2021-03-17 22:54:04 +00:00
epCode
e52d58d15a Remove skeleton horse texture for copyright reasons
see #1322
2021-03-17 22:50:22 +00:00
Elias Åström
7441f0269b Use get_node_light for sunlight in 5.3
Avoids servers running 5.3 crashing.
2021-03-17 09:12:02 +01:00
Elias Åström
0805431231 Fix #1293 2021-03-16 23:51:20 +01:00
AFCMS
6645c4cb30 Really 2021-03-16 17:43:32 +01:00
AFCMS
5d17a6b699 fix SO MANY pairs/ipairs 2021-03-16 17:35:46 +01:00
kay27
cad23bd851 Prevent accessing uninitialized mcl_weather from mcl_burning 2021-03-16 14:05:38 +04:00
epCode
dd7facfc03 Remove Zombie horse from immediate game 2021-03-13 23:19:28 +00:00
epCode
1bdf141198 Delete Zombie horse for copyright reasons 2021-03-13 23:17:50 +00:00
Elias Åström
69e38debe5 Revert "Slightly tweak minecarts to be more MC-like"
This reverts commit 8af76f835d.
2021-03-13 12:30:33 +01:00
epCode
cb10a5508b Make mob damage more red (MC-like) 2021-03-11 19:40:36 -08:00
epCode
d12009538e Better mob_mount animations (riding) 2021-03-10 12:27:42 -08:00
AFCMS
3635b848d5 add API for mcl_wip 2021-03-07 00:42:34 +01:00
Elias Fleckenstein
d57db0444f Use mod.conf in all mods, part 1 2021-03-04 15:22:14 +01:00
Elias Fleckenstein
f5b590901e Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-03-01 10:52:07 +01:00
Elias Fleckenstein
95b0a495bc Fix #1152 2021-03-01 10:51:57 +01:00
kay27
8af76f835d Slightly tweak minecarts to be more MC-like 2021-03-01 01:43:00 +04:00
Elias Fleckenstein
8d5b2ff714 Make boats less annoying on ice 2021-02-27 14:38:53 +01:00
MysticTempest
2ace4ccc68 Fix endermen teleporting in the rain in the end per issue #1169. 2021-02-25 21:48:37 -06:00