Compatibility
Minecraft: Java Edition
Platforms
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
This datapack enables controllable and on-rails vehicles that function seamlessly on singleplay and multiplayer alike. Most importantly, rather than a set of hand-built vehicles like many similar datapacks introduce, you are free to create virtually anything through the use of a block display entity editor such as Block Display Studio.
To summon a controllable vehicle (like a car):
- Summon a block_display entity into the world.
- Stand near the entity and execute /function sbdv:make_car OR
- Execute /function sbdv:make_demo_car, and the supplied car model will spawn as a vehicle.
You can now right-click on the block display to ride it as you would ride a horse. Note: for best effect, make the origin on the X- and Z-axes of your entity where you would like the driver to sit. Make the origin on the Y-axis the ground plane. The entity should be oriented in the +X direction.
To summon an on-rails vehicle (like a train):
- Create a minecart rail track in the path you would like the vehicle to take (using powered rails, detectors, etc as you would normally).
- Summon a block_display entity into the world close to the rails.
- Stand on the rails near the entity and execute /function sbdv:make_train
The entity will now travel along the tracks. Note: for best effect, run the minecart tracks below the ground. Set the origin of the Y-axis of your entity equal to the distance the track is buried beneath the ground. The entity should be oriented in the +X direction.
To delete all vehicles in a 16-block radius, execute /function sbdv:delete_nearby To delete all loaded vehicles, execute /function sbdv:delete_all Note: these commands will only delete entities that have been converted into vehicles using the commands above. Other block displays will not be removed.