Commit Graph

7653 Commits

Author SHA1 Message Date
kay27 2008239a52 Fix code style 2022-02-17 01:03:28 +04:00
kay27 2b7e2e7a25 Restore blaze fireball 2022-02-16 19:04:21 +04:00
kay27 a909819881 Quickfix a crash 2022-02-16 18:55:18 +04:00
1798643961 034f6b947d Some Chinese translate 2022-02-16 16:26:49 +08:00
kay27 7de4b56cf6 Merge remote-tracking branch 'origin/villages' into testing 2022-02-16 06:13:59 +04:00
kay27 c3e0b871dc #204 Fix fireball entities 2022-02-16 06:13:39 +04:00
kay27 4f2567bed0 #204 Spawn villagers 2022-02-16 05:41:43 +04:00
kay27 44575dfd96 #204 Register village as a structure 2022-02-16 04:57:38 +04:00
kay27 f61459ae89 #204 Register all village schematics as structures 2022-02-16 04:45:42 +04:00
kay27 c21f9b4c40 #204 Add own Perlin noise 2022-02-16 04:10:39 +04:00
kay27 dffdfb3cad Fix terraform 2022-02-16 03:59:44 +04:00
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