Minecraft Data Packs / Tool

Record API [Datapack Edition]

  • check_circle Functions
  • check_circle Loot Tables
  • 673 views, 2 today
  • 45 downloads, 0 today
  • 9
  • 5
  • 3
legopitstop avatar legopitstop
Level 74 : Legendary Programmer
Record API [Datapack Edition] Minecraft Data Pack Record API [Datapack Edition] Minecraft Data Pack Record API [Datapack Edition] Minecraft Data Pack

This datapack and resroucepack lets you easily add your own custom music discs to vanilla Minecraft! This API also includes a dynamic way to obtain the discs. The downloaded zip contains the API resources and data. It also contains an example pack that you are free to reference to create your own pack.

Get 25% off your first server!
Click on the above image, select plan (at least 4GB), use code legopitstop to get 25% off your first month and enjoy playing with your friends!


  • Easily add an unlimited (6500 total) number of music discs! That's a lot!
  • Lag friendly! This pack was built with server-side performance in mind so no worries about sacrificing performance.
  • Doesn't replace any already existing discs!
  • Download the Music Disc Creator [​Coming Soon] app to create your own music disc pack using this API without having any coding knowledge! COMING SOON!

Dependent packs

Other packs that use this API, If you create a pack that uses this API feel free to drop a comment below.

Example Pack

The downloaded API zip contains an example datapack and resource pack. This example adds one custom disc.


The custom disc has a chance to drop (along with all vanilla discs) when a Skeleton shoot and kills a Creeper.

With cheats, you can run the below command to obtain the item.
/function example:music_disc_5


Your Pack

You are free to distribute your custom pack under the following terms;
  • Your pack must not contain this API pack, your users must download the API from this page.
  • If your pack contains copyrighted music Legopitstop is not responsible for any consequences for disturbing this music.
  • You must add the following to your pack (submission description)<username> is not affiliated with Legopitstop

This Pack

Note that this pack is licensed under Legopitstop's Common License v2 which prohibits the distribution of this API pack.
  • If you plan on sharing your custom pack you must have your users download the API from this page!
CompatibilityMinecraft 1.18

Create an account or sign in to comment.

07/05/2022 8:29 am
Level 1 : New Miner
Walker5507 avatar
Hi, I am currently having some problems with the creepers not actually dropping the discs. I have added all the discs to the creeper tag in the record folder but it still doesn't work. I am however receiving the paper with the DropCreeprDisc tag.
05/27/2022 4:06 pm
Level 21 : Expert Modder
osfanbuff63 avatar
How did you add an update checker?
05/31/2022 1:58 pm
Level 74 : Legendary Programmer
legopitstop avatar
It's an external website that will show you when your version is out of date, Then provide a download button on the homepage if it's out of date. You can find the update checker URL generator here: https://legopitstop.github.io/Update_Checker/update-checker-generator.html

Here's an example of the JSONURL: https://raw.githubusercontent.com/legopitstop/Record_API/main/update.json

Read more via the README in the repo: https://github.com/legopitstop/Update_Checker#readme
Planet Minecraft


© 2010 - 2022