teknomunk
  • Joined on 2024-02-12
teknomunk pushed to minecart-update at teknomunk/MineClone2 2024-03-06 13:49:12 +01:00
b714016eef Implement gravity, move orientation update to own function, fix cart stopping in process_acceleration
teknomunk pushed to hopper-changes at teknomunk/MineClone2 2024-02-17 05:26:16 +01:00
289bbee375 Make sure the inventory slot has at least the number of items requsted in it before selecting it
teknomunk commented on pull request VoxeLibre/VoxeLibre#4190 2024-02-17 05:22:59 +01:00
Fix #4189 - Make hoppers move items if there is space for one item

In playing today in my main world, I found that with these changes, hoppers don't pull from the second or later inventory slots. Investigating...

teknomunk pushed to minecart-update at teknomunk/MineClone2 2024-02-17 04:50:49 +01:00
18347e1926 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 created pull request VoxeLibre/VoxeLibre#4193 2024-02-16 19:35:21 +01:00
Add partial item stack pickup
teknomunk pushed to grouped-item-pickup at teknomunk/MineClone2 2024-02-16 19:30:38 +01:00
dfcfc0ecf6 Additional cleanup, impelemnt partial item stack pickup
teknomunk created branch grouped-item-pickup in teknomunk/MineClone2 2024-02-16 19:10:55 +01:00
teknomunk pushed to grouped-item-pickup at teknomunk/MineClone2 2024-02-16 19:10:55 +01:00
f2a33ebbc2 Move object pickup code to try_object_pickup(...) and refactor to remove most indentation for readability
teknomunk pushed to minecart-update at teknomunk/MineClone2 2024-02-14 17:28:58 +01:00
5a0c791595 Make minecart always stop at correct location at end of track, fix crash when placing chest minecart after changing how staticdata is handled
teknomunk pushed to minecart-update at teknomunk/MineClone2 2024-02-14 16:30:12 +01:00
67c05e044e 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 pushed to minecart-update at teknomunk/MineClone2 2024-02-14 05:13:08 +01:00
60a02b2991 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 pushed to minecart-update at teknomunk/MineClone2 2024-02-13 21:15:22 +01:00
bf67d301f6 Fix initial_properties for minecarts
teknomunk pushed to minecart-update at teknomunk/MineClone2 2024-02-13 21:09:15 +01:00
551e2e67af Change left,right and back vectors to matrix math results with no branching
teknomunk pushed to minecart-update at teknomunk/MineClone2 2024-02-13 20:43:59 +01:00
cd6c27a15c Remove now unused properties from minecart definition, convert more vectors to use vector.new syntax
teknomunk pushed to minecart-update at teknomunk/MineClone2 2024-02-13 20:26:16 +01:00
a6be1793ed 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 commented on issue VoxeLibre/VoxeLibre#3849 2024-02-13 16:35:19 +01:00
VoxeLibre looking for volunteers!

I have been playing Mineclone2 for a couple of months now and have taken an interest in it. There are a number of things that have been bothering me as I have been playing and as I am a programmer,…

teknomunk created branch minecart-update in teknomunk/MineClone2 2024-02-13 16:24:02 +01:00
teknomunk pushed to minecart-update at teknomunk/MineClone2 2024-02-13 16:24:02 +01:00
cd6e8bed37 Change staticdata serialization (with migration from old data), disable debugging code used to investigate https://git.minetest.land/MineClone2/MineClone2/issues/2446
30109f2ed3 Change to vector.new from {x=...}, relocate movement code to own function for future changes
Compare 2 commits »
teknomunk pushed to hopper-changes at teknomunk/MineClone2 2024-02-13 15:27:29 +01:00
7896d65dec Update to comply with coding guidelines
teknomunk created pull request VoxeLibre/VoxeLibre#4190 2024-02-12 18:11:23 +01:00
Fix #4189 - Modify mcl_util.select_stack to allow specifying the number of items that will be moved, modify hopper on_try_push functions to specify only 1 item will be moved at a time, general cleanup of touched code