Commit Graph

7526 Commits

Author SHA1 Message Date
Sumyjkl
70aca4c3ca fix infinite bobbing 2022-07-22 16:19:50 +10:00
Sumyjkl
9daac0aff1 make items float in water sources 2022-07-22 15:34:58 +10:00
cora
acbf043df0 Check 3 nodes above for enderman spawn 2022-07-22 03:27:41 +02:00
cora
2ba1a40820 Add ghasts specific spawning conditions 2022-07-22 03:27:41 +02:00
cora
94f0d679f2 Add can_spawn callback in mob api 2022-07-22 03:27:41 +02:00
cora
32ac2ffeb8 remove unused alias_mob function 2022-07-22 03:27:41 +02:00
Sumyjkl
68e1fdde36 fixed comment about creative 2022-07-22 03:27:41 +02:00
Sumyjkl
fbfc53ff42 eat sound will play even when feeding in creative 2022-07-22 03:27:41 +02:00
Sumyjkl
d8172e404e wolf when tamed will retain its health and not heal to full hp 2022-07-22 03:27:41 +02:00
Sumyjkl
3852c0297f changed API to recognise sitting order, added animations for sitting and idle, dog will no longer walk around while in sit mode 2022-07-22 03:27:41 +02:00
Sumyjkl
c60002b18d set tamed 2022-07-22 03:27:41 +02:00
Sumyjkl
4920ef0fd5 allow wolf to be bred like other animals 2022-07-22 03:27:41 +02:00
cora
96b628d418 Sheep run away when hit 2022-07-22 03:27:41 +02:00
cora
69c689bfb7 make llamas retaliate by spitting.
it's a bit picky when and how it will spit still but works.
2022-07-22 03:27:41 +02:00
cora
b7a0460b15 Reset aggro when player far 2022-07-22 03:27:41 +02:00
SumianVoice
cfb6b6003c Update api.lua 2022-07-22 03:27:41 +02:00
SumianVoice
a6eae1e95e don't tame baby animals yet 2022-07-22 03:27:41 +02:00
SumianVoice
682b61ad4a make sure you can't heal and tame at the same time 2022-07-22 03:27:41 +02:00
SumianVoice
524da8a6cb move heal under tame so that you can tame an animal and then heal it, like in MC 2022-07-22 03:27:41 +02:00
SumianVoice
e6a97031ef remove unnecessary check 2022-07-22 03:27:41 +02:00
SumianVoice
120b096fc8 move self.food check 2022-07-22 03:27:41 +02:00
SumianVoice
9d52fed357 non-tamable mobs will not send tame param to feed_tame func,
changed event flow so it tries in order: heal, tame, breed, grow child
2022-07-22 03:27:41 +02:00
SumianVoice
e5c1da4380 make it check not child, since the return statement was removed 2022-07-22 03:27:41 +02:00
SumianVoice
a07a5b24bd animals don't take food from player unless it is used for something 2022-07-22 03:27:41 +02:00
SumianVoice
c626c977d1 Update api.lua 2022-07-22 03:27:41 +02:00
cora
e1130a105f fix wrong sound position 2022-07-21 12:03:46 +02:00
SumianVoice
a35ec2e994 Merge branch 'master' into add_shadow_on_dirt 2022-07-21 10:02:17 +00:00
Sumyjkl
cf8bbfef7b add similar shading to podzol, change to overlay for adding shading to grass 2022-07-21 19:53:39 +10:00
MysticTempest
2fd9e2ad53 Implement slimeblock piston launchers:
Adds the mechanic of launching entities standing on, or in
front of slimeblocks; which are attached to, and pushed by pistons.
2022-07-21 02:30:30 -05:00
Sumyjkl
16d65d25f2 added exact replica shading to grass block 2022-07-21 00:47:01 +10:00
Sumyjkl
f214e2c1ad make snow dirt shadow less intense 2022-07-20 22:37:14 +10:00
Sumyjkl
f9602c3ebb add shadow under grass and snow texture 2022-07-20 22:32:22 +10:00
cora
54337e9854 never show nitwit trading formspec 2022-07-19 11:46:28 +02:00
cora
37114e7d1a Add API documentation 2022-07-19 11:15:08 +02:00
cora
ac45ed8a0a coord and biome use api too, fields well ordered 2022-07-19 11:15:08 +02:00
cora
7e6daa0e60 Add api to register custom debug fields
also add node info as first fields
2022-07-19 11:15:08 +02:00
cora
39b9a058e9 Save persistent setting in player meta 2022-07-19 11:15:08 +02:00
cora
00ef88e01c fix mistakes from mcl5 import, clean up output 2022-07-19 11:15:08 +02:00
kay27
d5b2e60e32 #278 Rename default_dbg to default_debug 2022-07-19 11:15:08 +02:00
kay27
cb2852e88f #233 Add /debug chat command 2022-07-19 11:15:08 +02:00
kay27
47719872e4 [hud] Show player biome and position 2022-07-19 11:15:08 +02:00
SumianVoice
d54d8fc657 Merge branch 'master' into swimming_fix 2022-07-19 02:32:19 +00:00
cora
d89ef0581f Optimize ABMs 2022-07-18 22:28:02 +02:00
cora
0298cecbcd change dripping entities to particles 2022-07-18 22:28:02 +02:00
cora
da4aa9bc35 improve crying obsidian visuals 2022-07-18 22:21:58 +02:00
SumianVoice
1e41f403d3 Merge branch 'master' into swimming_fix 2022-07-18 05:03:46 +00:00
cora
a3596d22e3 Fix nether dust particles using wrong setting 2022-07-18 05:30:37 +02:00
cora
68d45ff606 Remove MushroomIsland from several mobs spawn list 2022-07-18 02:11:48 +02:00
cora
bf756403a3 Fix animals attacking players for no reason 2022-07-18 00:10:23 +00:00
cora
99037cb0ec adapt several mob spawning conditions to mc 2022-07-18 00:10:23 +00:00
cora
1087d9e54b Implement mc like mob cap 2022-07-18 00:10:23 +00:00
cora
2d3f4531c9 Add mob spawning debug command 2022-07-18 00:10:23 +00:00
cora
987ae3c6e8 Fix mobs spawning inside nodes 2022-07-18 00:10:23 +00:00
cora
3a32e4e4e9 Never spawn mobs on bedrock 2022-07-18 00:10:23 +00:00
cora
9883a37754 Enable group spawning for all mobs, add mc values 2022-07-18 00:10:23 +00:00
cora
a68343b71d Add group spawning minimum attribute 2022-07-18 00:10:23 +00:00
cora
a077e4535f Fix non-monsters being unable to attack
A check in the relevant function excluded all non-monsters from
looking for targets to attack. This removes that check and relies
on the passive attribute of the entity
2022-07-18 00:10:23 +00:00
SumianVoice
194d8525c4 Merge branch 'master' into swimming_fix 2022-07-18 00:09:47 +00:00
SumianVoice
de0a78012d fix getting stuck under non-opaque blocks 2022-07-18 10:09:04 +10:00
cora
a49e66dbd3 Detection radius is 20 according to the wiki 2022-07-17 23:42:34 +02:00
cora
e9ad2cfe11 Make parrots imitate nearby mobs 2022-07-17 23:34:39 +02:00
SumianVoice
0158681cf8 Merge branch 'master' into swimming_fix 2022-07-17 13:15:18 +00:00
Sumyjkl
9062a6e22e add node_head_top to check to make sure you won't clip through blocks before going out of swim / fly mode 2022-07-17 23:14:24 +10:00
Sumyjkl
a41cbb7ebf added comment and removed unnecessary code 2022-07-17 22:50:22 +10:00
Sumyjkl
4738834ddd remove unecessary code 2022-07-17 22:40:33 +10:00
Sumyjkl
2e06e22d70 removed unnecessary node_above_head variable 2022-07-17 21:50:22 +10:00
Sumyjkl
e4c7d575fc take no damage when swimming near roof, no ability to no-clip through roof when swimming 2022-07-17 21:46:36 +10:00
cora
0b157c953f fix wrong argument to sound_play 2022-07-16 12:12:28 +00:00
cora
bf23c61e34 skip damage completely when player & pvp disabled 2022-07-16 12:12:28 +00:00
cora
77d834ac5e Add PVP check to tipped arrows 2022-07-16 12:12:28 +00:00
cora
b7f8a75d04 Add PVP check for rocket arrows 2022-07-16 12:12:28 +00:00
GNU Hacker
454d7e8b04 arrow check if pvp is enable 2022-07-16 12:12:28 +00:00
cora
8ff559d4ad Add ancient debris as normal ore 2022-07-16 02:07:17 +02:00
Ale
27482ede7f update locale es 2022-07-15 22:55:03 +00:00
cora
ee9cc5341b Fix villager crash when opening iron doors 2022-07-15 22:11:07 +00:00
cora
aab3180269 clear empty nametag as well as nil 2022-07-15 04:40:12 +02:00
cora
e271e87aca fix indentation 2022-07-14 17:32:43 +02:00
cora
dae4a99a85 Add soul lantern recipe 2022-07-14 15:39:37 +02:00
cora
455fac9350 Add schematics by RandomLegoBrick and PrarieWind 2022-07-14 13:51:46 +02:00
cora
8cad4a6886 Add ruined portals 2022-07-14 13:38:20 +02:00
cora
931cb2b991 Add fallen tree logs 2022-07-14 06:59:47 +02:00
cora
9e60d24fe0 Never spawn mobs on leaves 2022-07-13 16:45:41 +02:00
cora
8d9c5059f3 Fix wither dupe
faulty on_place would not removed placed wither skelly head from
inv. This also prevents the execution of the schematic checking
routine if there is no soul sand under the head.
2022-07-12 23:11:00 +02:00
cora
2b835221a7 Make them spawn at (somewhat) random positions 2022-07-12 01:30:41 +02:00
cora
571c57e891 Add updated woodland outpost schematic 2022-07-12 00:44:39 +02:00
cora
33739dc5af Woodland cabin mob spawning 2022-07-12 00:32:53 +02:00
cora
c1686923d3 Fix crash when no group spawning positions found 2022-07-11 22:31:35 +02:00
cora
489db73dca Merge pull request 'Mud fixes' (#2413) from TheRandomLegoBrick/MineClone2:mud_fixes into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2413
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-07-11 20:31:01 +00:00
TheRandomLegoBrick
408c72e4bf Mud fixes 2022-07-11 08:24:42 -07:00
NO11
a16613f31c Fix #2336 (interaction bug when opening chests) 2022-07-11 09:14:14 +00:00
MysticTempest
484ad2b630 Replace all melon/pumpkin stems in woodland_cabins with unconnected variants. 2022-07-09 19:35:51 -05:00
cora
4a4636523e Add new mobs to translation template. 2022-07-09 22:14:37 +02:00
cora
e9b72083b3 Fix translator modnames 2022-07-09 02:30:48 +02:00
cora
aed96a4912 Add original dolphin texture
cc0 by cora
2022-07-09 02:30:48 +02:00
cora
f202ed8327 spawn in groups 2022-07-09 02:30:48 +02:00
cora
44abef44e1 Make fish buckets work with water mobs 2022-07-09 02:30:48 +02:00
PrairieAstronomer
88cdc9baf3 Add Fish Buckets 2022-07-09 02:30:48 +02:00
PrairieAstronomer
27ea6087c7 Tactical Fishing Advancement 2022-07-09 02:30:48 +02:00
cora
ae0eb85ffc Add salmon, cod and dolphin from mcl5 2022-07-09 02:30:48 +02:00
RandomLegoBrick
5ceffe1a3c Merge branch 'master' into mud 2022-07-08 22:42:38 +00:00