Minecraft Data Packs / Other

Carpet Mod Detection Datapack

  • check_circle Functions
  • 3,465 views, 1 today
  • 79 downloads, 0 today
  • 2
  • 1
AlexisEvelyn's Avatar AlexisEvelyn
Level 38 : Artisan Miner
6
This datapack detects if the carpet mod is installed and alerts the user if it isn't installed.

This datapack can be useful when sharing a world with someone that requires the carpet mod to work. For example, in my survival world, I use the carpet mod to make moving chests/droppers/etc... possible with pistons. Carpet mod can also be used in concept worlds to test many aspects of the game as well as it can heavily modify Minecraft to do many things not possible with vanilla commands.

Datapacks/Command Blocks can run carpet commands directly and can also load Scarpet scripts from the world save that was provided to the user playing the world.

This datapack can be useful to determine if it needs to alert the user that the world needs the carpet mod installed to provide the user the full experience of that world.

This datapack is pretty much finished, but one bug I've noticed is, the datapack does not run the check at world load if any other datapack fails to load correctly (say, someone made a mistake and the datapack failed to load).

I may also change the say command to tellraw so I can fancy up the message that is sent to the player on world load.

You can uninstall this datapack by running `/function carpet:main/uninstall` and then deleting the datapack from the world (or just disabling it). This command just removes the scoreboard used to check if carpet is installed.

I'm releasing this datapack under "CC0 1.0 Universal (CC0 1.0) Public Domain Dedication". The license link is https://creativecommons.org/publicdomain/zero/1.0/. You can do whatever you want with this datapack, no attribution needed.
CompatibilityMinecraft 1.16
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome