Commit Graph

  • 095ad465e5 Give furnace minecart minimum velocity when lit, add train separation code, update logging code, add sequence number to entity staticdata to allow respawn/despawn when carts move when the entity is unloaded teknomunk 2024-04-07 10:18:55 +0000
  • db96e86d57 Fix rail detach crash, make tnt minecarts explode if they hit something hard (off rails) teknomunk 2024-04-07 07:44:29 +0000
  • dcf833907e Make sure carts get detatch if the rail under them is removed teknomunk 2024-04-07 07:13:40 +0000
  • 24bf99df44 Fixish reorganizing, initial train implementation teknomunk 2024-04-06 22:10:22 +0000
  • 386bde698d Major reorganization, start setup for trains teknomunk 2024-04-06 17:09:54 +0000
  • 3ca5bd0dff Make sure carts that collide move in the same direction the colliding cart was teknomunk 2024-04-06 14:23:59 +0000
  • bacc8bdf64 Add utilities to convert between an ObjectRef, it's active object id and a 128bit uuid, move minecart data from entity staticdata to mod storage to eventually allow updating carts when out of range of players and also track what carts are alive, implement on-rail cart collisions teknomunk 2024-04-06 13:40:40 +0000
  • ce9e3481af Harden against unknown nodes teknomunk 2024-04-06 07:33:47 +0000
  • 659a387256 Allow players to push minecarts that are not on track teknomunk 2024-04-06 06:50:30 +0000
  • b6e51a3c40 Fix rails in creative inventory, make minecart with tnt not crash server when exploding, make minecart with tnt slightly more powerful than regular tnt teknomunk 2024-04-06 06:24:31 +0000
  • 6d9cae1034 Fix rail movement regressions teknomunk 2024-04-06 05:56:21 +0000
  • e6664de6e7 Move cart code to its own file, more code cleanup, add aliases for old track items teknomunk 2024-04-05 06:39:42 +0000
  • fd03fc0027 Cleanup code, restore uphill/downhill cart movement, completely remove old rail teknomunk 2024-04-04 22:08:20 +0000
  • c9883cc6cc Get rail reattachment (especially after jumps) working correctly teknomunk 2024-04-04 18:20:14 +0000
  • 5bd06f5c03 Make legacy rail update apply to all old rail types, add basic detached railcart physics with a stub to use mcl_physics when it gets merged teknomunk 2024-04-04 07:33:16 +0000
  • 284c366136 Silence unmaskable print statements teknomunk 2024-04-03 22:07:14 +0000
  • c1a7001c31 Add immortal item entity support, add legacy rail conversion that uses immortal item drops for corners/tees/crosses that are no longer possible teknomunk 2024-04-03 21:33:48 +0000
  • 8cd9ee9b32 Fix more rail connection bugs teknomunk 2024-04-01 06:12:59 +0000
  • 3391a28fa9 Get sloped connections working correctly teknomunk 2024-03-31 20:20:34 +0000
  • ad11fc22ec Re-enable rule for powering rail from underneath, have stairs block minecart movement, fix crash when lightning strikes a minecart teknomunk 2024-03-31 11:49:55 +0000
  • 4589206985 Fix mcl_util.table_merge where a standard value overwrites a table, fix base definition usage, implement behavior difference when there is a solid block after a straight piece of track (this will eventually allow minecarts to fly off the end of the track) teknomunk 2024-03-31 11:13:50 +0000
  • 19e2dc58eb Update all rail types to new version teknomunk 2024-03-31 10:41:00 +0000
  • 4b8cb85319 Reorganize teknomunk 2024-03-31 10:21:07 +0000
  • 7b7dfd1da3 Finish reverting 08b41a3b39 teknomunk 2024-03-30 23:00:17 +0000
  • 603577e7a6 Enable new track with get_next_dir handlers teknomunk 2024-03-30 22:33:40 +0000
  • 34f394d8dc Change connection rules again to allow building parallel track, tees and crosses), start implementing rail rules callbacks teknomunk 2024-03-30 22:02:06 +0000
  • 75f394e5ab Add sloped rail teknomunk 2024-03-29 19:53:13 +0000
  • 478c488c85 Fix rail visuals, add switch operation teknomunk 2024-03-29 18:08:07 +0000
  • 4265f0b428 Implement initial rail connection logic (no vertical track yet), experiment with texture modifiers and gravel underlay for display (not working) teknomunk 2024-03-28 15:06:26 +0000
  • 57ad709bdd Start implementing new rail nodes teknomunk 2024-03-28 07:11:59 +0000
  • 296c301669 Implement minecart with command block teknomunk 2024-03-28 06:18:50 +0000
  • 4c88eb1439 Create mesecons command API and modify commandblock to use it teknomunk 2024-03-28 05:49:46 +0000
  • 4db70fd729 Disable punch to move minecarts, implement punch to drop minecart, enable basic cart keyboard controls (accelerate and brake) teknomunk 2024-03-23 09:59:08 +0000
  • 6f7e1df002 Remove cart oscillation when pushed teknomunk 2024-03-23 09:08:17 +0000
  • c18976c0ca Limit top speed of furnace minecarts to 4 blocks/second, limit total fuel time to 27 minutes teknomunk 2024-03-23 08:09:37 +0000
  • ff5e185629 Fix bug with furnace minecart at max velocity (stopped until fuel ran out), move _fueltime into staticdata teknomunk 2024-03-23 07:32:32 +0000
  • 64b930ac3e Fix call signature of mcl_util.hopper_pull_to_inventory, move cart-specific behaviors to _mcl_minecarts_on_step handlers, fix typo, change distance used in rail reattach code, move cart_id generation teknomunk 2024-03-23 07:09:20 +0000
  • f9e8f60a1c Add groups to minecart entities (for containers), fix cart node watch handling, relocate hopper_push_to_mc in mcl_hopper/init.lua, implement hopper-to-minecart push using enter/leave hooks for both straight and bent hoppers teknomunk 2024-03-23 06:13:53 +0000
  • ec2d08524e Add API function to remove node watch teknomunk 2024-03-16 09:21:39 +0000
  • 6c6bfcfcb2 Refactor enter/leave hook processing, add node watches for implementing hopper-to-minecart functionality (should properly handle heavy server lag without missing any time), temporarily disable hopper push/pull to minecart in mcl_hoppers, prepare to move minecart-specific on_step behavior out of main on_step function and to a minecart-specific handler teknomunk 2024-03-16 09:17:09 +0000
  • b0c075714f Start adding hooks for implpementing minecart with command block teknomunk 2024-03-16 07:59:39 +0000
  • 44f9a3e619 Make minecarts solid and add players pushing teknomunk 2024-03-13 14:22:23 +0000
  • 1618693726 Fix forwards/backwars tilt in all directions teknomunk 2024-03-13 13:07:58 +0000
  • fd6f4ee80e Prevent players from entering minecarts when sneaking, prevents players from causing https://git.minetest.land/MineClone2/MineClone2/issues/3188 teknomunk 2024-03-13 12:26:15 +0000
  • d479bfb711 Increase default track friction, disable right-click to exit minecarts teknomunk 2024-03-13 12:08:12 +0000
  • c2be93e0d5 Initial tuning of acceleration/gravity, fix crash when entering an activator rail, detach mobs from cart on active activator rail, remove commented out code no longer needed teknomunk 2024-03-13 11:51:39 +0000
  • 0ef0ae6bee Move code that handles below-rail hoppers to handle_cart_enter, implement timestep-independent cart physics (will need tuning punch, power rail and gravityaccelerations to make game fun) teknomunk 2024-03-13 10:28:40 +0000
  • 0fa067d3ee Mostly fix carts stopping between powered rails (there is still some strangeness with acceleration physics) teknomunk 2024-03-12 07:03:41 +0000
  • e4eb38db9c Fix diagonal movement teknomunk 2024-03-11 20:14:11 +0000
  • b4a0ae9c56 Add diagonal track movement on zig-zag track, rewrite mcl_minecarts:get_rail_direction teknomunk 2024-03-11 08:57:43 +0000
  • 37d07b6201 Make TNT minecarts available in creative menu teknomunk 2024-03-11 08:13:36 +0000
  • 52bca90ae2 Implement custom item dropper handlers, implement droppers placing minecarts teknomunk 2024-03-11 07:26:51 +0000
  • af9409c69f Hopper minecarts pull from containers above rail teknomunk 2024-03-11 00:34:26 +0000
  • 0951acd06c Rework in preparation to add code to pull from containers into the hopper minecart teknomunk 2024-03-10 11:20:27 +0000
  • f57d202a9d Move fiction constant to top of file, suppress cart flips when direction reverses due to gravity or end of track teknomunk 2024-03-09 18:45:01 +0000
  • b51496ad8e Add code to reattach carts to rail when data corruption occurs, fix bug in last commit that caused carts to bury into the ground teknomunk 2024-03-09 17:28:23 +0000
  • adddaec69a Remove dip into the ground that occured when gravity caused the cart to reverse directions teknomunk 2024-03-09 16:06:11 +0000
  • a0463b564a Implement gravity, move orientation update to own function, fix cart stopping in process_acceleration teknomunk 2024-03-06 08:07:31 +0000
  • 8c6b011c91 Change connected railcar behavior to fix unreliable end of track stopping, set maximum acceleration of powered rails to 8 blocks per second (per https://minecraft.fandom.com/wiki/Powered_Rail), stop powered rails from powering the block underneath it (allows below rail hopper to work while the rail is powered like in https://www.youtube.com/watch?v=szjO0-duTAk), modify mcl_hoppers to allow triggering a hopper pull once the minecart is stopped on top of the hopper and wait before allowing the cart to move to allow redstone circuits time to process teknomunk 2024-02-16 23:09:29 +0000
  • f2c6f069d0 Make minecart always stop at correct location at end of track, fix crash when placing chest minecart after changing how staticdata is handled teknomunk 2024-02-14 11:47:42 +0000
  • 15000be8ec Modify do_movement_step to move to always move to the edge of the current rail segment before updating the direction to prevent oscillations at corners, fix end of track stop location with new movement behavior, disable experimental controls, swap code to detach the driver on float with a call to detach_driver() teknomunk 2024-02-14 10:48:55 +0000
  • f3fac3586f Add DEBUG flag, stop small do_movement_step's from occuring (this improves but doesn't eliminate the bug I with the a6be179ed commit), add recovery when staticdata field gets lost teknomunk 2024-02-13 23:31:48 +0000
  • 9be0d27dd8 Fix initial_properties for minecarts teknomunk 2024-02-13 15:33:37 +0000
  • bee32418c4 Change left,right and back vectors to matrix math results with no branching teknomunk 2024-02-13 15:28:00 +0000
  • 5d14d43ec4 Remove now unused properties from minecart definition, convert more vectors to use vector.new syntax teknomunk 2024-02-13 14:57:45 +0000
  • 8a91f04cf0 Complete rewrite of minecart movement that resolves https://git.minetest.land/MineClone2/MineClone2/issues/2446 and https://git.minetest.land/MineClone2/MineClone2/issues/247#issuecomment-50960 but has a bug where carts will synchronize movements that I am still investigating teknomunk 2024-02-13 14:45:00 +0000
  • 2a9aaa02af Change staticdata serialization (with migration from old data), disable debugging code used to investigate https://git.minetest.land/MineClone2/MineClone2/issues/2446 teknomunk 2024-02-13 10:42:38 +0000
  • 44514e0fad Change to vector.new from {x=...}, relocate movement code to own function for future changes teknomunk 2024-02-13 09:42:07 +0000
  • cb45131ed7 Added support for mcl_potions health bar predicate system WillConker 2024-06-15 11:06:52 +0100
  • a16c1b2fd7 Fix bed droping item when exploded JoseDouglas26 2024-06-03 21:47:26 -0300
  • aedf2eb141 lua_entity use JoseDouglas26 2024-06-13 10:27:52 -0300
  • e67b636868 Changes to fix possible bugs with mods JoseDouglas26 2024-06-13 10:18:31 -0300
  • f295026e76 New ender pearl and boat detachment behavior JoseDouglas26 2024-06-13 09:44:13 -0300
  • b8813f0139 New behavior for ender pearl detaching player JoseDouglas26 2024-06-09 07:56:19 -0300
  • c23008feac Changes on ender pearl behavior JoseDouglas26 2024-06-04 08:35:32 -0300
  • 0613901d3b Specifying behavior for the pearl only JoseDouglas26 2024-06-04 05:45:09 -0300
  • ad0a8a207b Fixing ender pearl that damages mounted player JoseDouglas26 2024-06-04 05:37:18 -0300
  • 72435933e4 Add defensive check (#4437) the-real-herowl 2024-06-15 03:51:03 +0200
  • dace25075b Add defensive check the-real-herowl 2024-06-14 22:52:58 +0200
  • 3330bb16f6 Health bar updates when player receives health boost WillConker 2024-06-14 20:30:52 +0100
  • 15c6b4ab31 Bugfixes with compound hudbars and health boost issue #4434 WillConker 2024-06-14 20:13:31 +0100
  • 32505a122e Supported compound hudbars, which means absorption now works WillConker 2024-06-14 11:40:24 +0100
  • 8672f21e39 Proportional hudbars now work WillConker 2024-06-14 08:58:36 +0100
  • fdfcb4a505 Removed old hudbars mod WillConker 2024-06-13 21:15:40 +0100
  • d1963b2a43 Fixed crashing bugs <- first 'working' version WillConker 2024-06-13 21:13:22 +0100
  • 6a0967fabd Removed some hudbars for testing WillConker 2024-06-13 18:58:32 +0100
  • c480afc77d Moved new vl_hudbars mod to this branch WillConker 2024-06-13 18:43:36 +0100
  • f705571dff Fixed warnings and changed zimbie pig texture WillConker 2024-06-13 17:52:32 +0100
  • dec035ef67 lua_entity use JoseDouglas26 2024-06-13 10:27:52 -0300
  • 2982535489 Changes to fix possible bugs with mods JoseDouglas26 2024-06-13 10:18:31 -0300
  • 5e091fbcfe New ender pearl and boat detachment behavior JoseDouglas26 2024-06-13 09:44:13 -0300
  • bc645b1931 New behavior for ender pearl detaching player JoseDouglas26 2024-06-09 07:56:19 -0300
  • 3483ee9f1b Changes on ender pearl behavior JoseDouglas26 2024-06-04 08:35:32 -0300
  • f4ff434e7d Specifying behavior for the pearl only JoseDouglas26 2024-06-04 05:45:09 -0300
  • dd84e0090f Fixing ender pearl that damages mounted player JoseDouglas26 2024-06-04 05:37:18 -0300
  • 35e14dd415 Potion conversion fix (#4426) the-real-herowl 2024-06-13 13:22:14 +0200
  • 173f8a0bca Effect loading fixes (#4425) the-real-herowl 2024-06-13 13:21:36 +0200
  • 951a28740b Started writing resizeable hudbar functions WillConker 2024-06-12 17:34:53 +0100
  • 1f32b47208 Fix crash while fighting whither (#4392) teknomunk 2024-06-12 14:18:03 +0200
  • c13b67da86 Update comment, remove stray space teknomunk 2024-06-12 06:01:34 -0500