Minecraft Data Packs / Challenge

Blood Moon v4.0.2

  • check_circle Functions
  • 18,799 views, 18 today
  • 2,970 downloads, 2 today
  • 64
  • 66
  • 44
Hiranasai avatar Hiranasai
Level 52 : Grandmaster Modder
25

This datapack currently is incompatible with SM Extra Hard Difficulty until it has been updated to the SurvivalModified Standards. This can take a few weeks.



About Blood Moon

Every 7th night, a bloodmoon will occur. Most of the overworld nighttime mobs will be buffed during this time.
Also, there is different mob types during blood moon - they all have their indications. Some glow with various colors, some wear various colored armor.


Bonus XP

That' right! You get Bonus XP for every mob you killed. Each mob gives +4/+9/+15/+22/+30 XP, depending on Blood Moon Difficulty. Reaching Level 30 in a night isn't that hard when killing Blood Moon mobs... Maybe have another Level goal in mind? How about... Level 300 instead?


Custom Loot Tables

During Bloodmoon, you can collect Custom Loot! Loot is calculated seemingly random (As random as possible while keeping lag as low as possible). Your Looting Level increases depending on if youre holding a looting sword in your main- or offhand (Looting Level of Looting sword also changes the Chances of various Looting Levels).
For example, Creepers drop Firework Stars and Fireworks during Bloodmoon! Skeletons drop their Arrows, and Witches can drop Special Potions created by me! I won't tell you anything about their effects though, since that would ruin the surprise factor and they are rather rare. (Hint: One Potion is shown in the Screenshots).

For more info about my Custom Loot Tables visit this link.

Blood Moon Mechanics


Very important to know: Since Bloodmoon is a reference to Terraria, you cannot sleep during the event.
All mobs have fire resistance during Blood Moon and lose their Fire Resistance when Blood Moon ends.
Mobs that existed before Blood Moon started don't get buffed.
Zombies, Drowneds and Husks can hold random weapons.
Zombies, Drowneds, Husks, Skeletons and Strays are randomly equipped with armor (except for type defining chest piece).

Every night that is not bloodmoon, the monsters will say a little lore about Bloodmoon. (Theyre an indicator of how many nights it takes until the next bloodmoon).

