#Interface that provides readFromNbt and writeToNbt

2 messages · Page 1 of 1 (latest)

tardy wigeon
#

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.

#

Or was this replaced with codes?