Commit Graph

7230 Commits

Author SHA1 Message Date
Guy Liner 732296aa15 Modified collision detection to be based on velocity vector length rather than if the block you're touching is or is not air 2022-01-16 15:54:49 -05:00
Guy Liner aac55e9e38 Reorganized some conditionals and when you stop sprinting your FOV goes back to normal 2022-01-16 14:44:41 -05:00
Guy Liner cc18b2ecc5 These are minecraft like gravity and jump physics, especially with the patch for mountain flying that was on minetest pull requests 2022-01-08 20:12:43 -05:00
Guy Liner 99c8e818dd Changed variable back to a local one 2022-01-07 07:47:27 -05:00
Guy Liner 702c954cf0 Corrected coding style 2022-01-07 07:46:53 -05:00
Guy Liner 9630817f0e If the player is jump and hitting a wall, do not allow them to walk 2022-01-07 07:46:15 -05:00
Guy Liner 531b17c5bd Slab detection 2022-01-07 00:09:56 -05:00
Guy Liner 48f6699a6a Added comments and clean up code logic 2022-01-07 00:09:56 -05:00
GuyLiner 3f625be8e2 Merge branch 'master' into mc_physics 2022-01-07 03:16:51 +00:00
Guy Liner 6801e6556d Rearranged some conditionals 2022-01-06 22:00:15 -05:00
Guy Liner 838e09105e Removed some comments and added some comments 2022-01-06 21:59:59 -05:00
Guy Liner ea76517591 The function that was created did not work, so I created a new one that calculates nodes around the player based on degrees 2022-01-06 17:29:23 -05: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
Guy Liner d51f7344ae Testing out some math 2022-01-06 15:52:32 -05:00
Guy Liner 4a8f323192 TEMP 2022-01-06 13:58:18 -05:00
Guy Liner fa248bf7da Player must stop sprinting if they hit a block in front of them or if the player's sides are touching a wall 2022-01-06 12:20:59 -05:00
bigboi_ d38662475c testing values 2022-01-03 13:16:39 -05:00
Lizzy Fleckenstein a8b974266c Merge pull request 'Add 1024x1024 logo (basic and small versions)' (#1947) from AFCMS/MineClone2:new_logo into master
Reviewed-on: MineClone2/MineClone2#1947
2022-01-03 17:49:54 +00:00
bigboi_ 771a15b99e Modified Jump speed again 2022-01-03 08:45:36 -05:00
Guy Liner b4db8257a0 Modified jump movement_speed_jump and gravity 2022-01-03 08:38:53 -05:00
AFCMS 11f3ad15ba add logo 2022-01-02 18:50:15 +01:00
NO11 627c37cd97 Fix pumpkin hud 2022-01-02 12:37:20 +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
NO11 7b46225176 Remove arrow entities when the player joins to prevent killing on startup (working fix) 2022-01-01 22:59:21 +00:00
NO411 7b47a15e34 Remove arrow entities when the player leaves to prevent killing on startup 2021-12-30 14:04:53 +01:00
AFCMS e3129b057f Merge pull request 'Optional connected glass support' (#1939) from AFCMS/MineClone2:connected_glass into master
Reviewed-on: MineClone2/MineClone2#1939
2021-12-23 20:18:19 +00: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
Lizzy Fleckenstein e2360204a7
Revert "fixed daylightsensor's register_abms"
This reverts commit 5a4abcbcb7.
2021-12-12 15:55:52 +01:00
Lizzy Fleckenstein 14295cc4d7 Merge pull request 'Fixed daylightsensors' (#1928) from chmodsayshello/MineClone2:daylightsensorfix into master
Reviewed-on: MineClone2/MineClone2#1928
2021-12-10 18:31:38 +00: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 0c8e5dc7a4 Disable Nether portal node rotation by screwdriver 2021-12-10 03:52:14 +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
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
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
NO11 2127bb3ef1 Merge pull request 'Fix mobs spawner count' (#1915) from TioBlocos/MineClone2:fix-mobs-spawn into master
Reviewed-on: MineClone2/MineClone2#1915
2021-11-22 12:06:12 +00: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