- check_circle Advancements
- check_circle Functions
- check_circle Predicates
- check_circle Structures
- 23,795 views, 49 today
- 4,983 downloads, 10 today
54
Have you ever wished you could navigate the sea with your very own ship? Well, look no further!
This datapack introduces sailable ships that are 100% customizable. And did I mention they have explosive cannons as well?
If you have collected a lot of treasure on your voyage, fell free to put down a chest on the deck. Both chest and items within will be perfectly safe as you travel. Other players, parrots, dogs and other entities are also able to catch a ride on your ship.
The ship will sail automatically when you start it and you can turn the ship by 90° along the north/east/south/west directions.
Since boats only work on water, there is a built in failsafe that prevents the ship from crashing into the shore as well as other ships or constructions.
If you are not a fan of the two default ship designs, you can simply tear it down and rebuild it just the way you like (just make sure that it stays within the 11x13x13 hitbox, and that the control buttons all stays the same way).
To obtain the ship you must first gather 32 oak planks, 8 oak logs, 12 white wool, 4 iron blocks and 1 heart of the sea (ships are expensive!). Drop them all in a pile on the ground, to create the 'Heart of the Ship'. When the heart comes into contact with water, it will construct the ship for you, as long as there is space to build it.
Make sure to check out my other datapack, 'Pirate AI Ships crewed by Pillagers', which introduces pirate ships; moving targets that fire back at you!
Installation:
- Download the .zip file and place it inside the datapacks folder in your world save.
- Explore and plunder!
Commands
- Summon either the plain ship or a fancy pirate themed ship:
/function ships:control/summon_ship
/function ships:control/summon_ship_pirate
- Copy the nearest ship to clipboard:
/function ships:control/copy
- Place the copied ship on the water surface below/above:
/function ships:control/paste
- Delete the nearest ship entirely from the world:
/function ships:control/delete
- Save a backup of the nearest ship. Up to 50 different ships can be saved this way. Note: The backups are deleted if the server reloads or if you close the world!:
/function ships:control/backup
- Restore the ship back to the backup version:
/function ships:control/restore
- Teleport the ship at the "PLAYER_ON_SHIP" to the location given by "LOCATION_TO_TP" (x y z coordinates):
/execute as <PLAYER_ON_SHIP> positioned <LOCATION_TO_TP> function ships:control/tp
This datapack introduces sailable ships that are 100% customizable. And did I mention they have explosive cannons as well?
If you have collected a lot of treasure on your voyage, fell free to put down a chest on the deck. Both chest and items within will be perfectly safe as you travel. Other players, parrots, dogs and other entities are also able to catch a ride on your ship.
The ship will sail automatically when you start it and you can turn the ship by 90° along the north/east/south/west directions.
Since boats only work on water, there is a built in failsafe that prevents the ship from crashing into the shore as well as other ships or constructions.
If you are not a fan of the two default ship designs, you can simply tear it down and rebuild it just the way you like (just make sure that it stays within the 11x13x13 hitbox, and that the control buttons all stays the same way).
To obtain the ship you must first gather 32 oak planks, 8 oak logs, 12 white wool, 4 iron blocks and 1 heart of the sea (ships are expensive!). Drop them all in a pile on the ground, to create the 'Heart of the Ship'. When the heart comes into contact with water, it will construct the ship for you, as long as there is space to build it.
Make sure to check out my other datapack, 'Pirate AI Ships crewed by Pillagers', which introduces pirate ships; moving targets that fire back at you!
Installation:
- Download the .zip file and place it inside the datapacks folder in your world save.
- Explore and plunder!
Commands
- Summon either the plain ship or a fancy pirate themed ship:
/function ships:control/summon_ship
/function ships:control/summon_ship_pirate
- Copy the nearest ship to clipboard:
/function ships:control/copy
- Place the copied ship on the water surface below/above:
/function ships:control/paste
- Delete the nearest ship entirely from the world:
/function ships:control/delete
- Save a backup of the nearest ship. Up to 50 different ships can be saved this way. Note: The backups are deleted if the server reloads or if you close the world!:
/function ships:control/backup
- Restore the ship back to the backup version:
/function ships:control/restore
- Teleport the ship at the "PLAYER_ON_SHIP" to the location given by "LOCATION_TO_TP" (x y z coordinates):
/execute as <PLAYER_ON_SHIP> positioned <LOCATION_TO_TP> function ships:control/tp
Compatibility | Minecraft 1.17 |
to | Minecraft 1.19 |
Tags |
6 Update Logs
Update to v1.6 : by Exandreal 02/25/2023 4:01:36 amFeb 25th
- removed the slow sailing speed setting (too many clicks needed, which was a bit annoying..)
- instead, ship goes slow at first but quickly accelerates to full speed
- one click: ship starts sailing, another click: stop ship
- fixed issue with other types of buttons getting stuck
- instead, ship goes slow at first but quickly accelerates to full speed
- one click: ship starts sailing, another click: stop ship
- fixed issue with other types of buttons getting stuck
LOAD MORE LOGS
tools/tracking
5535843
119
sailable-custom-ships-with-cannons
Create an account or sign in to comment.
oh and btw is there a way to make the ship size bigger or maybe you could add bigger ship types
PS: i play on a paper server
Does the ship respond to any of the buttons, forward, turn, cannons?
Try typing the command (on the ship): /execute if entity @e[type=minecraft:armor_stand,distance=..10]
If the armor stand controlling the ship is there, it should find 1 entity.
To make the ships bigger, I would have to rewrite the code alot. Maybe I'll look into it at some point :)
I tried the command and it said "Test failed" which im guessing means that the armorstand is missing. How can i fix this?
To re-summon the armorstand, stand exactly in the middle of the lookout barrel and type the following command:
/execute align xyz positioned ~0.5 ~-11.5 ~0.5 run summon minecraft:armor_stand ~ ~ ~ {Tags:["Sloop_Captain"],NoGravity:1,Marker:1,Invisible:1,Rotation:[-90f,0f]}
Then set the correct orientation, depending on the way the ship is facing:
EAST:
do nothing
SOUTH:
/data modify entity @e[tag=Sloop_Captain,distance=..16,limit=1,sort=nearest] Rotation[0] set value 0.0f
WEST:
/data modify entity @e[tag=Sloop_Captain,distance=..16,limit=1,sort=nearest] Rotation[0] set value 90.0f
NORTH:
/data modify entity @e[tag=Sloop_Captain,distance=..16,limit=1,sort=nearest] Rotation[0] set value -180.0f
These two commands should make the ship sailable as before :)
/scoreboard players set SHIP_SPEED ships.config 2
The 2 is default (fastest), setting it to higher values will make ships slower :)