Commit graph

5747 commits

Author SHA1 Message Date
kay27
ae7563727e
Spawn Nether portals higher than lava level 2021-05-13 23:22:44 +02:00
kay27
fefc3a95d4
Fix Nether portal teleportation bugs 2021-05-13 23:14:23 +02:00
kay27
47bf494996
Nether portals: Implement travel up, add debug info to compare 2 searches 2021-05-13 23:07:43 +02:00
kay27
e7ec91edb7
Make Nether portals work when built on Nether roof 2021-05-13 20:52:12 +02:00
Nils Dagsson Moskopp
ed1849ed81
Add command to generate Nether portal (“/spawnstruct nether_portal”) 2021-05-13 20:52:11 +02:00
kay27
56a8736149
Make Nether portals fully playable (reduce y scale to 2), fix critical bugs 2021-05-13 20:52:10 +02:00
kay27
989607142e
Fix orientational bug in portals 2021-05-13 20:52:09 +02:00
kay27
cb0d8af818
Add portal debug info, test alternative portal search algorithm 2021-05-13 20:52:08 +02:00
kay27
f182b75c66
Add teleporters queue to portals to avoid multiple searches 2021-05-13 20:52:08 +02:00
Nils Dagsson Moskopp
2f0fa1edb3
Add description to mcl_portals mod 2021-05-13 20:52:07 +02:00
kay27
db86ad52e5
Add alternative suitable place search for Nether portals in portals branch 2021-05-13 20:52:06 +02:00
kay27
5e229a24fb
Localize several API functions for Nether portals 2021-05-13 20:52:05 +02:00
kay27
6c2b6326c7
Fix old bugs, add new bugs to Nether portals 2021-05-13 20:52:04 +02:00
kay27
edf6d080c1
Fix errors with Nether portal destination calcs 2021-05-13 20:52:04 +02:00
kay27
ae3453e197
Fix chunk offset for building arrival Nether portal, log generating chunk coordinates 2021-05-13 20:52:03 +02:00
kay27
ec11b73dc3
Implement optimized Nether portals 2021-05-13 20:51:57 +02:00
iliekprogrammar
9a7237b68e
Add Nether portal breaking sounds. 2021-05-10 21:29:40 +02:00
iliekprogrammar
7a7c4215d8
Allow portals to break only in creative and to be pointed. 2021-05-10 21:22:04 +02:00
erlehmann
a9d4a85e9a Merge pull request 'Remove wrong preview banner crafting recipes' (#55) from banner-crafting-fix into master
Reviewed-on: https://git.minetest.land/Mineclonia/Mineclonia/pulls/55
Reviewed-by: E <e@noreply.git.minetest.land>
2021-05-03 14:30:47 +00:00
Nils Dagsson Moskopp
ee9f49b86e
Remove wrong preview banner crafting recipes
In commit ac5f115f83, preview banners were introduced and given
crafting recipes. Those crafting recipes were the same as for banners without a pattern. That
change made banners without patterns uncraftable and preview banners craftable instead – this
patch makes banners without patterns craftable again and preview banners uncraftable.
2021-05-02 13:01:00 +02:00
erlehmann
150868f03b Merge pull request 'mapgen/mcl_mapgen_core: base mushrooms and nether decorations off block seed' (#43) from e/Mineclonia:mapgen-nondet into master
Reviewed-on: https://git.minetest.land/Mineclonia/Mineclonia/pulls/43
Reviewed-by: erlehmann <nils+git.minetest.land@dieweltistgarnichtso.net>
Reviewed-by: Elias Åström <ryvnf@riseup.net>
2021-05-01 23:41:12 +00:00
Elias Åström
90f0a6ab2a Merge pull request 'Rewrite mcl_autogroup to reduce metadata for enchanted items' (#8) from mcl_autogroup into master
Reviewed-on: https://git.minetest.land/Mineclonia/Mineclonia/pulls/8
Reviewed-by: cora <cora@noreply.git.minetest.land>
Reviewed-by: n_to <n_to@noreply.git.minetest.land>
Reviewed-by: erlehmann <nils+git.minetest.land@dieweltistgarnichtso.net>
2021-05-01 21:14:49 +00:00
erlehmann
659a158c66 Merge branch 'master' into mcl_autogroup 2021-05-01 18:02:18 +00:00
erlehmann
4085d95d96 Merge pull request 'Show preview of new banner pattern when crafting it' (#40) from banners-pattern-preview into master
Reviewed-on: https://git.minetest.land/Mineclonia/Mineclonia/pulls/40
Reviewed-by: cora <cora@noreply.git.minetest.land>
2021-05-01 17:25:19 +00:00
erlehmann
3009ebb2c6 Merge branch 'master' into mcl_autogroup 2021-04-29 21:24:32 +00:00
E
4ae17b0c8e mapgen/mcl_mapgen_core: base mushrooms and nether decorations off block seed 2021-04-25 23:17:27 -04:00
erlehmann
0d92212e08 Merge pull request 'mapgen/mcl_mapgen_core: move set_node decorations a node callback' (#29) from e/Mineclonia:nether-fix into master
Reviewed-on: https://git.minetest.land/Mineclonia/Mineclonia/pulls/29
Reviewed-by: Elias Åström <ryvnf@riseup.net>
Reviewed-by: erlehmann <nils+git.minetest.land@dieweltistgarnichtso.net>
2021-04-24 18:51:57 +00:00
erlehmann
d6463fe29a Merge pull request 'Fix crash when blowing up an unknown node' (#38) from mcl_explosions into master
Reviewed-on: https://git.minetest.land/Mineclonia/Mineclonia/pulls/38
Reviewed-by: n_to <n_to@noreply.git.minetest.land>
Reviewed-by: erlehmann <nils+git.minetest.land@dieweltistgarnichtso.net>
2021-04-24 03:29:09 +00:00
Nils Dagsson Moskopp
ac5f115f83
Show preview of new banner pattern when crafting it 2021-04-23 17:29:43 +02:00
Elias Åström
31341ca57b Fix crash when blowing up an unknown node
Unknown nodes get a blast resistance of zero.
2021-04-23 16:39:02 +02:00
Elias Åström
e52cae28cd Duplicate groupcaps before applying unbreaking 2021-04-23 16:33:22 +02:00
ryvnf
aa1af725f2 Merge pull request 'Update README.md after forking' (#3) from readme into master
Reviewed-on: https://git.minetest.land/Mineclonia/Mineclonia/pulls/3
Reviewed-by: Li0n <li0nsdichachu@outlook.com>
2021-04-22 15:18:01 +00:00
E
2381cb8e84 mapgen/mcl_mapgen_core: move set_node decorations a node callback
During the rewrite in 89e55e9065, a queue system was added to allow
using both VoxelManip-based generation steps, and set_node-based steps,
however some set_node-based steps (underground mushrooms, nether
decorations, and structures) were missed and remained in a VoxelManip
step. The result is that the changes made by the set_node stages were
overwritten after the (now-stale) VoxelManip data was committed later.

(ref. Mineclonia/Mineclonia#26)
2021-04-20 00:41:10 -04:00
erlehmann
fda2d41b4e Merge pull request 'Spawns killerbunnys with translateable nametag' (#28) from n_to/Mineclonia:killerbunny_translateable_label into master
Reviewed-on: https://git.minetest.land/Mineclonia/Mineclonia/pulls/28
Reviewed-by: cora <cora@noreply.git.minetest.land>
Reviewed-by: erlehmann <nils+git.minetest.land@dieweltistgarnichtso.net>
2021-04-20 02:56:32 +00:00
Benjamin Schötz
e5c324b0d7 Added french, spanish, russian translation for killerbunny-nametag 2021-04-19 20:43:18 +02:00
Benjamin Schötz
82c838e067 Sets killerbunny-label in a translateable way 2021-04-19 20:27:20 +02:00
erlehmann
bbe07abb0d Merge pull request 'Solve quartz not generating in the nether' (#24) from reintroduce_nether_quartz_ore into master
Reviewed-on: https://git.minetest.land/Mineclonia/Mineclonia/pulls/24
2021-04-18 23:12:17 +00:00
AFCMS
078586fa1a
Solve quartz not generating in the nether 2021-04-19 00:14:35 +02:00
erlehmann
0761ad0964 Merge pull request 'Make the server not crash when players are killed by named mobs' (#19) from fix_server_crash_when_player_killed_by_named_mob into master
Reviewed-on: https://git.minetest.land/Mineclonia/Mineclonia/pulls/19
2021-04-18 15:46:20 +00:00
Nils Dagsson Moskopp
c0a76dd24f
Make the server not crash when players are killed by named mobs 2021-04-18 16:51:47 +02:00
Elias Åström
1c6d3c2fea Do not include unnecessary tool_capabilities
This commit makes enchanted tools which have no use for
tool_capabilities to not include it in their metadata.  It does this by
not including tool_capabilities in the metadata of an enchanted tool if
at least one of two cases is true:

(1) The tool is not enchanted with unbreaking or efficiency
(2) The tool does not have tool_capabilities defined in its definition

The first case covers situations like having a pickaxe only being
enchanted with silk_touch.  The second case covers situations like a
piece of armor being enchanted with unbreaking.
2021-04-18 12:45:11 +02:00
Elias Åström
d6e1fe42d1 Fix efficiency and unbreaking not working together
This commit fixes an issue were tools enchanted with both efficiency and
unbreaking would loose the effect of one of the enchantments in some
conditions.
2021-04-18 12:45:06 +02:00
erlehmann
b041666c18 Merge pull request 'Revert broken minecart change' (#4) from minecart into master
Reviewed-on: https://git.minetest.land/Mineclonia/Mineclonia/pulls/4

This code fixes annoying minecart bugs that were introduced with Mineclone2 0.71.0:

• Minecarts going off the rails (#9)
• Minecarts being unable to go back on the rails (#10)
• TNT minecarts being broken (#11)
• Minecarts not being pushed by mobs (#12)

I have verified that it does not break the following features present in Mineclone2 0.70:

• Minecart teleporters
• Minecarts stop at the end of the rail
• Going uphill in a minecart
• Going downhill in a minecart
• Going around curves in a minecart
• Going left at intersections in a minecart with both left and right rail connections
• Going straight ahead at intersections with both right and straight ahead rail connections
• Pushing minecarts
• Powered golden rails make minecarts go faster
• Unpowered golden rails make minecarts stop
• Detector rails activate Redstone circuits
• Minecarts going in circles at maximum speed without glitching off the rails
• Dispensers placing minecarts on top of rail blocks on top of the dispenser
• Going to the Nether in a minecart
• Powered activator rails drop players from minecarts
• Unpowered activator rails do not drop players from minecarts
• Track switching using pistons pushing a Minecart from one track to another
• Minecarts stay on powered rails going up a spiral staircase
• Minecarts can activate note blocks through sensor blocks
• Minecarts can activate Redstone lamps through sensor blocks
2021-04-18 03:29:36 +00:00
ryvnf
357024ad97 Merge pull request 'Update name in game.conf to Mineclonia' (#2) from game.conf into master
Reviewed-on: https://git.minetest.land/Mineclonia/Mineclonia/pulls/2
Reviewed-by: erlehmann <nils+git.minetest.land@dieweltistgarnichtso.net>
2021-04-16 22:15:34 +00:00
Elias Åström
42c7186674 Do not register "creative_breakable" as a diggroup 2021-04-16 22:46:08 +02:00
Elias Åström
b57c94df88 Fix crash when digging nodes with fishing rod
Previously the game would crash when digging nodes with a tool which
does not have tool_capabilities in their item definition.
2021-04-16 22:45:36 +02:00
Elias Åström
34af6a2cc3 Assert that both parts of mcl_autogroup exist 2021-04-16 22:45:22 +02:00
Elias Åström
029ebaa388 Rename "tool_multiplier" to "speed" for tools 2021-04-16 22:45:22 +02:00
Elias Åström
2df6ee32be Remove unnecessary code in mcl_item_entity 2021-04-16 22:45:22 +02:00
Elias Åström
9d38f0d01b Fix crash when digging nodes with hoe
Previously the game would crash when digging nodes with a tool which
does not have _mcl_digroups in their item definition.
2021-04-16 22:44:44 +02:00