teknomunk
  • Joined on 2024-02-12
teknomunk pushed to minecart-update at teknomunk/MineClone2 2024-03-13 17:33:26 +01:00
efd92f0c20 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 pushed to minecart-update at teknomunk/MineClone2 2024-03-13 16:10:25 +01:00
9dd73eef6a 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)
8e00a26fa9 Mostly fix carts stopping between powered rails (there is still some strangeness with acceleration physics)
Compare 2 commits »
teknomunk commented on pull request VoxeLibre/VoxeLibre#4213 2024-03-13 14:21:18 +01:00
Minecart Update

I agree that if the entities initiate hopper behavior, it should call into an mcl_hopper API so the code is not duplicated across several files. That would be a maintenance nightmare.

I will…

teknomunk commented on pull request VoxeLibre/VoxeLibre#4213 2024-03-13 11:54:25 +01:00
Minecart Update

They do get checked, but the distance in the check is +/- 1.5 blocks and y == hopper_position.y - 1 with no differentiation between straight hopper and bent hoppers. The quick fix is to reduce…

teknomunk commented on pull request VoxeLibre/VoxeLibre#4213 2024-03-13 01:53:26 +01:00
Minecart Update

I'm going to guess that a hopper a block over from a minecart shouldn't load into the minecart. It currently is doing so.

teknomunk pushed to minecart-update at teknomunk/MineClone2 2024-03-12 01:55:53 +01:00
982fe03aa5 Fix diagonal movement
teknomunk pushed to minecart-update at teknomunk/MineClone2 2024-03-11 14:39:26 +01:00
e6aa8f8362 Add diagonal track movement on zig-zag track, rewrite mcl_minecarts:get_rail_direction
teknomunk pushed to minecart-update at teknomunk/MineClone2 2024-03-11 13:55:18 +01:00
8efca51f6b Make TNT minecarts available in creative menu
teknomunk commented on issue VoxeLibre/VoxeLibre#3814 2024-03-11 13:51:36 +01:00
Creepers and TNT minecarts create duplicate bed items

Looking into this for a minecart update, I have been able to confirm this does occur with regular TNT, just not every time. I also confirmed that sometimes TNT explosions will not drop beds at…

teknomunk pushed to minecart-update at teknomunk/MineClone2 2024-03-11 13:08:33 +01:00
4991f08315 Implement custom item dropper handlers, implement droppers placing minecarts
teknomunk pushed to minecart-update at teknomunk/MineClone2 2024-03-11 06:16:09 +01:00
b4a32e0c4c Hopper minecarts pull from containers above rail
teknomunk pushed to minecart-update at teknomunk/MineClone2 2024-03-10 17:31:38 +01:00
5de2e96ad3 Rework in preparation to add code to pull from containers into the hopper minecart
9f7bc556a7 Move fiction constant to top of file, suppress cart flips when direction reverses due to gravity or end of track
192a28f581 Add code to reattach carts to rail when data corruption occurs, fix bug in last commit that caused carts to bury into the ground
ce3ea498c0 Remove dip into the ground that occured when gravity caused the cart to reverse directions
17d1bc2741 Implement gravity, move orientation update to own function, fix cart stopping in process_acceleration
Compare 16 commits »
teknomunk commented on pull request VoxeLibre/VoxeLibre#4213 2024-03-10 17:03:25 +01:00
Minecart Update

XP orbs shouldn't stop minecarts in my opinion.

I'm fine with that.

Also make a clean rebase on master, it seems there is a superfluous commit from another (squashed) PR too.

I will…

teknomunk pushed to minecart-update at teknomunk/MineClone2 2024-03-10 17:02:09 +01:00
33504faad4 Rework in preparation to add code to pull from containers into the hopper minecart
teknomunk created pull request VoxeLibre/VoxeLibre#4213 2024-03-10 16:05:05 +01:00
WIP: minecart-update
teknomunk pushed to minecart-update at teknomunk/MineClone2 2024-03-10 00:26:44 +01:00
26f1aeb09a Move fiction constant to top of file, suppress cart flips when direction reverses due to gravity or end of track
teknomunk pushed to minecart-update at teknomunk/MineClone2 2024-03-09 23:10:09 +01:00
9e56c07380 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 pushed to minecart-update at teknomunk/MineClone2 2024-03-09 21:47:50 +01:00
bc1f659b7f Remove dip into the ground that occured when gravity caused the cart to reverse directions
teknomunk pushed to minecart-update at teknomunk/MineClone2 2024-03-09 21:30:52 +01:00
baf65095f7 Improve french translation (#4194)
teknomunk commented on pull request VoxeLibre/VoxeLibre#4190 2024-03-09 02:06:06 +01:00
Fix #4189 - Make hoppers move items if there is space for one item

I believe I found the source of the strange hopper behavior: the push/pull action of hoppers was dependent on the order the server processes the nodes.

On my test world, I made two parallel…