Commit Graph

7892 Commits

Author SHA1 Message Date
kay27 2bf7ebc265 Preload village schematics and calc proper sizes 2022-02-16 03:47:23 +04:00
kay27 306a6ad20f #202 Destroy Nether Portals on ABMs 2022-02-15 03:19:43 +04:00
kay27 560882b1ba #198 Fix a crash, step 22 2022-02-14 20:55:55 +04:00
kay27 adfa83c34c #198 Fix a crash, step 21 2022-02-14 06:44:41 +04:00
kay27 403528e542 #198 Fix a crash, step 20 2022-02-14 06:39:47 +04:00
kay27 e15a82b865 #198 Fix a crash, step 19 2022-02-14 06:38:19 +04:00
kay27 194ac71c89 #198 Fix a crash, step 18 2022-02-14 06:36:15 +04:00
kay27 b3059aecba #198 Fix a crash, step 17 2022-02-14 06:34:46 +04:00
kay27 04094f97fa #198 Fix a crash, step 16 2022-02-14 06:32:51 +04:00
kay27 d20551589f #198 Fix a crash, step 15 2022-02-14 06:29:53 +04:00
kay27 adec2cbeea #198 Fix a crash, step 14 2022-02-14 06:28:35 +04:00
kay27 1ef93eab37 #198 Fix a crash, step 13 2022-02-14 02:25:19 +00:00
kay27 1537232f17 #198 Fix a crash, step 12 2022-02-14 06:23:27 +04:00
kay27 b86446df34 #198 Fix a crash, step 11 2022-02-14 06:18:07 +04:00
kay27 7e9388b80d #198 Fix a crash, step 10 2022-02-14 06:15:03 +04:00
kay27 636be37c85 #198 Fix a crash, step 9 2022-02-14 06:06:34 +04:00
kay27 89a016c0e6 #198 Fix a crash, step 8 2022-02-14 02:01:01 +00:00
kay27 52e2e2506b #198 Fix a crash, step 7 2022-02-14 01:48:09 +00:00
kay27 3984c72bbc #198 Fix a crash, step 6 2022-02-14 01:43:05 +00:00
kay27 e9e3479fb3 #198 Fix a crash, step 5 2022-02-14 01:41:26 +00:00
kay27 8b441a8156 #198 Fix a crash, step 4 2022-02-14 01:36:38 +00:00
kay27 ce0e643cad #198 Fix a crash, step 3 2022-02-14 01:23:55 +00:00
kay27 eaa8df9e55 #198 Fix a crash, step 2 2022-02-14 01:23:01 +00:00
kay27 200536b416 #198 Fix a crash, step 1 2022-02-14 01:20:30 +00:00
kay27 49f84f194a Restore mob water damage 2022-02-13 06:18:50 +04:00
kay27 ac1ec1d77d #195 Fix missing player storage initialisation 2022-02-13 04:19:57 +04:00
kay27 fc48ba9a62 Merge remote-tracking branch 'origin/master' into testing 2022-02-13 04:01:32 +04:00
kay27 05281ad638 #193 Fix a typo 2022-02-13 04:01:09 +04:00
kay27 81abfa2333 #193 Fix dependencies 2022-02-13 03:59:27 +04:00
kay27 da833883b3 #193 Fix typos 2022-02-13 03:58:47 +04:00
kay27 62231b50b6 #193 Add mcl_time 2022-02-13 03:56:44 +04:00
kay27 a886eff056 #55 Fix next boats crash (If it's not an entity, what occupies them?) 2022-02-10 02:22:58 +04:00
kay27 37d914881c #185 Substitute empty textures table if missing (quickfix) 2022-02-09 17:52:15 +04:00
kay27 9bf4769810 Merge pull request 'Add crossbows to the Unbreakable enchantment's target item list' (#184) from Gustavo6046/MineClone5:crossbow-enchants into master
Reviewed-on: MineClone5/MineClone5#184
2022-02-09 12:57:10 +00:00
kay27 0176a9227c Merge amethyst textures into master 2022-02-09 15:27:55 +04:00
kay27 8b6914f43f Merge remote-tracking branch 'origin/testing' 2022-02-09 15:24:38 +04:00
wallabra 79db2e3668
Add crossbows to Unbreakable enchantment item list 2022-02-09 05:50:33 -03:00
wallabra 4177632d21
Fix gravity on items that leave waterflow 2022-02-09 04:03:37 -03:00
wallabra 49d5e1a0f6
Do not reset item obj velocity upon leaving waterflow 2022-02-09 04:01:18 -03:00
wallabra 991eeca033
Let items undergo less waterflow drag on ice floors 2022-02-09 03:57:56 -03:00
wallabra 16c63972f9
Adjust ground friction values for item obj physics 2022-02-09 03:50:35 -03:00
wallabra 3473f4ae36
Fix item friction reduction on slippery floor 2022-02-09 03:49:25 -03:00
wallabra 68fb7433ec
Fix using facedir for shoot dir of items from droppers and dispensers 2022-02-09 03:43:15 -03:00
wallabra 7dbdd70784
Fix set_velocity calls to item entity objs in dropper and dispenser code 2022-02-09 03:36:47 -03:00
wallabra 96b8552ae4
Make items shot by dispensers and droppers always go forward 2022-02-09 03:34:23 -03:00
wallabra 11a661f427
Let item entity ground friction change when on slippery floors 2022-02-09 03:26:05 -03:00
wallabra 44f327b60b
Adjust default drag values, round 2 2022-02-09 03:17:36 -03:00
wallabra bce9e59e82
Adjust default drag values 2022-02-09 03:15:42 -03:00
wallabra 6f6b70dedc
Fix typo in passing newvel to set_velocity in item phys 2022-02-09 03:12:56 -03:00
wallabra 4105e07670
Fix ground drag var reference in item physics 2022-02-09 03:09:44 -03:00
wallabra 2aa565ac21
Add ground drag force to avoid items stuck on ledges 2022-02-09 03:07:02 -03:00
wallabra 77bfc6c174
Scale fluid flow forces on items with dtime 2022-02-09 03:03:10 -03:00
wallabra ddbc3353a2
Change item on flowing water physics adding momentum and drag (experimental) 2022-02-09 02:44:39 -03:00
kay27 f449ba8370 Fix terraform 2022-02-09 06:34:20 +04:00
kay27 04fc9217ec Make new villages run 2022-02-08 08:12:53 +04:00
kay27 4b4e29b3c1 Slightly rewrite villages at all 2022-02-08 07:39:01 +04:00
kay27 bbd447b861 Add barrels by AFCMS as a part of mcl_chests 2022-02-07 06:39:12 +04:00
kay27 257f3b1ec0 Rewrite chests callback processing and drops 2022-02-07 05:37:54 +04:00
kay27 7e7c0c3a37 Make little cleanup 2022-02-07 04:25:52 +04:00
kay27 4ae1bf711d Break villages 2022-02-06 06:46:21 +04:00
kay27 07e000d077 Merge 5.1.5 and a fix into master 2022-02-06 05:37:32 +04:00
kay27 991a08636c #11 Polish amethyst stuff 2022-02-06 04:32:44 +04:00
kay27 f6b34f8865 Fix blazes attemted to find vector.distance to nil 2022-02-05 23:04:56 +04:00
kay27 ed3ae8c32e #11 Fix amethyst buds light levels again 2022-02-05 20:56:26 +04:00
kay27 218ab6fe15 #11 Fix amethyst buds light levels 2022-02-05 20:55:26 +04:00
kay27 22351ca1d8 #11 Fix various amethyst errors, write better seed function 2022-02-05 20:49:45 +04:00
kay27 adbde60b10 #11 Spawn buds 2022-02-05 06:27:23 +04:00
kay27 1a78fde1a0 #11 Generate amethyst geodes naturally 2022-02-05 05:34:59 +04:00
kay27 6be95762bc #11 Distort geodes 2022-02-05 04:56:17 +04:00
kay27 e828757fae #11 Fix geode placement (spherical last time) 2022-02-05 04:16:30 +04:00
kay27 6f1719b297 #11 Fix geode placement 2022-02-05 04:03:22 +04:00
kay27 19e77c755b #11 Add geode 2022-02-05 03:58:05 +04:00
kay27 b3a67162d2 #11 Fix translation filename 2022-02-05 03:07:34 +04:00
kay27 a9f5e74396 #11 Fix the style, add template.txt, add Russian translation 2022-02-05 03:01:23 +04:00
kay27 394e754729 #11 Put tabs instead of each 2 spaces 2022-02-05 02:39:40 +04:00
kay27 dbef4b2e3c #11 Temporarily remove amethyst - moved into amethyst branch 2022-02-05 02:37:57 +04:00
kay27 ad46a8c9db #11 Remove amethyst screenshot 2022-02-05 02:35:22 +04:00
kay27 022fc84f5c Merge pull request 'Amethyst related stuffs' (#21) from Emojigit/MineClone5:fork-20210727-amethyst into master
Reviewed-on: MineClone5/MineClone5#21
2022-02-04 22:33:03 +00:00
kay27 779ab00635 Fix yet another boat visual size crash 2022-02-04 23:54:04 +04:00
kay27 97896c19e9 Fix last mapgen v3 issues 2022-02-04 06:08:09 +04:00
kay27 080fe253ad Remove crashes 2022-02-04 05:04:31 +04:00
kay27 7d57bb7d6e Implement basic part of mapgen API v3 2022-02-04 04:44:41 +04:00
kay27 6b848c51d2 Fix villages initialization 2022-02-02 05:21:05 +04:00
kay27 4f10c8c032 Fix a typo (crash) 2022-02-02 04:15:03 +04:00
kay27 6e43c62680 Fix fly anticheat bug 2022-02-02 04:11:11 +04:00
kay27 90c4929b56 Fix noclip anticheat bug 2022-02-02 04:00:55 +04:00
kay27 effe1a7ac5 #140 Fix anticheat (add settings) 2022-02-02 03:48:11 +04:00
kay27 03590d3730 #62 Spawn ender dragon again 2022-02-02 02:49:25 +04:00
Nils Dagsson Moskopp 011423ac6d Fix TGA file writing on Windows
Before this patch, the tga_encoder mod would write corrupted TGA files
on Windows: Bytes that looked like newlines were replaced by a carriage
return and a newline.
2022-02-02 01:48:45 +04:00
cora 5d1b5bf43f fix interact being revoked permanently (typo) 2022-02-01 16:39:51 +01:00
kay27 e10715aa59 Fix mapgen API.md 2022-02-01 06:36:19 +04:00
kay27 e023b96877 Fix biomes 3/3 2022-02-01 06:33:03 +04:00
kay27 7b47e4d12b Fix biomes 2/3 2022-02-01 04:44:05 +04:00
kay27 2f6242e04f Fix biomes 1/3 2022-02-01 03:11:53 +04:00
cora 04146d98b0 remove unnecessary on_dimensionchange 2022-01-31 21:35:21 +01:00
NO411 33c7ce1610 Fix interact behavior to prevent hackers from get interact back through shields 2022-01-31 18:08:43 +01:00
NO411 e6bef67275 Remove unnecessary code 2022-01-31 17:42:20 +01:00
kay27 957a831dbf Replace tga to png 2022-01-31 06:41:18 +04:00
cora 5f910e3803 fix snow not being properly removed 2022-01-31 00:35:26 +01:00
cora 6220ef4205 add indoor detection for snow 2022-01-31 00:22:46 +01:00
cora 89be677f8a remove unneccessary particle logic 2022-01-31 00:22:16 +01:00
cora f4f4156420 let rain and thunder use particlespawners 2022-01-31 00:14:15 +01:00
cora 3312b70321 let snow use particlespawners 2022-01-30 21:17:00 +01:00
cora cbe9f72526 add simple weather particlespawner manager 2022-01-30 21:16:54 +01:00
kay27 e4a0645a33 #142 Merge fix-fire into testing 2022-01-30 07:04:57 +04:00
cora 82ddeba826 fix beds not to burn away and drop 2022-01-30 04:00:34 +01:00
cora 3e0ae57459 reimplement mc firespread with abms 2022-01-30 03:59:21 +01:00
kay27 d9181144d5 Merge pull request 'Fix fires to be both destructive and performant' (#145) from fix-fire into master
Reviewed-on: MineClone5/MineClone5#145
2022-01-30 02:26:17 +00:00
cora b92fa67232 fix beds not to burn away and drop 2022-01-30 02:11:10 +01:00
cora 70bf172d46 reimplement mc firespread with abms 2022-01-30 02:11:01 +01:00
cora 5cda117073 set hud flags only when changed
Setting hud flags (and other player properties) when they have not
changed results in unneccessary network traffic.
2022-01-30 01:08:32 +01:00
cora 8bfa248ef7 set privs only when changed
setting privileges causes mt to write to the player db. this
changes shields so it only sets the interact privilege when
it has actually changed.
2022-01-30 01:07:26 +01:00
kay27 5e58e71602 #139 Fix crash on fly priv change for offline player 2022-01-26 03:35:05 +04:00
kay27 39f6500061 Fix a typo 2022-01-26 03:07:01 +04:00
kay27 64d760df01 #138 Skip nil index in mcl_shields 2022-01-25 20:32:14 +04:00
kay27 a996db13d1 Merge master into testing 2022-01-24 23:14:10 +04:00
NO411 a53a849d96 Add shields and offhand 2022-01-24 17:26:14 +01:00
kay27 b5eb4c821b Merge master into testing 2022-01-24 02:20:49 +04:00
kay27 007c8d410a Merge pull request 'PLAYER/mcl_playerplus: Send player properties and bones only when changed' (#134) from fix-activeobject-spam into master
Reviewed-on: MineClone5/MineClone5#134
2022-01-23 22:11:46 +00:00
cora 22403f2926 Send player properties and bones only when changed 2022-01-23 22:32:16 +01:00
kay27 1446d4fcad #133 Fix unclear crash in mcl_wieldview 2022-01-23 23:37:01 +04:00
kay27 f9aea133e9 Merge pull request 'Fix issue #118; fixes noise param errors for ores on startup.' (#128) from MysticTempest/MineClone5:noise_params_fix into master
Reviewed-on: MineClone5/MineClone5#128
2022-01-22 23:53:55 +00:00
Mental-Inferno 28143f28cc Merge branch 'master' into add_cave_spider_poison 2022-01-22 20:26:18 +00:00
Mental-Inferno d3711b69a5 Fixed bug where cave spider poison effect would continue after respawn
Also added knockback effect to cave spider attack and set default cave spider health to current Minecraft default.
2022-01-22 15:15:09 -05:00
MysticTempest b5044bb4ef Fix issue #118; fixes noise param errors for ores on startup. 2022-01-22 04:44:51 -06:00
kay27 40f2b85dd3 Spawn Nether Wart 2022-01-22 13:29:50 +04:00
kay27 10ccde1b24 Make Nether warts grow in inactive areas 2022-01-22 04:09:50 +04:00
Thinking 4c85f85422 Added poison to cave spider attack
Converted melee cave spider punch to custom, ultra low range, poison spit. The attack serves as a functional stop gap until punch augmentation is implemented in the mcl_mobs API  (if that is decided to be done). The attack does 2 initial damage + 4 poison damage over 8 seconds (better fraction that Minecraft's weird 4 damage over 7 seconds) Credits have been added where necessary.
2022-01-21 17:21:58 -05:00
kay27 77f48900b5 Fix music interruption 2022-01-21 19:37:35 +04:00
kay27 ee519e5fa5 Add different music for different dimensions 2022-01-21 19:32:27 +04:00
kay27 255f84f2ec Fix mcl_music: play to all players, play every day, overworld only 2022-01-21 18:49:16 +04:00
kay27 a192ef0bcd Add trivial mcl_music mod and a piano track by diminixed 2022-01-21 05:30:16 +04:00
kay27 c7ad90f78a Make sure we return a string in get_staticdata 2022-01-20 19:54:08 +04:00
kay27 7b50aeb440 Merge master into testing 2022-01-20 19:46:20 +04:00
superfloh247 78a5416e60 fix crash 2022-01-20 14:59:29 +00:00
kay27 aac486ccc8 Search brackets in creative inventory 2022-01-20 05:48:10 +04:00
kay27 c2b8991eb2 Merge mapgen_issue into testing 2022-01-19 05:00:28 +04:00
kay27 b305eceee9 Fix End ligh bug 2022-01-19 04:57:27 +04:00
kay27 6c367977a8 Fix a bug 2022-01-19 04:55:15 +04:00
kay27 2a26adac0f Fix End 2022-01-19 04:53:55 +04:00
kay27 89769b8168 Fix Nether portal in End 2022-01-19 04:11:29 +04:00
kay27 a36f3ba7d0 Cleanup again 2022-01-19 04:09:19 +04:00
kay27 bc4cb14a76 Clean up the code 2022-01-19 03:59:22 +04:00
kay27 4a3f1032ca Add ice spikes for v6 2022-01-19 03:41:22 +04:00
kay27 6ac682fdcf Fix huts 2022-01-19 02:25:23 +04:00
kay27 75a7f5a3ae Restore Witch Hut 2022-01-19 01:49:28 +04:00
kay27 34c6bf3446 Restore igloos 2022-01-18 21:41:09 +04:00
kay27 5c27e1c186 Merge master into mapgen_issue 2022-01-18 19:18:04 +04:00
kay27 da606acfd1 Add old structures to new mod 2022-01-18 19:17:20 +04:00
kay27 a25770ecae Spawn Nice Jungle Temple by cora 2022-01-18 12:28:08 +04:00
kay27 4e832ba323 Use per-chunk probability and 1-octave Perlin noise to simplify spawning temples 2022-01-17 20:43:30 +04:00
kay27 30a0eb1d4a Restore nether_portal in spawnstruct list 2022-01-17 20:03:46 +04:00
kay27 6eb126da40 Disable debugging tools 2022-01-17 06:48:59 +04:00
kay27 0e70e386ea Add loot into jungle temple trapped chests 2022-01-17 06:37:15 +04:00
kay27 8caf8c91dd Add more complex temple spawn conditions 2022-01-17 06:17:52 +04:00
kay27 d3265a2f72 Find better place for jungle temples again, add cobbles to support some stair parts 2022-01-17 05:54:36 +04:00
kay27 93922a00d5 Find better places for Jungle Templates 2022-01-17 04:26:37 +04:00
kay27 66fded90d5 Fix vines 2022-01-17 03:25:47 +04:00
kay27 e528cc7d8b Place Jungle Temple by cora 2022-01-17 00:39:53 +04:00
kay27 12e85f9f12 Add Jungle Temple schematic by cora 2022-01-16 22:50:58 +04:00
kay27 2cfca05186 Move noise indicator into separate file 2022-01-16 19:20:42 +04:00
kay27 fefa9c8b4f Initialize temples 2022-01-16 06:42:18 +04:00
kay27 6d4f7d2e62 Fix strongholds 2022-01-16 05:20:34 +04:00
kay27 95fd9e9105 Flush current work on spawnstruct, refactor strongholds 2022-01-16 04:46:07 +04:00
kay27 37725cc1dc Refactor desert temples and structs in general (unfinished) 2022-01-15 20:32:48 +04:00
kay27 e2928c4afc Add red desert temples 2022-01-15 08:04:43 +04:00
kay27 096b384676 Spawn desert temples from seeds 2022-01-14 04:25:39 +04:00
kay27 41b8ff5cb0 Merge pull request 'Breaking range parity with Minecraft: Java Edition' (#115) from GuyLiner/MineClone5:break_range_fix into testing
Reviewed-on: MineClone5/MineClone5#115
2022-01-12 07:23:55 +00:00
kay27 79170e2386 Fix attempt to perform arithmetic on a nil value in mount.lua:232 2022-01-12 04:33:55 +04:00
kay27 9d171a6b7b Fix Nether roof light 2022-01-12 04:02:56 +04:00
kay27 c6754fd39e Start adding new structures API 2022-01-12 03:27:28 +04:00
GuyLiner 26cc290342 Merge branch 'testing' into break_range_fix 2022-01-11 21:44:01 +00:00
Guy Liner 8a7db3de9a Breaking range parity with Minecraft: Java Edition 2022-01-11 16:40:50 -05:00
kay27 c9e56e68c4 Merge GuyLiner/rotate-fix into testing 2022-01-11 21:59:55 +04:00
kay27 1f55e6da1c Merge remote-tracking branch 'origin/spawner' into testing 2022-01-11 21:56:47 +04:00
kay27 749bc379e7 Merge MineClone 2/master into testing 2022-01-11 21:52:45 +04:00
GuyLiner cb836541c6 Merge branch 'testing' into rotate-fix 2022-01-11 15:46:14 +00:00
Guy Liner 49201116e8 Fixes problem where pillar like nodes could not be placed on
nodes that had the "on_rightclick" attribute.
Merge remote-tracking branch 'mcl2/rotate_fix' into rotate-fix
2022-01-11 10:37:53 -05:00
Guy Liner bc3ecb175e Merge remote-tracking branch 'spawner/spawner' into spawner
These are my changes that fix a spawning bug that allowed monsters
to spawn no matter what light level if you had manually created
the spawner
2022-01-11 09:24:19 -05:00
kay27 dd5803908b #110 Add trident model by epCode 2022-01-10 19:49:18 +04:00
kay27 f207832c5a Merge master into testing 2022-01-10 19:38:12 +04:00
kay27 16116df4c6 Generate only desert seeds for some structs and lots of debugging glass blocks in the sky 2022-01-10 19:35:04 +04:00
Daniel Cassidy d0d7ebe53b Really move mcl_stairs_stone_slab_top.png into mcl_core
This is a fix for #105 where I accidentally moved it to the wrong place.
Sorry.

mcl_core uses this texture for Polished Stone (mcl_core:stone_smooth),
which means mcl_core had an undeclared dependency on mcl_stairs.

Since mcl_stairs depends on mcl_core, it makes sense to move the texture
to mcl_core.
2022-01-07 21:56:37 +00:00
GuyLiner cade03cedf Merge branch 'master' into spawner 2022-01-07 15:40:45 +00:00
kay27 667ebf1385 Fix several mapgen_issue warnings 2022-01-07 08:41:04 +04:00
GuyLiner bdc5252c59 Merge branch 'master' into rotate_fix 2022-01-07 03:18:15 +00:00
kay27 da8e92e071 Fix layers 2022-01-07 07:16:31 +04:00
kay27 7868cf7dc5 Merge master into mapgen_issue 2022-01-07 06:47:11 +04:00
kay27 726159e796 Dedicate clay and structures from mapgen core 2022-01-07 06:24:11 +04:00
epCode 9b881df465 Temporarily remove glitchy Elytra crash-damage
If you fly in certain directions with this damage system, you will die. also if you speed up too fast.
2022-01-06 21:55:01 +00:00
Daniel Cassidy 978f23c70e mcl_mapgen_core: Rename cocoa to c_cocoas.
This is more consistent and should hopefully be clearer.
2022-01-06 02:56:51 +00:00
Daniel Cassidy 802d214d7b mcl_mapgen_core: Make mcl_nether an optional dependency.
mcl_nether was previously an undeclared dependency of mcl_mapgen_core.
Now it is both optional and declared.
2022-01-06 02:55:33 +00:00
Daniel Cassidy a0708abb9c mcl_mapgen_core: Make mcl_mushrooms an optional dependency.
mcl_mushrooms was previously an undeclared dependency of mcl_mapgen_core.
Now it is both optional and declared.
2022-01-06 02:46:02 +00:00
Daniel Cassidy 554f22b802 mcl_mapgen_core: Make mcl_farming an optional dependency.
mcl_farming was previously an undeclared dependency of mcl_mapgen_core.
Now it is both optional and declared.
2022-01-06 02:33:04 +00:00
Daniel Cassidy 1d03a3d150 mcl_mapgen_core: Make mcl_flowers an optional dependency.
mcl_flowers was previously an undeclared dependency of mcl_mapgen_core.
Now it is both optional and declared.
2022-01-06 02:30:24 +00:00
Daniel Cassidy 7c72ce1d0d mcl_mapgen_core: Fix check for wrong mod. 2022-01-06 02:11:06 +00:00
Daniel Cassidy 2bdaa77932 mcl_mapgen_core: Make mcl_structures an optional dependency. 2022-01-06 01:20:06 +00:00
Daniel Cassidy 5cad35dbfe mcl_mapgen_core: Make mcl_stairs an optional dependency.
The "mapgen_stair" aliases are only used by v6, and even then appear to
be optional in practice, so there's no reason for mcl_mapgen_core to
require mcl_stairs.
2022-01-06 01:20:06 +00:00
Daniel Cassidy 51cdc69b99 mcl_mapgen_core: Make mcl_monster_eggs an optional dependency.
The only purpose of this dependency appears to be to force
mcl_monster_eggs to load before mcl_mapgen_core. It is not actually
used in the code.

mcl_monster_eggs is an undeclared dependency of mobs_mc_gameconfig,
mcl_biomes, and mcl_structures, all of which are either transitive
or direct dependencies of mcl_mapgen_core.

It's not possible to add a dependency on mcl_monster_eggs directly
to mobs_mc_gameconfig, because that would lead to a circular
dependency. So it seems like a dependency on mcl_monster_eggs is
declared as a dependency of mcl_mapgen_core as a workaround to
ensure that mcl_monster_eggs at least gets loaded before
mcl_mapgen_core.

I've moved mcl_monster_eggs to the optional dependencies which
should achieve the same aim without complaining if mcl_monster_eggs
is missing, but this should probably be cleaned up in future to
remove the circular dependency.
2022-01-06 01:18:40 +00:00
kay27 54adfe9e30 Merge remote-tracking branch 'origin/testing' into mapgen_issue 2022-01-06 02:07:16 +04:00
Daniel Cassidy b73c0e8f2c mcl_mapgen_core: Make mcl_ocean an optional dependency. 2022-01-05 21:34:56 +00:00
Daniel Cassidy 012d0bd942 mcl_mapgen_core: Make mcl_sponges an optional dependency. 2022-01-05 20:52:53 +00:00
Daniel Cassidy c52f598e64 mcl_mapgen_core: Make mcl_cocoas an optional dependency. 2022-01-05 20:46:28 +00:00
Guy Liner 502f85f637 Added a file that contains a table of every monsters light spawning levels 2022-01-05 10:45:15 -05:00
Guy Liner a9eb6cb747 Moved that table that contains every monster's light spawning levels to a different file, added some comments 2022-01-05 10:44:01 -05:00
Guy Liner 04a81af4a1 Make sure that the player is not in creative mode before giving them experience points 2022-01-05 10:42:50 -05:00
Guy Liner 385d34df33 Added comments and figured out away to fix mob spawning bug 2022-01-04 23:15:48 -05:00
kay27 fc3dc63f01 Merge pull request 'Move texture mcl_stairs_stone_slab_top to mcl_core.' (#105) from djc/MineClone5:polished-stone into master
Reviewed-on: MineClone5/MineClone5#105
2022-01-05 03:05:20 +00:00
kay27 806edcda19 Fix crash at startup 2022-01-05 06:47:06 +04:00
kay27 6c1d30a130 Polish new mapgen stuff 2022-01-05 06:43:16 +04:00
Daniel Cassidy af03b030a0 Move texture mcl_stairs_stone_slab_top to mcl_core.
mcl_core uses this texture for Polished Stone (mcl_core:stone_smooth),
which means mcl_core has an undeclared dependency on mcl_stairs.

Since mcl_stairs depends on mcl_core, it makes sense to move the texture
to mcl_core.
2022-01-05 02:33:31 +00:00
kay27 4ce3102ab4 Merge remote-tracking branch 'origin/testing' into mapgen_issue 2022-01-05 04:18:39 +04:00
kay27 b703dbc288 Merge remote-tracking branch 'origin/master' into testing 2022-01-05 04:18:07 +04:00
Daniel Cassidy 841c278490 mcl_enchanting: Add missing dependency on mcl_experience. 2022-01-04 23:46:54 +00:00
kay27 05f1614893 #62 Spawn Ender Dragon 2022-01-04 04:13:28 +04:00
kay27 91fd78f38f Merge branch 'master' into mapgen_issue 2022-01-04 00:43:52 +04:00
kay27 7464a4721d Merge remote-tracking branch 'origin/production' 2022-01-03 20:15:42 +04:00
kay27 bcb93fb49c Merge master into mapgen_issue 2022-01-03 20:12:50 +04:00
kay27 310aba9c11 Fix Nether dust 2022-01-03 08:16:56 +04:00
kay27 7a1cdc89fb #35 Fix floating slimes 2022-01-03 08:08:56 +04:00
kay27 698c29733f #38 Fix cauldrons 2022-01-03 07:42:33 +04:00
Guy Liner f4e7911903 Removed a comment that was not needed and added a new line below the comment block 2022-01-02 17:32:43 -05:00
Guy Liner b929c66adf Removed mcl_util.rotate_axis_and_place function, replaced it with minetest.rotate_and_place 2022-01-02 17:28:19 -05:00
kay27 6a323c376a Merge pull request 'Merge 0.71.12 into master' (#79) from production into master
Reviewed-on: MineClone5/MineClone5#79
2022-01-02 13:47:59 +00:00
NO11 627c37cd97 Fix pumpkin hud 2022-01-02 12:37:20 +00:00
NO11 8c6d016527 Make removing of arrow entities also work with mobs, remove arrows on respawn 2022-01-02 11:07:43 +00:00
NO11 7cc7fb1331 Make removing of arrow entities also work with mobs, remove arrows on respawn 2022-01-02 11:06:29 +00:00
kay27 9b4cbb6cda Merge branch 'master' into testing 2022-01-02 12:03:32 +04:00
kay27 9e8d02413e Merge pull request 'Added Suspicious Stews (New Pull Request)' (#67) from chmodsayshello/MineClone5:SuspiciousStew2 into master
Reviewed-on: MineClone5/MineClone5#67
2022-01-02 07:57:31 +00:00
kay27 027753940f Add dummy /gamemode 2022-01-02 10:58:29 +04:00
kay27 c2256bc4b7 Revert solar panel revert from MCL2 - more testing needed 2022-01-02 03:16:05 +04:00
kay27 77ac660c7b Merge remote-tracking branch 'mcl2/master' into testing 2022-01-02 03:12:55 +04:00
kay27 b4fa82d2ab Merge remote-tracking branch 'origin/master' into testing 2022-01-02 03:11:52 +04:00
kay27 7ecf316c48 #55 Fix boat visual size again 2022-01-02 03:11:10 +04:00
NO11 cbf497e68b Merge branch 'master' into arrow_fix 2022-01-01 23:01:01 +00:00
NO11 53860a8f79 Remove arrow entities when the player joins to prevent killing on startup (working fix) 2022-01-01 23:00:02 +00:00
NO11 7b46225176 Remove arrow entities when the player joins to prevent killing on startup (working fix) 2022-01-01 22:59:21 +00:00
chmodsayshello cdab29a42e replaced old itemstring 2022-01-01 13:52:38 +00:00
chmodsayshello fa892e880e removed the code I used during debugging
Now, suspicious stews are no longer in the creative inventory, and have to be crafted or obtained using /giveme
2022-01-01 12:23:13 +00:00
chmodsayshello a03e532a85 upload the texture for the suspicious stew 2022-01-01 12:19:50 +00:00
chmodsayshello 4a2b07115a added new dependencies (everything required is within mineclone5) 2022-01-01 12:18:29 +00:00
chmodsayshello c263d1a622 registered suspicious_stew.lua within mcl_mushrooms 2022-01-01 12:17:29 +00:00
chmodsayshello b6567ee11c upload the code for the suspicious stew(s) 2022-01-01 12:15:04 +00:00
kay27 cd3f9bc40f Merge master into testing 2021-12-31 02:34:34 +04:00
kay27 b2df02a4d2 Merge pull request 'loaded crossbows are no longer in creative inventory' (#60) from chmodsayshello/MineClone5:crosbow_inventory_fix into master
Reviewed-on: MineClone5/MineClone5#60
2021-12-30 22:33:16 +00:00
NO11 263bb1607d Remove arrow entities when the player leaves to prevent killing on startup 2021-12-30 13:12:19 +00:00
NO411 7b47a15e34 Remove arrow entities when the player leaves to prevent killing on startup 2021-12-30 14:04:53 +01:00
chmodsayshello 2dbd01b8a0 loaded crossbows are no lomger in creative inventory
In Minecraft, loaded crossbows are NOT in the creative inventory!

https://minecraft.fandom.com/wiki/Crossbow
2021-12-26 09:47:30 +00:00
chmodsayshello 6ee11337f4 Merge pull request 'Update Fork Branch' (#2) from master into golemfix
Reviewed-on: chmodsayshello/MineClone5#2
2021-12-25 21:23:03 +00:00
chmodsayshello d40ea5855b Snow Golems no longer drop experience orbs
In Minecraft, (Snow) Golems do not drop any xp! (checked in the Minecarft Wiki and confirmed in my copy of Minecraft (1.18.1))
Now they drop at least 0 and at most 0 experience orbs, so you won't get any

https://minecraft.fandom.com/wiki/Snow_Golem
2021-12-25 21:14:20 +00:00
chmodsayshello 54de60b27e Iron Golems no longer drop experience orbs
In Minecraft, (Iron) Golems do not drop any xp! (checked in the Minecarft Wiki and confirmed in my copy of Minecraft (1.18.1))
Now they drop at least 0 and at most 0 experience orbs, so you won't get any

https://minecraft.fandom.com/wiki/Iron_Golem
2021-12-25 21:11:01 +00:00
kay27 e7e8d394ed #55 Rewrite boat get_visual_size in a bit safer way 2021-12-25 04:49:12 +04:00
AFCMS a7e471de62 framed stained glass 2021-12-23 18:02:43 +01:00
AFCMS 12830781f8 Merge branch 'master' into connected_glass 2021-12-23 17:29:53 +01:00
Lizzy Fleckenstein bfd1fd69d1
Fix potential crash when falling onto unknown node 2021-12-19 18:59:09 +01:00
kay27 315ed0e72c Add dummy trident texture 2021-12-17 03:33:36 +04:00
kay27 21f305e33a Add minor anticheat fixes 2021-12-17 03:19:24 +04:00
kay27 9d77c22c4f Fix light 2021-12-17 03:04:36 +04:00
kay27 d547e435bb Try to disable suffocating bombs (Hi again Mr_Anderson) 2021-12-16 07:09:56 +04:00
kay27 a3fb5c6164 Try to disable flights in Survival Mode (Hi Mr_Anderson) 2021-12-16 05:52:50 +04:00
cora cce6b9f6e2 Merge imporved Nether dust by cora 2021-12-15 04:33:03 +04:00
kay27 59fa6a91e9 Fix light_source level 1 2021-12-15 04:23:11 +04:00
kay27 3a402c8054 Fix minor ambient light issues 2021-12-15 04:20:34 +04:00
kay27 6747a199ae Set minimum light level to 1 for all nodes by adopting ambience_light mod - much more MC-like 2021-12-13 02:09:03 +04:00
Lizzy Fleckenstein e2360204a7
Revert "fixed daylightsensor's register_abms"
This reverts commit 5a4abcbcb7.
2021-12-12 15:55:52 +01:00
kay27 5f069ae360 Add mcl_tridents mod by j45 2021-12-11 03:35:42 +04:00
kay27 512042d8d6 Update mcl_bubble_column mod by j45 2021-12-11 03:13:45 +04:00
chmodsayshello 5a4abcbcb7 fixed daylightsensor's register_abms
By changing the check if a normal/inverted daylightsensor should update by turning on and off, I made them workling again
2021-12-10 13:59:31 +00:00
kay27 6797466a81 Merge pull request 'Merge daylight sensors fix' (#49) from master into testing
Reviewed-on: MineClone5/MineClone5#49
2021-12-10 00:03:01 +00:00
kay27 361314e7a6 Merge pull request 'Fixed daylightsensors' (#45) from chmodsayshello/MineClone5:daylightsensor_fix into master
Reviewed-on: MineClone5/MineClone5#45
2021-12-09 23:57:44 +00:00
kay27 d9cec19d62 #48 Localize add_entity 2021-12-10 03:55:45 +04:00
kay27 0c8e5dc7a4 Disable Nether portal node rotation by screwdriver 2021-12-10 03:52:14 +04:00
kay27 06b482b309 Merge remote-tracking branch 'mcl2/master' into testing 2021-12-10 03:47:25 +04:00
kay27 5d73d69a82 #48 Fix lightning crash 2021-12-10 03:46:24 +04:00
Lizzy Fleckenstein e4feb233e0
Fix hopper dupe 2021-12-09 18:20:24 +01:00
Lizzy Fleckenstein b945975427
Slime splitting: nil check child to prevent crash (that happened on oysterity-mcl2) 2021-12-09 18:11:05 +01:00
kay27 6db7984cdd Merge branch 'testing' of https://git.minetest.land/MineClone5/MineClone5 into testing 2021-12-09 03:07:30 +04:00
kay27 ea6d8f9e86 Merge remote-tracking branch 'mcl2/master' into testing 2021-12-09 03:07:00 +04:00
kay27 5ea16cd4f0 Disable Nether portal node rotation by screwdriver 2021-12-09 02:55:57 +04:00
chmodsayshello c0e4065e33 „mods/ITEMS/REDSTONE/mesecons_solarpanel/init.lua“ ändern 2021-12-08 18:04:43 +00:00
kay27 543d695e44 Merge pull request '#41 Remove proprietary textures, update game screenshot' (#43) from master into production
Reviewed-on: MineClone5/MineClone5#43
2021-12-08 15:03:48 +00:00
kay27 654f608909 #41 Remove proprietary textures, update game screenshot 2021-12-08 18:59:00 +04:00
kay27 c41e2f8d13 Merge pull request 'Release MineClone 5 0.71.7' (#40) from testing into production
Tested on kay27.ignorelist.com - basics work fine, releasing
2021-12-08 01:59:23 +00:00
Lizzy Fleckenstein 0e9a56fa35
Add stacks to enchant_uniform_randomly 2021-12-07 18:19:41 +01:00
Lizzy Fleckenstein ec7e245b9d
Various fixes to the enchanting and loot system
- enchanted loot generated by mapgen now uses PseudoRandom for randomness
- prevent fishing loot from generating loot 32767 times (!!!) when only 1 is needed
- bows and fishing rods obtained from the treasure section of fishing loot are now enchanted
- there is now a function to uniform enchant items other than books
2021-12-07 17:57:18 +01:00
Lizzy Fleckenstein b3958a956d
Refactor random enchantment selection code 2021-12-07 16:16:07 +01:00
Lizzy Fleckenstein 882db9f873
Remove unused and completely unlogical enchantment_level paramenter from get_possible_enchantments 2021-12-07 15:49:12 +01:00
Lizzy Fleckenstein 261faafb7c
Fix get_possible_enchantments to not return incompatible enchantments, even if treasure enchantments are allowed 2021-12-07 15:47:23 +01:00
kay27 93da5d3f77 Merge MineClone2/master 2021-12-05 05:10:29 +04:00
kay27 3268a94b20 Merge remote-tracking branch 'origin/master' into testing 2021-12-05 04:31:17 +04:00
Lizzy Fleckenstein 92686e5412
Fix broken mcl_util.calculate_durability 2021-12-02 17:28:19 +01:00
Lizzy Fleckenstein e6b200aaf3
Fix access to ender inventory without an ender chest 2021-12-02 16:19:59 +01:00
Lizzy Fleckenstein d3015edeb9
Fix reference dupes for droppers and dispensers 2021-11-29 19:12:49 +01:00
Glaucos Ginez 9edf277905 Fix mobs spawn count 2021-11-21 22:13:24 -03:00
Nils Dagsson Moskopp 46394e7e1f
Add obsidian boat that always sinks 2021-11-20 09:06:48 +01:00
Lizzy Fleckenstein b0aceae73d
Fix reference dupe glitches 2021-11-19 15:22:40 +01:00
NO11 9200c3fe44 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-11-18 17:42:19 +01:00
NO11 903d1777be Use set_count instead of creating a new item and checking for enchanted books 2021-11-18 17:40:32 +01:00
Lizzy Fleckenstein 6ca5799565
Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-11-17 18:25:19 +01:00
Lizzy Fleckenstein 30528b0a2c
Fix crash when opening a chest with an unknown node on top 2021-11-17 18:25:12 +01:00
NO11 9919011aca Fix enchanted books losing their enchantments in creative inventory 2021-11-17 16:43:48 +01:00
NO11 c757e98b4f Fix #1911, error in lightning callback 2021-11-17 00:37:11 +01:00
NO11 a9804879e2 Rename drippingwater to mcl_dripping in mod.conf and readme.txt 2021-11-15 21:54:16 +01:00
NO11 d2a03ec0b9 Rename entity ids 2021-11-15 21:44:23 +01:00
NO11 7ef6613f09 Rename drippingwater mod to mcl_dripping 2021-11-15 21:39:43 +01:00
NO11 d27109d807 Merge branch 'master' into dripping 2021-11-13 19:15:49 +00:00
NO11 fdaaf0ec49 Use on_joinplayer instead of on_newplayer 2021-11-13 18:56:52 +00:00
NO11 add97d39a6 delete overlay texture 2021-11-13 17:28:13 +00:00
NO11 bcb6251d20 Use label instead of extra texture 2021-11-13 17:26:17 +00:00
NO11 1483c45cc9 Merge branch 'master' into inventory 2021-11-13 15:28:13 +00:00
NO11 642b9db035 localize wielditem in crossbow.lua (Fix #1901) 2021-11-13 15:19:34 +00:00
NO11 d7e59f6a35 Add switch stack size overlay texture 2021-11-13 12:26:01 +00:00
NO11 d4da855570 Add button to switch between max stack size and just one item 2021-11-13 12:25:10 +00:00
NO11 30dd505985 Merge branch 'master' into inventory 2021-11-13 11:18:47 +00:00
NO11 ae8068cca6 Use stack_max instead of 64 for all items 2021-11-13 11:17:46 +00:00
iliekprogrammar bd14918543
Reduce defuse reach for charged creeper
5.2 is actually half of the estimated MC creeper defuse range, which is 10.4.
The reason for this change is to balance the creeper in MCL2 where it fuses
whilst moving making it more difficult than MC. In MC, the creeper does not move
while fusing.
2021-11-13 12:12:20 +08:00
iliekprogrammar 66c1b4a95f Merge pull request 'fix_creeper' (#1896) from Dieter44/MineClone2:fix_creeper into master
Reviewed-on: MineClone2/MineClone2#1896
2021-11-13 04:06:55 +00:00
iliekprogrammar 96c4fb60d8
Fix crash on startup during immediate runtime by mcl_burning
The crash occurs if mcl_burning:data is deserialized to nil. The cause of
mcl_burning being set to "return nil" is unknown. Therefore, when it occurs, it
will be logged as warning.
2021-11-13 10:55:24 +08:00
NO11 5515e2baa1 Add 64 items to inventory when creative is on 2021-11-12 21:49:47 +00:00
NO11 7ed964756e local luaentity 2021-11-12 18:00:04 +00:00
NO11 0e5ad8637d Merge branch 'master' into dripping 2021-11-12 17:54:30 +00:00
NO11 0cc0a7e01d Make dripping particles MC-like 2021-11-12 17:49:27 +00:00
NO11 490e40d042 Bone meal particles: add some velocity, correct glow 2021-11-12 15:41:09 +00:00
NO11 9e4e7f0695 Merge branch 'master' into bone_meal 2021-11-12 15:02:13 +00:00
NO11 2a08f31435 Use particlespawners for better performance (sponge particles) 2021-11-12 14:09:59 +00:00
iliekprogrammar 0564121183
Code style for #1890 2021-11-12 02:36:17 +08:00
iliekprogrammar bca5033fb2 Merge pull request 'Implement health regeneration correctly' (#1890) from Dieter44/MineClone2:fixHealthRegen into master
Reviewed-on: MineClone2/MineClone2#1890
2021-11-11 18:33:57 +00:00
Dieter44 03d22852ee Replace mobs:boom with equivalent mcl_explosions.exlode() to fix game crash when creeper is right-clicked with flint and steel. Issue #1753 2021-11-11 16:56:44 +01:00
Dieter44 10a5f8c4bf Adding attribute hostile=true to charged creeper to fix that the charged creeper has no behavior: Issue #1756 2021-11-11 16:50:29 +01:00
Dieter44 68810a2a74 Change creeper fuse range and defuse range according to minecraft wiki: https://minecraft.fandom.com/wiki/Creeper and: https://minecraft.fandom.com/wiki/Explosion. Fix of #1689 2021-11-11 16:47:32 +01:00
Dieter44 0b6467d679 Reduce creeper run_velocity to 2.1, to fix #1691 2021-11-11 16:03:04 +01:00
NO11 8979230c42 Several fixes for applying bone meal to grass 2021-11-10 17:15:27 +00:00
iliekprogrammar f61143758e
Fix small typo in API.md 2021-11-10 12:54:28 +08:00
iliekprogrammar fa22ec4dd0
Add helper functions to update/merge tables. 2021-11-10 02:50:49 +08:00
Dieter44 017bf705e9 Fixing that player can regenerate health in death screen and then respawn without HP being set to maximum 2021-11-09 19:35:32 +01:00
Lizzy Fleckenstein a7bc460fae
Fix boat and enchanting book texture glitches / warnings 2021-11-09 17:39:39 +01:00
Dieter44 e82d21040c minor changes, ipairs() replaced with pairs() 2021-11-08 19:15:56 +01:00
Dieter44 2f05388541 Add one food_tick_timer per player instead of using one for all players. 2021-11-08 15:49:05 +01:00
Dieter44 976f522b9d Combine slowFoodTickTimer and fastFoodTickTimer to a single food_tick_timer 2021-11-08 15:33:53 +01:00
NO11 51dffc6c53 Merge branch 'master' into bone_meal 2021-11-08 13:16:39 +00:00
NO11 30ce6f8a77 Fix typo min -> max 2021-11-08 13:16:20 +00:00
Lizzy Fleckenstein a410a7fabe Merge pull request 'Add OpenCollective link and credits' (#1893) from EliasFleckenstein03/MineClone2:opencollective into master
Reviewed-on: MineClone2/MineClone2#1893
2021-11-08 11:48:10 +00:00
Lizzy Fleckenstein ea46c8741b
Add OpenCollective link and credits 2021-11-07 20:29:11 +01:00
NO11 5b52deaa8a Merge branch 'master' into bone_meal 2021-11-06 13:38:20 +00:00
NO11 7bbc1e9951 Add API.md for bone meal API 2021-11-06 13:34:22 +00:00
Lizzy Fleckenstein 0dd780ee2a Merge pull request 'Implement grass palette conversion, Add sugar cane colorisation' (#1889) from EliasFleckenstein03/MineClone2:tint into master
Reviewed-on: MineClone2/MineClone2#1889
2021-11-06 13:29:39 +00:00
NO11 1b259f928b Add simple bone meal API
- callback api
- particle api
2021-11-06 13:12:03 +00:00
Dieter44 d0d60804a3 Implemented health regeneration mechanics as described in minecraft wiki. Saturation values and different regeneration speeds now used. 2021-11-04 21:01:28 +01:00
Dieter44 d1d11f9740 Fixed debug hudbars for player saturation and exhaustion when mcl_hunger_debug=true is set in .config file 2021-11-04 20:58:54 +01:00
Nils Dagsson Moskopp 4926c0560d
Speed up TGA encoding by creating fewer strings 2021-11-04 15:38:56 +01:00
Nils Dagsson Moskopp 23ca11c8e1
Use RLE compression in tga_encoder 2021-11-04 15:38:26 +01:00
Elias Fleckenstein 88e084cbca Merge pull request 'Rework XP API' (#1888) from EliasFleckenstein03/MineClone2:xp into master
Reviewed-on: MineClone2/MineClone2#1888
2021-11-04 13:36:13 +00:00
iliekprogrammar f4803a35c4 Merge pull request 'Update contribution guidelines' (#1881) from EliasFleckenstein03/MineClone2:guidelines into master
Reviewed-on: MineClone2/MineClone2#1881
2021-11-04 12:06:32 +00:00
Lizzy Fleckenstein 25f467c8ab
Merge branch 'master' into xp 2021-11-03 20:18:49 +01:00
Elias Fleckenstein c17fc81d1f Merge pull request 'Break minecart if it's near a cactus' (#1886) from NO11/MineClone2:minecart into master
Reviewed-on: MineClone2/MineClone2#1886
2021-11-03 19:18:01 +00:00
Lizzy Fleckenstein 8f9f5cc936
Merge branch 'master' into xp 2021-11-03 20:14:08 +01:00
Lizzy Fleckenstein 643ded06da
Merge branch 'master' into guidelines 2021-11-03 20:04:08 +01:00
Lizzy Fleckenstein 970988cb39
Add sugar cane colorisation 2021-11-03 19:58:50 +01:00
Lizzy Fleckenstein 34f329a9d5
TextureConverter: Implement grass palette conversion
Source: https://minecraft.fandom.com/wiki/Tint
Since the MineClone2 biomes do not entirely match with the Minecraft ones I picked the Minecraft biomes that seem to match them best.
This also changes the palette index of the nether to match the desert instead of the mesa biome
and changes the color of grass blocks in item form to the default minecraft one.
2021-11-03 19:57:21 +01:00
Lizzy Fleckenstein a4e73886d5
Rework XP API 2021-11-03 19:36:57 +01:00
Lizzy Fleckenstein 148575a05b
Remove unused hud_manager.hud_exists function 2021-11-03 16:28:13 +01:00
Artem Arbatsky db696d0e2b
Add missing call for on_die function 2021-11-03 10:11:06 +08:00
NO11 f09923ded9 Merge branch 'master' into minecart 2021-11-02 22:01:54 +00:00
NO11 c52fda154b Break minecart if it's near a cactus (Fix #924) 2021-11-02 22:58:03 +01:00
NO11 4e0bb0d120 Merge branch 'master' into inventory 2021-10-28 09:47:39 +00:00
NO11 5b37f56005 Remove small gray border of buttons in creative inventory pages 2021-10-28 09:43:14 +00:00
NO11 6025a3d7d4 Merge branch 'master' into totem_particles 2021-10-28 09:06:09 +00:00
NO11 19689dd857 Use enchanted golden apple for thing banner 2021-10-26 16:50:10 +00:00
NO11 b78e7b3e4d Merge branch 'master' into totem_particles 2021-10-26 14:48:07 +00:00
Lizzy Fleckenstein 797da20fa7
Add script to automatically generate ingame credits from CREDITS.md 2021-10-26 13:08:07 +02:00
Lizzy Fleckenstein 30f7c638f3
mcl_enchanting: Add spanish translations and update template
Credit to: todoporlalibertad <todoporlalibertad@riseup.net>
Reviewed by j45
2021-10-25 22:55:48 +02:00
NO11 eccba76732 Use math.floor instead of math.round 2021-10-25 20:25:34 +00:00
NO11 6d22262c53 Merge branch 'master' into totem_particles 2021-10-25 17:09:24 +00:00
NO11 7489010152 Use particlespawners instead of single particles 2021-10-25 17:08:38 +00:00
NO11 dafe860e56 simple totem particles 2021-10-24 19:31:51 +00:00
epCode 1c458a2e72 Add crossbows 2021-10-15 12:00:37 -07:00
NO11 9ccf8de606 Fix crash on startup if mcl_playersSleepingPercentage is not defined (#1874) 2021-10-09 14:41:56 +00:00
NO11 19b5a5aac7 Merge pull request 'Add playersSleepingPercentage server setting (Fix #920)' (#1861) from NO11/MineClone2:beds into master
Reviewed-on: MineClone2/MineClone2#1861
2021-10-07 15:14:03 +00:00
NO11 6803d22dbd Merge pull request 'Give players fly priv when creative is enabled' (#1865) from NO11/MineClone2:privs into master
Reviewed-on: MineClone2/MineClone2#1865
2021-10-07 15:13:04 +00:00
NO11 0584d16569 add lightning API support for mobs 2021-10-05 04:15:48 +00:00
NO11 03829dd518 fix typo 2021-10-05 04:15:48 +00:00
NO11 72ea9069bd correct lightning API.md a bit 2021-10-05 04:15:48 +00:00
NO11 9188467a6a add API.md for lightning mod 2021-10-05 04:15:48 +00:00
NO11 fe91d7f3e0 use mcl_util.replace_mob function to simplify dispenser code 2021-10-05 04:15:48 +00:00
NO11 463fe2af5f use mcl_util.replace_mob function to simplify lightning code 2021-10-05 04:15:48 +00:00
NO11 e4af02ea52 Add function to replace mobs 2021-10-05 04:15:48 +00:00
NO11 8e3f9d2169 add basic lightning API 2021-10-05 04:15:48 +00:00
NO11 a410d17306 Fix that all of new players' default_privs are removed 2021-09-30 20:14:13 +00:00
AFCMS e9437e9e1e fix crash then using function in `_mcl_armor_[texture, preview]` tool field 2021-09-29 21:06:51 +02:00
NO11 16c73c1cb6 Add forgotten `=` 2021-09-28 13:16:19 +00:00
NO11 03be736566 Dont skip night if no players are in bed 2021-09-27 20:13:12 +00:00
NO11 8697b38d60 Remove on_newplayer ... 2021-09-27 20:00:11 +00:00
cora 15a60ae638 Merge pull request 'Fix villagers/mobs despawning ( issue #26 )' (#29) from TioBlocos/MineClone5:fix/issue_26_villagers_despawning into master
Reviewed-on: MineClone5/MineClone5#29
2021-09-25 15:01:11 +00:00
Artem Arbatsky 91d0dc38e5 Add missing call for on_die function 2021-09-24 16:50:54 +05:00
NO11 e83438e42c Update mcl_bed README.txt 2021-09-21 18:19:07 +00:00
NO11 df1d8077e6 Some fixes for mcl_beds
- remove enable_bed_night_skip setting (mcl_playersSleepingPercentage setting can be used to enable disable night skip)
- make it possible to change mcl_playersSleepingPercentage ingame
- fix weird bug which allowed only numbers <= 0
2021-09-21 18:07:36 +00:00
NO11 89e90b13eb Use on_newplayer 2021-09-20 14:16:59 +00:00
AFCMS b0cf07a020 Mise à jour de 'mods/ITEMS/mcl_core/locale/mcl_core.ru.tr' 2021-09-20 07:59:00 +00:00
AFCMS e36a8c5acf Mise à jour de 'mods/ITEMS/mcl_core/locale/mcl_core.pl.tr' 2021-09-20 07:58:25 +00:00
AFCMS b2af00db22 Mise à jour de 'mods/ITEMS/mcl_core/locale/mcl_core.es.tr' 2021-09-20 07:57:04 +00:00
AFCMS e8134345d4 Mise à jour de 'mods/ITEMS/mcl_core/locale/mcl_core.de.tr' 2021-09-20 07:56:25 +00:00
AFCMS e0c7e938de Mise à jour de 'mods/ITEMS/mcl_core/locale/mcl_core.fr.tr' 2021-09-20 07:55:51 +00:00
ztianyang ac8383dd4b Merge branch 'master' into emerald-desc 2021-09-20 01:54:00 +00:00
NO11 c6003398b5 Remove chain armor recipes, because villagers spawn now 2021-09-19 13:14:36 +00:00
NO11 f10d579d9c Only change fly priv on join if it wasn't revoked or granted 2021-09-19 12:07:21 +00:00
NO11 fed43586f2 fix typo 2021-09-19 11:28:07 +00:00
NO11 18a83fa5d7 Fix typo 2021-09-19 11:18:09 +00:00
NO11 0e15accada Enable fly in creative mode 2021-09-19 11:15:19 +00:00
Lizzy Fleckenstein 27e4bd6d09 Fix burning entity packet spam
- Use upright_sprite for 3rd person flame display, which is both closer to minecraft and allows for client side texture animation
- Take care of flame HUD in the MineClone2Client
2021-09-18 22:28:20 +02:00
Nils Dagsson Moskopp 256de2bc36 Log warning for non-serializable item entity fix 2021-09-15 18:10:40 +02:00
sfan5 693a5317ef Fix non-serializable item entity unload crash
Some items, like shulkers or books, can have so much metadata that the
corresponding item entity can not be serialized by the Minetest engine.

Without this patch, dropping such an item and then moving away crashes
Minetest, as it can not serialize the entity with serializeString16()
when unloading a map block.

The patch resets the overlong metadata of non-serializable item entities.
This avoids a crash and makes it possible to retrieve a “sanitized” item
without metadata when the mapblock containing the item entity is reloaded.

Originally sfan5 guessed the maximum possible item entity serialization size
that would not lead to a crash as 65530 bytes, but anon5 calculated it to be
actually 65487 bytes. This has been experimentally verified by erlehmann.
2021-09-15 18:10:32 +02:00
Nils Dagsson Moskopp 95c4d6472b Send FOV packets only when necessary
Before this change, about 10 to 30 FOV packets were sent from the server
to each connected client each second. This patch only sends FOV packets
when the FOV actually needs to be changed, i.e. when the player starts
or stops sprinting.
2021-09-15 18:08:58 +02:00
Wuzzy 1c192f4fbb Do not send useless HUDCHANGE packets
Several mods set or unset the visibility of a HUD bar way too often (e.g.
in a globalstep handler), causing the server to send a lot of superfluous
HUDCHANGE packets to each client. Returning from hb.hide_hudbar() early
if HUD bar visibility would not change prevents sending these packets.
2021-09-15 17:47:35 +02:00
NO11 c22c2063ad Merge branch 'master' into beds 2021-09-12 12:53:01 +00:00
NO11 410b7c7844 Update german translation for mcl_beds 2021-09-12 12:52:26 +00:00
NO11 9f9799d96e Update template.txt in mcl_beds 2021-09-12 12:50:54 +00:00
NO11 cd84c472dc Add translation support. 2021-09-12 12:49:39 +00:00
NO11 89ff666a6a Add playersSleepingPercentage server setting (Fix #920) 2021-09-12 12:21:18 +00:00
cora 7ae73bcf47 fix crash and netherite hoes
The item registration in mcl_farming for diamond hoes contains the wrong
upgrade_item id (mcl_tools:hoe_netherite, should me mcl_farming:). This
commit changes that.
2021-09-10 21:41:15 +02:00
NO11 1a5339e907 Only use the shears once in dispenser if there are more mobs in front of the dispenser 2021-09-08 14:22:53 +00:00
NO11 aa930dc2b8 Merge pull request 'Fix strange behaviour when filling end portal with bedrock inside (#1749)' (#1853) from NO11/MineClone2:end_portal into master
Reviewed-on: MineClone2/MineClone2#1853
2021-09-07 18:04:05 +00:00
NO11 79463738f6 Merge pull request 'Make it possible to use shears in the dispenser for mobs (Fix #1233)' (#1854) from NO11/MineClone2:dispenser into master
Reviewed-on: MineClone2/MineClone2#1854
2021-09-07 18:03:19 +00:00
NO11 79d8593d34 Merge pull request 'Destroy objects near cactus faster (make it possible to throw items at a cactus)' (#1856) from NO11/MineClone2:cactus into master
Reviewed-on: MineClone2/MineClone2#1856
2021-09-07 18:00:53 +00:00
NO11 dc8436fdf9 Destroy objects near cactus faster (make it possible to throw items at a cactus) 2021-09-06 14:34:25 +00:00
NO11 f41cea71fd Make it possible to use shears in the dispenser for mobs (Fix #1233) 2021-09-06 13:30:08 +00:00
NO11 5fedd914fb Fix strange behaviour when filling end portal with bedrock inside (#1749) 2021-09-04 19:14:08 +00:00
Elias Fleckenstein a8d09338a9 Merge pull request 'Added spawn egg for killer rabbit' (#1704) from talamh/MineClone2:master into master
Reviewed-on: MineClone2/MineClone2#1704
2021-09-04 10:21:18 +00:00
NO11 872e3e74d3 Merge pull request 'Make cactus mechanisms more MC like (Fix #1741)' (#1851) from NO11/MineClone2:cactus into master
Reviewed-on: MineClone2/MineClone2#1851
2021-09-03 16:20:14 +00:00
NO11 bf62eb33fa Change label of cactus abm 2021-09-03 14:06:21 +00:00
NO11 0da7b3fbda Make cactus mechanisms more MC like (Fix #1741) 2021-09-02 20:38:01 +00:00
NO11 ca086109bf support tables for `_repair_material` 2021-08-31 21:04:57 +00:00
NO11 2b322a451f remove space 2021-08-26 10:17:15 +00:00
NO11 f0af15fcd8 Make anvil selection/collision box more MC like 2021-08-26 10:14:57 +00:00
AFCMS af8e88f44c fix error in `mcl_title` documentation 2021-08-24 08:25:42 +02:00
Glaucos Ginez 345f40ded6 Fix issue 26 2021-08-22 14:44:01 -03:00
AFCMS 2d1a43396f Merge pull request 'Title HUD API' (#1778) from title-API into master
Reviewed-on: MineClone2/MineClone2#1778
2021-08-20 12:31:54 +00:00
AFCMS df4b8e64cc finish `mcl_title` API + doc 2021-08-19 19:21:33 +02:00
AFCMS 40898d3e9d WIP bold and italic support 2021-08-16 14:19:50 +02:00
AFCMS 58a292a4f3 fix inconsistency 2021-08-16 13:48:08 +02:00
AFCMS fe62189019 Update French translation (part 1) 2021-08-13 11:35:18 +02:00
NO11 cb55c36863 Correct the texture of anvils
Because of the new node_nox, the textures have to be a little bit bigger.
2021-08-11 15:44:43 +00:00
NO11 f8dcf05670 Add MC like nodebox for anvils 2021-08-11 15:41:45 +00:00
kay27 d30e5b4ba1 Merge pull request 'Merge finished item ID and hudbar fix by NO11' (#25) from testing into production
Reviewed-on: MineClone5/MineClone5#25
2021-08-06 22:36:59 +00:00
NO11 664c238137 Add german translation for the bow/fishing rod desc 2021-08-06 10:52:55 +00:00
Elias Fleckenstein efab5a1cf5 Merge pull request 'Fix warning in `mcl_end`' (#1834) from Emojigit/MineClone2:fork-20210710-fixwarn into master
Reviewed-on: MineClone2/MineClone2#1834
2021-08-06 10:45:33 +00:00
Emily 5bb57a81ad Add durability tooltip to translation template 2021-08-06 11:55:27 +02:00
Emily df0c1f1dd1 Make bows and fishing rods show their durability in description (Fixes issue #1773) 2021-08-06 11:14:17 +02:00
kay27 72e88f1980 Rename mapgen API methods, fix errors 2021-08-05 04:01:07 +04:00
NO11 5c563d6ffd Make eating particles much more MC like! 2021-08-02 12:24:34 +00:00
kay27 2582da99e8 Merge remote-tracking branch 'mcl2/master' into testing 2021-08-02 02:35:19 +04:00