Minecraft Data Packs / Game Mechanic

Better Minecarts | Fast minecarts and automated rail placing!

    • 12,516 views, 36 today
    • 2,244 downloads, 8 today
    • 44
    • 46
    • 66
    brisai's Avatar brisai
    Level 43 : Master Engineer
    17
    This datapack is the standalone version of a feature made for Minecarft, my survival rebalance. Check it out here!

    Better Minecarts overhauls vanilla minecarts to be a viable transportation option for survival minecraft. Over the years minecarts have been pretty heavily overshadowed by other transportation options and so I wanted to fix that. I recommend trying out building your tracks in the overworld, I find it to be a lot more fun. Better Minecarts is multiplayer compatible.

    Features:

    Minecarts are much faster, traveling slightly faster than blue ice boats
    Minecarts automatically slow down for corners and bends to prevent visual clipping and derailment
    Minecarts accelerate and decelerate much more smoothly
    Rails now craft to 32, and powered rails craft to 16
    Chest minecarts now can automatically place rails and powered rails
    Furnace minecarts now load the chunks they are in while fueled



    How to use Chest Minecarts
    Insert rails for it to place, and put in ingots to program how the chest minecart will place them. Insert iron ingots to place rails, insert gold ingots to place powered rails, and if both ingot types are present then the amount of each ingot will determine how many rails/powered rails are placed consecutively before swapping to the other rail-type.

    The chest minecart will automatically start laying tracks on the ground in the direction you push it, spending the tracks in its inventory while (generally) adhering to the same rules as the player when placing tracks. Pairs great with a furnace minecart.

    The chest minecart can go up and down hills automatically, but cannot detect when it should turn. However, if you place rails ahead of time to create a curved rail at each intended corner of the track (pictured below) it will follow the change in direction. Use this to your advantage.

    Better Minecarts | Fast minecarts and automated rail placing! Minecraft Data Pack


    More Details (optional)
    A fresh chest minecart will start its pattern with whatever rail-ingot combo is first inserted. For example, if a chest minecart has both rails and powered rails and you put a gold ingot in before putting in an iron ingot then the pattern will start with powered rails first.

    You can swap what rail type the chest minecart starts with by making the other rail type invalid. For example, for a chest minecart with both rails and powered rails and both types of ingots, you could remove and reinsert the gold ingots (or powered rails) to get the pattern to start with regular rails.

    If the chest minecart cannot fulfill its current pattern (ie it runs out of powered rails/rails when it needs to place a powered rail/rail) it will stop placing any tracks until it's inventory is replenished for that rail type. Once the chest minecarts inventory is replenished it will start placing rails again and resume the pattern.  
    CompatibilityMinecraft 1.19
    toMinecraft 1.21
    Tags

    5 Update Logs

    Update #5 : by brisai 06/14/2024 9:37:04 pmJun 14th

    updated to 1.21!
    LOAD MORE LOGS

    Create an account or sign in to comment.

    kyodoru
    07/06/2024 10:43 pm
    Level 1 : New Explorer
    kyodoru's Avatar
    i love this datapack but the minecart its so fast it keeps lagging my server

    is there any way i could slow it down? i was reading something you said about changing tp commands in the motion handler but i have no idea what that is or means
    1
    brisai
    07/07/2024 11:18 pm
    Level 43 : Master Engineer
    brisai's Avatar
    honestly the easiest solution would be to just use less powered rails, but i understand thats not really the most ideal solution either.

    youll have to unzip the data pack so you can view the internal files and modify them. If i remember correctly, once youve done that youll have to navigate to

    data > minecarts > function > minecart > motion_handler.mcfunction

    inside the motion handler function, open the file with your preferred text editor (im not sure if notepad works but it might. i use notepad++) and modify the lines of the datapack that use tp commands. There should be a couple of them, and they should teleport by 0.05 blocks in any given direction. Changing that value to something smaller will let you slow down the minecarts globally.
    2
    Stooka2077
    06/28/2024 4:49 pm
    Level 1 : New Miner
    Stooka2077's Avatar
    could the furnace minecart go as fast as the minecarts?
    1
    brisai
    07/01/2024 12:46 am
    Level 43 : Master Engineer
    brisai's Avatar
    yeah it could definitely be done but not easily. not something i plan on pursuing currently
    1
    Stooka2077
    07/02/2024 11:14 pm
    Level 1 : New Miner
    Stooka2077's Avatar
    oki doki
    1
    eylam1
    06/24/2024 4:20 am
    Level 1 : New Miner
    eylam1's Avatar
    hi, just a quick question, how can i modify the pack so minecrats has for example, 100 times speed?
    1
    brisai
    06/27/2024 2:34 pm
    Level 43 : Master Engineer
    brisai's Avatar
    theres some tp commands in the motion handler (i think) that tp in 0.05 block increments if memory serves. Change all of them to 2 blocks and it should give 100 times speed, but you may run into issues with derialment
    1
    oddlyspecified
    06/23/2024 5:30 pm
    Level 1 : New Miner
    history
    oddlyspecified's Avatar
    would it be possible for you to add detector rails using something like copper or stone in the chest into the automatic placement so you wouldnt need to place redstone torches along side the track for the powered rails?
    1
    brisai
    06/27/2024 2:30 pm
    Level 43 : Master Engineer
    brisai's Avatar
    its a good idea, but the time investment is a bit high for me currently so i have no plans to implement this
    1
    Lumin0us
    06/22/2024 1:14 pm
    Level 1 : New Miner
    Lumin0us's Avatar
    it appears to not be working on 1.21 on a paper server, is this because of paper?
    2
    Planet Minecraft

    Website

    © 2010 - 2024
    www.planetminecraft.com

    Welcome