Is there an interface that provides the following:
public void readFromNbt(NbtCompound tag) {
}
public void writeToNbt(NbtCompound tag) {
}
I remember something like this existing back in the day, but I dont know the name.
I can of course implement my own, but why when something already exists in the base game.