Minecraft Data Packs / Mob

Pirate AI Ships, crewed by Pillagers

  • check_circle Advancements
  • check_circle Functions
  • check_circle Loot Tables
  • check_circle Predicates
  • check_circle Structures
  • 14,132 views, 34 today
  • 3,135 downloads, 4 today
  • 113
  • 109
  • 32
Exandreal avatar Exandreal
Level 42 : Master Explorer
54
This datapack adds hostile pirate ships to Minecraft!

When a player who is cursed by the 'bad omen' effect enters open ocean, there is a chance that a pirate ship crewed by pillagers will spawn nearby.
The pirates will chase the player and, when in range of their cannons, they will turn and fire explosive cannonballs. Taking out the pirate captain will prevent the ship from moving, but the cannons will still fire unless you take out all of the crewmembers! The ship itself can be destroyed as well, if enough explosions hit the ship.
Being pirates, they probably have a chest with treasure hidden on the ship..

This datapack works best alongside my other datapack: 'Sailable Custom Ships with Cannons'
Make sure to install this as well, so you have a fighting chance against the pirate ships!

The explosion power of the cannons as well as the respawn timer (respawn disabled by default) can be configured in the "data/pirates/functions/config" file.



Installation:

- Download the .zip file and place it inside the datapacks folder in your world save.

- Once inside the game, find an empty area in an ocean and run the command: "/function pirates:summon_pirates"

- Take cover from the cannon fire!
CompatibilityMinecraft 1.17
toMinecraft 1.19
Tags

3 Update Logs

Update to v1.2e : by Exandreal 02/25/2023 4:07:36 amFeb 25th

- minor bug fixes and performance improvements
LOAD MORE LOGS

Create an account or sign in to comment.

1
05/11/2023 8:18 am
Level 1 : New Miner
User4166871G
User4166871G avatar
how can i change how often the pirate ship spawns?
1
01/24/2023 8:35 pm
Level 46 : Master Creeper Hugger
EricIsntSmart
EricIsntSmart avatar
I know it can be done but i dont know if your current method allows for adding it.. but,

I think it would be cool if the wreckages sank, personally. Also the pirates could stand to be more common
1
11/08/2022 3:57 pm
Level 1 : New Miner
TodayIsMxnday
TodayIsMxnday avatar
Does it only work with bad omen to spawn naturally? Is there a way to make them spawn naturally (rarely) even without the bad omen effect?
2
11/09/2022 12:57 pm
Level 42 : Master Explorer
Exandreal
Exandreal avatar
No, not without commands. You can use the command /function pirates:summon_pirates if you wish to summon them without bad omen.
1
11/10/2022 1:03 am
Level 1 : New Miner
TodayIsMxnday
TodayIsMxnday avatar
I see...could you tell me what a command that detects if you are in open water would look like?
1
11/10/2022 5:57 am
Level 42 : Master Explorer
Exandreal
Exandreal avatar
I believe i used the command: /execute store result score @s "objective" run locate biome #c:aquatic
And then check if the saved value is 0, or close to 0, at different spots around the player.
Of course, I also check if there is room to spawn the pirate ship. something like /execute if block ~ ~ ~ water
1
11/10/2022 6:11 pmhistory
Level 1 : New Miner
TodayIsMxnday
TodayIsMxnday avatar
Oh thats cool Thx!
Conversely couldnt it check for kelp coral or certain types of fish to determine if the player is in open water?
1
10/13/2022 2:44 pm
Level 33 : Artisan Creeper
CreeperawwwMan_sayGoodbye
CreeperawwwMan_sayGoodbye avatar
what happens to the ships when you die or aren't within range? because if they don't despawn people will use them for wood or to like farm arrows and they can make like infinite pirate ships if they got an outpost nearby so...
2
10/15/2022 2:39 am
Level 42 : Master Explorer
Exandreal
Exandreal avatar
The ships only die when you 'defeat' it by exploding it or killing the crew members.
They spawn in random positions around the player, so a working 'pirate ship farm' is probably difficult to make.
1
10/13/2022 2:15 pm
Level 33 : Artisan Creeper
CreeperawwwMan_sayGoodbye
CreeperawwwMan_sayGoodbye avatar
wow
Planet Minecraft

Website

© 2010 - 2023
www.planetminecraft.com

Welcome