@override void decodeTag(Tag encoded) { CompoundTag ct = encoded as CompoundTag; contents = ct.get("contents")!.asCompoundTag(); }