Commit Graph

7576 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
cora
de9056ae62 Fix child mobs collision boxes 2022-07-08 23:57:02 +02:00
cora
08a1ecd879 Don't take extra bread when feeding 2022-07-08 23:57:02 +02:00
cora
bcb76f7bd2 correctly lock job when traded 2022-07-08 23:57:02 +02:00
cora
8fe40fcd26 remove old debug line 2022-07-08 23:57:02 +02:00
cora
98c48dab8c abolish child labor 2022-07-08 23:57:02 +02:00
RandomLegoBrick
31e53ceff0 Merge branch 'master' into mud 2022-07-08 17:33:10 +00:00
TheRandomLegoBrick
05186c9a19 Non-copyright-infringey mud texture 2022-07-08 10:31:38 -07:00
TheRandomLegoBrick
dfd16d1110 Add license 2022-07-08 10:02:06 -07:00
TheRandomLegoBrick
c26a9aded5 Add mud sounds 2022-07-08 09:18:42 -07:00
PrairieAstronomer
0ecffaf472 Added README.md file to mcl_campfires 2022-07-08 02:37:20 +02:00
cora
3c2633ee2c Simplify my own mess... remove code dupe
i'll fix this in cauldrons too, promise
2022-07-08 02:37:20 +02:00
PrairieAstronomer
f0241bbf6a Added extinghuishing sound when extenguished with a shovel. 2022-07-08 02:37:20 +02:00
PrairieAstronomer
67494f8905 Added Burning Players and Entities to Campfires. 2022-07-08 02:37:20 +02:00
PrairieAstronomer
e9fe5c1377 Fixed Crafting Recipes 2022-07-08 02:37:20 +02:00
PrairieAstronomer
5de3c7977c Campfire Inventory Textures by RandomLegoBrick 2022-07-08 02:37:20 +02:00
PrairieAstronomer
465d91036f Added Campfire to Fisherman Villager Trades 2022-07-08 02:37:20 +02:00
PrairieAstronomer
3786c46b30 (Soul) Campfires
Adds soul and nomal campfires. Code start and models from issue 505. Textures are all PixelPerfection.
2022-07-08 02:37:20 +02:00
PrairieAstronomer
f141427dfe Added README.md File with Media License 2022-07-08 00:09:39 +00:00
PrairieAstronomer
41be8a5a85 Stonecutter Texturs, by RandomLegoBrick 2022-07-08 00:09:39 +00:00
PrairieAstronomer
d9a25552d8 Stone Cutter
Adds the stonecutter block.
2022-07-08 00:09:39 +00:00
TheRandomLegoBrick
cbe0f80d68 Move redundant water bottle code to functions 2022-07-07 16:50:51 -07:00
TheRandomLegoBrick
06f8688f26 Improve mud bricks and packed mud textures 2022-07-07 15:16:43 -07:00
TheRandomLegoBrick
f3dd3e92fa Add various mud brick blocks 2022-07-07 11:54:36 -07:00
TheRandomLegoBrick
4f1960d6ef Fix mod.conf 2022-07-07 08:29:32 -07:00
TheRandomLegoBrick
0414493f5c Fix hardness and blast resistance for packed mud 2022-07-06 20:27:13 -07:00
TheRandomLegoBrick
be1427205e Move progress to separate mod and add packed mud 2022-07-06 13:14:29 -07:00
TheRandomLegoBrick
0142b58edc Allow dispensers to convert dirt to mud 2022-07-06 12:43:54 -07:00
TheRandomLegoBrick
973dc7fa41 Add mud 2022-07-06 12:14:21 -07:00
TheRandomLegoBrick
24ab7ff825 Add mud block 2022-07-06 11:33:25 -07:00
cora
f98242bb0c Do not emerge while making railcorridors
it turns out to work fine without
2022-07-06 01:43:21 +02:00
cora
31289f5686 villagers that haven't traded loose job on js gone 2022-07-05 23:47:30 +02:00
cora
672b9dbedf make pathfinding to jobsite more smooth 2022-07-05 23:47:30 +02:00
cora
dd5e9afbd9 villagers only get a job when they touch jobsite 2022-07-05 23:47:30 +02:00
cora
21d5ab88a5 comment out natural villager spawning 2022-07-05 23:47:30 +02:00
PrairieWind
dc75a4d854 Merge pull request 'Fix loom and fletching table textures' (#2383) from MrRar/MineClone2:loom into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2383
Reviewed-by: PrairieWind <prairie.astronomer1@gmail.com>
2022-07-05 18:59:59 +00:00
Johannes Fritz
236c1ce760 Fletching table: add missing bottom texture 2022-07-05 13:26:53 -05:00
cora
efad7dad24 clean up 2022-07-05 11:19:47 +02:00
cora
27a945b8f3 Tweak crying obsidian particles 2022-07-05 11:19:47 +02:00
cora
daa95e3688 replace dirt and gravel too for even less clumps 2022-07-05 00:12:23 +02:00
cora
889e72c50d don't dig amethyst by water 2022-07-05 00:12:23 +02:00
cora
ea99341f94 make geode inside smoother 2022-07-05 00:12:23 +02:00
cora
4b95185fba make geodes less cube shaped (sometimes) 2022-07-05 00:12:23 +02:00
cora
3584d89028 better distribution 2022-07-04 23:07:51 +02:00
cora
40d0c1affb slightly optimize placement 2022-07-04 23:07:51 +02:00
cora
0a2e68d136 spawn carts, make mineshafts a bit less frequent 2022-07-04 23:07:51 +02:00
cora
9f66c9f673 let railcorridors be placed by new api
this makes it a lot faster
2022-07-04 23:07:51 +02:00
cora
a92b405efd Comment out unused cart-checking hackery 2022-07-04 23:07:51 +02:00
cora
db4f2baafc Tweak tsm_railcorridors for faster mapgen
This just does 5 instead of 10 attempts to spawn a corridor in a
chunk. There still appear to be plenty corridors and it makes
mapgen noticeably faster.
2022-07-04 23:07:51 +02:00
cora
d6306d78b8 Merge pull request 'Spawn corals only at -10 and lower' (#2393) from deeper_corals into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2393
Reviewed-by: MysticTempest <mystictempest@noreply.git.minetest.land>
2022-07-04 21:06:33 +00:00
cora
0e6250b2a3 Fix rabbit spawning biomes 2022-07-04 12:50:48 +02:00