Closed SpaceWalkerRS closed 5 months ago
Additions:
byte
char
double
float
long
short
ModifiableOption
getDefault
get
modify
ListOption
List
MapOption
Map
Changes:
NbtCompound
NbtElement
Additions:
byte
,char
,double
,float
,long
,short
.ModifiableOption
: intended to be used for modifiable objects (e.g. lists).getDefault
andget
implementations convert the value to an unmodifiable view.modify
method.ListOption
: implementation ofModifiableOption
forList
s.List
interface for convenience.MapOption
: implementation ofModifiableOption
forMap
s.Map
interface for convenience.Changes:
NbtCompound
toNbtElement
to allow for more compact serialization of options.