@Override
  public void serialize(@NotNull ElementStub stub, @NotNull StubOutputStream dataStream) throws IOException {
    dataStream.writeName(stub.getName());
    dataStream.writeName(stub.getNamespaceKey());
    dataStream.writeVarInt(stub.getIndex());
    dataStream.writeBoolean(stub.isCustom());
    dataStream.writeName(stub.getElementClass());
    dataStream.writeUTFFast(stub.getValue());
  }
@Override
  public void serialize(@NotNull ElementStub stub, @NotNull StubOutputStream dataStream)