Every 288th blood moon (exactly 28 real life days of playing if you don't sleep, ideal for servers) the blood moon difficulty increases. Mobs will get a little stronger than the difficulty before. Their Loot Tables change too. You can get different Loot During Difficulties 1-4, and during Difficulty 5, you can get all items. Tokens drop on all difficulties with the same odds.




To see the strength of all mobs over the different difficulties, visit this link (Work in progress)


Token Drops from Monsters during Blood Moon (Looting 3 Sword Required)



Zombies: Fire Protection Token - 0.1% Chance
Drowned: Unbreaking Token - 0.5% Chance
Husk: Smite Token - 0.1% Chance
Spider: Armor Toughness Token - 0.5% Chance
Cave Spider: Bane of Arthropods Token - 0.1% Chance
Phantom: Plated Elytra Token - 0.5% Chance
Enderman: Power Token - 1% Chance
Skeleton: Projectile Protection Token - 0.1% Chance
Stray: Mendfinity Bow Token - 0.1% Chance
Creeper: Blast Protection Token - 0.1% Chance


Plans for version 5:
The biggest update of them all, which will probably take up to months of work. Besides optimizing performance of this pack, I plan on adding more customizable features and cross-pack synergies with my other datapacks (detection of other packs etc.).
    • Change buffs for mobs to fit better with my Expert Datapack (and the new tokens and potions).
    • Have blood moon mobs turn any negative potion effects into the positive version ("You cannot weaken us. We can only get stronger")
    • Rework Buffing mechanism to be entirely random
    • Rework Loot Mechanism to be entirely random
    • More stuff im too lazy to list


Plans for version 6:

    • Customizable options by admin how often Blood Moon occurs and when difficulties rise
      • Varying loot and stats for zombies/drowneds/husks and skeletons/strays


    Known Bugs for v4.0.2:

      • When loading the pack for the first time, one creeper gets buffed to a golden Creeper
      • when an admin uses the admin functions to get all tokens, witch special loot or creeper special loot for the first time, they will hear a very loud sound for each command once. Fixes itself after using once.
      • Mobs that move faster than 0.75 Blocks per tick drop loot when the same type is killed
      • Skeletons in the Nether get buffed during Blood Moon
      • Unloaded mobs dont lose their fire resistance after Blood Moon ended
      • V5 Files folder causes datapack to not looad in Multiplayer

    Works as intended:

      • Mobs don't drop Loot when other Blood Moon mobs are too close (0.75 blocks or closer).

    Datapack Recommendations

      • Expert Difficulty for harder mobs in general (so it doesnt feel like an extreme jump from normal to Blood Moon)
      • An anti mob grief datapack (If you have recommendations for this you can tell me, I will work on an own adaption in Version 5 anyways)


    Incompatibilities with other datapacks:

      • Any datapacks that use the same mobs as mine will get buffed unless tagged before. During Blood Moon, they will drop loot from my loot tables.




    FAQ (Questions in the comments that are answered here get deleted without answers):

    Q: Spigot/Paper/Bukkit etc. have issues with this datapack. Fix?
    A: This datapack is made for vanilla. If custom APIs cannot handle vanilla mechanics, its not my fault. Create a bug report at their respective Bug Trackers. I myself tested vanilla and it worked fine. I want to warn anyone using this datapack for Paper etc.: IT WILL NOT WORK! To make this work for spigot, you need to change settings in the spigot.yml :

    Change entity activation range for monsters to 55-80 and for misc to 55.

    Q: How to make a mob less buffed?
    A: Open the datapack folder and change the attribute stats. I won't specifically explain to you what to do. Learn a little how it works and do it yourself. I keep my datapacks very tidy, so finding the files you want to edit isn't hard.

    Q: I can see mobs through walls. Is that intended?
    A: Yes, that is how the glowing effect in Minecraft is working.

    Q:Does this work with custom mobs?
    A: Yes, but not automatically. To prevent interference with my datapacks, you have to tag your mobs with "bm_tag_dont_buff" in the other datapacks you use.



    I hope you enjoy my pack, it was a lot of work!

    CompatibilityMinecraft 1.14
    Tags

    9 Update Logs

    Release 4.0.2 : 08/06/2019 12:33:27 pmAug 6th, 2019

    Fixed Creeper loot for Difficulty 4 Loot Level 3
    Buffed Witch loot chances for Difficulty 5
    LOAD MORE LOGS

    Create an account or sign in to comment.

    1
    02/07/2021 2:23 pm
    Level 1 : New Crafter
    okzerus
    okzerus avatar
    can you do this for 1.16?
    1
    02/08/2021 1:12 pm
    Level 52 : Grandmaster Modder
    Hiranasai
    Hiranasai avatar
    I can, but it will take a while. Just came back and am updating everything to 1.16 first before tackling this one, because this one is the biggest one
    1
    03/13/2020 10:58 pm
    Level 15 : Journeyman Modder
    Anthsa
    Anthsa avatar
    Changing the "V5_files" to "v5_files" resolves the multiplayer issue. Datapacks seem to not like capitals in their naming conventions
    1
    02/21/2020 11:01 am
    Level 15 : Journeyman Network
    xZEROOblivious
    xZEROOblivious avatar
    Since this is a port from the other developer | The Moon & the area's around your players screen is still red correct?



    I'm using my own custom mobs plugin so i just need the aspect of the Red Moon for my server. Would that be something you could custom make ? Would you be willing to do so? Message me if needed.
    1
    02/04/2020 8:24 pm
    Level 44 : Master Engineer
    hokage3211
    hokage3211 avatar
    Hey there! I really like this pack, and the preventing sleep thing is really nice as well, but every blood moon it gets a bit laggy for the server I run, this may be wrong, but I assume you are running a function on every mob every frame? Would it break the pack if you changed the rate at which the functions run, like using a timer that adds 1 each frame, then when it reaches say 10 / 20 / 100 / ect. execute your functions? I hope this helps, as it's a great datapack but a little too much to keep on a server long-term.
    1
    11/02/2019 10:59 amhistory
    Level 1 : New Miner
    shc163
    shc163 avatar
    Hi there, i always get this warning in my server: Unable to add mob to team "bm_team_green"(red, gold) that team probably doesn't exist.
    Whats the problem?
    1
    11/03/2019 4:40 am
    Level 52 : Grandmaster Modder
    Hiranasai
    Hiranasai avatar
    Have you read the FAQ
    1
    11/03/2019 7:55 pm
    Level 1 : New Miner
    shc163
    shc163 avatar
    Oh,sorry.Now it works fine.
    1
    10/02/2019 4:54 am
    Level 1 : New Miner
    TheStifflerGuy
    TheStifflerGuy avatar
    Hi there, cool datapack, i like it! Btw., is there any chance to deactive that "glow" (aka see mobs through walls) - as that is not shown without the datapack?
    1
    10/02/2019 9:31 am
    Level 52 : Grandmaster Modder
    Hiranasai
    Hiranasai avatar
    In theory it is possible to remove that glow. Youd have to go to all mob buffs and remvoe the "Glowing" nbt though.
    I wont remove the glow because then you cant differ the variant of a creeper or spider, as they cant wear armor in the right color. Thats why i made them glow, so the player can see which creeper type it is.

    You could remove the glowing using a command like /execute as @e[tag=bm_buffed,nbt={Glowing:1b}] run data modify entity @s Glowing set value 0b
    1
    09/29/2019 1:59 pm
    Level 2 : Apprentice Explorer
    _masoon
    _masoon avatar
    I love this, reminds me of Terraria
    1
    09/07/2019 6:35 pm
    Level 1 : New Miner
    Inhister
    Inhister avatar
    Is there anyway to make the bloodmoon difficulty random?

    I have a server and we've reached the last level of bloodmoon, and it makes all the bloodmoons to be 5. repeating my question again because i'm bad at writing, is there anyway to make the bloodmoon random?
    1
    09/08/2019 5:20 am
    Level 52 : Grandmaster Modder
    Hiranasai
    Hiranasai avatar
    Currently there is no such feature and it will not come either. of course it is possible to make it random, but requires you to modify the pack yourself.
    1
    09/02/2019 7:31 pmhistory
    Level 1 : New Miner
    Venclaire
    Venclaire avatar
    Hey, how do I know that this has worked when installed? I've installed it onto a 1.14.4 server but no signs of it working are there. Just curious if I'm missing anything. We're on day 14 and a blood moon has still not occured.
    1
    09/02/2019 9:25 pm
    Level 1 : New Miner
    Venclaire
    Venclaire avatar
    If you have any tips for installing it as well that would be appreciated. For some reason, it works on singleplayer but not multiplayer.



    Could it be because I have scoreboards setup to display player health below their name and the tab list set to show deaths?
    2
    09/04/2019 5:45 am
    Level 52 : Grandmaster Modder
    Hiranasai
    Hiranasai avatar
    You should check logs when reloading datapacks + check your enabled datapacks.
    It can happen that something interferes with the pack, but is unlikely.
    Do the messages get announced every night?
    If you dont use vanilla I cant help further.
    1
    09/04/2019 10:37 am
    Level 1 : New Miner
    Venclaire
    Venclaire avatar
    I've ran a fully vanilla new server and it didn't seem to change, but I plan to try that again soon.

    For some reason it works on singleplayer for me but not multiplayer.

    And no, no messages unfortunately : (



    Here is the error log if any of it might be useful: https://pastebin.com/eSpiUrXp



    I'll hopefully be back next time to let you know that I fixed it! Thanks for the reply either way
    1
    09/05/2019 5:28 am
    Level 52 : Grandmaster Modder
    Hiranasai
    Hiranasai avatar
    You need to go into the datapack functions folder and delete the V5 folder; it currently is unused and causes the error.
    1
    09/02/2019 2:24 pm
    Level 1 : New Crafter
    0fflin3
    0fflin3 avatar
    It is possible to make the Moon actually look red if you retexture one of the Moon phases. Downloading the texture could be optional as the datapack would work even if you don't have it. The commands can skip that Moon phase unless it is blood moon. (There is no command to change Moon phase, but "/time add 24000" does the same thing.)
    1
    09/02/2019 4:25 pm
    Level 52 : Grandmaster Modder
    Hiranasai
    Hiranasai avatar
    Thats correct, but then I would need the blood moons to be 8 days apart every time if i wanted it to occur at the same moon phase, and this wouldnt work if i add custom settings.
    1
    08/18/2019 1:16 pm
    Level 1 : New Miner
    NicoleBrown
    NicoleBrown avatar
    Made an account just to comment how much i enjoy this datapack, really makes the game more enjoyable.
    1
    08/17/2019 4:12 pm
    Level 19 : Journeyman Miner
    Drawter
    Drawter avatar
    Legendary
    1
    08/15/2019 5:30 am
    Level 1 : New Explorer
    Mhx_Air
    Mhx_Air avatar
    Is there a console command to turn off the lore red text? It just doesn't really fit my server. I just wanted harder mobs.
    1
    08/15/2019 5:39 am
    Level 52 : Grandmaster Modder
    Hiranasai
    Hiranasai avatar
    remove it in try_start.mcfunction and start.mcfunction
    1
    08/04/2019 9:18 am
    Level 11 : Journeyman Toast
    Toastender
    Toastender avatar
    How would I go about decreasing the delay between difficulty increases, without breaking everything?
    2
    08/04/2019 9:28 am
    Level 52 : Grandmaster Modder
    Hiranasai
    Hiranasai avatar
    BloodMoon v4.0.1/data/blood_moon/functions/start.mcfunction

    Change 288 to any number you like (For example, if the number is 1, the Difficulty increases every BloodMoon, which is every 7th normal night)
    1
    08/01/2019 4:59 pmhistory
    Level 40 : Master Nerd
    GoatFrisk
    GoatFrisk avatar
    Hey!
    I've tried out the datapack on my server, however I've noticed that there are certain commands that cause significant slowdown. I were able to debug the server load and pinpointed the issue to two commands:
    • data merge entity @e[nbt={Item:{tag:{bm_philosophers_pickaxe_durability:1b}}},limit=1] {Item:{tag:{bm_philosophers_pickaxe_durability:0b,Damage:1558}}}
    • execute as @e[nbt={Item:{tag:{bm_token:1b}}}] at @s if block ~ ~-0.55 ~ #blood_moon:anvil if entity @e[nbt={Item:{Count:1b,id:"minecraft:diamond_block"}},distance=..0.5] if entity @e[nbt={Item:{Count:1b,id:"minecraft:emerald_block"}},distance=..0.5] if entity @e[nbt={Item:{Count:1b,id:"minecraft:experience_bottle"}},distance=..0.5] run function blood_moon:token_merge/identify_token(113/1)
    Executing both combined take more than 1/4 of server time each tick. It's a problematic performance issue. The other commands do not seem to cause
    My question is, is it possible to improve the commands without removing the features in order to lower the performance hit? Other than that, a great datapack, thank you for publishing it :)
    2
    08/01/2019 6:53 pmhistory
    Level 52 : Grandmaster Modder
    Hiranasai
    Hiranasai avatar
    Now that you say it... yes. Right now it is checking for that specific nbt for every entity - i could, and should, at least add the criterion "type=item" before it checks the nbt, so other entities like mobs don't get checked for nbt.
    Could you actually add that to the 2 commands you listed and tell me how much those criterions changed the performance?
    While youre on it... change the enderman tagging command to "tag @e[type=minecraft:enderman,tag=!bm_tag_enderman_not_in_overworld,nbt=!{Dimension:0}] add bm_tag_enderman_not_in_overworld" too. that way already tagged endermen dont attempt to get tagged again
    1
    08/01/2019 7:39 pmhistory
    Level 40 : Master Nerd
    GoatFrisk
    GoatFrisk avatar
    Yup, that did the trick! Minecraft profiling shows that the lag from these commands is gone. My current code is:
    #Have Tokens improve gear
    execute as @e[type=minecraft:item,nbt={Item:{tag:{bm_token:1b}}}] at @s if block ~ ~-0.55 ~ #blood_moon:anvil if entity @e[nbt={Item:{Count:1b,id:"minecraft:diamond_block"}},distance=..0.5] if entity @e[nbt={Item:{Count:1b,id:"minecraft:emerald_block"}},distance=..0.5] if entity @e[nbt={Item:{Count:1b,id:"minecraft:experience_bottle"}},distance=..0.5] run function blood_moon:token_merge/identify_token


    #tag endermen who arent in the overworld so they never get buffed
    tag @e[type=minecraft:enderman,tag=!bm_tag_enderman_not_in_overworld,nbt=!{Dimension:0}] add bm_tag_enderman_not_in_overworld

    #Set Damage of Items to 1 use only
    data merge entity @e[type=minecraft:item,nbt={Item:{tag:{bm_iron_tool_durability:1b}}},limit=1] {Item:{tag:{bm_iron_tool_durability:0b,Damage:249}}}
    #Philosophers Pickaxe 3 Durability
    data merge entity @e[type=minecraft:item,nbt={Item:{tag:{bm_philosophers_pickaxe_durability:1b}}},limit=1] {Item:{tag:{bm_philosophers_pickaxe_durability:0b,Damage:1558}}}

    The changes in these 4 commands improved the ticking by about 49% if to believe the profiler. That's huge!

    Thank you very much for your help. Hope these improvements can be made in the pack soon :)
    1
    07/31/2019 3:26 pm
    Level 58 : Grandmaster Modder
    michael9r9r
    michael9r9r avatar
    Awesome mod!
    1
    07/31/2019 3:32 am
    Level 2 : Apprentice Miner
    techobalded
    techobalded avatar
    i love this
    Planet Minecraft

    Website

    © 2010 - 2021
    www.planetminecraft.com

    Welcome