How To Make and Use Functions in Minecraft - Functions Tutorial (Any Version)

28,250
0
Published 2022-04-04
Functions are a great tool that allow you to condense multiple commands into a singe custom command. This tutorial will show you how to use them.

---------------------------------------------------------------

Notepad++ Download link (Download latest) notepad-plus-plus.org/downloads/

Text for pack.mcmeta:

{
"pack": {
"pack_format": 9,
"description": "Subscribe to TNSquid. I am in your walls"
}
}

-------------------------------------------------------------

Timestamps:

0:00 Eyup!
0:12 What is a function tell me immediately
0:20 Writing functions
1:17 Installing functions as datapacks
2:48 Using functions
3:20 Adios

---------------------------------------------------------------

Credits:

music "B r i c k s" by Context sensitive -    / @contextsensitive  

----------------------------------------------------------------
Just some words to make Youtube like me, Please dont judge me

functions commands command block tutorial datapack minecraft help how to make minecraft 1.18 1.18.2 1.19 1.8 1.12 any version java edition mods datapacks TNSquid custom your mum lmao ha gottem thats what you get for reading these

All Comments (21)
  • @godguy2311
    This tutorial is outstanding, helped a ton!
  • @DarkBlade64
    Important notes: pack format 1.20.1 is 15 and DONT use capitals while naming folders cause it will NOT work Thank you bydeway @TNSquid
  • @ArrasBushwacker
    Please note: When doing commands dont put "/" at the start, also if u do, remove it, save the file, then COPY it and run /reload then run /function ~~~~~~ etc
  • @eyebite
    You are a god-tier youtuber, I love you for having the exact solution to my niche problem.
  • @closy7155
    Thank you very much, this tutorial helped me a lot!
  • @weak7897
    This video is perfect, way better than those 16 minutes videos with 80k views Is there a way to do the same thing as a mod for Fabric to be able to use it in any save (or even my server) ?
  • @airbotplays6619
    If you want to make a function without a datapack just have whatever the condition is run /fill ~ ~ ~2 ~ ~ ~2 redstone_block and have the command blocks attached to that redstone block, now all you need to do is fill that block with air to constantly update it
  • @coolkillze8957
    i don't know why you have this less subs u deserve more
  • @PoolNoodleOGAE
    When I use /reload, my functions aren’t recognized, could you please help me?
  • @uklogamer7714
    do you reckon you could make shops with these and check scoreboard? if enough money then remove and give item ?
  • How can you make a function that uses usernames in the used command (for example: /function example:giveapple ). Idk if that's possible, but if it is, please tell me or make a video.
  • Great tutorial ! My datapck isn't seen by the game, datapacks/anyname/data/anyname2/functions/myfunction.mcfunction, in 1.19.2 (mcmeta format : 10) Any ideas to solve this problem ?