• check_circle Functions
  • 20,337 views, 17 today
  • 3,884 downloads, 2 today
  • 90
  • 83
  • 23
NinjaSnail1080 avatar NinjaSnail1080
Level 55 : Grandmaster Programmer
53
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.18
Tags

6 Update Logs

Update #6 : by NinjaSnail1080 09/26/2021 7:54:17 pmSep 26th, 2021

  • pack_format has been changed to 7 for 1.17+
LOAD MORE LOGS

Create an account or sign in to comment.

1
05/06/2022 2:14 am
Level 6 : Apprentice Crafter
Autumnebee
Autumnebee avatar
This is gorgeous, pretty simple but useful ;)
1
12/27/2021 12:31 pm
Level 1 : New Miner
Furankos
Furankos avatar
hi i tried to instal this datapack in a new world on minecraft 1.18.1 and says this datapack is incompatible compatibility is wrong?
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 55 : Grandmaster Programmer
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 55 : Grandmaster Programmer
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
Planet Minecraft

Website

© 2010 - 2022
www.planetminecraft.com

Welcome