Just Enough Resources (JER)

Just Enough Resources (JER)

163M Downloads

Better support for bees

TheDeviantCrafter opened this issue ยท 1 comments

commented

#177 fixes most issues with blocks with a wide range of blocks, but bees are special case. Each one contains random stats and a UUID, causing JER to treat each bee as a unique object.

Bees contain a massive, largely randomized NBT string. 90% of this can be ignored. This means that if you break 100 hives, you'll probably get 200 unique bees. This is too much information. The mod should only care about two things:

  1. The item ID of the bee. This is used to tell if it's a princess or a drone.

  2. The first part of the genome string: Genome: {Chromosomes: [{UID1: "extrabees.species.water"

This notes its species. This can also probably be obtained from the unlocalized string name.

The rest of the NBT can be safely discarded. While it is useful information for anyone interested in bees, there are much better ways to get this information.

commented

Nevermind, I got my bee science wrong. I broke two stacks of hives and only got 6 unique types of bees.