Commit Graph

1247 Commits

Author SHA1 Message Date
Saku Laesvuori
4a085c9526 Fix passive mobs despawning
According to the wiki most passive mobs do not despawn. The ones that do
have already been explicity marked as despawning.

<https://minecraft.fandom.com/wiki/Spawn#Despawning>
<https://minecraft.fandom.com/wiki/Mob#Despawning>
2021-04-04 09:15:25 +03:00
epCode
ac87e0604e make ghast firing more MC-like 2021-04-03 18:39:20 -07:00
jordan4ibanez
f8229def5e Merge pull request 'Fix locationless playing when picking up items' (#1457) from jordan4ibanez/MineClone2-PopSounds:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1457
2021-04-04 01:10:19 +00:00
jordan4ibanez
90fd65ac66 Fix locationless playing 2021-04-03 21:09:43 -04:00
epCode
40b07e466b make ghast fireballs deflectible 2021-04-03 18:07:51 -07:00
jordan4ibanez
1b511936f5 Fix local name memory leak 2021-04-03 21:05:31 -04:00
jordan4ibanez
a807ee6372 Adjust the volume even more to perfectly match the gameplay 2021-04-03 20:55:46 -04:00
jordan4ibanez
0641f09915 Adjust volume of item collection sound 2021-04-03 20:53:34 -04:00
jordan4ibanez
c572db92aa Add sound buffer and different item collection sound 2021-04-03 20:39:08 -04:00
jordan4ibanez
844db8aa7b Revert to previous style of interpolated move_to with tweaks 2021-04-02 22:02:19 -04:00
jordan4ibanez
0840ad98a2 Adjust the item collection magnet even more 2021-04-02 21:57:38 -04:00
jordan4ibanez
1cbd3a998d Use manual move_to to account for move_to interpolation issues 2021-04-02 21:50:47 -04:00
jordan4ibanez
61e812e40a Add in manual interpolation into the item magnet 2021-04-02 21:40:04 -04:00
jordan4ibanez
18d7be4a4f More fixes to item collection on laggy servers 2021-04-03 00:42:20 -04:00
AFCMS
ca01b3641b make endermen not teleport everytime when hitted 2021-04-02 15:04:21 +02:00
jordan4ibanez
1e3676c391 Remove debug info from item magnet 2021-04-02 05:38:53 +00:00
jordan4ibanez
2f272b3dff Fix item drop on laggy servers 2021-04-01 23:48:00 -04:00
epCode
0dbe66f3b4 make mob drops similar to MC 2021-04-01 14:12:07 -07:00
epCode
97424f7d0a Fix #1414 2021-03-30 10:24:39 -07:00
AFCMS
3b8916ef65 Merge branch 'master' of ssh://git.minetest.land:29418/MineClone2/MineClone2 2021-03-30 15:48:18 +02:00
AFCMS
c35dab1d08 try to fix crash 2021-03-30 00:59:52 +02:00
AFCMS
59c13b6df8 Revert "Revert "remove hard depend to mcl_wip in mcl_minecarts""
This reverts commit 857a0c55658a316c7adf64815218c36fe6da12e4.
2021-03-30 00:58:45 +02:00
AFCMS
857a0c5565 Revert "remove hard depend to mcl_wip in mcl_minecarts"
This reverts commit 369c8b9b8aed6af23f6e41c7861a55345568b9b1.
2021-03-30 00:58:36 +02:00
AFCMS
41a8cd0e15 Revert "Revert "remove hard depend to mcl_wip in mcl_minecarts""
This reverts commit 7a5c2d617b2af0993965bc1b0be11e3e37b6489d.
2021-03-30 00:58:02 +02:00
AFCMS
7a5c2d617b Revert "remove hard depend to mcl_wip in mcl_minecarts"
This reverts commit 369c8b9b8aed6af23f6e41c7861a55345568b9b1.
2021-03-30 00:57:46 +02:00
AFCMS
369c8b9b8a remove hard depend to mcl_wip in mcl_minecarts 2021-03-30 00:54:58 +02:00
AFCMS
7ec7012572 fix indentation 2021-03-30 00:50:58 +02:00
AFCMS
c70ea7c843 fix crash :-/
I am stupid
2021-03-30 00:49:54 +02:00
AFCMS
f60941003d fix the stupidiest typo ever :-/ 2021-03-30 00:49:05 +02:00
AFCMS
3a514ecdad remove duplicated code 2021-03-30 00:44:38 +02:00
AFCMS
84819bf9f5 MAKE EVERY SINGLE MOD USE PROPER COLORS!!! 2021-03-30 00:01:29 +02:00
epCode
5a7d128861 Add wither functions from MC 2021-03-29 11:29:39 -07:00
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 630e7e8acb517a06aec56cad1839e05728e6f7a4.
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 322578df6a9c1aff193bd41eeeaa7c387c66d737.
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 8af76f835da46c713591893bbda65a4791b68023.
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
kay27
44d3f25767 Leave minecart by Pressing Sneak, https://git.minetest.land/MineClone2/MineClone2/issues/567 2021-02-26 00:26:27 +04:00
Elias Fleckenstein
f04a5a4cc9 Prevent Ender dragon and Wither from despawning 2021-02-25 12:48:17 +01:00
Elias Fleckenstein
0c3ab5843d Make boats go super fast on ice and slightly faster on land 2021-02-24 10:38:49 +01:00
Elias Fleckenstein
0d2950228a Implement #1057 2021-02-24 09:31:27 +01:00
Elias Fleckenstein
2d4b8a8232 Replace usages of get_node_group by get_item_group 2021-02-23 10:25:17 +01:00
Elias Fleckenstein
2d0612fa81 Make boats regenerate health and shake when damaged 2021-02-22 12:43:29 +01:00
Elias Fleckenstein
5de9d90569 Simplify mcl_burning API 2021-02-22 10:55:14 +01:00
kay27
0ba7e4fc4d Fix Runtime error: attempt to index a nil value (api.lua:399 <- is_node_dangerous <- is_at_cliff_or_danger <- on_step_old <- void_damage:16) 2021-02-22 13:40:40 +04:00
epCode
512765a37d Make use_texture_alpha an mobs_mc.entity setting 2021-02-21 17:10:04 -08:00
epCode
af89b95316 Remove unessesary code in slime+magma_cube.lua 2021-02-19 13:25:53 -08:00
epCode
393bc195fb Enable alpha for mobs 2021-02-19 13:11:18 -08:00
Elias Fleckenstein
c9e589b931 Add mcl_burning damage interval 2021-02-18 14:47:35 +01:00
Elias Fleckenstein
aeb7078c05 Update use_texture_alpha to the minetest 5.4 conventions 2021-02-18 14:00:17 +01:00
Elias Fleckenstein
eddef41e6b Fix #1132 2021-02-18 09:41:06 +01:00
Elias Fleckenstein
574ced80a3 Give charged creeper an explosion strength of 6 2021-02-16 09:55:36 +01:00
epCode
903a29f949 Add charged creeper 2021-02-12 16:48:46 -08:00
MysticTempest
0ec64189dc Partial creeper explode distance fix, and fix to stop punching mobs into the air. 2021-02-11 17:27:55 -06:00
kay27
ba9ad48114 Protect paintings, fix https://git.minetest.land/MineClone2/MineClone2/issues/1080 2021-02-09 23:34:04 +00:00
MysticTempest
dc9ca16321 Enable villager spawning. 2021-02-09 06:06:19 -06:00
epCode
6f8d728035 Merge pull request 'master' (#6) from MineClone2/MineClone2:master into master
Reviewed-on: https://git.minetest.land/epCode/MineClone2/pulls/6
2021-02-06 00:10:00 +00:00
kay27
696ae8e6fe Merge pull request 'Fix Mobs not taking knockback on the Y-axis' (#1061) from Code-Sploit/MineClone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1061
2021-02-05 21:41:38 +00:00
kay27
fa3e37c604 A mob does not drop XP unless it dies within 5 s of an attack registered as a player hit, https://git.minetest.land/MineClone2/MineClone2/issues/1021#issuecomment-13894 2021-02-05 16:34:49 +04:00
Code-Sploit
95b0a27213 Fix Mobs not taking knockback on the Y-axis 2021-02-05 10:36:48 +00:00
epCode
e0ad09900c Merge pull request 'master' (#5) from MineClone2/MineClone2:master into master
Reviewed-on: https://git.minetest.land/epCode/MineClone2/pulls/5
2021-02-02 22:19:58 +00:00
MysticTempest
e716ebd911 Make enderman grief less frequently, enable pseudobiome villages by default, and disable natural village generation in singlenode. 2021-02-01 15:45:22 -06:00
Elias Fleckenstein
9956e267aa Allow for 2 drivers in a boat 2021-01-31 12:54:40 +01:00
Elias Fleckenstein
e66d66caf9 Fix #399 2021-01-28 19:02:44 +01:00
Elias Fleckenstein
89ce072621 Sneak to dismount when in boat 2021-01-28 17:44:55 +01:00
HimbeerserverDE
a3ccb54376 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-27 20:13:16 +01:00
HimbeerserverDE
00df587bf7 Add flame enchantment 2021-01-27 20:11:02 +01:00
kay27
7210dfcc1c Make mobs only drop XP orbs when they're killed by hit, attempt to fix https://git.minetest.land/Wuzzy/MineClone2/issues/978 2021-01-27 16:12:34 +04:00
Elias Fleckenstein
97594c89fb Fix #968 2021-01-26 18:51:18 +01:00
Elias Fleckenstein
e05576b3f3 Don't despawn villagers 2021-01-26 18:40:16 +01:00
Elias Åström
174a3a2968 Fix creeper explosions only doing 1/2 heart damage
The solution was to move the creeper explosions to originate from the
center of the creepers collisionbox and not its entity position.
2021-01-26 14:13:30 +01:00
Elias Fleckenstein
0022c9902b Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-25 16:33:41 +01:00
MysticTempest
c1c5ed4869 Fix crash in 'mcl_spawn' in v6,flat,singlenode mapgens; and fix mobs despawning when attacking/following players. 2021-01-24 17:47:28 -06:00
Elias Fleckenstein
a514b97880 Make cleric sell experience bottle 2021-01-24 19:55:33 +01:00
Elias Fleckenstein
76bd139f1b Rise mob spawning distance to 24 (Closes #982) 2021-01-24 19:07:56 +01:00
Elias Fleckenstein
eb01c8e9f8 Give boats HP (Closes #991) 2021-01-24 16:27:04 +01:00
Elias Fleckenstein
f9a82aab05 Implement curing zombie villagers 2021-01-23 15:40:12 +01:00
Elias Fleckenstein
b7c3096364 Spawn villager zombies like in Minecraft 2021-01-22 20:31:58 +01:00
kay27
2e898b3113 Decrease player burn time in Creative mode 2021-01-22 20:03:55 +04:00
MysticTempest
689e6edac2 Make 'mcl_burning' support other texture packs. 2021-01-22 03:07:21 -06:00
kay27
a41e0628e5 Fix https://git.minetest.land/Wuzzy/MineClone2/issues/994 Crash in mcl_mobs 2021-01-21 12:36:33 +04:00
Elias Fleckenstein
b6aabfc853 Fix #992 2021-01-20 16:20:45 +01:00
Elias Fleckenstein
15dd969adf Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-15 17:40:57 +01:00
Elias Fleckenstein
50e90e8c23 Fix #983 2021-01-14 20:00:10 +01:00
Elias Fleckenstein
b338d36d63 Remove the /burn command 2021-01-12 09:19:18 +00:00
Elias Fleckenstein
1f05d8f876 Knockback enchantment working on mobs 2021-01-11 16:38:05 +01:00
Elias Fleckenstein
a9bdb7b509 Fix #969 2021-01-08 14:55:02 +01:00
Elias Fleckenstein
20ab04dfc0 Fix #976 2021-01-08 14:43:49 +01:00
Elias Fleckenstein
7bcc8c1534 Fix #863 2021-01-06 14:50:49 +01:00
Elias Fleckenstein
b616ce734f Fix mobs taking damage from fire and lava even if they shouldn't 2021-01-06 13:31:51 +01:00
Elias Fleckenstein
f68a75f184 Fix #750 2021-01-06 13:28:58 +01:00
Elias Fleckenstein
3a02e90c3a Fix mobs jumping against walls again and again due to a typo 2021-01-06 12:14:20 +01:00
Elias Fleckenstein
f2c978c892 Fix #885 2021-01-06 12:04:02 +01:00
Elias Fleckenstein
fd5f3a8df7 Mobs can't jump while already in air 2021-01-06 11:47:50 +01:00
kay27
bdd0123c77 keep mobs from disappearance 2021-01-06 11:25:56 +01:00
Elias Fleckenstein
52ed7f668e Small mob shoot raycast improvement 2021-01-06 11:18:18 +01:00
Elias Fleckenstein
bc15c9c22d Fix #965 2021-01-06 10:36:57 +01:00
kay27
faa944193a try to fix https://git.minetest.land/Wuzzy/MineClone2/issues/963 2021-01-05 20:45:56 +01:00
Elias Fleckenstein
059629c51f Fix wrong mob spawning distance from player 2021-01-05 20:29:10 +01:00
Elias Fleckenstein
cd1b8e9d2f Fix #962 2021-01-05 20:12:50 +01:00
Elias Fleckenstein
8b92d795d2 Fix #960 2021-01-05 18:05:20 +01:00
Elias Fleckenstein
5899c2059f Fix #860 2021-01-05 18:02:41 +01:00
Elias Fleckenstein
6f49a3d535 Fix #788 2021-01-05 17:52:27 +01:00
Elias Fleckenstein
e7721b91a0 Fix #959 2021-01-05 17:35:06 +01:00
Elias Fleckenstein
8ef14dd81f Fix #872 2021-01-05 17:23:24 +01:00
Elias Fleckenstein
ac54e3caf3 Fix despawning once and for all (hopefully) 2021-01-04 16:40:18 +01:00
Elias Fleckenstein
507f2d872b Fix #949 2021-01-04 14:21:28 +01:00
Elias Fleckenstein
f86cf37ac9 Fix zombies sometimes just disappearing when dieing to fire 2021-01-04 13:30:30 +01:00
Elias Fleckenstein
cfa6937df4 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 into burning_objects 2021-01-04 11:45:06 +01:00
Elias Fleckenstein
c36dc16527 Fix #948 2021-01-04 10:15:28 +01:00
Elias Fleckenstein
10d6ca4107 Change max_hear_distance of fire sound and tweak fire entity size 2021-01-03 18:22:33 +01:00
Elias Fleckenstein
9e97331bdc Fix mobs despawning while close to player 2021-01-03 15:10:50 +01:00
kay27
30379c823c Clean up some spaces in code after merging https://git.minetest.land/EliasFleckenstein03/MineClone2 2021-01-03 00:42:07 +04:00
Elias Fleckenstein
c2521885ff Remove extinguish sound 2021-01-02 14:03:50 +01:00
Elias Fleckenstein
7d45055a59 Remove minetest.env in mcl_mobs API 2021-01-02 12:45:23 +01:00
Elias Fleckenstein
081ae7fbff Make undead mobs burn in sunlight instead of dealing damage directly 2021-01-02 12:43:50 +01:00
Elias Fleckenstein
8ba8f62527 Document fire_resistant and fire_damage_resistant 2021-01-02 12:34:02 +01:00
Elias Fleckenstein
939a73dd77 Remove Licenses from mcl_burning and mcl_enchanting 2021-01-02 11:18:18 +01:00
Elias Fleckenstein
84708c3870 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-02 10:58:02 +01:00
Elias Fleckenstein
fbd4a3a516 Fix burning sound keeping playing 2021-01-02 10:56:40 +01:00
Elias Fleckenstein
212e895c1a Fire Aspect for Mobs 2021-01-01 19:59:34 +01:00
Elias Fleckenstein
2932837951 Fix mobs always dropping cooked loot 2021-01-01 19:52:34 +01:00
Elias Fleckenstein
92bf864807 Fire Aspect 2021-01-01 19:51:31 +01:00
Elias Fleckenstein
071ba77bb0 mcl_burning fully working 2021-01-01 19:25:47 +01:00
Elias Fleckenstein
a6eed5c5b3 Rework system 2020-12-29 22:08:38 +01:00
Elias Fleckenstein
758a3470f3 Fire resistance potion working 2020-12-24 17:55:33 +01:00
Elias Fleckenstein
7545e29f58 Burning objects 2020-12-24 17:48:40 +01:00
Elias Fleckenstein
b017fd7405 Looting actually works now 2020-12-23 19:01:49 +01:00
Elias Fleckenstein
da7240d6c1 looting 2020-12-23 17:41:42 +01:00
MysticTempest
b56ae38939 Make lava/fire wait 2 seconds before destroying items to allow chance for pickup, fix dogs following when sitting, and add some rotation so mobs don't idle at cliffs. 2020-12-22 08:29:24 -06:00
Elias Fleckenstein
6ba3fc869c Make villagers sell enchanted stuff 2020-12-22 12:00:04 +01:00
Elias Fleckenstein
ef9a54872e Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-12-21 17:58:39 +01:00
Elias Fleckenstein
6eeeb83c0d Let enderdragon drop Xp 2020-12-19 15:00:15 +01:00
Elias Fleckenstein
977489de04 Fixed efficiency drops 2020-12-18 17:33:02 +01:00
epCode
771964863b Merge pull request 'master' (#2) from Wuzzy/MineClone2:master into wielditem
Reviewed-on: https://git.minetest.land/epCode/MineClone2/pulls/2
2020-12-18 03:23:52 +00:00
MysticTempest
cb3fa6cd09 Fix magma cubes and zombies not taking damage from hands; and adjust magma cube armors to their proper values. 2020-12-17 16:07:20 -06:00
epCode
44c757ba6e Spawn icons to spawn egg texures 2020-12-17 09:59:34 -08:00
MysticTempest
fb51ab05ea Enable basic mob despawning. 2020-12-17 09:22:34 -06:00
kay27
e7aa873968 Fix https://git.minetest.land/EliasFleckenstein03/MineClone2/issues/3 2020-12-13 03:09:32 +04:00
kay27
5da02bb8cc Merge https://git.minetest.land/EliasFleckenstein03/MineClone2 2020-12-13 03:00:04 +04:00
Wuzzy
0cbbe451d4 Add terrifying enderman noises 2020-12-10 17:52:14 +01:00
Wuzzy
1ca89f699a Add enderman teleport sounds 2020-12-10 16:35:48 +01:00
Wuzzy
d699459bac Fix carrot param2 reset to 0 when ate by rabbit 2020-12-09 22:10:42 +01:00
Wuzzy
d17c53cb0c Fix mob spawn height for real 2020-12-08 22:42:01 +01:00
Wuzzy
6532148f2f Add rabbit sounds 2020-12-08 14:52:38 +01:00
Wuzzy
7abffc5df9 Fix mobs spawning 1.5 nodes above the ground 2020-12-08 01:44:45 +01:00
Wuzzy
9fd27db688 Add new squid death/hurt sounds 2020-12-07 03:01:04 +01:00
Wuzzy
938f62c7c1 Add zombiepig sounds 2020-12-07 01:22:28 +01:00
Wuzzy
9b9ee66b00 Enderman will take nodes only below air 2020-12-07 00:49:46 +01:00
Wuzzy
42155c6bdc Reduce snowman sound volume 2020-12-07 00:06:20 +01:00
Wuzzy
e49e75ece2 Add snowman sounds 2020-12-06 23:32:54 +01:00
Wuzzy
91071e9bc2 Add endermite sounds 2020-12-06 21:15:05 +01:00
Wuzzy
839c22dcfb Change XP drop amount for each mob 2020-12-06 15:46:42 +01:00
Wuzzy
e8cb8a789e Add spider sounds 2020-12-06 13:31:14 +01:00
Wuzzy
92785f7411 Add polar bear sounds 2020-12-06 03:24:32 +01:00
Wuzzy
b163d17a53 Add shears cut sound 2020-12-06 01:21:02 +01:00
Wuzzy
c2fe18def7 Add bone eating sound for wolf 2020-12-06 01:09:55 +01:00
Wuzzy
29d46a5949 Fix wolf eat sound 2020-12-06 00:50:54 +01:00
Wuzzy
e894775943 Tweak zombie/skeleton horse sounds 2020-12-05 23:55:30 +01:00
Wuzzy
9d31ddb30d Baby animals don't drop XP 2020-12-05 23:42:33 +01:00
Wuzzy
b70e58ab05 Add animal eat sound 2020-12-05 23:37:12 +01:00
Wuzzy
da7214bafa Wolf: Bark when tamed, show icon when change order 2020-12-05 22:57:46 +01:00
Wuzzy
376e1c32c5 Add wolf sounds 2020-12-05 22:36:59 +01:00
Wuzzy
22a0b107ba Add flop sound when mob flops on ground 2020-12-05 21:33:37 +01:00
Wuzzy
c7084cb79a Add guardian sounds 2020-12-05 21:22:59 +01:00
Wuzzy
a764298923 Add Wither spawn sound 2020-12-05 20:53:21 +01:00
Wuzzy
bccd91e08f Change mule sounds (=higher pitched donkey sounds) 2020-12-05 19:48:51 +01:00
Wuzzy
99b4ba65c2 Add milking sound for cow and mooshrom 2020-12-05 19:17:15 +01:00
Wuzzy
48582e10d2 Add bat hurt and death sounds 2020-12-05 18:50:43 +01:00
Wuzzy
73744b4fc8 Add donkey sounds 2020-12-05 18:29:35 +01:00
Wuzzy
eee892d78e Make parrots spawn in jungles 2020-12-05 17:56:56 +01:00
Wuzzy
389135f87f Add parrot sounds 2020-12-05 17:14:56 +01:00
Wuzzy
1d0ecd5708 New chicken sounds 2020-12-05 16:44:01 +01:00
Wuzzy
8b09cccfd4 Disable footstep sound of flying/swimming mobs 2020-12-05 14:48:58 +01:00
Wuzzy
312bae6a17 Add parrots back into Creative inventory 2020-12-05 14:45:10 +01:00
Wuzzy
c0ef6e3d5a Add instant_death for mobs 2020-12-05 14:42:03 +01:00
Wuzzy
e23bdca570 Reset mob velocity when surviving flop 2020-12-05 14:20:58 +01:00
Wuzzy
c48371e859 Mobs can't runaway while in flop state 2020-12-05 14:16:07 +01:00
Wuzzy
a9b59816c4 Implement very basic flopping 2020-12-05 14:14:16 +01:00
Wuzzy
cb08062926 Fix some mob-related death bugs 2020-12-05 13:51:29 +01:00
Wuzzy
3a28081683 mcl_mobs: Shorten math.pi 2020-12-05 13:05:12 +01:00
Wuzzy
21310aad59 Fix more death animation bugs 2020-12-05 12:59:12 +01:00
Wuzzy
57e24fc705 Disable object collision of dead mobs 2020-12-05 05:20:43 +01:00
Wuzzy
b6c6602d13 New mob death particle and sound 2020-12-05 05:11:53 +01:00
Wuzzy
ed3afc6e49 Redo the death effect 2020-12-05 04:33:23 +01:00
Wuzzy
411e180477 Use same death_speed for all mobs 2020-12-05 03:52:08 +01:00
Wuzzy
ab7cfa1e43 Improve flight behavior of bat/parrot a little 2020-12-05 03:35:08 +01:00
Wuzzy
9b519cb665 Document mob states 2020-12-05 02:17:39 +01:00
Wuzzy
1362730dbf Mobs don't follow food in hand in love mode 2020-12-05 02:07:43 +01:00
Wuzzy
855fd6b279 Drop XP when breeding 2020-12-05 01:49:15 +01:00
Wuzzy
a56df1e533 Add mobs debug mode 2020-12-05 01:38:10 +01:00
Wuzzy
7913e72e07 Tweak timing of horny timer and child grow time 2020-12-05 01:26:30 +01:00
kay27
945260fa29 quick fix of attempt to index local 'node' (nil value) at mods/ENTITIES/mcl_mobs/api.lua:3392 2020-12-03 23:48:26 +04:00
MysticTempest
09ccfc9802 Copy mcl_item_entity's item flowing code to allow mobs to be pushed by flowing_water, add TenPlus1's mob shoving code, and fix mob swimming breaking recently. 2020-12-03 10:37:44 -06:00
kay27
06c97be4a2 Fix https://git.minetest.land/Wuzzy/MineClone2/issues/880 2020-12-01 20:10:37 +04:00
kay27
e0734952ce quick fix 'not def and def.walkable' 2020-11-28 17:56:37 +04:00
Laurent Rocher
af26f18bd6 Complete French Translation 2020-11-18 23:06:47 +01:00
Elias Fleckenstein
a3cf6b0e5d Blast Protection; Fire Protection; Projectile Protection; Feather Falling; Thorns 2020-11-13 12:21:36 +01:00
Elias Fleckenstein
3d7bb69e81 Bane of Arthropods; Smite; Lure 2020-11-09 18:59:08 +01:00
Elias Fleckenstein
86b2cd70f9 Fortune 2020-11-06 13:46:52 +01:00
Elias Fleckenstein
7c28bf8507 Silk Touch 2020-11-02 19:09:23 +01:00
Wuzzy
a4c2211d87 Merge branch 'enchanting' of https://git.minetest.land/Wuzzy/MineClone2 into master 2020-10-24 11:38:16 +02:00
kay27
30d9e54803 Implement leftovers of https://git.minetest.land/Wuzzy/MineClone2/issues/841#issuecomment-11440 2020-10-24 02:46:45 +04:00
Wuzzy
280f284867 Merge branch 'enchanting' of https://git.minetest.land/Wuzzy/MineClone2 into master 2020-10-23 22:32:35 +02:00
Wuzzy
6b30553707 Merge branch 'cart-acceleration' of https://git.minetest.land/2mac/MineClone2 into master 2020-10-23 22:12:40 +02:00
Wuzzy
4c39224e6f Merge https://git.minetest.land/EliasFleckenstein03/MineClone2 into master 2020-10-23 21:53:42 +02:00
kay27
a127136c60 Add Enchanting from Crafter-minetest by Oil_boi 2020-10-19 16:38:21 +04:00
kay27
446b0e6602 Merge updated Nether portals, https://git.minetest.land/Wuzzy/MineClone2/issues/804 2020-09-21 22:21:46 +04:00
Wuzzy
e361b35724 Fix crash delete item entity with empty itemstring 2020-08-29 10:57:33 +02:00
Wuzzy
731f42ac88 Rename and move texture: tnt_smoke 2020-08-19 18:47:58 +02:00
Wuzzy
f00dc21252 Make dying mobs non-pointable 2020-08-19 18:38:38 +02:00
Wuzzy
28aead0a60 Tweak mob death particles 2020-08-19 18:38:14 +02:00
Wuzzy
e310de1754 Fix Shulker spawnegg typo 2020-08-05 19:59:50 +02:00
Wuzzy
1f8488aba5 Make throwable water bottles useful 2020-08-05 19:00:08 +02:00
Wuzzy
e2735e0081 Fix wrong var name in mcl_mobs 2020-08-05 17:29:52 +02:00
MysticTempest
460d6e837a Fix farm mobs following players slowly, adjust animations to follow suit, increase pig view range slightly, and change the runaway animation from walk to run. 2020-08-03 08:37:58 -05:00
MysticTempest
c63c92f597 Copy upstream's pathfinding out of water, then copy & rework the cliff check into a check for land mobs to avoid water. 2020-07-31 08:35:40 -05:00
Elias Fleckenstein
21c6815839 Added End Crystal 2020-07-25 13:32:35 +02:00
MysticTempest
56958ab0c9 Fix mobs getting stuck in water, fix mobs falling off cliffs, and lower spider speed so cliff_danger check is properly applied. 2020-07-24 21:15:40 -05:00
kay27
ba51686e6c Russian translation 2020-07-20 00:11:13 +00:00
Brandon
1eeb0511de Correct undeclared local obj in enderman line 318 2020-07-19 18:32:33 -04:00
Wuzzy
90cc3b9659 Fix crash in mcl_mobs 2020-07-16 20:26:41 +02:00
Brandon
ad5759a5ad Update method for harming by heal to mob attributes 2020-07-12 16:56:41 -04:00
Wuzzy
99f161ca80 Localize 2 endermen vars 2020-07-11 11:53:58 +02:00
Wuzzy
5125f6d739 Merge branch 'rootyjr_enderman' 2020-07-11 11:32:50 +02:00
Wuzzy
0a5294c0c8 Remove outdated creative mob check 2020-07-10 16:46:47 +02:00
Wuzzy
c106a62979 Use minetest.is_creative_enabled 2020-07-10 16:45:40 +02:00
Booglejr
5472b0403f Fix violent enderman when not in creative mode. 2020-06-21 18:17:59 -05:00
kay27
80fcffcd38 Fix Enderman's teleport by getting less nodes to pass PseudoRandom:next 2020-06-21 13:10:10 -05:00
Brandon
e882dfc3c5 Drop ghast tear and rabbit foot 2020-06-20 10:51:36 -04:00
Rootyjr
7b9a79658d
Attempt to fix more crash errors. 2020-06-16 23:59:16 -05:00
Rootyjr
d19bedc6d2
I think this addresses the crash and also makes enderman more passive during the day. 2020-06-13 14:51:27 -05:00
Rootyjr
a7b9107d31
Fix enderman griefing in protected areas. 2020-06-12 01:22:01 -05:00
rootyjr
046bca1080
implemented ability to detect when seen / break eye contact and aggressive response / implemented teleport to avoid arrows. / implemented teleport to avoid rain. / implemented teleport to chase. / added enderman particles. / drew particles 1 through 5 / added rain damage. / fixed the grass_with_dirt issue. 2020-06-08 00:51:48 -05:00
Wuzzy
d2cacf285d Paintings: Tweak selectionboxes 2020-05-21 04:45:54 +02:00
Wuzzy
3bd160f414 Check protection when placing painting 2020-05-21 04:22:10 +02:00
Wuzzy
f0d511bd4a Paintings: Move closer to wall 2020-05-21 02:16:12 +02:00
Wuzzy
bfd2f0ebc7 Add paintings 2020-05-21 01:51:52 +02:00
Wuzzy
7cfef25dfe Fix undeclared global in mcl_minecarts 2020-05-16 20:13:22 +02:00
Wuzzy
547080bd98 Add a delay before mobs start to suffocate 2020-05-13 22:15:46 +02:00
Wuzzy
1a0e979b0c Update incomplete license information and credits 2020-05-11 17:18:04 +02:00
Wuzzy
26b5b45595 Fix crash when creeper explodes 2020-05-10 14:54:43 +02:00
Wuzzy
c156398fb5 Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
Wuzzy
0c96e512d7 Remove bogus saddle recipe 2020-05-09 00:40:54 +02:00
Wuzzy
aeb7a6cb8b Disable guardian spawning 2020-05-08 17:44:27 +02:00
Wuzzy
fb55d33bfe Fix villager crash when trading w/o inited inv 2020-05-08 17:27:22 +02:00
Wuzzy
2b4a4f8c60 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-05-05 02:11:52 +02:00
Rocher Laurent
4957bd1118 Translate In French 2020-05-03 22:39:07 +02:00
Alexander Minges
beace10136 prevent water mobs to classify solid blocks below them as dangerous 2020-05-03 17:43:44 +02:00
Wuzzy
bc740efafe Add fire explosions 2020-05-02 19:05:56 +02:00
Wuzzy
56d484f69b Make mobs and bed use mcl_explosions 2020-05-02 18:50:25 +02:00
Wuzzy
3087621b11 Merge branch 'mcl_explosions' 2020-04-30 20:55:10 +02:00
Wuzzy
ef20ac54c3 Fix crash when fueling furnace minecart 2020-04-30 18:13:05 +02:00
Elias Åström
cdea2eeabf Change mcl_mobs to enable knockback in y direction 2020-04-19 13:08:36 +02:00
Elias Åström
fd05259202 Make TNT and TNT Minecart use the explosions API
The old api from mcl_tnt is still left in the code, and used by the
mobs.
2020-04-19 13:08:36 +02:00
Wuzzy
6a77a54034 Increase z_index values to match new convention 2020-04-17 21:27:45 +02:00
Wuzzy
3803dba233 Fix invalid portal node names in spawn code 2020-04-16 12:39:18 +02:00
Wuzzy
1db34821a0 Mobs: Fix crash when mob dies to fall or light dmg 2020-04-12 23:11:18 +02:00
Wuzzy
a2785041dd Remove mod startup debug messages 2020-04-11 02:56:46 +02:00
Wuzzy
47cda09073 Implement per-class mob cap 2020-04-11 02:46:03 +02:00
Wuzzy
8e06e4e8b2 Reduce mob_specific mob caps 2020-04-11 01:35:44 +02:00
Wuzzy
a33bd015f5 Reduce max_object_per_block default to 64 2020-04-11 01:14:14 +02:00
Wuzzy
5fe8717fca Fix another crash in Mobs mod 2020-04-08 15:03:03 +02:00
Wuzzy
71c9d20fff Use larger wield scale for tools 2020-04-08 04:07:16 +02:00
Wuzzy
21d5b93baa Remove explicit stepheight from most mobs 2020-04-08 02:35:20 +02:00
Wuzzy
31b367eb83 Fix horse-related crash 2020-04-08 02:29:12 +02:00
Wuzzy
f27615d77e Add z_index to HUD elements 2020-04-07 13:03:10 +02:00
Wuzzy
c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy
28b1d5e8e9 Mobs: Add more nil checks 2020-04-05 21:09:27 +02:00
Wuzzy
e81b5ef58a Another nil check in mcl_mobs 2020-03-30 16:52:36 +02:00
Wuzzy
600eadedea Add nil checks when mob is damaged 2020-03-29 23:24:04 +02:00
Wuzzy
24832c534f Fix crash in horse code 2020-03-24 19:11:25 +01:00
Wuzzy
3cf32c38c5 Villager: Make offered/wanted items unclickable 2020-03-19 12:32:30 +01:00
David McMackins II
59b6385d10 Fix bug where powered rails would not accelerate a fueled minecart 2020-03-17 15:00:12 -05:00
Wuzzy
fb9d0f7a7c Mobs: Drop cooked item if died in fire 2020-03-15 09:07:38 +01:00
wuniversales
3772dd51cc Update Spanish translation 2020-03-15 08:32:00 +01:00
Wuzzy
6b529e1204 Colorize some item tooltips 2020-03-12 02:29:30 +01:00
Wuzzy
feba60cad8 Translate all extended tooltips to German 2020-03-12 01:35:11 +01:00
Wuzzy
03a5519d01 Partial German translation of tooltip extensions 2020-03-11 01:44:23 +01:00
Wuzzy
070e928bf0 Merge branch 'tt' 2020-03-10 18:21:32 +01:00
Wuzzy
03ad3cca29 Major default formspec style update
- Uses formspec_prepend to set e.g. button style
- Make all formspecs use the MCL2 style consistently
2020-03-10 05:01:49 +01:00
Wuzzy
4cb5b26fa9 Fix crash in mcl_mobs 2020-02-25 16:09:26 +01:00
Wuzzy
a375548992 Heal horses differently depending on food 2020-02-23 17:13:52 +01:00
Wuzzy
fbd5374085 Don't drip water+lava thru glass 2020-02-23 16:17:04 +01:00
Wuzzy
401382106f Fix crash when riding player leaves 2020-02-22 20:47:25 +01:00
Wuzzy
4ece91fde4 Make squids larger 2020-02-19 22:28:18 +01:00
Wuzzy
4926f8d443 Mobs: Respect fall_damage_add_percent 2020-02-19 17:24:35 +01:00
Wuzzy
589b750d0a Add tool wear for punching mobs 2020-02-19 16:47:57 +01:00
Wuzzy
ba74546d48 Add extended tooltips 2020-02-19 04:54:17 +01:00
Wuzzy
3118673116 Play sound for equipping horse armor or saddle 2020-02-18 23:49:35 +01:00
Wuzzy
460e7c0c67 3 mob heads reduce mob detection range 2020-02-18 18:12:51 +01:00
Wuzzy
fb251db925 Rename mod: 3d_armor → mcl_armor 2020-02-18 15:44:54 +01:00
Wuzzy
988ca6ffe7 Interpret many damage sources as punches 2020-02-17 18:37:23 +01:00
Wuzzy
e6133ac670 Fix TNT minecart igniting 2020-02-14 21:09:36 +01:00
Wuzzy
bed0849bb0 Add setting: mcl_tnt_griefing 2020-02-05 03:11:32 +01:00
Wuzzy
2ef5f0232d Update minecart German translation 2020-02-05 03:11:07 +01:00
wuniversales
15481cb24d Add Spanish translation 2020-02-04 21:43:50 +01:00
Wuzzy
04c8a08cc4 Ignite tnt minecart by fire charge 2020-01-30 23:11:16 +01:00
Wuzzy
9f344b4307 Detach minecart driver if over activator rail 2020-01-30 22:45:29 +01:00
Wuzzy
1d2da1f01a TNT minecart and activator rail no longer WIP 2020-01-30 22:31:44 +01:00
Wuzzy
9dc9c12f29 Implement TNT minecart 2020-01-30 22:05:18 +01:00
Wuzzy
74b79d130b Add basic implementation of furnace minecart 2020-01-30 20:38:31 +01:00
Wuzzy
d923f71c92 Teach mobs how to not walk into danger ... kinda 2020-01-30 18:04:50 +01:00
Wuzzy
61e148ac2e Fix mobs able to swim in plants 2020-01-30 17:05:39 +01:00
Wuzzy
fcf46b3423 Remove legacy stuff in mcl_mobs 2020-01-30 16:17:29 +01:00