Posts: 69
Threads: 10
Joined: Aug 2020
Thanks: 1
Given 7 thank(s) in 7 post(s)
So I noticed cuberite uses some weird derivations of item names in the BlockType.h enum.
Is it worth changing those or will this get tossed in the future in favour of the enum in Registries/Items.h ?
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1074 thank(s) in 852 post(s)
Those are caused by Cuberite needing names for stuff before there was an official name in the past - there were times when Minecraft had no names for blocks or items, internal nor user-visible, and the community mainly around the wiki was taking long time to standardize. Some names even changed in the course of time.
We tend to add the standardized names but keep the old ones for compatibility.
It is expected for the blocks and items to be replaced by registries, but until then, we need to keep that file.