Golden carrots do not appear in the foodstuffs menu in creative mode, While playing in the latest snapshot I was conducting an experiment that required golden carrots, but when I went to the food menu there were no golden carrots there. This only effects creative mode.
Attachments
Comments 6
Golden Carrots are in the Brewing Section due to there main use being for making potions. The eating is just a bonus of the Golden Carrot (Like how Dried Kelp can make a Dried Kelp Block). This is how it is intended to be.
NeunEinser, not really since the fix of MC-107550. e.g. Unbreaking Ⅲ appears in both Tools and Combat category.
Enchanted books have special treatment in the code. Usually Items are registered like this:
STONE = register(Blocks.STONE, ItemGroup.BUILDING_BLOCKS);
The ItemGroup only accepts one argument.
An enchanted book is a special item. There is only one item id for it, enchantments are NBT data. So in that registry, enchanted books only appear once with no category.
There is special code for adding enchantments to categories:
TOOLS = (new ItemGroup(8, "tools") {
public ItemStack createIcon() {
return new ItemStack(Items.IRON_AXE);
}
}).setEnchantments(new EnchantmentTarget[]{EnchantmentTarget.ALL, EnchantmentTarget.DIGGER, EnchantmentTarget.FISHING_ROD, EnchantmentTarget.BREAKABLE});
Duplicates MC-67566 which works as intended, though I think adding it to both Brewing and Foodstuffs would make more sense.