Commit graph

7800 commits

Author SHA1 Message Date
cora
6101de8d68 Fix parrot punch spam 2022-08-11 14:32:58 +02:00
cora
79ce9f89d3 More adaptive foundation height 2022-08-11 14:26:34 +02:00
cora
0bcbea4ce3 Add lots of water lakes to mangrove swamps 2022-08-11 14:26:34 +02:00
cora
b7f26e2ddc Add setting to selectively disable strucutres 2022-08-11 14:26:34 +02:00
cora
4f96b38fa3 Make foundations less cubic 2022-08-11 14:26:34 +02:00
cora
f1c70fe19d grass border for water lake 2022-08-11 14:26:34 +02:00
cora
cef559c573 Fix ruined portals y offset 2022-08-11 14:26:34 +02:00
cora
f86898b2f4 make ruined portals rarer 2022-08-11 14:26:34 +02:00
iliekprogrammar
efd1a023f0
Merge remote-tracking branch 'origin/master' into heads_16_direction 2022-08-11 18:12:19 +08:00
iliekprogrammar
de07209654
[heads] optimize textures
`optipng -strip all -o7 -zm9`
2022-08-11 17:34:20 +08:00
iliekprogrammar
29d221eed5
[heads] remove unnecessarily duplicative textures
these textures are unnecessary to texture the head nodes. we can reuse
the available armor texture for both the headgear/helmet and the nodes.
2022-08-11 17:28:37 +08:00
iliekprogrammar
44d234dd2c
[heads] implement 16 directional head node 2022-08-11 17:21:23 +08:00
iliekprogrammar
3ff9ed4419
[heads] refactor and trivial renames 2022-08-11 16:45:51 +08:00
cora
34ecb782a8 Fix dispenser and dropper crashing in 5.4 2022-08-10 16:58:00 +02:00
cora
70656b42dc Merge pull request 'boats are removed upon being set on fire (#2529)' (#2540) from opfromthestart/MineClone2:boat-fire-fix into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2540
2022-08-10 13:54:03 +00:00
cora
e8baa1ae00 Fix undeclared var warning in mcl_weather 2022-08-10 14:14:00 +02:00
cora
701aee3238 Add modname to beacons mod.conf 2022-08-10 14:14:00 +02:00
cora
9603ee606c fix at mod loadtime warning in mcl_info 2022-08-10 14:14:00 +02:00
cora
2436a6d616 Merge pull request 'Fixed remaining get_sky calls (#2538)' (#2542) from opfromthestart/MineClone2:new_sky into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2542
2022-08-10 11:41:19 +00:00
Sumyjkl
25491b3882 prevent player from gaining too much speed by pitching down and spamming jump 2022-08-10 13:24:08 +10:00
SumianVoice
22d296e898 Merge branch 'master' into elytra-overhaul 2022-08-10 00:02:47 +00:00
PrairieWind
70277276b0 Adjusted spawn chance and fixed the walls on generation, thanks cora. 2022-08-09 10:30:48 -06:00
PrairieWind
84691c393d Pillager Outpost, Schematics by RandomLegoBrick 2022-08-09 10:30:48 -06:00
opfromthestart
5da6f6812f faster boat death 2022-08-09 12:23:44 -04:00
opfromthestart
b8af222538 Fixed remaining get_sky calls 2022-08-08 20:26:31 -04:00
opfromthestart
8b06e5de87 Merge branch 'master' into boat-fire-fix 2022-08-09 00:16:14 +00:00
opfromthestart
76839961c6 Adds fire and lava collision to boats 2022-08-08 20:12:44 -04:00
opfromthestart
e9954d1785 Merge branch 'master' into new_sky 2022-08-08 18:00:03 +00:00
Sumyjkl
dd9c8b3f48 more accurate physics again, prevent slow servers having slower flight 2022-08-08 11:50:23 +10:00
Sumyjkl
45c93e0340 accurater physics, can't spam jump to gain speed on flat ground (needs work to allow mc like boosting) 2022-08-08 10:50:06 +10:00
SumianVoice
eeca224f7b Merge branch 'master' into elytra-overhaul 2022-08-08 00:19:26 +00:00
opfromthestart
866711a4aa Changed to new get_sky method 2022-08-07 18:19:12 -04:00
PrairieAstronomer
a34c9172c4 Fixed light levelwarnings and texture alpha warnings in stonecutter, campfires, and beacon 2022-08-07 21:38:40 +00:00
cora
2c814db0d7 Merge pull request 'Snow layers and blocks drop nothing by hand' (#2532) from SumianVoice/MineClone2_c:snow_drop_fix into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2532
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-08-07 21:36:22 +00:00
Sumyjkl
99eca2ceb9 player will not be upside down when flying or swimming 2022-08-08 02:05:03 +10:00
Sumyjkl
9fdcfcd898 significanltly more accurate values, much slower, more reliable physics, more comments 2022-08-08 00:05:00 +10:00
Sumyjkl
5a8216ba43 moved functions and constants out of global step (oops) 2022-08-07 23:12:57 +10:00
SumianVoice
49089ed8c4 Merge branch 'master' into elytra-overhaul 2022-08-07 10:18:14 +00:00
Sumyjkl
f6148068c5 snow layers and blocks drop nothing by hand 2022-08-07 19:55:01 +10:00
iliekprogrammar
0e999d8bb9
[5.6] remove incorrect marks.
wrong, bad. these are fine.
2022-08-07 13:00:43 +08:00
iliekprogrammar
156aff21a1
[5.6][bows] fix unsafe entity handling for arrows 2022-08-07 12:48:09 +08:00
iliekprogrammar
4f2789c498
[5.6][armor] fix unsafe entity handling (unsure)
i'm not sure about this one, can't fnd a suitable test for it.
2022-08-07 12:43:24 +08:00
iliekprogrammar
bf80074d98
[5.6][mobs] fix unsafe entity handling (unsure)
i'm not sure about this one, can't find a suitable test for it.
2022-08-07 12:38:26 +08:00
iliekprogrammar
4b31692319
[5.6][boats] fix unsafe entity handling
this probably does not affect normal gameplay, unless you can set boats on fire somehow
2022-08-07 12:09:12 +08:00
iliekprogrammar
bce4d29737
[5.6][lightning] fix unsafe entitiy handling
this does not excuse all on_strike callbacks to allow oversights.
it must also track entity removal.
2022-08-07 10:44:13 +08:00
iliekprogrammar
221ee0fcf1
[5.6] mark places with unsafe set_hp entity handling
There might be other places i might be missing, but these are the obvious ones.

leftover entity handling i did not mark:
* everything that involves a apply()-like algorithm (e.g. callbacks) over the
  same list of objects.
* in mcl_damage, it's not known whether mcl_damage.from_mt() would involve
  entity handling or just player handling.
2022-08-07 00:13:03 +08:00
Sumyjkl
02c92dc6f8 fix getting wrong node 2022-08-07 01:05:39 +10:00
Sumyjkl
509fadfebb fix is_pressing_jump being global 2022-08-07 00:38:20 +10:00
Sumyjkl
1263c43b5d elytra and other non-combat armour don't take durability damage when the player is attacked 2022-08-06 14:38:42 +10:00
Sumyjkl
cd6da88b37 tweaks again 2022-08-05 14:43:48 +10:00
cora
27304d5d96 Nerf shipwreck loot 2022-08-04 04:21:59 +02:00
SumianVoice
3f73dc1794 Merge branch 'master' into mcl_burning_depend 2022-08-03 12:55:07 +00:00
Sumyjkl
eb89466436 add dependency for mcl_weather to mcl_burning to hopefully avoid crashes 2022-08-03 22:45:15 +10:00
cora
e901003e22 Fix mangrove (trap)door, stair and slab recipes 2022-08-03 11:57:17 +02:00
Sumyjkl
3c0992e58d tweaks 2022-08-03 18:41:51 +10:00
cora
c36b359c70 Fix mangrove roots and water logged roots(somewhat) 2022-08-03 00:00:44 +02:00
cora
191e117e05 Axe can strip mangrove wood 2022-08-02 23:51:48 +02:00
Sumyjkl
4df51bac72 code quality, minor tweaks 2022-08-03 01:03:28 +10:00
Sumyjkl
b7a5a74ccf less pitch up slowdown 2022-08-03 00:14:31 +10:00
Sumyjkl
ece79cad8a prevent player from getting hyperspeed while flying from ground 2022-08-03 00:08:30 +10:00
Sumyjkl
845e43c143 tweaked several things 2022-08-02 23:51:21 +10:00
Sumyjkl
aa93ce4b3a tweaked slowdown on pitch up 2022-08-02 23:45:20 +10:00
Sumyjkl
12af0e7de8 semi-working on 0.3 server step 2022-08-02 23:42:04 +10:00
Sumyjkl
32a57133ac use dtime 2022-08-02 22:47:51 +10:00
Sumyjkl
5c085bd28f prevent player gaining infinite momentum by spamming jump while running, added dtime dependent velocity 2022-08-02 22:06:19 +10:00
Sumyjkl
c80012a14f fix gravity not being reset when died after rocketing 2022-08-02 21:23:05 +10:00
SumianVoice
e28c0d311a Merge branch 'master' into elytra-overhaul 2022-08-02 10:27:14 +00:00
cora
1065165952 fix mangrove trapdoor 2022-08-02 12:06:13 +02:00
cora
c0fec69c70 Add plantlike_rooted propagules 2022-08-02 12:02:20 +02:00
cora
844cf6c5dc Fix waterlogged texture to be animated 2022-08-02 12:02:20 +02:00
cora
2b90675ea2 fix warnings 2022-08-02 12:02:20 +02:00
cora
8e41d5a1f4 Fix propagule growth 2022-08-02 12:02:20 +02:00
cora
811d7a778f Add tall mangrove tree schematics 2022-08-02 12:02:20 +02:00
cora
4491e962d5 grand mcl_mangrove cleanup 2022-08-02 12:02:20 +02:00
cora
77c878f609 make waterlogged roots work with river water 2022-08-02 12:02:20 +02:00
cora
51f79eaa39 Add lilypads and dead bushes 2022-08-02 12:02:20 +02:00
cora
3bf45ec4e9 Spawn mangroves in shallow water, fix schematics 2022-08-02 12:02:20 +02:00
cora
e8fc56ab33 Fix water- and mudlogged roots, add w. logging abm 2022-08-02 12:02:20 +02:00
cora
f003aefe19 allow coral reefs in MangroveSwamps 2022-08-02 12:02:20 +02:00
Thunder1035
d284ddf150 Add mangrove trees 2022-08-02 12:02:20 +02:00
cora
09889ca927 Add MangroveSwamp biome defs 2022-08-02 12:02:20 +02:00
cora
4b5476dbff fix end sky and void crash 2022-08-02 11:55:55 +02:00
cora
a2b003a195 sky slightly overcast on weather in non-weather b. 2022-08-02 11:55:55 +02:00
cora
ee3b98c809 Fix skybox in non-weather areas 2022-08-02 11:55:55 +02:00
cora
4a6f98636d fix crash in mapgen v6 2022-08-02 11:55:55 +02:00
cora
cae11f99e4 fix wrong mapgen setting var 2022-08-02 11:55:55 +02:00
cora
bb496db605 use _mcl_biome_type for weather 2022-08-02 11:55:55 +02:00
cora
50840f6bdc No nether rain lol 2022-08-02 11:55:55 +02:00
cora
05a6f09f05 Never rain in deserts 2022-08-02 11:55:55 +02:00
cora
2aaeed7720 Pile up snow while snowing 2022-08-02 11:55:55 +02:00
cora
eb5378afec Rain and snow where appropriate(biome, heat, alt) 2022-08-02 11:55:55 +02:00
SumianVoice
fab3c35c28 Merge branch 'master' into elytra-overhaul 2022-08-02 09:44:51 +00:00
Sumyjkl
0f6a51a031 remove unused file scope variables 2022-08-02 18:39:15 +10:00
Sumyjkl
1468acf6d4 move player up to give clearance when start flying 2022-08-02 18:26:00 +10:00
Sumyjkl
5fd66d1850 can pitch up without losing too much speed 2022-08-02 18:12:15 +10:00
chmodsayshello
f949c72945 make abm check param2 for up-to date beam color 2022-08-01 23:06:02 +00:00
chmodsayshello
e979535256 convert spaces into tabs 2022-08-01 23:06:02 +00:00
chmodsayshello
e344d1c742 remove itemstring debug logging 2022-08-01 23:06:02 +00:00
chmodsayshello
10d200da80 beacon optimisations 2022-08-01 23:06:02 +00:00
Sumyjkl
8378ca92e2 turning slows the player down in fly mode 2022-08-02 08:20:08 +10:00
Sumyjkl
2b5e3b5123 code quality: combine add_velocity calls into one 2022-08-02 00:14:24 +10:00
Sumyjkl
368ffda75b can only fly when pressed jump and cannot hold jump to enter fly mode, set speed to player velocity when entered fly mode 2022-08-01 23:45:41 +10:00
Sumyjkl
cd62278336 improved code quality 2022-08-01 23:01:27 +10:00
Sumyjkl
9e1b0184c5 fireworks function, slight balancing, removed debug starting speed 2022-08-01 22:15:36 +10:00
Sumyjkl
20b229a9b9 pitching up too far can make player fall fast 2022-08-01 20:53:35 +10:00
Sumyjkl
832b0afdd6 more reasonable values 2022-08-01 20:51:08 +10:00
Sumyjkl
177cf231b6 make elytra better again 2022-08-01 20:34:56 +10:00
Sumyjkl
696cc150b4 broke elytra 2022-08-01 20:12:53 +10:00
Sumyjkl
8f4388c4c8 elytra less sensitive to landing, allows entering flight without as much downward velocity 2022-08-01 17:42:43 +10:00
cora
eb7171fd51 Make boats unsinkable in river water 2022-08-01 05:20:19 +02:00
chmodsayshello
4d52c0d9c6 glass no longer has to be right on top of the beacon 2022-07-31 22:22:57 +02:00
chmodsayshello
1830ca8815 'fix' beacon beam abm 2022-07-31 22:22:57 +02:00
chmodsayshello
1462c39092 remove unnecessary minetest.get_node 2022-07-31 22:22:57 +02:00
chmodsayshello
ca77ffe1c7 decrease blockcheck by 25 nodes
that way, even with the lowest possible render distance, all nodes are loaded, if there are no nodes above the beacon (excluding glass etc.), it sets the meta and places the beam 175 blocks high, it extends all the way until the next non-air block if the player is near enoght...

Signed-off-by: chmodsayshello <chmodsayshello@hotmail.com>
2022-07-31 22:22:57 +02:00
chmodsayshello
d3eccce013 fix color palette 2022-07-31 22:22:57 +02:00
chmodsayshello
b9cb3a4d70 optimisations 2022-07-31 22:22:57 +02:00
chmodsayshello
022fa1d794 remove last beam completly before placing a new one 2022-07-31 22:22:57 +02:00
chmodsayshello
6ae9e6f873 minor optimisations 2022-07-31 22:22:56 +02:00
chmodsayshello
dd9e6e5d6b mesh by Sumi 2022-07-31 22:22:56 +02:00
chmodsayshello
65171a34a8 prevent pistons from pushing beacon beams 2022-07-31 22:22:56 +02:00
chmodsayshello
2d407f8897 change 301 to 501 here as well 2022-07-31 22:22:56 +02:00
chmodsayshello
d15ad61038 remove unnecessary minetest.log call 2022-07-31 22:22:56 +02:00
chmodsayshello
1fdd6a4707 glass changes color of beacon beam 2022-07-31 22:22:56 +02:00
chmodsayshello
56f3f0503e minor changes 2022-07-31 22:22:56 +02:00
chmodsayshello
e0a205bdcc translation template + german translation 2022-07-31 22:22:56 +02:00
chmodsayshello
38d4e7afc9 changing some comments 2022-07-31 22:22:56 +02:00
chmodsayshello
154da96cb0 add beacon beam 2022-07-31 22:22:56 +02:00
chmodsayshello
a5e1a00cd8 Use overlay properly in mcl_achievements 2022-07-31 22:22:56 +02:00
chmodsayshello
9e6af33469 drop items once beacon gets destroyed 2022-07-31 22:22:56 +02:00
chmodsayshello
f7028bc836 'fix' beacon texture 2022-07-31 22:22:56 +02:00
chmodsayshello
f6ce37f2b9 add netherite to beacon materials 2022-07-31 22:22:56 +02:00
chmodsayshello
18888d3ad8 make beacons mineable 2022-07-31 22:22:56 +02:00
chmodsayshello
a3adb3d80a beacon crafting recipie 2022-07-31 22:22:56 +02:00
chmodsayshello
74e3dfa0d7 beacon related achievements 2022-07-31 22:22:56 +02:00
chmodsayshello
cc877e1264 fix mayor multiplayer bug
because i escape the loop using return after applying the effect to ONE player, which causes the other ones to not get the effect
2022-07-31 22:22:56 +02:00
chmodsayshello
a33d3e68a2 check if there are no blocks above beacons 2022-07-31 22:22:56 +02:00
chmodsayshello
9433cbe5a5 remove unnecessary code 2022-07-31 22:22:56 +02:00
chmodsayshello
6a7626e122 use globalstep instead of abm 2022-07-31 22:22:56 +02:00
chmodsayshello
ef659bc5a9 remove debug logging 2022-07-31 22:22:56 +02:00
chmodsayshello
eac55ecea4 upload mod (mcl_beacons) itself 2022-07-31 22:22:56 +02:00
chmodsayshello
86be87f263 upload textures 2/2 2022-07-31 22:22:56 +02:00
chmodsayshello
f310395675 upload textures 1/2 2022-07-31 22:22:56 +02:00
chmodsayshello
17053a8420 add mod.conf 2022-07-31 22:22:56 +02:00
cora
d6bfe9eb50 Fix filesizes & saturation 2022-07-31 16:14:05 +02:00
cora
12180b93a0 Make riverwater transparent 2022-07-31 16:14:05 +02:00
PrairieAstronomer
64f810ac76 Removed some unnessary code 2022-07-30 12:40:04 -06:00
PrairieAstronomer
a153e5bc33 Fixed Place Water in the Nether with Fish Buckets. 2022-07-30 12:21:16 -06:00
cora
9b9f9d9b0c Fix crash when using /spawnstruct in singlenode mg 2022-07-28 08:49:59 +00:00
Sumyjkl
86d6445f42 fix crash when items in unloaded chunk 2022-07-28 11:10:56 +10:00
SumianVoice
3abeed3025 Merge branch 'master' into item_floating 2022-07-28 00:55:55 +00:00
Sumyjkl
93e0e0607e walkover globalstep timer changed to align with mc time for damage and other actions 2022-07-26 23:21:56 +10:00
Sumyjkl
9cd454f9d7 magma no longer damages player on halfslabs 2022-07-26 23:16:14 +10:00
SumianVoice
c93461ee0a Merge branch 'master' into item_floating 2022-07-26 10:21:17 +00:00
Sumyjkl
70b7655e46 various code style improvements 2022-07-26 20:20:13 +10:00
cora
1743b8791b Fix long globalstep for inactive shields 2022-07-26 00:36:54 +02:00
cora
f1915ef2f1 Fix globalstep in mcl_hunger taking a long time 2022-07-26 00:27:34 +02:00
PrairieAstronomer
c6644a3fd1 Change raw ore block cooktime to 90. 2022-07-26 00:23:09 +02:00
PrairieAstronomer
40d993764b Added Raw Ore Block Smelting Recipe
Added Raw Ore Block Smelting. Also fixed the whitespace in the raw ore init file.
2022-07-26 00:23:09 +02:00
PrairieAstronomer
b2a73f26d7 Added fortune drops to iron and gold ores 2022-07-26 00:23:09 +02:00
PrairieAstronomer
e3f8dd158e Added raw ores to iron and gold ore drops 2022-07-26 00:23:09 +02:00
PrairieAstronomer
f84063ad0a Withering Heights Advancement 2022-07-25 11:48:38 -06:00
cora
0b729d7ada Fix wrong drops itemstring 2022-07-24 23:52:42 +02:00
PrairieAstronomer
3aa26cac14 Tropical Fish Bucket
Adds the bucket of tropical fish.
2022-07-24 23:52:42 +02:00
cora
3a47e8a2f9 Add tropical fish 2022-07-24 23:52:41 +02:00
cora
8556226cf7 Move check to the top of the function 2022-07-24 23:38:24 +02:00
cora
323a1f6e18 Fix mcl_sprint globalstep taking long 2022-07-24 12:55:37 +02:00
Sumyjkl
5fc662664f cactus will act as if dug instead of its own hardcoded breaking function 2022-07-24 15:59:00 +10:00
Sumyjkl
6278fa21d3 Removed an entire block of code that was duplicate and didn't do anything 2022-07-23 16:41:41 +10:00
Sumyjkl
fb28177ff1 items will stay put when loaded, items dug by the game will get more initial random velocity, game will no longer apply random velocity twice (?) 2022-07-23 16:10:52 +10:00
Sumyjkl
65e42845f4 netherite armour no longer burns in lava 2022-07-22 23:18:51 +10:00
Sumyjkl
58d80e5e9c netherite items (except armour) will float in lava and not burn 2022-07-22 23:06:35 +10:00
Sumyjkl
eeace260fe don't disable physics if you've already disabled it 2022-07-22 22:45:22 +10:00
Sumyjkl
65fc5b6f28 droppers and dispensers actually shoot items out, items will merge with eachother even when floating 2022-07-22 22:38:36 +10:00
Sumyjkl
dc6fbeeafd items will go into sleep mode even if there's a block above as long as it's not a liquid 2022-07-22 16:55:42 +10:00
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