• Functions
  • 4,594 views • 1 today
  • 146 downloads • 0 today
  • 11
  • 10
  • 5
TheSuperFlareon
Level 49 : Master Technomancer
29
This is an API made to make some things easier to make.

Currently, there is support for custom Mobs, & Enchants. There is also an untested Event system if you need it.



How to make mobs
  • In your datapack make a function
  • In the function, you just made, put in the summon command for your mob make sure it has one of the bellow tags
    RareMobNewMob
  • Make this filepath in your datapack "flame/tags/functions/mobs"
  • Depending on where, and when you want your mob to spawn refer to your mob function in "caves.json", "overworld.json", "overworld_night.json", "nether.json", or "end.json"

How to make enchantments
  • In your datapack make a function
  • In the function, you just made, copy
    summon item ~ ~ ~ {Tags:["NewEnchant"],Item:{id:"minecraft:enchanted_book",Count:1b,tag:{display:{Name:'{"text":"Enchanted Book","color":"yellow","italic":false}',Lore:['{"text":"YOUR ENCHANT","color":"gray","italic":false}']}}}}
    and replace the YOUR ENCHANT with the name of your enchantment
  • Make this filepath in your datapack "flame/tags/functions"
  • Refer to your enchant function in "enchantments.json"
  • You can do the rest

          CompatibilityMinecraft 1.16
          toMinecraft 1.17
          Tags

          3 Update Logs

          Update 0.1.2.1 : by TheSuperFlareon 01/20/2021 4:07:19 amJanuary 20, 2021 @ 9:07 am UTC

          Fixed dimensional mob spawning. I hope.
          LOAD MORE LOGS

            Have something to say?

          User3600896G
          05/13/2021 5:31 pm
          Level 1 : New Miner
          Can this data pack create static mobs that have no programmed behavior?
          1
          TheSuperFlareon
          05/13/2021 6:24 pm
          Level 49 : Master Technomancer
          Not really, as that as that is something Minecraft already lets you do. Just put in the NBT, NoAI:1
          1
          BeguiledYT
          01/01/2021 5:42 pm
          Level 36 : Artisan Birb
          Hey can you give me a more in depth description on how to make mobs?

          I'm not very good at data packs
          Thanks!
          1
          BeguiledYT
          12/27/2020 8:12 pm
          Level 36 : Artisan Birb
          How are we to use the event maker?
          1
          TheSuperFlareon
          12/29/2020 11:31 pm
          Level 49 : Master Technomancer
          It's defiantly the most convoluted maker in this, so I'll probably make a video about it soon.
          1

          Welcome