• check_circle Functions
  • 9,850 views, 36 today
  • 2,095 downloads, 6 today
  • 59
  • 50
  • 21
NinjaSnail1080 avatar NinjaSnail1080
Level 49 : Master Musician
39
I think we all hate having to place down our bee nests and beehives and simply wait for a bee to pop out in order to determine if it even has any bees in the first place. I always wished there was a way to know how many bees are in a bee nest or beehive at any given time.

I made this datapack to solve that problem. Now, someone else already made a datapack that does this. However, their datapack, while useful, only tells you how many bees there are when you're holding the item in your hand. If it's anywhere else in your inventory, there's no way to tell.

As you can see from the screenshots above, my datapack instead adds Lore text to the item so that you can see how many bees are currently in the nest or hive just by mousing over it. On top of that, it also shows how much honey is in the hive.



Now, I've seen a few people who think that you should be able to see how many bees are in a player-made beehive, but not how many bees are in a naturally generated bee nest, for balance. If you want that, you can open up "data/hmb/functions/main.mcfunction" in a text editor and delete this line:
execute as @e[type=minecraft:item, tag=!counted, nbt={Item:{id:"minecraft:bee_nest"}}] store result score @s beeCount run data get entity @s Item.tag.BlockEntityTag.Bees


Anyway, that's about it. Once again, it's a very simple datapack, but it adds a feature that I consider essential.
CompatibilityMinecraft 1.15
toMinecraft 1.17 Snapshot
Tags

5 Update Logs

Update #5 : 08/11/2020 7:04:04 pmAug 11th, 2020

  • pack_format has been changed to 6 to support 1.16.2
LOAD MORE LOGS

Create an account or sign in to comment.

1
02/26/2021 3:55 pm
Level 1 : New Miner
InsaneDragon990
InsaneDragon990 avatar
Its not working on my server is there a reason why?
2
12/31/2020 9:15 pm
Level 1 : New Miner
luvs2spoog
luvs2spoog avatar
not working for me in 1.16.4 vanilla server :(
so sad
2
11/22/2020 5:03 am
Level 1 : New Miner
clingysloth
clingysloth avatar
Works perfectly for me. Really wish there was such a thing in vanilla minecraft. Well done, great datapack.
1
09/18/2020 9:54 amhistory
Level 1 : New Miner
BrayBray05
BrayBray05 avatar
It wont work for me, is there a resource pack i need to download?
2
09/19/2020 2:59 pm
Level 49 : Master Musician
NinjaSnail1080
NinjaSnail1080 avatar
No. Are you sure you installed it correctly?

Also try typing /function and checking the autofill list. Does it contain "hmb:main"?
1
07/18/2020 2:38 pm
Level 1 : New Miner
Hashbrown_VI
Hashbrown_VI avatar
You forgot to put the files in the folder.
2
07/19/2020 3:10 pm
Level 49 : Master Musician
NinjaSnail1080
NinjaSnail1080 avatar


No I didn't?
1
07/04/2020 12:27 am
Level 1 : New Miner
avocato_pit
avocato_pit avatar
hey man, it seems its not working with beehives for me, idk why
1
07/18/2020 2:39 pm
Level 1 : New Miner
Hashbrown_VI
Hashbrown_VI avatar
There are no files in the zip
1
07/04/2020 2:11 am
Level 49 : Master Musician
NinjaSnail1080
NinjaSnail1080 avatar
I just found an issue with it where it wouldn't show the correct amount of honey and fixed it. I don't know if it was the exact same problem you were having, but try it now.
4
06/20/2020 6:39 pm
Level 15 : Journeyman Explorer
AONK
AONK avatar
this should 10000% be in the game, i hate not knowing how many bees are in a hive and this is perfect.
2
06/19/2020 2:05 pm
Level 1 : New Crafter
BeardedBear87
BeardedBear87 avatar
i tried this data pack and it works great, does what its supposed too. if i can make a suggestion... i would love to be able to see how many bees there are using the F3 screen, as in where its says what block im looking at (on the right side). not sure if this is possible as i believe your using the "lore tag"
I think this would be a great addition, and probably would be helpful to those who use the mod WAILA or similar mods that tell you what your looking at (i personally cant use mods since i cant get forge to work on linux)
2
06/19/2020 2:16 pm
Level 49 : Master Musician
NinjaSnail1080
NinjaSnail1080 avatar
Yeah, it's not possible to edit the information shown on the F3 screen with a datapack. I believe it already tells you how much honey is in the hive, cause that's part of the BlockStateTag, but it can't show any info from the BlockEntityTag, which is what stores the bees.
2
06/19/2020 3:44 pm
Level 1 : New Crafter
BeardedBear87
BeardedBear87 avatar
yeah, its what i figured, thanks for the reply :)
2
06/19/2020 5:50 am
Level 2 : Apprentice Explorer
Edaks
Edaks avatar
Can you add the amount of honey information just like the data pack present in Voodoo Packs?
2
06/19/2020 1:38 pm
Level 49 : Master Musician
NinjaSnail1080
NinjaSnail1080 avatar
Done
2
06/19/2020 1:54 pm
Level 2 : Apprentice Explorer
Edaks
Edaks avatar
Perfect! :D
1
06/19/2020 5:21 am
Level 2 : Apprentice Explorer
Edaks
Edaks avatar
Is it only me or the download folder is empty?
2
06/19/2020 11:57 am
Level 49 : Master Musician
NinjaSnail1080
NinjaSnail1080 avatar
What do you mean it's empty? It's fine when I download it
2
06/19/2020 12:10 pm
Level 2 : Apprentice Explorer
Edaks
Edaks avatar
So, if I open the zip file in windows explorer it shows empty, but with 7zip it's ok. Sorry for the misunderstood
3
06/19/2020 12:34 am
Level 40 : Master Spelunker
noatryy
noatryy avatar
i love you
Planet Minecraft

Website

© 2010 - 2021
www.planetminecraft.com

Welcome